Sunday, 15 December 2013

Code Metrics in Visual Studio

MSVS can produce a number of software measurements. The "code metrics" are summarised in the following MSDN article. They comprise the folllowing:

* Maintainability index (high values are good, below 20 is bad)
* Cyclomatic Complexity
* Depth of inheritance
* Class Coupling
* Lines of Code

For more depth on cyclomatic complexity one can consult the original article by Thomas McCabe published in the IEEE Transactions on Software Engineering in 1976.

No comments: