End-to-end log statement generation at block-level

被引:0
|
作者
Fu, Ying [1 ]
Yan, Meng [1 ]
He, Pinjia [2 ]
Liu, Chao [1 ]
Zhang, Xiaohong [1 ]
Yang, Dan [3 ]
机构
[1] Chongqing Univ, Sch Big Data & Software Engn, Chongqing, Peoples R China
[2] Chinese Univ Hong Kong CUHK Shenzhen, Sch Data Sci, Shenzhen, Peoples R China
[3] Southwest Jiaotong Univ, Chengdu, Peoples R China
基金
中国国家自然科学基金;
关键词
Log statement; End-to-end; Block-level; Deep learning;
D O I
10.1016/j.jss.2024.112146
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
Logging is crucial in software development for addressing runtime issues but can pose challenges. Logging encompasses four essential sub -tasks: whether to log (Whether), where to log (Position), which log level (Level), and what information to log (Message). While existing approaches have performed well, they suffer from two limitations. Firstly, they address only a subset of the logging sub -tasks. Secondly, most of them focus on generating single log statements at class or method level, potentially overlooking multiple log statements within those scopes. To address these issues, we propose ELogger, which enables end -to -end log statement generation at block -level. Furthermore, ELogger implements block -level log generation, enabling it to handle multiple log statements within different code blocks of a method. Evaluation results indicate that ELogger correctly predicts all four sub -tasks in 19.55% of cases. Compared to the baselines that combined existing approaches for endto -end log statement generation, ELogger demonstrates a significant improvement with a 50.85% to 78.21% average increase. Additionally, ELogger correctly predicts whether to log in 71.68% of cases, two sub -tasks (Whether and Position) in 58.29% of cases, and three sub -tasks (Whether, Position, and Level) in 41.97% of cases, all of which outperform the baselines.
引用
收藏
页数:13
相关论文
共 50 条
  • [21] End-to-end consensus using end-to-end channels
    Wiesmann, Matthias
    Defago, Xavier
    12TH PACIFIC RIM INTERNATIONAL SYMPOSIUM ON DEPENDABLE COMPUTING, PROCEEDINGS, 2006, : 341 - +
  • [22] Knowledge graph assisted end-to-end medical dialog generation
    Varshney, Deeksha
    Zafar, Aizan
    Behera, Niranshu Kumar
    Ekbal, Asif
    ARTIFICIAL INTELLIGENCE IN MEDICINE, 2023, 139
  • [23] Synthetic Data Generation for End-to-End Thermal Infrared Tracking
    Zhang, Lichao
    Gonzalez-Garcia, Abel
    van de Weijer, Joost
    Danelljan, Martin
    Khan, Fahad Shahbaz
    IEEE TRANSACTIONS ON IMAGE PROCESSING, 2019, 28 (04) : 1837 - 1850
  • [24] SPRING Goes Online: End-to-End AMR Parsing and Generation
    Blloshmi, Rexhina
    Bevilacqua, Michele
    Fabiano, Edoardo
    Caruso, Valentina
    Navigli, Roberto
    2021 CONFERENCE ON EMPIRICAL METHODS IN NATURAL LANGUAGE PROCESSING (EMNLP 2021): PROCEEDINGS OF SYSTEM DEMONSTRATIONS, 2021, : 134 - 142
  • [25] Automated generation of integrated architectures and end-to-end network models
    Bonilla, Eliud
    Britton, John S.
    Gordon, Michael M.
    Scheidt, Michael P.
    Williams, Ramon P.
    2005 IEEE Aerospace Conference, Vols 1-4, 2005, : 1363 - 1369
  • [26] DCFont: An End-To-End Deep Chinese Font Generation System
    Jiang, Yue
    Lian, Zhouhui
    Tang, Yingmin
    Xiao, Jianguo
    IGGRAPH ASIA 2017 TECHNICAL BRIEFS (SA'17), 2017,
  • [27] A Review on End-to-End High-Definition Map Generation
    Kwag, Jiyong
    Toth, Charles
    MID-TERM SYMPOSIUM THE ROLE OF PHOTOGRAMMETRY FOR A SUSTAINABLE WORLD, VOL. 48-2, 2024, : 187 - 194
  • [28] END-TO-END GENERATION OF TALKING FACES FROM NOISY SPEECH
    Eskimez, Sefik Emre
    Maddox, Ross K.
    Xu, Chenliang
    Duan, Zhiyao
    2020 IEEE INTERNATIONAL CONFERENCE ON ACOUSTICS, SPEECH, AND SIGNAL PROCESSING, 2020, : 1948 - 1952
  • [29] Parametrized End-to-End Scenario Generation Architecture for Autonomous Vehicles
    Erdogan, Ahmetcan
    Kaplan, Emre
    Leitner, Andrea
    Nager, Markus
    2018 6TH INTERNATIONAL CONFERENCE ON CONTROL ENGINEERING & INFORMATION TECHNOLOGY (CEIT), 2018,
  • [30] Set Generation Networks for End-to-End Knowledge Base Population
    Sui, Dianbo
    Wang, Chenhao
    Chen, Yubo
    Liu, Kang
    Zhao, Jun
    Bi, Wei
    2021 CONFERENCE ON EMPIRICAL METHODS IN NATURAL LANGUAGE PROCESSING (EMNLP 2021), 2021, : 9650 - 9660