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

被引:3
|
作者
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 条
  • [1] A Framework for Data-Driven Automata Design
    Zhang, Yuanrui
    Chen, Yixiang
    Ma, Yujing
    [J]. REQUIREMENTS ENGINEERING IN THE BIG DATA ERA, 2015, 558 : 33 - 47
  • [2] Improving the effectiveness of SQL learning practice: a data-driven approach
    Cagliero, Luca
    De Russis, Luigi
    Farinetti, Laura
    Montanaro, Teodoro
    [J]. 2018 IEEE 42ND ANNUAL COMPUTER SOFTWARE AND APPLICATIONS CONFERENCE (COMPSAC), VOL 1, 2018, : 980 - 989
  • [3] Curriculum Design - A Data-Driven Approach
    Chang, Jung-Kuei
    Tsao, Nai-Lung
    Kuo, Chin-Hwa
    Hsu, Hui-Huang
    [J]. PROCEEDINGS 2016 5TH IIAI INTERNATIONAL CONGRESS ON ADVANCED APPLIED INFORMATICS IIAI-AAI 2016, 2016, : 492 - 496
  • [4] Automatic meter error detection with a data-driven approach
    Chu, Ruimin
    Chik, Li
    Chan, Jeffrey
    Gutzmann, Kurt
    Li, Xiaodong
    [J]. ENGINEERING APPLICATIONS OF ARTIFICIAL INTELLIGENCE, 2023, 123
  • [5] Unified approach to data-driven quantum error mitigation
    Lowe, Angus
    Gordon, Max Hunter
    Czarnik, Piotr
    Arrasmith, Andrew
    Coles, Patrick J.
    Cincio, Lukasz
    [J]. PHYSICAL REVIEW RESEARCH, 2021, 3 (03):
  • [6] Unfalsified Approach to Data-Driven Control Design
    Battistelli, Giorgio
    Mari, Daniele
    Selvi, Daniela
    Tesi, Pietro
    [J]. 2014 IEEE 53RD ANNUAL CONFERENCE ON DECISION AND CONTROL (CDC), 2014, : 6003 - 6008
  • [7] A data-driven approach for the design of feedback controllers
    Barbu, Marian
    Ceanga, Emil
    [J]. 2014 18TH INTERNATIONAL CONFERENCE SYSTEM THEORY, CONTROL AND COMPUTING (ICSTCC), 2014, : 609 - 614
  • [8] Design and Implementation of Data-Driven based Universal Data Editing Framework
    Wu, Jiaju
    Ji, Bin
    Zhu, Xinglin
    Cheng, Zheng
    Meng, Lirong
    [J]. 2017 CHINESE AUTOMATION CONGRESS (CAC), 2017, : 7681 - 7686
  • [9] Cyber-Empathic Design: A Data-Driven Framework for Product Design
    Ghosh, Dipanjan
    Olewnik, Andrew
    Lewis, Kemper
    Kim, Junghan
    Lakshmanan, Arun
    [J]. JOURNAL OF MECHANICAL DESIGN, 2017, 139 (09)
  • [10] Data-Driven Design
    Schmidt, Aaron
    [J]. LIBRARY JOURNAL, 2016, 141 (06) : 26 - 26