Using Dynamic Analysis for API Migration

Haensenberger, Lea; Kuhn, Adrian; Nierstrasz, Oscar (2008). Using Dynamic Analysis for API Migration. Workshop on Program Comprehension through Dynamic Analysis. Proceedings, pp. 32-36. IEEE

[img] Text
Haen08bAPImigration.pdf - Published Version
Restricted to registered users only
Available under License Publisher holds Copyright.

Download (208kB) | Request a copy

When changing the API of a framework, we need to migrate its clients. This is best done automatically. In this paper, we focus on API migration where the mechanism for inversion of control changes. We propose to use dynamic analysis for such API migration since structural refactorings alone are often not sufficient. We consider JExample as a case-study. JExample extends JUnit with first-class dependencies and fixture injection. We investigate how dynamically collected information about test coverage and about instances under test can be used to detect dependency injection candidates.

Item Type:

Conference or Workshop Item (Paper)


08 Faculty of Science > Institute of Computer Science (INF)
08 Faculty of Science > Institute of Computer Science (INF) > Software Composition Group (SCG)

UniBE Contributor:

Kuhn, Adrian and Nierstrasz, Oscar Marius






Factscience Import

Date Deposited:

04 Oct 2013 15:22

Last Modified:

13 Sep 2017 08:45



URI: (FactScience: 206978)

Actions (login required)

Edit item Edit item
Provide Feedback