A validation of object-oriented design metrics as quality indicators

Victor R. Basili, Lionel C. Briand, Walcélio L. Melo

Research output: Contribution to journalArticlepeer-review

Abstract

This paper presents the results of a study in which we empirically investigated the suite of object-oriented (OO) design metrics introduced in [13]. More specifically, our goal is to assess these metrics as predictors of fault-prone classes and, therefore, determine whether they can be used as early quality indicators. This study is complementary to the work described in [30] where the same suite of metrics had been used to assess frequencies of maintenance changes to classes. To perform our validation accurately, we collected data on the development of eight medium-sized information management systems based on identical requirements. All eight projects were developed using a sequential life cycle model, a well-known OO analysis/design method and the C++ programming language. Based on empirical and quantitative analysis, the advantages and drawbacks of these OO metrics are discussed. Several of Chidamber and Kemerer's OO metrics appear to be useful to predict class fault-proneness during the early phases of the life-cycle. Also, on our data set, they are better predictors than "traditional" code metrics, which can only be collected at a later phase of the software development processes.

Original languageEnglish
Pages (from-to)751-761
Number of pages11
JournalIEEE Transactions on Software Engineering
Volume22
Issue number10
DOIs
Publication statusPublished - 1996
Externally publishedYes

Keywords

  • C++ programming language
  • Error prediction model
  • Object-oriented design metrics
  • Object-oriented software development

Fingerprint

Dive into the research topics of 'A validation of object-oriented design metrics as quality indicators'. Together they form a unique fingerprint.

Cite this