Measuring software library stability through historical version analysis
- 1 September 2012
- conference paper
- Published by Institute of Electrical and Electronics Engineers (IEEE)
- No. 10636773,p. 378-387
Abstract
Backward compatibility is a major concern for any library developer. In this paper, we evaluate how stable a set of frequently used third-party libraries is in terms of method removals, implementation change, the ratio of change in old methods to change in new ones and the percentage of new methods in each snapshot. We provide a motivating example of a commercial company which demonstrates several issues associated with the usage of third-party libraries. To obtain dependencies from software systems we developed a framework which extracts dependencies from Maven build files and which analyzes system and library code. We propose four metrics which provide different insights in the implementation and interface stability of a library. The usage frequency of library methods is utilized as a weight in the final metric and is obtained from a dataset of more than 2300 snapshots of 140 industrial Java systems. We finally describe three scenarios and an example of the application of our metrics.Keywords
This publication has 12 references indexed in Scilit:
- Analyzing temporal API usage patterns2011
- Large-scale, AST-based API-usage analysis of open-source Java projects2011
- An empirical investigation into a large-scale Java open source code repository2010
- Mining trends of library usage2009
- SemDiff: Analysis and recommendation support for API evolution2009
- SpotWeb: Detecting Framework Hotspots and Coldspots via Mining Open Source Code on the Web2008
- MAPO2006
- Automatically generating refactorings to support API evolution2005
- CatchUp!2005
- The role of refactorings in API evolution2005