Iterative User-Driven Fault Localization

被引:19
|
作者
Li, Xiangyu [1 ]
d'Amorim, Marcelo [2 ]
Orso, Alessandro [1 ]
机构
[1] Georgia Inst Technol, Atlanta, GA 30332 USA
[2] Univ Fed Pernambuco, Recife, PE, Brazil
基金
美国国家科学基金会;
关键词
D O I
10.1007/978-3-319-49052-6_6
中图分类号
TP3 [计算技术、计算机技术];
学科分类号
0812 ;
摘要
Because debugging is a notoriously expensive activity, numerous automated debugging techniques have been proposed in the literature. In the last ten years, statistical fault localization emerged as the most popular approach to automated debugging. One problem with statistical fault localization techniques is that they tend to make strong assumptions on how developers behave during debugging. These assumptions are often unrealistic, which considerably limits the practical applicability and effectiveness of these techniques. To mitigate this issue, we propose Swift, an iterative user-driven technique designed to support developers during debugging. Swift (1) leverages statistical fault localization to identify suspicious methods, (2) generates high-level queries to the developer about the correctness of specific executions of the most suspicious methods, (3) uses the feedback from the developer to improve the localization results, and (4) repeats this cycle until the fault has been localized. Our empirical evaluation of Swift, performed on 26 faults in 5 programs, produced promising results; on average, Swift required less than 10 user queries to identify the fault. Most importantly, these queries were only about input/output relationships for specific executions of the methods, which developers should be able to answer quickly and without having to look at the code. We believe that Swift is a first important step towards defining fault localization techniques that account for the presence of humans in the loop and are practically applicable.
引用
收藏
页码:82 / 98
页数:17
相关论文
共 50 条
  • [1] A Modeling Framework for User-Driven Iterative Design of Autonomous Systems
    Manja Lohse
    Frederic Siepmann
    Sven Wachsmuth
    International Journal of Social Robotics, 2014, 6 : 121 - 139
  • [2] A Modeling Framework for User-Driven Iterative Design of Autonomous Systems
    Lohse, Manja
    Siepmann, Frederic
    Wachsmuth, Sven
    INTERNATIONAL JOURNAL OF SOCIAL ROBOTICS, 2014, 6 (01) : 121 - 139
  • [3] THE USER-DRIVEN HRIS
    DUNNINGTON, JI
    PERSONNEL, 1989, 66 (07) : 27 - &
  • [4] The User-Driven Collection 4.0: The Next Phase in User-Driven Monographic Acquisition
    Orcutt, Darby
    WHERE DO WE GO FROM HERE?, 2015, : 384 - 385
  • [5] MALAREO: a user-driven project
    Gebreslasie, Michael T.
    Bauwens, Ides
    GEOSPATIAL HEALTH, 2015, 10 (02) : 80 - 87
  • [6] USER-DRIVEN APPROACH FOR IT EXPANSION
    NIXON, S
    SEARCH, 1995, 26 (04): : 105 - 105
  • [7] PARATEXT: USER-DRIVEN DEVELOPMENT
    Grassick, Clayton
    Wiens, Hart
    BIBLE TRANSLATOR, 2009, 60 (04): : 234 - 240
  • [8] THE USER-DRIVEN CREATIVE ACADEMY
    Moller, Louise
    Poulsen, Soren Bolvig
    DESIGN EDUCATION: COLLABORATION AND CROSS-DISCIPLINARY, 2016, : 576 - 581
  • [9] PARATEXT: USER-DRIVEN DEVELOPMENT
    Grasick, Clayton
    Wiens, Hart
    BIBLE TRANSLATOR, 2011, 62 (02): : 85 - 91
  • [10] USER-DRIVEN APPROACH TO BETTER USER MANUALS
    MAYNARD, J
    COMPUTER, 1979, 12 (01) : 72 - 75