1

Using the the following CQL query:

SELECT  NAMESPACES WHERE NameLike "Test$" ORDER BY NbLinesOfCode DESC

I am getting some results that show "N/A" instead of a number for NbLinesOfCode. Anyone know why this is happening and how to resolve it?

Note: I tried changing NbLinesOfCode to NbILInstructions, and none of the result records showed N/A.

Dan Ling
  • 2,965
  • 2
  • 29
  • 43

1 Answers1

1

There can be two things here:

Patrick from NDepend team
  • 13,237
  • 6
  • 61
  • 92
  • Patrick, thank you for your response. My solution has 35 projects, and in the "error list" of NDepend I see there are 5 warnings that say that 5 PDB's are corrupted, and it correlates perfectly with the NA results that I see. Unfortunately I have no idea what is wrong with the PDB's - they are being generated directly by Visual Studio's build and I have verified that they are up to date. – Dan Ling Apr 16 '12 at 20:17
  • I should add that I am able to debug the assemblies that NDepend has labelled corrupt. I guess I need to somehow determine if problem is within NDepend, VS/MS build, or my source code. – Dan Ling Apr 16 '12 at 20:24
  • Concerning the PDBs corrupted, do they get instrumented somehow (profile, or VSTS tooling?). What do these 5 assemblies differentiate from the others? – Patrick from NDepend team Apr 17 '12 at 16:01