Framework for SQL Error Message Design: A Data-Driven Approach

被引:4
|
作者
Taipalus, Toni [1 ]
Grahn, Hilkka [1 ]
机构
[1] Univ Jyvaskyla, POB 35, FI-40014 Jyvaskyla, Finland
关键词
Structured Query Language; SQL; compiler; error message; database management system; human-computer interaction; human factor; usability; readability; USER ERRORS; QUERY;
D O I
10.1145/3607180
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
Software developers use a significant amount of time reading and interpreting error messages. However, error messages have often been based on either anecdotal evidence or expert opinion, disregarding novices, who arguably are the ones who benefit the most from effective error messages. Furthermore, the usability aspects of Structured Query Language (SQL) error messages have not received much scientific attention. In this mixed-methods study, we coded a total of 128 error messages from eight database management systems (DBMS), and using data from 311 participants, analysed 4,796 queries using regression analysis to find out if and how acknowledged error message qualities explain SQL syntax error fixing success rates. Additionally, we performed a conventional content analysis on 1,505 suggestions on how to improve SQL error messages, and based on the analysis, formulated a framework consisting of nine guidelines for SQL error message design. The results indicate that general error message qualities do not necessarily explain query fixing success in the context of SQL syntax errors and that even some novel NewSQL systems fail to account for basic error message design guidelines. The error message design framework and examples of its practical applications shown in this study are applicable in educational contexts as well as by DBMS vendors in understanding novice perspectives in error message design.
引用
收藏
页数:50
相关论文
共 50 条
  • [41] A logical framework for data-driven reasoning
    Baldi, Paolo
    Corsi, Esther Anna
    Hosni, Hykel
    LOGIC JOURNAL OF THE IGPL, 2024,
  • [42] A Novel Framework of Data-Driven Networking
    Yao, Haipeng
    Qiu, Chao
    Fang, Chao
    Chen, Xu
    Yu, F. Richard
    IEEE ACCESS, 2016, 4 : 9066 - 9072
  • [43] Data-driven contract design
    Burkett, Justin
    Rosenthal, Maxwell
    JOURNAL OF ECONOMIC THEORY, 2024, 221
  • [44] Data-Driven Gamification Design
    Meder, Michael
    Rapp, Amon
    Plumbaum, Till
    Hopfgartner, Frank
    PROCEEDINGS OF THE 21ST INTERNATIONAL ACADEMIC MINDTREK CONFERENCE (ACADEMIC MINDTREK), 2017, : 255 - 258
  • [45] Data-driven Logotype Design
    Parente, Jessica
    Martins, Tiago
    Bicker, Joao
    2018 22ND INTERNATIONAL CONFERENCE INFORMATION VISUALISATION (IV), 2018, : 64 - 70
  • [46] A framework for data-driven algorithm testing
    Funk, W
    Kirchner, D
    Security, Steganography, and Watermarking of Multimedia Contents VII, 2005, 5681 : 287 - 297
  • [47] A data-driven detection optimization framework
    Schwartz, William Robson
    Cunha de Melo, Victor Hugo
    Pedrini, Helio
    Davis, Larry S.
    NEUROCOMPUTING, 2013, 104 : 35 - 49
  • [48] Data-driven Contract Design
    Venkitasubramaniam, Parv
    Gupta, Vijay
    2019 AMERICAN CONTROL CONFERENCE (ACC), 2019, : 2283 - 2288
  • [49] A Framework for Data-Driven Augmented Reality
    Albuquerque, Georgia
    Sonntag, Doerte
    Bodensiek, Oliver
    Behlen, Manuel
    Wendorff, Nils
    Magnor, Marcus
    AUGMENTED REALITY, VIRTUAL REALITY, AND COMPUTER GRAPHICS (AVR 2019), PT II, 2019, 11614 : 71 - 83
  • [50] Data-Driven Algorithm Design
    Gupta, Rishi
    Roughgarden, Tim
    COMMUNICATIONS OF THE ACM, 2020, 63 (06) : 87 - 94