2018 · 24 citations · 56 references
ComputingComputer ScienceInformation TechnologyDocumentationOperating SystemsSoftware EngineeringApplication Programming InterfacesMobile Application DevelopmentPlatform MigrationSoftware DocumentationSoftware EvolutionSoftware MaintenanceApi DocumentationApi EvolutionApplication MigrationDocumenting Application Programming InterfacesMobile Application Programming InterfacesOpen-source Software DevelopmentSoftware Libraries
In recent years, open source software libraries have allowed developers to build robust applications by consuming freely available application program interfaces (API). However, when these APIs evolve, consumers are left with the difficult task of migration. Studies on API migration often assume that software documentation lacks explicit information for migration guidance and is impractical for API consumers. Past research has shown that it is possible to present migration suggestions based on historical code-change information. On the other hand, research approaches with optimistic views of documentation have also observed positive results. Yet, the assumptions made by prior approaches have not been evaluated on large scale practical systems, leading to a need to affirm their validity. This paper reports our recent practical experience migrating the use of Android APIs in FDroid apps when leveraging approaches based on documentation and historical code changes. Our experiences suggest that migration through historical codechanges presents various challenges and that API documentation is undervalued. In particular, the majority of migrations from removed or deprecated Android APIs to newly added APIs can be suggested by a simple keyword search in the documentation. More importantly, during our practice, we experienced that the challenges of API migration lie beyond migration suggestions, in aspects such as coping with parameter type changes in new API. Future research may aim to design automated approaches to address the challenges that are documented in this experience report.
56
Using structural context to recommend source code examples
Reid Holmes, Gail C. Murphy · 2005 · 385 citations · Full text
Hipikat: a project memory for software development
Davor Čubranić, Gail C. Murphy, Janice Singer et al. · IEEE Transactions on Software Engineering · 2005 · 325 citations
Johannes Henkel, Amer Diwan · 2005 · 274 citations