Understanding Exception Handling: Viewpoints of Novices and Experts

被引:42
|
作者
Shah, Hina B. [1 ]
Goerg, Carsten [2 ]
Harrold, Mary Jean [1 ]
机构
[1] Georgia Inst Technol, Coll Comp, Atlanta, GA 30332 USA
[2] Georgia Inst Technol, Sch Interact Comp, Atlanta, GA 30308 USA
基金
美国国家科学基金会;
关键词
Exception handling; user study; software developers;
D O I
10.1109/TSE.2010.7
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
Several recent studies indicate that many industrial applications exhibit poor quality in the design of exception-handling. To improve the quality of error-handling, we need to understand the problems and obstacles that developers face when designing and implementing exception-handling. In this paper, we present our research on understanding the viewpoint of developers-novices and experts-toward exception-handling. First, we conducted a study with novice developers in industry. The study results reveal that novices tend to ignore exceptions because of the complex nature of exception-handling. Then, we conducted a second study with experts in industry to understand their perspective on exception-handling. The study results show that, for experts, exception-handling is a crucial part in the development process. Experts also confirm the novices' approach of ignoring exception-handling and provide insights as to why novices do so. After analyzing the study data, we identified factors that influence experts' strategy selection process for handling exceptions and then built a model that represents a strategy selection process experts use to handle exceptions. Our model is based on interacting modules and fault scope. We conclude with some recommendations to help novices improve their understanding of exception-handling.
引用
收藏
页码:150 / 161
页数:12
相关论文
共 50 条
  • [31] EXCEPTION HANDLING IN CLU
    LISKOV, BH
    SNYDER, A
    IEEE TRANSACTIONS ON SOFTWARE ENGINEERING, 1979, 5 (06) : 546 - 558
  • [32] Distributed exception handling:: Ideas, lessons and issues with recent exception handling systems
    Campéas, A
    Dony, C
    Urtado, C
    Vauttier, S
    RAPID INTEGRATION OF SOFTWARE ENGINEERING TECHNIQUES, 2005, 3475 : 82 - 92
  • [33] Revisiting exception handling practices with exception flow analysis
    de Pádua, Guilherme B.
    Shang, Weiyi
    arXiv, 2017,
  • [34] Mining exception instances to facilitate workflow exception handling
    Hwang, SY
    Ho, SF
    Tang, J
    6TH INTERNATIONAL CONFERENCE ON DATABASE SYSTEMS FOR ADVANCED APPLICATIONS, PROCEEDINGS, 1999, : 45 - 52
  • [35] PREDICTION OF CONSUMER-BEHAVIOR BY EXPERTS AND NOVICES
    ARMSTRONG, JS
    JOURNAL OF CONSUMER RESEARCH, 1991, 18 (02) : 251 - 256
  • [36] The LapSim: A Learning Environment for Both Experts and Novices
    Ro, Charles Y.
    Toumpoulis, Ioannis K.
    Ashton, Robert C., Jr.
    Jebara, Tony
    Schulman, Caroline
    Todd, George J.
    Derose, Joseph J., Jr.
    McGinty, James J.
    MEDICINE MEETS VIRTUAL REALITY 13: THE MAGICAL NEXT BECOMES THE MEDICAL NOW, 2005, 111 : 414 - 417
  • [37] Revisiting Exception Handling Practices with Exception Flow Analysis
    de Padua, Guilherme B.
    Shang, Weiyi
    2017 IEEE 17TH INTERNATIONAL WORKING CONFERENCE ON SOURCE CODE ANALYSIS AND MANIPULATION (SCAM), 2017, : 11 - 20
  • [38] A comparison of novices and experts in the identification of sonar signals
    Collier, GL
    SPEECH COMMUNICATION, 2004, 43 (04) : 297 - 310
  • [39] PHYSICS PROBLEM-SOLVING BY EXPERTS AND NOVICES
    CHI, M
    FELTOVICH, P
    GLASER, R
    BULLETIN OF THE PSYCHONOMIC SOCIETY, 1979, 14 (04) : 238 - 238
  • [40] Exploratory Information Search by Domain Experts and Novices
    Kang, Ruogu
    Fu, Wai-Tat
    IUI 2010, 2010, : 329 - 332