DocumentCode
145584
Title
Power-Laws and Structure in Functional Programs
Author
Coleman, Ron ; Johnson, Matthew A.
Author_Institution
Comput. Sci. Dept., Marist Coll. Poughkeepsie, Poughkeepsie, NY, USA
Volume
2
fYear
2014
fDate
10-13 March 2014
Firstpage
168
Lastpage
172
Abstract
We downloaded from GitHub, Inc., a portfolio of recently updated open source Scala projects containing 16,500 source files with 2.3 million lines of code and 223,000 methods written by hundreds of programmers. A related paper found in this "big data" of functional programs non-Gaussian distributions of lines of code and cyclomatic complexity and speculated that the distributions resembled those of phenomena known to be fractal in structure, following power laws. In this paper we show that power-laws are the best, most parsimonious explanation of the distributions according to R2 analysis and minimum description length principles. We show furthermore that the data are robust and the power-law explanations are persistent even when the largest project in the portfolio, the Scala compiler and standard library, is removed. To our knowledge these findings are the first such report in the literature of power-law distributions of software complexity in functional programs.
Keywords
computational complexity; functional programming; public domain software; software libraries; software metrics; statistical distributions; structured programming; R2 analysis; Scala compiler; big data; cyclomatic complexity; functional programs; nonGaussian distributions; open source Scala project portfolio; power-law distributions; power-law explanations; software complexity; source files; standard library; structure fractal; Complexity theory; Fractals; Functional programming; Libraries; Portfolios; Software; Standards; Power-laws; Scala; functional programming; minimum description length;
fLanguage
English
Publisher
ieee
Conference_Titel
Computational Science and Computational Intelligence (CSCI), 2014 International Conference on
Conference_Location
Las Vegas, NV
Type
conf
DOI
10.1109/CSCI.2014.112
Filename
6822323
Link To Document