This is a custom version of the open source eclipse metrics plugin. The paper on Metrics for Object Oriented Design (MOOD) to assess Java Programs forms the basis of these metrics.
- Design Size – number of classes
- Hierarchies – number of class hierarchies
- Abstraction – average number of ancestors for the classes
- Encapsulation – ratio of private attributes/ total attributes
- Coupling – number of classes that pass messages or share attributes
- Cohesion – ratio of intersection of parameters of methods in a class to all the parameters in the class
- Composition – number of data declarations whose type is a user defined class
- Inheritance – ratio of number of methods inherited by a class to the total number of methods accessible by the methods in the class
- Polymorphism – number of methods that exhibit polymorphic behavior
- Messaging - number of public methods in a class
- Complexity – number of methods defined in a class
Frank Sauer
Sumit Bisht
Copyright (c) 2003 Frank Sauer. All rights reserved. Licenced under CPL 1.0 (Common Public License Version 1.0).
The aforementioned license is also on applicable on all the modifications.