• DocumentCode
    650738
  • Title

    A Study on Developers´ Perceptions about Exception Handling Bugs

  • Author

    Ebert, Felipe ; Castor, Fernando

  • Author_Institution
    Inf. Center, Univ. Fed. de Pernambuco, Recife, Brazil
  • fYear
    2013
  • fDate
    22-28 Sept. 2013
  • Firstpage
    448
  • Lastpage
    451
  • Abstract
    Several studies argue that exception handling code usually has poor quality and that it is commonly neglected by developers. Moreover, it is said to be the least understood, documented, and tested part of the implementation of a system. However, there are very few studies that attempt to understand developers´ perceptions about exception handling, in general, and exception handling bugs, in particular. In this paper, we present the results of a survey conducted with 154 developers that aims to fill in this gap. According to the respondents of the survey, exception handling code is in fact documented and tested infrequently. Also, many of the respondents have had to fix exception handling bugs, in particular those caused by empty catch blocks or exceptions caught unintentionally. The respondents believe that exception handling bugs are more easily fixed than other kinds of bugs. Also, we found out a significant difference in the opinion of the respondents pertaining to the quality of the exception handling code: more experienced developers tend to believe that it is worse. We present a comprehensive classification of exception handling bugs based on the study results.
  • Keywords
    exception handling; object-oriented programming; program debugging; comprehensive classification; empty catch blocks; exception handling bugs; exception handling code; object-oriented programming languages; Computer bugs; Documentation; Java; Organizations; Software; Standards organizations; Testing; bugs; exception handling; survey;
  • fLanguage
    English
  • Publisher
    ieee
  • Conference_Titel
    Software Maintenance (ICSM), 2013 29th IEEE International Conference on
  • Conference_Location
    Eindhoven
  • ISSN
    1063-6773
  • Type

    conf

  • DOI
    10.1109/ICSM.2013.69
  • Filename
    6676929