Question

I'm looking for reporting tools for TFS, I need to get Lines of Code for individual developer between 2 dates, do you think it is doable via TFS?

Was it helpful?

Solution 2

I did it once per Management request. This may not be the perfect solution but it works. I reported LOC added for a TFS branch. I'm attaching TFS cube screenshot from old version (TFS 2008) since TFS version is missing here. I'm sure new version will be similar.

enter image description here

OTHER TIPS

This is how I get lines of code for TFS/Visual Studio projects:

  1. Open solution
  2. Open window: View -> Other Windows -> Code Metrics Results
  3. Run metrics: Click the icon at the top left - Calculate Code Metrics for Solution
    • Metrics collected
    • Has Lines of Code column

Option 2:

  • Open Solution.
  • Select "Analyze" on the toolbar.
  • Click Calculate Code Metrics.
  • If you have clicked on a file, it will allow you to calculate for the file, otherwise, select "For solution"

Option 3:

  • Open Solution.
  • In the Solution Explorer window, right click on the solution and select "Calculate code metrics"
  • This again will generate the metrics in the "Code Metrics Results" window.
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top