PatchNet: A Tool for Deep Patch Classification

Thong Hoang, Julia Lawall, Richard J. Oentaryo, Yuan Tian, David Lo
2019 2019 IEEE/ACM 41st International Conference on Software Engineering: Companion Proceedings (ICSE-Companion)  
This work proposes PatchNet, an automated tool based on hierarchical deep learning for classifying patches by extracting features from commit messages and code changes. PatchNet contains a deep hierarchical structure that mirrors the hierarchical and sequential structure of a code change, differentiating it from the existing deep learning models on source code. PatchNet provides several options allowing users to select parameters for the training process. The tool has been validated in the
more » ... lidated in the context of automatic identification of stable-relevant patches in the Linux kernel and is potentially applicable to automate other software engineering tasks that can be formulated as patch classification problems. A video demonstrating PatchNet is available at The PatchNet implementation is available at
doi:10.1109/icse-companion.2019.00044 dblp:conf/icse/HoangLO0019 fatcat:guvp7b5ez5hcbp2be7jwakds5y