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

Fuente: arXiv
Guardado en:
Detalles Bibliográficos
Autores principales: Zhou, Zixu, Chen, Rufeng, Chen, Junfeng, Liu, Yepang, Wei, Lili
Formato: Preprint
Publicado: 2025
Materias:
Acceso en línea:
Etiquetas: Agregar Etiqueta
Sin Etiquetas, Sea el primero en etiquetar este registro!
_version_ 1866913689563561984
author Zhou, Zixu
Chen, Rufeng
Chen, Junfeng
Liu, Yepang
Wei, Lili
author_facet Zhou, Zixu
Chen, Rufeng
Chen, Junfeng
Liu, Yepang
Wei, Lili
contents 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.
format Preprint
id arxiv_https___arxiv_org_abs_2502_04200
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle Characterizing Bugs in Login Processes of Android Applications: An Empirical Study
Zhou, Zixu
Chen, Rufeng
Chen, Junfeng
Liu, Yepang
Wei, Lili
Software Engineering
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.
title Characterizing Bugs in Login Processes of Android Applications: An Empirical Study
topic Software Engineering
url https://arxiv.org/abs/2502.04200