跳到主要导航 跳到搜索 跳到主要内容

IFixDataloss: A tool for detecting and fixing data loss issues in Android apps

  • Wunan Guo
  • , Zhen Dong*
  • , Liwei Shen
  • , Wei Tian
  • , Ting Su
  • , Xin Peng
  • *此作品的通讯作者
  • Fudan University

科研成果: 书/报告/会议事项章节会议稿件同行评审

摘要

Android apps are event-driven, and their execution is often interrupted by external events. This interruption can cause data loss issues that annoy users. For instance, when the screen is rotated, the current app page will be destroyed and recreated. If the app state is improperly preserved, user data will be lost. In this work, we present a tool iFixDataloss that automatically detects and fixes data loss issues in Android apps. To achieve this, we identify scenarios in which data loss issues may occur by analyzing the Android life cycle, developing strategies to reveal data loss issues, and designing patch templates to fix them. Our experiments on 66 Android apps show iFixDataloss detected 374 data loss issues (284 of them were previously unknown) and successfully generated patches for 188 of the 374 issues. Out of 20 submitted patches, 16 have been accepted by developers. In comparison with state-of-The-Art techniques, iFixDataloss performed significantly better in terms of the number of detected data loss issues and the quality of generated patches. Video Link: https://www.youtube.com/watch?v=MAPsCo-dRKs Github Link: https://github.com/iFixDataLoss/iFixDataloss22

源语言英语
主期刊名ISSTA 2022 - Proceedings of the 31st ACM SIGSOFT International Symposium on Software Testing and Analysis
编辑Sukyoung Ryu, Yannis Smaragdakis
出版商Association for Computing Machinery, Inc
785-788
页数4
ISBN(电子版)9781450393799
DOI
出版状态已出版 - 18 7月 2022
活动31st ACM SIGSOFT International Symposium on Software Testing and Analysis, ISSTA 2022 - Virtual, Online, 韩国
期限: 18 7月 202222 7月 2022

出版系列

姓名ISSTA 2022 - Proceedings of the 31st ACM SIGSOFT International Symposium on Software Testing and Analysis

会议

会议31st ACM SIGSOFT International Symposium on Software Testing and Analysis, ISSTA 2022
国家/地区韩国
Virtual, Online
时期18/07/2222/07/22

学术指纹

探究 'IFixDataloss: A tool for detecting and fixing data loss issues in Android apps' 的科研主题。它们共同构成独一无二的学术指纹。

引用此