An empirical investigation into a large-scale Java open source code repository
Authors:
Open Access
- 16 September 2010
- conference paper
- Published by Association for Computing Machinery (ACM)
- p. 1-10
Abstract
Getting insight into different aspects of source code artifacts is increasingly important -- yet there is little empirical research using large bodies of source code, and subsequently there are not much statistically significant evidence of common patterns and facts of how programmers write source code. We pose 32 research questions, explain rationale behind them, and obtain facts from 2,080 randomly chosen Java applications from Sourceforge. Among these facts we find that most methods have one or zero arguments or they do not return any values, few methods are overridden, most inheritance hierarchies have the depth of one, close to 50% of classes are not explicitly inherited from any classes, and the number of methods is strongly correlated with the number of fields in a class.Keywords
Funding Information
- Air Force Office of Scientific Research (FA9550-07-1-0030)
- Division of Computing and Communication Foundations (CCF-0916139CCF-0916260)
This publication has 15 references indexed in Scilit:
- Exploring the effects of SourceForge.net coordination and communication tools on the efficiency of open source projects using data envelopment analysisEmpirical Software Engineering, 2008
- The Future of Empirical Methods in Software Engineering Research2007
- Understanding the shape of Java softwareACM SIGPLAN Notices, 2006
- Properties of Signature Change Patterns2006
- FLOSSmoleInternational Journal of Information Technology and Web Engineering, 2006
- An Empirical Exploration of the Distributions of the Chidamber and Kemerer Object-Oriented Metrics SuiteEmpirical Software Engineering, 2005
- Preliminary guidelines for empirical research in software engineeringIEEE Transactions on Software Engineering, 2002
- Two case studies of open source software developmentACM Transactions on Software Engineering and Methodology, 2002
- A metrics suite for object oriented designIEEE Transactions on Software Engineering, 1994
- Inheritance is not subtyping1990