It's all about the answers!

Ask a question

How to count lines of code changed by team member


jim herron (814427) | asked Oct 22 '09, 2:49 p.m.
In ClearCase, triggers provide a very simple mechanism to capture checkin's by user and count lines modified. As RTC does not have triggers, is there any mechanism that can be used to count lines of code changed, by a user, between two baselines/snapshots

3 answers



permanent link
David Olsen (5237) | answered Oct 22 '09, 8:22 p.m.
JAZZ DEVELOPER
jim.islandtraining.com wrote:
In ClearCase, triggers provide a very simple mechanism to capture
checkin's by user and count lines modified. As RTC does not have
triggers, is there any mechanism that can be used to count lines of
code changed, by a user, between two baselines/snapshots

Out of curiosity, why do you want to know that?

permanent link
jim herron (814427) | answered Oct 29 '09, 2:33 p.m.
jim.islandtraining.com wrote:
In ClearCase, triggers provide a very simple mechanism to capture
checkin's by user and count lines modified. As RTC does not have
triggers, is there any mechanism that can be used to count lines of
code changed, by a user, between two baselines/snapshots

Out of curiosity, why do you want to know that?

There are standard metrics that predict defects based on lines of code changed

permanent link
Evan Hughes (2.4k1318) | answered Oct 30 '09, 10:19 a.m.
JAZZ DEVELOPER
In ClearCase, triggers provide a very simple mechanism to capture checkin's by user and count lines modified. As RTC does not have triggers, is there any mechanism that can be used to count lines of code changed, by a user, between two baselines/snapshots


You could load the entire stream with the command line interface, and run 'scm annotate' on each file and count the user ids.

e

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.