Help

This application allows to inspect the distributions (probability densities) of a large corpus of metrics. It was conceived to demonstrate the significant differencs in these densities when they become conditional on the context. For example, the distribution of the TLOC metric differs vastly among the contexts "Programming language" and "Middleware".

In order to operationalize a metric in a given context, it is transformed into a score using some ideal value. Some metrics have an implicit ideal value. For example, the McCabe Cyclomatic Complexity has a lowest-possible (and desirable) ideal value of 1. This application allows to transform any metric into a distance using a user-chosen explicit ideal value. After transforming a metric into a distance, its distribution reflects the observed distances from the chosen ideal value. When we then proceed to obtaining the complementary cumulative distribution function, the CCDF, those distances can be translated into scores. The application also allows checking metrics values from own applications in specific contexts.

Elements


References

[1] Terra, R., Miranda, L.F., Valente, M.T. and Bigonha, R.S., 2013. Qualitas.class Corpus: A compiled version of the Qualitas Corpus. ACM SIGSOFT Software Engineering Notes, 38(5), pp.1-4. https://dx.doi.org/10.1145/2507288.2507314.

[2] Tempero, E., Anslow, C., Dietrich, J., Han, T., Li, J., Lumpe, M., Melton, H. and Noble, J., 2010, December. The qualitas corpus: A curated collection of java code for empirical studies. In 2010 Asia pacific software engineering conference (pp. 336-345). IEEE. https://doi.org/10.1109/APSEC.2010.46.

[3] Stephens, M. A., 1974. EDF Statistics for Goodness of Fit and Some Comparisons. In: Journal of the American Statistical Association. Taylor & Francis, 69(347), pp. 730-737. https://doi.org/10.1080/01621459.1974.10480196.

[4] T.W. Epps, and Kenneth J. Singleton 1986. An omnibus test for the two-sample problem using the empirical characteristic function. Journal of Statistical Computation and Simulation, 26(3-4), p.177-203. https://doi.org/10.1080/00949658608810963.