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
Text
Haen08bAPImigration.pdf - Published Version Restricted to registered users only Available under License Publisher holds Copyright. Download (208kB) |
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) |
---|---|
Division/Institute: |
08 Faculty of Science > Institute of Computer Science (INF) 08 Faculty of Science > Institute of Computer Science (INF) > Software Composition Group (SCG) [discontinued] |
UniBE Contributor: |
Kuhn, Adrian, Nierstrasz, Oscar |
Publisher: |
IEEE |
Language: |
English |
Submitter: |
Factscience Import |
Date Deposited: |
04 Oct 2013 15:22 |
Last Modified: |
02 Mar 2023 23:23 |
BORIS DOI: |
10.7892/boris.37153 |
URI: |
https://boris.unibe.ch/id/eprint/37153 (FactScience: 206978) |