TFS Cube - Does Total Lines of Code display incorrectly?

I use the TFS cube as described here , and get a curious result for “shared strings”. If I look at the file inside the visual studio, I see that the file is 42 lines long (total, comments, spaces, etc.). However, when I ask for a TFS cube for the same information, it tells me that the file is almost - but not exactly - twice its size.

My pivot table is configured as follows:

  • The report filter includes a specific team project and is filtered by file extension (.cs)
  • String labels set as Filename.Parent_ID
  • Values ​​set to Total Rows

I looked at the MSDN manual here and don’t see what I did wrong, except that I didn’t notice that I selected an individual assembly (if I do this, I won’t get any results).

Edit: since this may be relevant, I am using TFS 2008 SP1 with the SQL 2005 standard. There is a note on the MSDN page that warns me that SQL 2005 Standard does not support perspectives, but “cube elements from all points of view are in the system data cube " I'm not sure what this means for this problem, if anything.

+4
source share
1 answer

Check your lines in files: do numbers change if you convert files between line endings in Windows / linux?

Add lines with 60, 90, 150, 200 characters and check the number of lines added. Perhaps it will be a wrapper.

+1
source

Source: https://habr.com/ru/post/1334386/


All Articles