Characterizing and Detecting Bugs in WeChat Mini-Programs

20Citations
Citations of this article
13Readers
Mendeley users who have this article in their library.
Get full text

Abstract

Built on the WeChat social platform, WeChat Mini-Programs are widely used by more than 400 million users every day. Consequently, the reliability of Mini-Programs is particularly crucial. However, WeChat Mini-Programs suffer from various bugs related to execution environment, lifecycle management, asynchronous mechanism, etc. These bugs have seriously affected users' experience and caused serious impacts. In this paper, we conduct the first empirical study on 83 WeChat Mini-Program bugs, and perform an in-depth analysis of their root causes, impacts and fixes. From this study, we obtain many interesting findings that can open up new research directions for combating WeChat Mini-Program bugs. Based on the bug patterns found in our study, we further develop WeDetector to detect WeChat Mini-Program bugs. Our evaluation on 25 real-world Mini-Programs has found 11 previously unknown bugs, and 7 of them have been confirmed by developers.

Cite

CITATION STYLE

APA

Wang, T., Xu, Q., Chang, X., Dou, W., Zhu, J., Xie, J., … Huang, T. (2022). Characterizing and Detecting Bugs in WeChat Mini-Programs. In Proceedings - International Conference on Software Engineering (Vol. 2022-May, pp. 363–375). IEEE Computer Society. https://doi.org/10.1145/3510003.3510114

Register to see more suggestions

Mendeley helps you to discover research relevant for your work.

Already have an account?

Save time finding and organizing research with Mendeley

Sign up for free