Sunday, June 1, 2008

Metrics

It is important to know the metrics of the code. Metrics are used to know measures of your code and let you understand if it is growing more than a desired measure, this will help to maintain the sources. I've found a good eclipse plugin called... metrics, it is available from its website, and it is given to work with Eclipse 3.1 even if i've found no problems to run it with Eclipse 3.3 (64bit).
Its website provides a brief description of some metric meanings that is worth to be read. As an example, the value of the McCabe Cyclomatic Complexity measure will provide a value to use to know if the already designed unit tests are enough exhaustive or if they lack some test cases.

No comments: