Title :
Mining framework usage changes from instantiation code
Author :
Schafer, Thorsten ; Jonas, Jan ; Mezini, Mira
Author_Institution :
Software Technol. Group, Darmstadt Univ. of Technol., Darmstadt
Abstract :
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.
Keywords :
data mining; software maintenance; software reusability; error-prone process; framework usage change mining; instantiation code; refactorings; Automation; Data mining; Guidelines; Permission; Software design; Software engineering; Software maintenance; Software reusability; Software systems; Testing; evolution; framework comprehension; migration;
Conference_Titel :
Software Engineering, 2008. ICSE '08. ACM/IEEE 30th International Conference on
Conference_Location :
Leipzig
Print_ISBN :
978-1-4244-4486-1
Electronic_ISBN :
0270-5257
DOI :
10.1145/1368088.1368153