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 条
  • [11] Cyber-Empathic Design: A Data-Driven Framework for Product Design
    Ghosh, Dipanjan
    Olewnik, Andrew
    Lewis, Kemper
    Kim, Junghan
    Lakshmanan, Arun
    JOURNAL OF MECHANICAL DESIGN, 2017, 139 (09)
  • [12] Data-Driven Design
    Schmidt, Aaron
    LIBRARY JOURNAL, 2016, 141 (06) : 26 - 26
  • [13] A data-driven inverse design framework for tunable phononic crystals
    Zhou, Huamao
    Chen, Ning
    Xia, Baizhan
    Man, Xianfeng
    Liu, Jian
    ENGINEERING STRUCTURES, 2025, 327
  • [14] Data-Driven Feature Selection Framework for Approximate Circuit Design
    Zhao, Bingyin
    Qiu, Ling
    Lao, Yingjie
    IEEE TRANSACTIONS ON COMPUTER-AIDED DESIGN OF INTEGRATED CIRCUITS AND SYSTEMS, 2023, 42 (11) : 3519 - 3531
  • [15] Data-driven Approach to New Service Concept Design
    Kim, Min-Jun
    Lim, Chie-Hyeon
    Lee, Chang-Ho
    Kim, Kwang-Jae
    Choi, Seunghwan
    Park, Yongsung
    EXPLORING SERVICES SCIENCE (IESS 2016), 2016, 247 : 485 - 496
  • [16] Intelligent Monitoring Framework for Cloud Services: A Data-Driven Approach
    Srinivas, Pooja
    Husain, Fiza
    Parayil, Anjaly
    Choure, Ayush
    Bansal, Chetan
    Rajmohan, Saravan
    2024 ACM/IEEE 44TH INTERNATIONAL CONFERENCE ON SOFTWARE ENGINEERING: SOFTWARE ENGINEERING IN PRACTICE, ICSE-SEIP 2024, 2024, : 381 - 391
  • [17] Data-driven model reference control design by prediction error identification
    Campestrini, Luciola
    Eckhard, Diego
    Bazanella, Alexandre Sanfelice
    Gevers, Michel
    JOURNAL OF THE FRANKLIN INSTITUTE-ENGINEERING AND APPLIED MATHEMATICS, 2017, 354 (06): : 2628 - 2647
  • [18] Robotic Positional Error Calibration Based on a Hybrid Data-driven Prediction Framework
    Zhu, Jiahui
    Yan, Sijie
    Yang, Zeyuan
    Cai, Wenqi
    Ding, Han
    2023 29TH INTERNATIONAL CONFERENCE ON MECHATRONICS AND MACHINE VISION IN PRACTICE, M2VIP 2023, 2023,
  • [19] Data-Driven Control Design by Prediction Error Identification for Multivariable Systems
    Huff, Daniel D.
    Campestrini, Luciola
    Goncalves da Silva, Gustavo R.
    Bazanella, Alexandre S.
    JOURNAL OF CONTROL AUTOMATION AND ELECTRICAL SYSTEMS, 2019, 30 (04) : 465 - 478
  • [20] Data-Driven Control Design by Prediction Error Identification for Multivariable Systems
    Daniel D. Huff
    Luciola Campestrini
    Gustavo R. Gonçalves da Silva
    Alexandre S. Bazanella
    Journal of Control, Automation and Electrical Systems, 2019, 30 : 465 - 478