Haensenberger, Lea; Kuhn, Adrian; Nierstrasz, Oscar (2008). Using Dynamic Analysis for API Migration. In: Zaidman, Andy; Hamou-Lhadj, Abdelwahab; Greevy, Orla; Röthlisberger, David (eds.) Proceedings IEEE 4th International Workshop on Program Comprehension through Dynamic Analysis PCODA, 16 October 2008, Antwerp.Full text not available from this repository. (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)|
|Division/Institute:||08 Faculty of Science > Institute of Computer Science (INF)|
|UniBE Contributor:||Kuhn, Adrian and Nierstrasz, Oscar Marius|
|Date Deposited:||04 Oct 2013 15:22|
|Last Modified:||10 Mar 2014 16:17|
|URI:||http://boris.unibe.ch/id/eprint/37153 (FactScience: 206978)|