Chidamber and Kemerer Object Oriented Metrics

Extends the Java 1.4 frontend

This is an example of how the Java 1.4 frontend can be extended to perform additional analyses. This extension implements a set of object-oriented metrics proposed by CHidamber and Kemerer in: A Metrics Suite for Object Oriented Design. The implementation is heavily based on collection attributes to show case that functionality in JastAdd.

This project builds on the Java 1.4 Frontend. To run it, you need to download both this project and the Java1.4Frontend, and place them in sibling directories. The modules defined in this project will make use of the abstract syntax and attributes defined in the Java1.4Frontend, and also refine the abstract syntax and add new attributes.

Metrics modules

ChidamberAndKemererJavaMetrics

This module contains the six proposed metrics. They are all implemented using collection attributes

ChidamberAndKemererJavaQueries

This module collects the types to be presented and contains the code to display the result.

Additional contents of this directory