Cyclomatic Complexity
Cyclomatic Complexity
Greetings, Is it possible that the Cyclomatic Complexity calculation is looking at commented out code? I was looking at a funtion that was reported by NCover as having a Cyclomatic Complexity of 3, but the code only had one path. Two if statements were commented out. Thanks -- Dan'l
RE: Cyclomatic Complexity
There is a chance that the PDB file is out of sync with the code. NCover does not look at the source, it only looks at the pdb file.
Try to recompile the application.
Joe Feser