First Steps Towards Predicting the Readability of Programming Error Messages

被引:2
|
作者
Prather, James [1 ]
Denny, Paul [2 ]
Becker, Brett A. [3 ]
Nix, Robert [4 ]
Reeves, Brent N. [1 ]
Randrianasolo, Arisoa S. [1 ]
Powell, Garrett [1 ]
机构
[1] Abilene Christian Univ, Abilene, TX 79699 USA
[2] Univ Auckland, Auckland, New Zealand
[3] Univ Coll Dublin, Dublin, Ireland
[4] Oklahoma Christian Univ, Oklahoma City, OK USA
关键词
compiler errors; errors; error messages; machine learning; PEMs; programming error messages; readability;
D O I
10.1145/3545945.3569791
中图分类号
TP301 [理论、方法];
学科分类号
081202 ;
摘要
Reading a programming error message is the first step in understanding what it is trying to tell the programmer about how to fix an error in their code. However, these are often difficult to read, especially for novices which is not surprising given that error messages in many of the most popular languages in which novices learn to code were not written with readability in mind. As a result, novices frequently struggle to understand them. This is a long-standing problem, with researchers highlighting concerns about programming error message readability over the last six decades. Very recent work has put forward evidence of the need for measuring readability in error messages and a framework for doing so. This framework consists of four factors of readability for programming error messages: message length, vocabulary, jargon, and sentence construction. We use this framework to implement an approach to automatically assess the readability of programming error messages. Using established readability factors as predictors in a machine learning model, we train several models using a dataset of C and Java error messages. We examine the performance of these models, and apply the best performing model to a previously published set of messages evaluated for readability by experts, non-experts and students. Our results validate the previously proposed readability factors, and our model classifies messages similarly to human raters. Finally, we discuss future work needed to improve the accuracy of the model.
引用
收藏
页码:549 / 555
页数:7
相关论文
共 50 条
  • [41] First steps towards a consistent classification of innovation
    Mario De Marchi
    Scientometrics, 2016, 108 : 983 - 985
  • [42] First steps towards a vaccine against chlamydia
    不详
    HUMAN VACCINES & IMMUNOTHERAPEUTICS, 2016, 12 (09) : 2218 - 2218
  • [43] First steps towards a media history of translation
    Littau, Karin
    TRANSLATION STUDIES, 2011, 4 (03) : 261 - 281
  • [44] BACTERIOPHAGES . PROPERTIES AND FIRST STEPS TOWARDS CLASSIFICATION
    ACKERMANN, HW
    PATHOLOGIE BIOLOGIE, 1969, 17 (21-2): : 1003 - +
  • [45] First steps towards an autonomic management system
    Esseghir, Moez
    Ghamri-Doudane, Samir
    Haddadou, Kamel
    2008 IEEE NETWORK OPERATIONS AND MANAGEMENT SYMPOSIUM, VOLS 1 AND 2, 2008, : 602 - 614
  • [46] First steps towards diagnosing long COVID
    不详
    EBIOMEDICINE, 2022, 84
  • [47] First steps towards a target laboratory at GANIL
    Stodel, C
    Frémont, G
    Auger, G
    Spitaëls, C
    NUCLEAR INSTRUMENTS & METHODS IN PHYSICS RESEARCH SECTION A-ACCELERATORS SPECTROMETERS DETECTORS AND ASSOCIATED EQUIPMENT, 2006, 561 (01): : 112 - 114
  • [48] First steps towards a reconfigurable asynchronous system
    Erhard, W
    Reinsch, A
    Schober, T
    TENTH IEEE INTERNATIONAL WORKSHOP ON RAPID SYSTEMS PROTOTYPING, PROCEEDINGS, 1999, : 28 - 31
  • [49] First Steps Towards an Imprecise Poisson Process
    Erreygers, Alexander
    De Bock, Jasper
    PROCEEDINGS OF THE ELEVENTH INTERNATIONAL SYMPOSIUM ON IMPRECISE PROBABILITIES: THEORIES AND APPLICATIONS (ISIPTA 2019), 2019, 103 : 175 - 184
  • [50] First steps towards handheld augmented reality
    Wagner, D
    Schmalstieg, D
    SEVENTH IEEE INTERNATIONAL SYMPOSIUM ON WEARABLE COMPUTERS, PROCEEDINGS, 2003, : 127 - 135