arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2110.08908cs.SE
收藏

研究Android应用中的最终连接问题

Studying Eventual Connectivity Issues in Android Apps

Camilo Escobar-Velásquez, Alejandro Mazuera-Rozo, Claudia Bedoya, Michael Osorio-Riaño, Mario Linares-Vásquez, Gabriele Bavota

摘要:

移动应用程序已成为日常生活中不可或缺的,不仅对个人,而且对提供数字服务的公司/组织也是如此。由于设备的移动性,应用程序的使用位置或条件没有限制。例如,应用程序可以在没有互联网连接的情况下使用。因此,离线优先是移动应用程序的一个非常理想的质量。因此,连接问题的不适当处理和良好实践的错误实施导致错误和崩溃的发生,降低了用户对应用程序质量的信心。在本文中,我们提出了第一个研究最终连接(ECn)的Android应用程序所表现出的问题,通过手动检查971场景相关的50个开源应用程序。我们发现了304个ECn问题实例(平均每个应用程序6个问题),我们将其组织在10个类别中。我们发现,大多数ECn问题与使用未向用户提供有关连接状态的正确信息的消息以及不正确使用委托检查连接状态的外部库/应用程序有关。根据我们的研究结果,我们提炼出一系列的经验教训,为从业者和研究人员,指出未来的工作方向。

英文摘要:

Mobile apps have become indispensable for daily life, not only for individuals but also for companies/organizations that offer their services digitally. Inherited by the mobility of devices, there are no limitations regarding the locations or conditions in which apps are being used. For example, apps can be used where no internet connection is available. Therefore, offline-first is a highly desired quality of mobile apps. Accordingly, inappropriate handling of connectivity issues and miss-implementation of good practices lead to bugs and crashes occurrences that reduce the confidence of users on the apps' quality. In this paper, we present the first study on Eventual Connectivity (ECn) issues exhibited by Android apps, by manually inspecting 971 scenarios related to 50 open-source apps. We found 304 instances of ECn issues (6 issues per app, on average) that we organized in a taxonomy of 10 categories. We found that the majority of ECn issues are related to the use of messages not providing correct information to the user about the connectivity status and to the improper use of external libraries/apps to which the check of the connectivity status is delegated. Based on our findings, we distill a list of lessons learned for both practitioners and researchers, indicating directions for future work.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑