Just-in-Time Defect Prediction for Android Apps via Imbalanced Deep Learning Model

Zhao, K., Xu, Z., Yan, M., Tang, Y. , Fan, M. and Catolino, G. (2021) Just-in-Time Defect Prediction for Android Apps via Imbalanced Deep Learning Model. In: 36th Annual ACM Symposium on Applied Computing (SAC '21), 22-26 March 2021, pp. 1447-1454. ISBN 9781450381048 (doi: 10.1145/3412841.3442019)

Full text not currently available from Enlighten.


Android mobile apps have played important roles in our daily life and work. To meet new requirements from users, the mobile apps encounter frequent updates, which involves in a large quantity of code commits. Previous studies proposed to apply Just-in-Time (JIT) defect prediction for mobile apps to timely identify whether new code commits can introduce defects into apps, aiming to assure the quality of mobile apps. In general, the number of defective commit instances is much fewer than that of clean ones, in other words, the defect data is class imbalanced. In this work, we propose a novel Imbalanced Deep Learning model, called IDL, to conduct JIT defect prediction task for Android mobile apps. More specifically, we introduce a state-of-the-art cost-sensitive cross-entropy loss function into the deep neural network to learn the high-level feature representation, in which the loss function alleviates the class imbalance issue by taking the prior probability of the two types of classes into account. We conduct experiments on a benchmark defect data consisting of 12 Android mobile apps. The results of rigorous experiments show that our proposed IDL model performs significantly better than 23 comparative imbalanced learning methods in terms of Matthews correlation coefficient performance indicator.

Item Type:Conference Proceedings
Additional Information:This work is supported by the National Key Research and Development Project (No.2018YFB2101200), the National Natural Science Foundation of China (Nos.62002034, 61902306), the Fundamental Research Funds for the Central Universities (2020CDCGRJ072), China Postdoctoral Science Foundation (No.2020M673137, 2019TQ0251, 2020M673439), the Natural Science Foundation of Chongqing in China (No.cstc2020jcyj-bshX0114).
Glasgow Author(s) Enlighten ID:Tang, Dr Yutian
Authors: Zhao, K., Xu, Z., Yan, M., Tang, Y., Fan, M., and Catolino, G.
College/School:College of Science and Engineering > School of Computing Science

University Staff: Request a correction | Enlighten Editors: Update this record