Mining framework usage changes from instantiation code
Thorsten Schäfer, Jan Jonas, Mira Mezini · Proceedings/Proceedings - International Conference on Software Engineering · 2008
Framework evolution may break existing users, which need to be migrated to the new framework version. This is a tedious and error-prone process that benefits from automation. Existing approaches compare two versions of the framework code in order to find changes caused by refactorings. However, other kinds of changes exist, which are relevant for the migration. In this paper, we propose to mine framework usage change rules from already ported instantiations, the latter being applications build on top of the framework, or test cases maintained by the framework developers. Our evaluation shows that our approach finds usage changes not only caused by refactorings, but also by conceptual changes within the framework. Further, it copes well with some issues that plague tools focusing on finding refactorings such as deprecated program elements or multiple changes applied to a single program element.
Cited by 92 works. doi:10.1145/1368088.1368153
Authors
References
- Mining association rules between sets of items in large databases
- PR-Miner
- UMLDiff
- Using origin analysis to detect merging and splitting of source code entities
- Finding refactorings via change metrics
- CatchUp!
- Data mining library reuse patterns using generalized association rules
- Recommending adaptive changes for framework evolution
- Reuse contracts
- Automated Detection of Refactorings in Evolving Components