• DocumentCode
    2435704
  • Title

    Making exceptions on exception handling

  • Author

    Xie, Tao ; Thummalapenta, Suresh

  • Author_Institution
    North Carolina State Univ., Raleigh, NC, USA
  • fYear
    2012
  • fDate
    9-9 June 2012
  • Firstpage
    1
  • Lastpage
    3
  • Abstract
    The exception-handling mechanism has been widely adopted to deal with exception conditions that may arise during program executions. To produce high-quality programs, developers are expected to handle these exception conditions and take necessary recovery or resource-releasing actions. Failing to handle these exception conditions can lead to not only performance degradation, but also critical issues. Developers can write formal specifications to capture expected exception-handling behavior, and then apply tools to automatically analyze program code for detecting specification violations. However, in practice, developers rarely write formal specifications. To address this issue, mining techniques have been used to mine common exception-handling behavior out of program code. In this paper, we discuss challenges and achievements in precisely specifying and mining formal exception-handling specifications, as tackled by our previous work. Our key insight is that expected exception-handling behavior may be “conditional” or may need to accommodate “exceptional” cases.
  • Keywords
    data mining; exception handling; formal specification; software quality; exception-handling mechanism; formal specifications; high-quality programs; mining techniques; performance degradation; program code analysis; resource-releasing actions; Association rules; Databases; Degradation; Documentation; Software engineering;
  • fLanguage
    English
  • Publisher
    ieee
  • Conference_Titel
    Exception Handling (WEH), 2012 5th International Workshop on
  • Conference_Location
    Zurich
  • Print_ISBN
    978-1-4673-1767-2
  • Type

    conf

  • DOI
    10.1109/WEH.2012.6226593
  • Filename
    6226593