Вопрос

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?

Это было полезно?

Решение 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

Другие советы

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.
Лицензировано под: CC-BY-SA с атрибуция
Не связан с StackOverflow
scroll top