Mining framework usage changes from instantiation code

  • Schafer T
  • Jonas J
  • Mezini M
  • 40

    Readers

    Mendeley users who have this article in their library.
  • 43

    Citations

    Citations of this article.

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.

Author-supplied keywords

  • evolution
  • framework comprehension
  • migration

Get free article suggestions today

Mendeley saves you time finding and organizing research

Sign up here
Already have an account ?Sign in

Find this document

Get full text

Authors

  • T. Schafer

  • J. Jonas

  • M. Mezini

Cite this document

Choose a citation style from the tabs below

Save time finding and organizing research with Mendeley

Sign up for free