Abstract
Despite the importance of software metrics and the large number of proposed metrics, they have not been widely applied in industry yet. One reason might be that, for most metrics, the range of expected values, i.e.; reference values are not known. This paper presents results of a study on the structure of a large collection of open-source programs developed in Java, of varying sizes and from different application domains. The aim of this work is the definition of thresholds for a set of object-oriented software metrics, namely: LCOM, DIT, coupling factor, afferent couplings, number of public methods, and number of public fields. We carried out an experiment to evaluate the practical use of the proposed thresholds. The results of this evaluation indicate that the proposed thresholds can support the identification of classes which violate design principles, as well as the identification of well-designed classes. The method used in this study to derive software metrics thresholds can be applied to other software metrics in order to find their reference values.
Original language | English (US) |
---|---|
Pages (from-to) | 244 - 257 |
Number of pages | 14 |
Journal | Journal of Systems and Software |
Volume | 85 |
Issue number | 2 |
DOIs | |
State | Published - Feb 2012 |
Keywords
- Object-oriented programming (Computer science), Business enterprises, Computer software usability, Computer software, Open source software, Software measurement, Threshold logic, Java (Computer program language), Object-oriented software, Open-source software, Software metric thresholds
- Object-oriented software
- Open-source software
- Software metric thresholds
ASJC Scopus subject areas
- Software
- Information Systems
- Hardware and Architecture