• DocumentCode
    251836
  • Title

    Extracting relative thresholds for source code metrics

  • Author

    Oliveira, P. ; Valente, Marco Tulio ; Paim Lima, Fernando

  • Author_Institution
    Dept. of Comput. Sci., UFMG, Belo Horizonte, Brazil
  • fYear
    2014
  • fDate
    3-6 Feb. 2014
  • Firstpage
    254
  • Lastpage
    263
  • Abstract
    Establishing credible thresholds is a central challenge for promoting source code metrics as an effective instrument to control the internal quality of software systems. To address this challenge, we propose the concept of relative thresholds for evaluating metrics data following heavy-tailed distributions. The proposed thresholds are relative because they assume that metric thresholds should be followed by most source code entities, but that it is also natural to have a number of entities in the “long-tail” that do not follow the defined limits. In the paper, we describe an empirical method for extracting relative thresholds from real systems. We also report a study on applying this method in a corpus with 106 systems. Based on the results of this study, we argue that the proposed thresholds express a balance between real and idealized design practices.
  • Keywords
    software metrics; software quality; source code (software); design practices; heavy-tailed distributions; metric thresholds; metrics data evaluation; real systems; relative thresholds; software systems quality; source code entities; source code metrics; Complexity theory; Couplings; Java; Measurement; Proposals; Software quality; Relative thresholds; Software measurement; Software quality; Source code metrics;
  • fLanguage
    English
  • Publisher
    ieee
  • Conference_Titel
    Software Maintenance, Reengineering and Reverse Engineering (CSMR-WCRE), 2014 Software Evolution Week - IEEE Conference on
  • Conference_Location
    Antwerp
  • Type

    conf

  • DOI
    10.1109/CSMR-WCRE.2014.6747177
  • Filename
    6747177