Title | ConfFix: Repairing Configuration Compatibility Issues in Android Apps |
Author | |
DOI | |
Publication Years | 2023-07-12
|
Conference Name | The 32nd ACM SIGSOFT International Symposium on Software Testing and Analysis
|
Source Title | |
Pages | 514-525
|
Conference Date | 2023-07
|
Conference Place | Seattle, WA, USA
|
Abstract | XML configuration files are widely-used to specify the user interfaces (UI) of Android apps. Configuration compatibility (CC) issues are induced owing to the inconsistent handling of such XML configuration files across different Android framework versions. CC issues can cause software crashes and inconsistent look-and-feels, severely impacting the user experience of Android apps. However, there is no universal solution to resolve CC issues and app developers need to handle CC issues case by case. Existing tools are designed based on predefined rules or visual features that are possibly manifested by CC issues. Unfortunately, they can fail or generate overfitting patches when the CC issues are beyond their capabilities. To fill the above research gaps, we first empirically studied the app developers' common strategies in patching real-world CC issues. Based on the findings, we propose ConfFix, an automatic approach to repair CC issues in Android apps. ConfFix is driven by the knowledge of how an XML element is handled inconsistently in different versions of the Android framework and generates patches to eliminate such inconsistencies. We evaluated ConfFix on a set of 77 reproducible CC issues in 13 open-source Android apps. The results show that ConfFix outperforms baselines in successfully repairing 64 CC issues with a high precision. Encouragingly, the patches for 38 CC issues have been confirmed and merged by app developers. |
Keywords | |
SUSTech Authorship | Others
|
Language | English
|
URL | [Source Record] |
Scopus EID | 2-s2.0-85167694651
|
Data Source | Scopus
|
Citation statistics |
Cited Times [WOS]:0
|
Document Type | Conference paper |
Identifier | http://kc.sustech.edu.cn/handle/2SGJ60CL/559844 |
Department | Southern University of Science and Technology 工学院_计算机科学与工程系 |
Affiliation | 1.The Hong Kong University of Science and Technology,Hong Kong 2.Southern University of Science and Technology,Shenzhen,China 3.Huazhong University of Science and Technology,Wuhan,China 4.Department of Computer Science and Engineering,The Research Institute of Trustworthy Autonoumous Systems,Southern University of Science and Technology,China |
Recommended Citation GB/T 7714 |
Huang,Huaxun,Xu,Chi,Wen,Ming,et al. ConfFix: Repairing Configuration Compatibility Issues in Android Apps[C],2023:514-525.
|
Files in This Item: | There are no files associated with this item. |
|
Items in the repository are protected by copyright, with all rights reserved, unless otherwise indicated.
Edit Comment