Write a Blog >>
ICSE 2020
Wed 24 June - Thu 16 July 2020
Thu 9 Jul 2020 08:19 - 08:31 at Silla - I18-APIs and Commits Chair(s): Massimiliano Di Penta

As Android platform evolves in a fast pace, API-related compatibility issues become a significant challenge for developers. Existing works mainly focus on detecting whether an app performs sufficient checks to avoid invoking incompatible APIs on platforms that do not support them. Besides checking the presence of compatibility issues, another important problem is how to fix/work-around these issues. To shed light on the current practice of fixing evolution-induced API compatibility issues, this paper performs the first large-scale study of compatibility issues for about 300,000 Android market apps, and more importantly, their solutions (if exist). However, it is in general very challenging to determine if developers have put in counter-measure for a compatibility issue, as different APIs have diverse behaviors, rendering various repair. We propose a learning-based approach, RAPID, that leverages static analysis and machine learning to build a classifier to determine if a compatibility issue has been addressed. Results show that the trained classifier is quite effective by achieving a F1-score of 95.21% and 91.96% in the training stage and the validation stage respectively. With the help of RAPID, our study yields a number of interesting findings, e.g. only 38.4% of the incompatible API uses are actually provided alternative implementation as a fix; the fix ratio for incompatible APIs with Google recommendations is significantly higher than those without recommendations, but Google only provides recommendations for very few APIs; developers find more ways to repair such issues than Google’s recommendations and there is a large room to improve the current status of compatibility issue handling.

Thu 9 Jul
Times are displayed in time zone: (UTC) Coordinated Universal Time change

08:05 - 09:05: I18-APIs and CommitsPaper Presentations / New Ideas and Emerging Results / Journal First / Technical Papers at Silla
Chair(s): Massimiliano Di PentaUniversity of Sannio
08:05 - 08:13
Talk
Enriching API Documentation with Code Samples and Usage Scenarios from Crowd KnowledgeJ1
Journal First
Jingxuan ZhangNanjing University of Aeronautics and Astronautics, He JiangSchool of Software, Dalian University of Technology, Zhilei RenDalian University of Technology, Tao ZhangHarbin Engineering University, Zhiqiu HuangNanjing University of Aeronautics and Astronautics
08:13 - 08:19
Talk
Cooperative API Misuse Detection Using Correction RulesNIER
New Ideas and Emerging Results
Sebastian NielebockOtto-von-Guericke University Magdeburg, Germany, Robert HeumüllerChair of Software Engineering, Faculty of Computer Science, Otto-von-Guericke-University Magdeburg, Jacob KrügerOtto von Guericke University Magdeburg, Frank OrtmeierOtto-von-Guericke-University Magdeburg, Faculty of Computer Science, Chair of Software Engineering
DOI Pre-print
08:19 - 08:31
Talk
How Android Developers Handle Evolution-induced API Compatibility Issues: A Large-scale StudyTechnical
Technical Papers
Hao XiaFudan University, Yuan ZhangFudan University, Yingtian ZhouFudan University, Xiaoting ChenFudan University, Yang WangFudan University, Xiangyu ZhangPurdue University, Shuaishuai CuiFudan University, Geng HongFudan University, Xiaohan ZhangFudan University, Min YangFudan University, Zhemin YangFudan University
08:31 - 08:43
Talk
An Empirical Study on API Parameter RulesTechnical
Technical Papers
Hao ZhongShanghai Jiao Tong University, Na MengVirginia Tech, Zexuan LiShanghai Jiao Tong University, Li JiaShanghai Jiao Tong University
08:43 - 08:49
Talk
Boosting Automated Program Repair with Bug-Inducing CommitsNIER
New Ideas and Emerging Results
Ming WenHuazhong University of Science and Technology, China, Yepang LiuSouthern University of Science and Technology, Shing-Chi CheungDepartment of Computer Science and Engineering, The Hong Kong University of Science and Technology
08:49 - 09:01
Talk
Software Documentation: The Practitioners' PerspectiveTechnical
Technical Papers
Emad AghajaniSoftware Institute, USI - Lugano, Switzerland, Csaba NagySoftware Institute - USI, Lugano, Switzerland, Mario Linares-VásquezUniversidad de los Andes, Laura MorenoColorado State University, Gabriele BavotaUniversità della Svizzera italiana, Michele LanzaUniversita della Svizzera italiana (USI), David C. ShepherdVirginia Commonwealth University
Pre-print Media Attached