Mining framework usage changes from instantiation code

Schäfer, Thorsten and Jonas, Jan and Mezini, Mira (2008) Mining framework usage changes from instantiation code. In: ICSE '08 Proceedings of the 30th international conference on Software engineering. ACM, DEU, pp. 471-480. ISBN 978-1-60558-079-1

Full text not available from this repository.


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.

Item Type:
Contribution in Book/Report/Proceedings
ID Code:
Deposited By:
Deposited On:
11 Jun 2013 10:43
Last Modified:
16 Sep 2023 03:03