PatchNet: Hierarchical Deep Learning-Based Stable Patch Identification for the Linux Kernel - Inria - Institut national de recherche en sciences et technologies du numérique Accéder directement au contenu
Article Dans Une Revue IEEE Transactions on Software Engineering Année : 2021

PatchNet: Hierarchical Deep Learning-Based Stable Patch Identification for the Linux Kernel

Résumé

Linux kernel stable versions serve the needs of users who value stability of the kernel over new features. The quality of such stable versions depends on the initiative of kernel developers and maintainers to propagate bug fixing patches to the stable versions. Thus, it is desirable to consider to what extent this process can be automated. A previous approach relies on words from commit messages and a small set of manually constructed code features. This approach, however, shows only moderate accuracy. In this paper, we investigate whether deep learning can provide a more accurate solution. We propose PatchNet, a hierarchical deep learning-based approach capable of automatically extracting features from commit messages and commit code and using them to identify stable patches. PatchNet contains a deep hierarchical structure that mirrors the hierarchical and sequential structure of commit code, making it distinctive from the existing deep learning models on source code. Experiments on 82,403 recent Linux patches confirm the superiority of PatchNet against various state-of-the-art baselines, including the one recently-adopted by Linux kernel maintainers.
Fichier principal
Vignette du fichier
2019_TSE_PatchNet_bio.pdf (2.31 Mo) Télécharger le fichier
Origine : Fichiers produits par l'(les) auteur(s)
Loading...

Dates et versions

hal-02373994 , version 1 (21-11-2019)

Identifiants

Citer

Thong Hoang, Julia Lawall, Yuan Tian, Richard J Oentaryo, David Lo. PatchNet: Hierarchical Deep Learning-Based Stable Patch Identification for the Linux Kernel. IEEE Transactions on Software Engineering, 2021, 47 (11), pp.2471-2486. ⟨10.1109/TSE.2019.2952614⟩. ⟨hal-02373994⟩
92 Consultations
456 Téléchargements

Altmetric

Partager

Gmail Facebook X LinkedIn More