It's all about the answers!

Ask a question

Is there rtc report to show how many lines of source code?


Jia Jia Li (8058157192) | asked Aug 13 '12, 12:46 p.m.
My requirement is to show how many lines of source code totally and incrementally like every month, every quarter and every one. 

Thanks very much!

2 answers



permanent link
Ralph Schoon (63.4k33646) | answered Aug 13 '12, 4:27 p.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
Jia,

i am not aware of such a report. I would suggest to look into an external tool that does the count during a build.

Comments
Jia Jia Li commented Aug 14 '12, 9:46 a.m.

Thanks Ralph, Daniel suggest me with the RSAR tool. Do you have any other suggestion? I thought BIRT before your suggestion, but do not know is that helpful?


permanent link
Daniel Toczala (88211514) | answered Aug 14 '12, 9:05 a.m.
FORUM MODERATOR / JAZZ DEVELOPER
You would need to integrate some sort of static analysis tool into your builds, and then have the results of this static analysis published back into the build results.  With something like this, you would be able to get SLOC metrics associated with builds done on your baselines.

In the past I have seen other customers do this, and know that this is the basic mechanism.  I do not know all of the details of HOW they did it.  Hopefully this will get you off to a good start.

https://jazz.net/library/video/318 shows how Rational Software Analyzer integrates with RTC.

https://jazz.net/library/article/591 talks about how to do it in Visual Studio.

Comments
Jia Jia Li commented Aug 14 '12, 9:45 a.m.

Thanks for your information very much Daniel! I think it maybe a good start for me.

Your answer


Register or to post your answer.


Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.