Can we get a report from RTC which gives us how many times each file changed?
I wanted a metric for finding “active files” in software for the below reasons.
Active files are “the set of source files which are changed unusually often”. Active files can help focus code reviews, implement targeted testing, show areas for potential defects.
Statistically a study shows that active files constitute only between 2-8% of the total system size, contribute 20-40% of system file changes, and are responsible for 60-90% of all defects.
Can you please suggest the best method of collecting this information for projects automatically? |
One answer
rtc doesn't keep track of 'files' it keeps track of changes.
so, you would have to do a two step process, from the commandline 1. scm list changsets - to get all the changeset ids 2. using the changeset ids, list all the changes in the change set. scm list changes changeset_id then u would have to manipulate those results into the name of the file that changed, and then use something (database, excel, ...) to count them. I'm not aware of any provided by the product (tool/report/???) that does this |
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.