Leveraging and Evaluating Automatic Code Summarization for JPA Program Comprehension

被引:0
|
作者
Mayer, Richard [1 ]
Moser, Michael [1 ]
Geist, Verena [1 ]
机构
[1] Software Competence Ctr Hagenberg, Hagenberg, Austria
关键词
Terms Software Maintenance; Automatic Code Summarization; Program Comprehension; Evaluation Metrics;
D O I
10.1109/SANER56733.2023.00088
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
Accurate and up-to-date software documentation is an important factor in the maintenance and evolution of software systems. Especially with legacy software, documentation is often outdated or missing entirely and manual redocumentation is not feasible. In recent years, automatic code summaries based on artificial neural network (ANN) models have been proposed to address this problem, and metric-based evaluations suggest promising quality of the generated summaries. To evaluate the applicability of state-of-the-art code summarization in an industry context, we conduct an expert evaluation to assess the quality of the generated summaries for JPA program comprehension. We then compare the level of quality perceived by human experts for both predicted and reference summaries and discuss how these results are influenced by industry-specific requirements and how they correlate with automatically computed source code summary metrics. The results show that the quality of predicted summaries is predominantly (about 80%) poor in terms of accuracy and completeness. Moreover, the results support the generally increasing consensus that the widely used BLEU or ROUGE-L score is not a suitable means of evaluating the quality of code summarization. While these metrics are an adequate means of comparison with existing related work, they cannot reflect the human-perceived level of quality in practice.
引用
收藏
页码:768 / 772
页数:5
相关论文
共 50 条
  • [1] Supporting Program Comprehension with Program Summarization
    Liu, Yu
    Sun, Xiaobing
    Liu, Xiangyue
    Li, Yun
    [J]. 2014 IEEE/ACIS 13TH INTERNATIONAL CONFERENCE ON COMPUTER AND INFORMATION SCIENCE (ICIS), 2014, : 349 - 353
  • [2] Leveraging Comment Retrieval for Code Summarization
    Hou, Shifu
    Chen, Lingwei
    Ju, Mingxuan
    Ye, Yanfang
    [J]. ADVANCES IN INFORMATION RETRIEVAL, ECIR 2023, PT II, 2023, 13981 : 439 - 447
  • [3] A Human Study of Comprehension and Code Summarization
    Stapleton, Sean
    Gambhir, Yashmeet
    LeClair, Alexander
    Eberhart, Zachary
    Weimer, Westley
    Leach, Kevin
    Huang, Yu
    [J]. 2020 IEEE/ACM 28TH INTERNATIONAL CONFERENCE ON PROGRAM COMPREHENSION, ICPC, 2020, : 2 - 13
  • [4] Automatic Source Code Transformation for GPUs Based on Program Comprehension
    Cantiello, Pasquale
    Di Martino, Beniamino
    [J]. EURO-PAR 2011: PARALLEL PROCESSING WORKSHOPS, PT II, 2012, 7156 : 188 - 197
  • [5] Novel Natural Language Summarization of Program Code via Leveraging Multiple Input Representations
    Chen, Fuxiang
    Kim, Mijung
    Choo, Jaegul
    [J]. Findings of the Association for Computational Linguistics, Findings of ACL: EMNLP 2021, 2021, : 2510 - 2520
  • [6] Novel Natural Language Summarization of Program Code via Leveraging Multiple Input Representations
    Chen, Fuxiang
    Kim, Mijung
    Choo, Jaegul
    [J]. FINDINGS OF THE ASSOCIATION FOR COMPUTATIONAL LINGUISTICS, EMNLP 2021, 2021, : 2510 - 2520
  • [7] CoSS: Leveraging Statement Semantics for Code Summarization
    Shi, Chaochen
    Cai, Borui
    Zhao, Yao
    Gao, Longxiang
    Sood, Keshav
    Xiang, Yong
    [J]. IEEE TRANSACTIONS ON SOFTWARE ENGINEERING, 2023, 49 (06) : 3472 - 3486
  • [8] A Survey of Automatic Source Code Summarization
    Zhang, Chunyan
    Wang, Junchao
    Zhou, Qinglei
    Xu, Ting
    Tang, Ke
    Gui, Hairen
    Liu, Fudong
    [J]. SYMMETRY-BASEL, 2022, 14 (03):
  • [9] Leveraging Artificial Intelligence on Binary Code Comprehension
    Zhang, Yifan
    [J]. PROCEEDINGS OF THE 37TH IEEE/ACM INTERNATIONAL CONFERENCE ON AUTOMATED SOFTWARE ENGINEERING, ASE 2022, 2022,
  • [10] Leveraging Code Generation to Improve Code Retrieval and Summarization via Dual Learning
    Ye, Wei
    Xie, Rui
    Zhang, Jinglei
    Hu, Tianxiang
    Wang, Xiaoyin
    Zhang, Shikun
    [J]. WEB CONFERENCE 2020: PROCEEDINGS OF THE WORLD WIDE WEB CONFERENCE (WWW 2020), 2020, : 2309 - 2319