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

ABAP, Java, BSP, etc.

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

Postby Samia2824 » Thu Apr 07, 2005 1:26 pm

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

:?:
Samia2824
.
.
 
Posts: 3
Joined: Thu Apr 07, 2005 1:26 pm

Postby Silke1341 » Tue Apr 19, 2005 11:23 am

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
Silke1341
.....
.....
 
Posts: 1985
Joined: Thu Aug 19, 2004 3:20 pm

Postby Alva1590 » Tue Apr 19, 2005 12:47 pm

thx, I will go for a try!

:P
Alva1590
.....
.....
 
Posts: 4387
Joined: Mon Dec 02, 2002 3:01 pm

Postby Alva1590 » Tue Apr 19, 2005 1:05 pm

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

Just READ REPORT ... and DESCRIBE TABLE ...
Alva1590
.....
.....
 
Posts: 4387
Joined: Mon Dec 02, 2002 3:01 pm

Postby Joel2205 » Tue Apr 19, 2005 5:22 pm

Hello,

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

Juergen
Joel2205
...
...
 
Posts: 121
Joined: Mon Mar 07, 2005 8:01 pm

Postby Willy1492 » Tue Apr 19, 2005 7:59 pm

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.
Willy1492
....
....
 
Posts: 581
Joined: Tue Dec 03, 2002 4:44 pm


Return to Development Related

Who is online

Users browsing this forum: No registered users and 5 guests