TOOL for finding out LOC (Lines of Code) of an ABAP-Prog. :?

ABAP, Java, BSP, etc.
6 Beiträge • Seite 1 von 1
6 Beiträge Seite 1 von 1

TOOL for finding out LOC (Lines of Code) of an ABAP-Prog. :?

Beitrag von Maerkl (ForumUser / 3 / 0 / 0 ) » 07.04.2005 13:26

I'm looking for a tool, which gives back a summary (or just a number) of the LOC (Line of Codes) of an ABAP-Programm.

Are there any tools available?

e.g.

*----------------------------------------------------------------------*
* read Positions *
*----------------------------------------------------------------------*
MODULE Cur_Input OUTPUT.

PERFORM Reg_INPUT.

ENDMODULE.


should tell me, that there are 3 Syntaxword (3 LOC) and 1 Programm Call

Is that possible with existing tools - I know somw nice freeware for JAVA, maybe something similar is available for ABAP as well...


THX

:?:


Beitrag von ereglam (Top Expert / 1826 / 0 / 5 ) » 19.04.2005 11:23

Hi Mearkl,

there is a command SCAN ABAP-SOURCE, that would most likely give you the desired information.

But be adviced, that this command is only authorized for internal use by SAP.

Regards
Gruß
Ereglam


May the Force be with your code
|| .| |.|| | .... . ..|. ||| .|. |.|. . |... . .|| .. | .... |.|| ||| ..| .|. |.|. ||| |.. .
Mitglied im XING

Beitrag von Gast ( / / 0 / 3 ) » 19.04.2005 12:47

thx, I will go for a try!

:P

Beitrag von Gast ( / / 0 / 3 ) » 19.04.2005 13:05

For LOC, there's no need to use SCAN ABAP-SOURCE.

Just READ REPORT ... and DESCRIBE TABLE ...

Beitrag von JDO ( / / 0 / 3 ) » 19.04.2005 17:22

Hello,

try TA SE38 -> Utilities -> Program Analysis -> Statistics
or Report RSANAL00

Juergen

Beitrag von Frank Dittrich (Expert / 674 / 0 / 14 ) » 19.04.2005 19:59

Program RSANAL00 does not work for program names with more than 8 characters or source code lines > 72 characters.
Looks like it has never been updated since release 3.x.

Seite 1 von 1