I need your help on an idea that came to my mind recently.
Speaking in TFS terms, I am trying to come up with a formula that can determine the ownership index for some source-controlled file (i.e. who is the developer most responsible for that file).
That's why I'm looking for criteria I can use to calculate this ownership index. So far, the only feasible thing that comes to my mind is to sum the number of check ins, but this criterion seems fishy. Another criterion is to sum all the lines of code each developer has checked in, however 1) I am not sure if it is possible with TFS SDK 2010 and 2) Documentation lines should be skipped.
So, my question, I guess, is:
Are the above criteria (number of checkins + lines of code) sufficient to calculate an ownership index or do I need something else?