Qianjin Zhang

Dr. Qianjin Zhang


Research Focus & Metrics

Academic Career Length

4Years (2023-Present)

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

Representative Publications

View All Publications
21 March 2025 in International Journal of Software Engineering and Knowledge Engineering
Verified
Journal Article
Closed access
PDPeng Dai
Peng Dai
XMXiaoqin Ma
Xiaoqin Ma
ZPZebo Peng
Zebo Peng
CZChen Zhao
Chen Zhao
QZQianjin Zhang
Qianjin Zhang

22 June 2023 in International Journal of Software Engineering and Knowledge Engineering
Verified
Journal Article
Closed access
PDF file
QZQianjin Zhang
Qianjin Zhang
DJDahai Jin
Dahai Jin
YWYawen Wang
Yawen Wang
YGYunzhan Gong
Yunzhan Gong

15 February 2024 in Electronics
Verified
Journal Article
Open access
PDF file
QZQianjin Zhang
Qianjin Zhang
DJDahai Jin
Dahai Jin
YWYawen Wang
Yawen Wang
YGYunzhan Gong
Yunzhan Gong
Code summarization plays a vital role in aiding developers with program comprehension by generating corresponding textual descriptions for code snippets. While recent approaches have concentrated on encoding the textual and structural characteristics of source code, they often neglect the global hierarchical features, causing limited code representation. Addressing this gap, our paper introduces the statement-grained hierarchy enhanced Transformer model (SHT), a novel framework that integrates global hierarchy, syntax, and token sequences to automatically generate summaries for code snippets. SHT is distinctively designed with two encoders to learn both hierarchical and sequential features of code. One relational attention encoder processes the statement-grained hierarchical graph, producing hierarchical embeddings. Subsequently, another sequence encoder integrates these hierarchical structures with token sequences. The resulting enriched representation is then fed into a vanilla Transformer decoder, which effectively generates concise and informative summarizations. Our extensive experiments demonstrate that SHT significantly outperforms state-of-the-art approaches on two widely used Java benchmarks. This underscores the effectiveness of incorporating global hierarchical information in enhancing the quality of code summarizations.

17 January 2024 in Preprints.org
Verified
Preprint
Open access
PDF file
QZQianjin Zhang
Qianjin Zhang
DJDahai Jin
Dahai Jin
YWYawen Wang
Yawen Wang
YGYunzhan Gong
Yunzhan Gong
Code summarization plays a vital role in aiding developers with program comprehension by generating corresponding textual descriptions for code snippets. While recent approaches have concentrated on encoding the textual and structural characteristics of source code, they often neglect the global hierarchical features causing limited code representation. Addressing this gap, our paper introduces the Statement-grained Hierarchy enhanced Transformer model (SHT), a novel framework that integrates global hierarchy, syntax, and token sequences to automatically generate summaries for code snippets. SHT is distinctively designed with two encoders to learn both hierarchical and sequential features of code. One relational attention encoder processes the statement-grained hierarchical graph, producing hierarchical embeddings. Subsequently, another sequence encoder integrates these hierarchical structures with token sequences. The resulting enriched representation is then fed into a vanilla Transformer decoder, which effectively generates concise and informative summarizations. Our extensive experiments demonstrate that SHT significantly outperforms state-of-the-art approaches on two widely used Java benchmarks. This underscores the effectiveness of incorporating global hierarchical information in enhancing the quality of code summarizations.