Abstract | ||
---|---|---|
The Maintainability Index (MI) metric was proposed in the early nineties to gauge ease of code maintenance. A high value of MI indicates well-constructed code which is easy to maintain and a low MI, the opposite. The metric has been criticized in the past and more recently for its applicability to code and validity more generally. Very few studies however have explored whether the MI correlates strongly with class features such as coupling, defects or size - features of object-oriented (OO) classes which are acknowledged to be surrogates of maintenance complexity. We explore the relationship between the MI and these four perspectives. Three releases of two Eclipse projects were used as the empirical basis of the study and the JHawk tool was used to extract class-based metrics. Significant correlations were found between class features and the MI for all class features except fan-in which measures incoming coupling and determined externally by 'using' classes, however, further exploration of the data revealed that the application of the MI to an OO paradigm was not particularly successful, due primarily to the influence of class size. For OO systems, we would thus warn against the use of MI as a measure of maintenance. |
Year | DOI | Venue |
---|---|---|
2015 | 10.1109/SEAA.2015.41 | EUROMICRO-SEAA |
Keywords | Field | DocType |
Metrics, Eclipse, empirical, maintainability, object-oriented | Class size,Object-oriented programming,Systems engineering,Computer science,Extract class,Software,Correlation,Eclipse,Maintenance engineering,Maintainability | Conference |
ISSN | Citations | PageRank |
1089-6503 | 0 | 0.34 |
References | Authors | |
8 | 7 |
Name | Order | Citations | PageRank |
---|---|---|---|
Steve Counsell | 1 | 1732 | 117.90 |
Xiao-Yan Liu | 2 | 22 | 11.04 |
Sigrid Eldh | 3 | 141 | 17.67 |
R. Tonelli | 4 | 237 | 18.42 |
Michele Marchesi | 5 | 807 | 120.28 |
Giulio Concas | 6 | 424 | 44.83 |
Alessandro Murgia | 7 | 246 | 16.20 |