It's all about the answers!

Ask a question

Code Churn Metrics in RTC 6061


Chidambaram L (23414077) | asked Aug 31 '20, 11:53 a.m.
edited Aug 31 '20, 11:55 a.m.

At the end of each sprint, we wanted to find 3 metrics, namely, number of lines code, added, removed & edited. We are using RTC 6.0.6.1.

Rational Insight has a similar report; we have not installed Rational Insight.

One answer



permanent link
Davyd Norris (2.2k217) | answered Aug 31 '20, 7:40 p.m.
There are several widgets available that show this, including those that show these as ageing graphs/tables. They are filterable by timeline too.

Check out the 'File Change Activity' widget which gives you exactly what you asked for, as well as the 'Change Set Activity'

If you want to build your own Report Builder reports, you will need to enable the DCC to collect data from the streams you're interested in. To get the Data Collection Component to gather data on specific streams, open the CCM project area, click Reports... Shared Reports... Source Control... Project Activity. Click the link from the About this report section, and select the streams you want.

It will then be available in the Historical Trends data source.

Comments
Chidambaram L commented Sep 01 '20, 6:14 a.m. | edited Sep 01 '20, 6:15 a.m.
"Project Activity" report contains Change set additions, modifications and deletions & File additions, modifications and deletions.
I need 3 metrics: Number of lines added, removed & edited. all excluding empty lines & excluding comments. 

Eclipse plugin can generate such a metric from Eclipse Client & SonarCube can also generate such a metric.

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.