Zhicao Tang

Zhicao Tang

Auto-generated profile, based on publicly available information

Zhicao Tang

School of Software Engineering, Sun Yat-sen University, Guangzhou, China

Research Focus & Metrics

Academic Career Length

3Years (2024-Present)

(Calculated once Scilit publication data is synced: current year − year of first publication + 1)

Representative Publications

View All Publications
11 January 2024 in Software Testing, Verification and Reliability
Verified
Journal Article
Closed access
YHYuan Huang
Yuan Huang
ZTZhicao Tang
Zhicao Tang
XCXiangping Chen
Xiangping Chen
XZXiaocong Zhou
Xiaocong Zhou

24 April 2026 in ACM Transactions on Software Engineering and Methodology
Verified
Journal Article
Open access
YHYuan Huang
Yuan Huang
ZTZhicao Tang
Zhicao Tang
XCXiangping Chen
Xiangping Chen
CYChanglin Yang
Changlin Yang
ZZZibin Zheng
Zibin Zheng
XZXiaocong Zhou
Xiaocong Zhou
Commits messages play a crucial role in helping developers efficiently comprehend code modifications. Due to the time pressure of project iteration or poor message-writing practices, many commits suffer from missing messages. To address this issue, researchers have explored the automated generation of commit messages. Because of the truncation mechanism of the learning-based model, most of the current studies focus on code changes appearing at the beginning of a commit into the model for commit message generation. This may not be the best strategy for commit message generation because each code change in a commit contributes unequally to its overall purpose. To better generate commit messages, we propose a novel method that identifies the core code change in a commit for commit message generation. Specifically, we employ a method to predict the relative importance of the classes contained in a commit, and the code change of the class with the highest importance score (i.e., core change) is used to generate the commit message. Incorporating core change information can boost the performance of other existing methods (such as NMT, NNGen, and CoreGen). Building on this insight, we develop CCGen—a Core Change-Based Generation model that integrates a Transformer architecture with CodeBERT-enhanced encoding to leverage code semantics. The experiment demonstrates that the proposed method for commit message generation outperforms the state-of-the-art by 18.47% on average across seven metrics including 19.97 on ROUGE-L.

15 April 2024
Verified
Conference Paper
Open access
XCXiangping Chen
Xiangping Chen
YLYangzi Li
Yangzi Li
ZTZhicao Tang
Zhicao Tang
YHYuan Huang
Yuan Huang
HZHaojie Zhou
Haojie Zhou
ZZZibin Zheng
Zibin Zheng
Commit messages provide important information for comprehending the code changes, and a number of researchers try to generate commit messages by using an automatic way. These research on commit message generation has profited from the code tokens or code structures such as AST. Since the edit sequence of code change is also important for capturing the code change intent, we propose a new commit message generation method called ESGen, which extracts AST edit sequences of code changes as model input. Specifically, we employ an O(ND) difference algorithm to extract the edit sequence from AST by comparing the ASTs before and after applying the code changes. Then, we construct a Bi-Encoder, which encodes the textual information and the AST edit sequence information of code change. The experimental results show that ESGen outperforms other baseline models, improving the BLEU-4 to 15.14. Also, when applying the edit sequence to 7 baseline models, they improve the BLEU-4 scores of these models by an average of 8.5%. Additionally, a human evaluation confirmed the effectiveness of ESGen in generating commit messages.