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 ) » 7. Apr 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. Apr 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. Apr 2005 12:47

thx, I will go for a try!

:P

Beitrag von Gast ( / / 0 / 3 ) » 19. Apr 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. Apr 2005 17:22

Hello,

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

Juergen

Beitrag von Frank Dittrich (Expert / 674 / 0 / 16 ) » 19. Apr 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

Aktuelle Forenbeiträge

HTTP Request
vor 22 Stunden von a-dead-trousers 4 / 71
Verfügbarkeitsprüfung
Gestern von deejey 2 / 56
Verwaltung
Gestern von deejey 2 / 48
BSP-Seiten als Service - Problem bei HTTP-Request
vor 2 Tagen von Xilukarim 1 / 49

Unbeantwortete Forenbeiträge

BSP-Seiten als Service - Problem bei HTTP-Request
vor 2 Tagen von Xilukarim 1 / 49
CCS Bonusabrechnung
vor 2 Tagen von SAP_ENTWICKLER 1 / 31
At Selection-Screen
vor 3 Tagen von L0w-RiDer 1 / 49
SP01 Verweildauer
vor einer Woche von SAP_ENTWICKLER 1 / 102
Transaktion OMT3B Subscreens in Dynpros einhängen
vor einer Woche von SAP_ENTWICKLER 1 / 69