Source Code Metrics and Maintainability: A Case Study
نویسندگان
چکیده
Measuring high level quality attributes of operation-critical IT systems is essential for keeping the maintainability costs under control. International standards and recommendations, like ISO/IEC 9126, give some guidelines regarding the different quality characteristics to be assessed, however, they do not define unambiguously their relationship to the low level quality attributes. The vast majority of existing quality models use source code metrics for measuring low level quality attributes. Although, a lot of researches analyze the relation of source code metrics to other objective measures, only a few studies deal with their expressiveness of subjective feelings of IT professionals. Our research involved 35 IT professionals and manual evaluation results of 570 class methods of an industrial and an open source Java system. Several statistical models have been built to evaluate the relation of low level source code metrics and high level subjective opinions of IT experts. A decision tree based classifier achieved a precision of over 76% during the estimation of the Changeability ISO/IEC 9126 attribute.
منابع مشابه
A Drill-Down Approach for Measuring Maintainability at Source Code Element Level
Measuring source code maintainability has always been a challenge for software engineers. To address this problem, a number of metrics-based quality models have been proposed by researchers. Besides expressing source code maintainability in terms of numerical values, these models are also expected to provide explicable results, i.e. to give a detailed list of source code fragments that should b...
متن کاملEmpirical Comparison of two Metrics Suites for Maintainability Prediction in packages of Object-Oriented Systems: a Case Study of Open Source Software
Software maintainability has been an important external quality attribute that concerns both styles of software development, the proprietary model as well as open source. As lots of open source software are predominantly built using the OO paradigm, there exists a need for empirical validation with respect to certain quality aspects especially maintainability. There are a few studies in the pas...
متن کاملA Comparative Study of Maintainability Index of Open Source Software
The development of Open Source Software (OSS) is fundamentally different from the proprietary software. In the OSS development scenario a single developer or group of developers writes the source code for the first version of the software and make it freely available over the internet. Then other developers are invited to contribute to the existing code for its next release. Making the source c...
متن کاملFaster Defect Resolution with Higher Technical Quality of Software
We performed an empirical study of the relation between technical quality of software products and the defect resolution performance of their maintainers. In particular, we tested the hypothesis that ratings for source code maintainability, as employed by the SIG quality model, are correlated with ratings for defect resolution speed. This study revealed that all but one of the metrics of the SI...
متن کاملBad Smells in Software – a Taxonomy and an Empirical Study
In this work, the bad code smells are studied empirically and their relationship to source code metrics is evaluated. This work also presents an initial taxonomy for the bad code smell, which improves their understandability and feasibility The bad code smells, presented by Martin Fowler and Kent Beck, are dissatisfactory structures in the source code of software that decrease software quality ...
متن کامل