arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2502.04200cs.SE
收藏

Android应用登录流程中的缺陷特征分析:一项实证研究

Characterizing Bugs in Login Processes of Android Applications: An Empirical Study

Zixu Zhou, Rufeng Chen, Junfeng Chen, Yepang Liu, Lili Wei

AI总结:

本文首次对Android应用登录问题开展实证研究,分析44个开源仓库的361个问题,发现多数源于状态转换处理不当且需多条件触发,其发现及公开数据集可助力开发者优化登录流程与测试。

摘要:

登录功能作为应用使用的入口,在用户体验和应用安全方面均起着关键作用。随着Android应用越来越多地集成登录功能,它们支持多种认证方法及复杂的登录流程,以满足个性化用户体验需求。然而,登录流程中不同操作管理的复杂性导致开发者难以正确处理这些操作。本文首次对Android应用的登录问题开展实证研究,分析了来自44个热门开源Android仓库的361个问题,探究其根本原因、症状及触发条件。研究结果表明,绝大多数登录问题源于登录过程中对复杂状态转换的不当处理,这可能导致用户无法登录或被误导至错误的后续操作。此外,我们观察到这类原因相关的问题通常需要多个触发条件同时满足才会显现。这些发现可帮助开发者建模登录流程,从而识别问题原因、设计针对性测试用例和精确测试预言。我们已公开数据集,以促进该领域的未来研究。

英文摘要:

The login functionality, being the gateway to app usage, plays a critical role in both user experience and application security. As Android apps increasingly incorporate login functionalities, they support a variety of authentication methods with complicated login processes, catering to personalized user experiences. However, the complexities in managing different operations in login processes make it difficult for developers to handle them correctly. In this paper, we present the first empirical study of login issues in Android apps. We analyze 361 issues from 44 popular open-source Android repositories, examining the root causes, symptoms, and trigger conditions of these issues. Our findings indicate that the vast majority of the login issues are induced by the improper handling of complex state transitions during the login process, which can prevent users from logging in or misdirect them to incorrect subsequent actions. Additionally, we observed that issues related to this cause typically require the convergence of multiple trigger conditions to manifest. These findings can help developers to model the login processes which can help them to identify the causes of issues and design targeted test cases and precise test oracles. Our dataset has been made openly available to facilitate future research in this area.

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

↑