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 条
  • [31] Design of an Optimized GMV Controller Based on Data-Driven Approach
    Shi, Liying
    Guan, Zhe
    Yamamoto, Toru
    JOURNAL OF ROBOTICS NETWORKING AND ARTIFICIAL LIFE, 2021, 8 (03): : 180 - 185
  • [32] Exploration of Axial Fan Design Space with Data-Driven Approach
    Angelini, Gino
    Corsini, Alessandro
    Delibra, Giovanni
    Tieghi, Lorenzo
    INTERNATIONAL JOURNAL OF TURBOMACHINERY PROPULSION AND POWER, 2019, 4 (02)
  • [33] Multicontact Localization Framework for Flexible Robots Using a Data-Driven Approach
    Ha, Xuan Thao
    Sridhar, Aditya
    Ourak, Mouloud
    Borghesan, Gianni
    Menciassi, Arianna
    Vander Poorten, Emmanuel
    IEEE SENSORS JOURNAL, 2023, 23 (23) : 28993 - 29002
  • [34] Algebraic approach to synthesis of data-driven control design for dissipativity
    Tanaka, Yuki
    Kaneko, Osamu
    Sueyoshi, Takeyuki
    SICE JOURNAL OF CONTROL MEASUREMENT AND SYSTEM INTEGRATION, 2024, 17 (01) : 247 - 255
  • [35] Design and Implementation of a Data-Driven Approach to Visualizing Power Quality
    Xiao, Fei
    Lu, Tianguang
    Ai, Qian
    Wang, Xiaolong
    Chen, Xinyu
    Fang, Sidun
    Wu, Qiuwei
    IEEE TRANSACTIONS ON SMART GRID, 2020, 11 (05) : 4366 - 4379
  • [36] Design of an Optimized GMV Controller based on Data-Driven Approach
    Shi, Liying
    Guan, Zhe
    Yamamoto, Toru
    JOURNAL OF ROBOTICS NETWORKING AND ARTIFICIAL LIFE, 2022, 8 (04): : 235 - 240
  • [37] A Simulation Data-Driven Design Approach for Rapid Product Optimization
    Shao, Yanli
    Zhu, Huawei
    Wang, Rui
    Liu, Ying
    Liu, Yusheng
    JOURNAL OF COMPUTING AND INFORMATION SCIENCE IN ENGINEERING, 2020, 20 (02)
  • [38] Design of acoustic absorbing metasurfaces using a data-driven approach
    Hamza Baali
    Mahmoud Addouche
    Abdesselam Bouzerdoum
    Abdelkrim Khelif
    Communications Materials, 4
  • [39] Design of acoustic absorbing metasurfaces using a data-driven approach
    Baali, Hamza
    Addouche, Mahmoud
    Bouzerdoum, Abdesselam
    Khelif, Abdelkrim
    COMMUNICATIONS MATERIALS, 2023, 4 (01)
  • [40] A Data-driven Process Recommender Framework
    Yang, Sen
    Dong, Xin
    Sun, Leilei
    Zhou, Yichen
    Farneth, Richard A.
    Xiong, Hui
    Burd, Randall S.
    Marsic, Ivan
    KDD'17: PROCEEDINGS OF THE 23RD ACM SIGKDD INTERNATIONAL CONFERENCE ON KNOWLEDGE DISCOVERY AND DATA MINING, 2017, : 2111 - 2120