RTTool: A tool for extracting relative thresholds for source code metrics

  • Oliveira P
  • Lima F
  • Valente M
 et al. 
  • 61


    Mendeley users who have this article in their library.
  • 9


    Citations of this article.


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.

Author-supplied keywords

  • Relative thresholds
  • Software measurement
  • Software quality
  • Source code metrics

Get free article suggestions today

Mendeley saves you time finding and organizing research

Sign up here
Already have an account ?Sign in

Find this document

Get full text


  • Paloma Oliveira

  • Fernando P. Lima

  • Marco Tulio Valente

  • Alexander Serebrenik

Cite this document

Choose a citation style from the tabs below

Save time finding and organizing research with Mendeley

Sign up for free