views:

13

answers:

1

Microsoft Line of Code Counter is a tool for statistics code line in TFS, can count code changes between different version, different date, BUT can't count code for different users?

Is there possible to count code by user(who checked in code) and version?

A: 

Yes. You can get this through the TFS Warehouse Analysis Services cube, or from the TFS Warehouse database.

Specifically take a look at the dbo.Code Churn table in TFSWarehouse. You will need SQL skills to be able to pull this information together.

This is how you get the metric. However, I recommend against using it. A good programmer will check in about 15 lines of code per day on average. Using a code churn metric will not tell you who is working best, it will only tell you who is putting the most stuff into source control.

Robaticus