An Object-Oriented Metrics Suite for Ada 95

Author(s): William W. Pritchett
Venue: Proceedings of the 2001 annual ACM SIGAda international conference on Ada
Date: 2001

Type of Experiement: Case Study

Quality
3

Summary:

This paper explores new metrics specifically tailored to the Object Oriented Ada 95 software. The metrics proposed cover measurements such as size, coupling, cohesion, and complexity. The metrics proposed and their results are as follows:

Max Cyclomatic Complexity
The number of revisions to a class increases as the cyclomatic complexity increases.

Depth of Inheritance
The number of revisions to a class decreases as the Depth of Inheritance increases.

Number Of Children
The number of revisions to a class increases as the Number of Children increases.

Abstract Data Types Referenced
The number of revisions to a class increases as the Abstract Data Types Referenced increases.

Attributes of Abstract Data Types
The number of revisions to a class increases as the number of attributes whose type is ADT increases.

Message Passing Coupling
Evidence was not conclusive.

Class Cohesion
The number of revisions to a class increases as the Class Cohesion increases.

Overridden Operators
Evidence was not conclusive.

Total Operations
The number of revisions to a class decreases as the Total Operations increases.

Local Operations
The number of revisions to a class decreases as the Local Operations increases.

Class-Wide Operations
Evidence was not conclusive.

Total Attributes
Evidence was not conclusive.

Local Attributes
The number of revisions to a class increases as the number of locally defined attributes increases.

0