• DocumentCode
    600263
  • Title

    Questioning software maintenance metrics: A comparative case study

  • Author

    Sjoberg, Dag I. K. ; Anda, Bente ; Mockus, Audris

  • Author_Institution
    Dept. of Inf., Univ. of Oslo, Oslo, Norway
  • fYear
    2012
  • fDate
    20-21 Sept. 2012
  • Firstpage
    107
  • Lastpage
    110
  • Abstract
    Context: Many metrics are used in software engineering research as surrogates for maintainability of software systems. Aim: Our aim was to investigate whether such metrics are consistent among themselves and the extent to which they predict maintenance effort at the entire system level. Method: The Maintainability Index, a set of structural measures, two code smells (Feature Envy and God Class) and size were applied to a set of four functionally equivalent systems. The metrics were compared with each other and with the outcome of a study in which six developers were hired to perform three maintenance tasks on the same systems. Results: The metrics were not mutually consistent. Only system size and low cohesion were strongly associated with increased maintenance effort. Conclusion: Apart from size, surrogate maintainability measures may not reflect future maintenance effort. Surrogates need to be evaluated in the contexts for which they will be used. While traditional metrics are used to identify problematic areas in the code, the improvements of the worst areas may, inadvertently, lead to more problems for the entire system. Our results suggest that local improvements should be accompanied by an evaluation at the system level.
  • Keywords
    software maintenance; software metrics; Feature Envy code; God Class code; functionally equivalent systems; maintainability index; questioning software maintenance metrics; software engineering research; software system maintainability; Indexes; Maintenance engineering; Size measurement; Software engineering; Software maintenance; Software maintenance; software metrics;
  • fLanguage
    English
  • Publisher
    ieee
  • Conference_Titel
    Empirical Software Engineering and Measurement (ESEM), 2012 ACM-IEEE International Symposium on
  • Conference_Location
    Lund
  • ISSN
    1938-6451
  • Print_ISBN
    978-1-4503-1056-7
  • Electronic_ISBN
    1938-6451
  • Type

    conf

  • DOI
    10.1145/2372251.2372269
  • Filename
    6475403