EUVIMEDScopri EUVIMED
Open access · CC BY 4.0

JIT-DCK: A KAN Multi-Task Model for Just-In-Time Code Defect Prediction and Localization

Jingwei Wang, Chenchen Li, Shenglin Wang, Hui Li, Furui Zhan, Qiao Ning, Shikai Guo

ACM Transactions on Software Engineering and Methodology · 2026-12-31 · 35 (12) · 1-40

DOI: 10.1145/3801547 ↗

At a glance

Journal article in ACM Transactions on Software Engineering and Methodology, published online on 2026-11-18. Written by Jingwei Wang and 6 co-authors. 64 references. The full text is freely available (open access, CC BY 4.0). Funded by: National Natural Science Foundation of China, Applied Basic Research Project of Liaoning Province, Dalian Science and Technology Innovation Fund project.

AbstractDati bibliograficiCiteRelated studies

Abstract (original language)

In software quality assurance, Just-In-Time Defect Prediction (JIT-DP) and Just-In-Time Defect Localization (JIT-DL) automate the identification of potential defective code and localization of defect lines by analyzing program change characteristics and code commit contexts. These techniques enable just-in-time quality monitoring and defect prevention during development, while also reducing manual costs and improving reliability. Due to the high dynamism and unstructured noise in code change data within agile development scenarios, as well as the difficulty in capturing complex nonlinear synergistic effects of multidimensional expert features, existing work faces dual challenges: lack of data robustness and lack of fine-grained modeling of expert features. To address these challenges, we propose a multi-task interaction technology JIT-DCK , which contains three core components: defect feature preprocessing component, defect prediction component, and defect localization component. The defect feature preprocessing component creates a subword vocabulary, controls extreme values and removes interference to generate data with three aspects, sending the line-level structure to the defect localization component and the semantic aggregation and expert features to the defect prediction component. The defect prediction component is structured with a three-layer cooperative architecture. It works on fusing semantic and line-level features and also models the complex nonlinear relationships of 14-dimensional expert features to achieve effective defect prediction. The defect localization component builds a closed-loop decision chain. It integrates commit-level global features and line-level local semantics through multi-level encoding and dynamic attention mechanisms for accurately localizing defects. Experiments show that JIT-DCK significantly outperforms SOTA models in defect prediction and localization metrics such as F1-Score + 2.76%, AUC + 1.79%, CodeChurn@20%Recall + 2.88%, Top5-Acc + 3.10%, Top10-Acc + 2.55%, Recall@20%CodeChurn l + 6.46%, CodeChurn@20%Recall l + 18.58%, and IFA + 3.57%, demonstrating its competence in code defect prediction and localization tasks.

Funding

  • National Natural Science Foundation of China
  • Applied Basic Research Project of Liaoning Province
  • Dalian Science and Technology Innovation Fund project
  • Fundamental Research Funds for the Central Universities

Cite

APA

Wang, J., Li, C., Wang, S., Li, H., Zhan, F., Ning, Q., & Guo, S. (2026). JIT-DCK: A KAN Multi-Task Model for Just-In-Time Code Defect Prediction and Localization. ACM Transactions on Software Engineering and Methodology, 35(12), 1-40. https://doi.org/10.1145/3801547

Vancouver

Wang J, Li C, Wang S, Li H, Zhan F, Ning Q, et al. JIT-DCK: A KAN Multi-Task Model for Just-In-Time Code Defect Prediction and Localization. ACM Transactions on Software Engineering and Methodology. 2026;35(12):1-40. doi:10.1145/3801547

BibTeX
@article{Wang2026,
  author = {Wang, Jingwei and Li, Chenchen and Wang, Shenglin and Li, Hui and Zhan, Furui and Ning, Qiao and Guo, Shikai},
  title = {JIT-DCK: A KAN Multi-Task Model for Just-In-Time Code Defect Prediction and Localization},
  journal = {ACM Transactions on Software Engineering and Methodology},
  year = {2026},
  volume = {35},
  number = {12},
  pages = {1--40},
  doi = {10.1145/3801547}
}
Start for free →