asp.net - Programmatically checking code complexity, possibly via c#? -
I am interested in data mining projects, and always want to create a classification algorithm that will determine which specific check- These
I have developed several heuristics for my algorithm, although I have yet to find the killer ...
How can I program a code as a To check the computational complexity of the part?
In addition, and even more interesting - how do I use the code only, but the difference is that source control stores provide better data to get ..
IE : If I add complexity to the code - but reduces complexity in code that should not be considered a 'good' code?
You are interested in your thoughts on this.
UPDATE
Apparently I was not clear. I want it
double codeValue = CodeChecker.CheckCode (someCodeFile);
I know that a code based on how good the code is, wants to come out. I'll start as VS2008 gives when you calculate complexity, but would like to go further heuristics.
Anyone have any ideas? It would be greatly appreciated!
Have you seen? This tool can be used to calculate the complexity of the code and supports a query language through which you can get an incredible data on your application.