Lines Of Code in Team foundation server

Sameh picture Sameh · Mar 11, 2013 · Viewed 17.9k times · Source

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?

Answer

Robert J. Good picture Robert J. Good · Oct 29, 2015

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