| | | | Version: 1.0 Support Eclipse Version: 3.2 and above License: Commercial Development Status: Beta Company: Enerjy Software
| |  | Home Page |  | Plugin Support |  | Discussion Forum |  |
| | Update Site URL: http://update.enerjy.com/eclipse |
Enerjy does two things: it measures the probability of bugginess of your Java code (we call that the Enerjy Score), and then it helps you understand what causes a high or low score. We use a combination of static analysis and other metrics (such as Cyclomatic Complexity) to generate the metrics. The probability of bugginess is based on research in which we correlated the metrics from thousands of source code files to corresponding defect rates.
Some of those metrics are direct indications of problems that can be addressed. We call those causal metrics. An example might be the use of curly braces around single statement if/then clauses. Adding the braces will directly reduce the likelihood of bugs.
There is another type of metric, that we call indicative metrics. These do not relate directly to problems in the code, but are statistically shown to be associated with buggy code. For example, it turns out that a high proportion of in-line comments usually indicates problematic code. Of course, going through and removing the comments will not reduce the likelihood of bugs, even although it will improve the Enerjy Score. But, if Enerjy finds code that does have a high level of comments, it would be worthwhile spending some time looking at it to see if it needs refactoring. Added on: 11-Feb-2008
|