This Article 
   
 Share 
   
 Bibliographic References 
   
 Add to: 
 
Digg
Furl
Spurl
Blink
Simpy
Google
Del.icio.us
Y!MyWeb
 
 Search 
   
Conference on Software Maintenance and Reengineering (CSMR'06)
Comparison between SLOCs and number of files as size metrics for software evolution analysis
Bari, Italy
March 22-March 24
ISBN: 0-7695-2536-9
Israel Herraiz, Universidad Rey Juan Carlos, SPAIN
Gregorio Robles, Universidad Rey Juan Carlos, SPAIN
Jes us M. Gonzalez-Barahon, Universidad Rey Juan Carlos, SPAIN
There are some concerns in the research community about the convenience of using low-level metrics (such as SLOC, source lines of code) for characterizing the evolution of software, instead of the more traditional higher lever metrics (such as the number of modules or files). This issue has been raised in particular after some studies that suggest that libre (free, open source) software evolves differently than ?traditional? software, and therefore it does not conform to Lehman?s laws of software evolution. Since those studies on libre software evolution use SLOCs as the base metric, while Lehman?s and other traditional studies use modules or files, it is difficult to compare both cases. To overcome this difficulty, and to explore the differences between SLOC and files/modules counts in libre software projects, we have selected a large sample of programs and have calculated both size metrics over time. Our study shows that in those cases the evolution patterns in both cases (counting SLOCs or files) is the same, and that some patterns not conforming to Lehman?s laws are indeed apparent.
Index Terms:
metrics, software evolution, libre software,empirical studies
Citation:
Israel Herraiz, Gregorio Robles, Jes us M. Gonzalez-Barahon, "Comparison between SLOCs and number of files as size metrics for software evolution analysis," csmr, pp.206-213, Conference on Software Maintenance and Reengineering (CSMR'06), 2006
Usage of this product signifies your acceptance of the Terms of Use.