Reassessing Java']Java Code Readability Models with a Human-Centered Approach

被引:0
|
作者
Sergeyuk, Agnia [1 ]
Lvova, Olga [2 ]
Titov, Sergey [1 ]
Serova, Anastasiia [3 ]
Bagirov, Farid [4 ]
Kirillova, Evgeniia [5 ]
Bryksin, Timofey [6 ]
机构
[1] JetBrains Res, Belgrade, Serbia
[2] JetBrains, Yerevan, Armenia
[3] JetBrains, Paphos, Cyprus
[4] JetBrains Res, Paphos, Cyprus
[5] JetBrains Res, Munich, Germany
[6] JetBrains Res, Limassol, Cyprus
关键词
Code Readability; Code Readability Models; Repertory Grid Technique; AI-Generated Code; Human-Computer Interaction;
D O I
10.1145/3643916.3644435
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
To ensure that Large Language Models (LLMs) effectively support user productivity, they need to be adjusted. Existing Code Readability (CR) models can guide this alignment. However, there are concerns about their relevance in modern software engineering since they often miss the developers' notion of readability and rely on outdated code. This research assesses existing Java CR models for LLM adjustments, measuring the correlation between their and developers' evaluations of AI-generated Java code. Using the Repertory Grid Technique with 15 developers, we identified 12 key code aspects influencing CR that were consequently assessed by 390 programmers when labeling 120 AI-generated snippets. Our findings indicate that when AI generates concise and executable code, it's often considered readable by CR models and developers. However, a limited correlation between these evaluations underscores the importance of future research on learning objectives for adjusting LLMs and on the aspects influencing CR evaluations included in predictive models.
引用
收藏
页码:225 / 235
页数:11
相关论文
共 50 条
  • [1] How do annotations affect Java']Java code readability?
    Guerra, Eduardo
    Gomes, Everaldo
    Ferreira, Jeferson
    Wiese, Igor
    Lima, Phyllipe
    Gerosa, Marco
    Meirelles, Paulo
    [J]. EMPIRICAL SOFTWARE ENGINEERING, 2024, 29 (03)
  • [2] A declarative approach for Java']Java code instrumentation
    Zhang, Tian
    Zheng, Xiaomei
    Zhang, Yan
    Zhao, Jianhua
    Li, Xuandong
    [J]. SOFTWARE QUALITY JOURNAL, 2015, 23 (01) : 143 - 170
  • [3] An approach to decomposing assertions into Java']Java code
    Li, T
    Yang, HJ
    Xu, BW
    Shi, L
    [J]. IKE '05: PROCEEDINGS OF THE 2005 INTERNATIONAL CONFERENCE ON INFORMATION AND KNOWLEDGE ENGINEERING, 2005, : 185 - 191
  • [4] From Orc models to distributed grid Java']Java code
    Aldinucci, Marco
    Danelutto, Marco
    Kilpatrick, Peter
    Dazzi, Patrizio
    [J]. GRID COMPUTING: ACHIEVEMENTS AND PROSPECTS, 2008, : 13 - +
  • [5] Java']Java code patterns for Petri net based behavioral models
    Hagge, N
    Wagner, B
    [J]. 2005 3RD IEEE INTERNATIONAL CONFERENCE ON INDUSTRIAL INFORMATICS (INDIN), 2005, : 450 - 455
  • [6] Approach to Improving Java']Java Source Code Considering Non-compliance with a Java']Java Style Guide
    Becker, Pablo
    Olsina, Luis
    Fernanda Papa, Maria
    [J]. COMPUTER SCIENCE - CACIC 2022, 2023, 1778 : 123 - 139
  • [7] An automatic approach to transform CafeOBJ specifications to Java']Java template code
    Doungsa-ard, C
    Suwannasart, T
    [J]. SERP'03: PROCEEDINGS OF THE INTERNATIONAL CONFERENCE ON SOFTWARE ENGINEERING RESEARCH AND PRACTICE, VOLS 1 AND 2, 2003, : 171 - 176
  • [8] Correct By Construction Approach For Translation Of Stored Procedures To Java']Java Code
    Kulkarni, Aniket
    [J]. PROCEEDINGS OF THE 12TH INNOVATIONS ON SOFTWARE ENGINEERING CONFERENCE (ISEC), 2019,
  • [9] A declarative approach for Java code instrumentation
    Tian Zhang
    Xiaomei Zheng
    Yan Zhang
    Jianhua Zhao
    Xuandong Li
    [J]. Software Quality Journal, 2015, 23 : 143 - 170
  • [10] A Java']Java Code Annotation Approach for Model Checking Software Systems
    Ferreira, Glauber
    Loureiro, Emerson
    Oliveira, Elthon
    [J]. APPLIED COMPUTING 2007, VOL 1 AND 2, 2007, : 1536 - 1537