Towards a Theoretical Model for Software Growth

TitleTowards a Theoretical Model for Software Growth
Publication TypeConference Paper
Year of Publication2007
AuthorsHerraiz, I, Gonzalez-Barahona, JM, Robles, G
Secondary TitleFourth International Workshop on Mining Software Repositories (MSR'07:ICSE Workshops 2007)
Pagination21 - 21
PublisherIEEE
Place PublishedMinneapolis, MN, USA
ISBN Number0-7695-2950-X
KeywordsC, complexity, evolution, freebsd, growth, halstead, lines of code, loc, mccabe, metrics, scm, size, sloc, sloccount, source code
Abstract

Software growth (and more broadly, software evolution) is usually considered in terms of size or complexity of source code. However in different studies, usually different metrics are used, which make it difficult to compare approaches and results. In addition, not all metrics are equally easy to calculate for a given source code, which leads to the question of which one is the easiest to calculate without losing too much information. To address both issues, in this paper present a comprehensive study, based on the analysis of about 700,000 C source code files, calculating several size and complexity metrics for all of them. For this sample, we have found double Pareto statistical distributions for all metrics considered, and a high correlation between any two of them. This would imply that any model addressing software growth should produce this Pareto distributions, and that analysis based on any of the considered metrics should show a similar pattern, provided the sample of files considered is large enough.

DOI10.1109/MSR.2007.31
Full Text
AttachmentSize
PDF icon 28300021.pdf463.96 KB