• DocumentCode
    3204397
  • Title

    Preserving the Exception Handling Design Rules in Software Product Line Context: A Practical Approach

  • Author

    Sales, R.J. ; Coelho, Roberta

  • Author_Institution
    Dept. de Inf. e Mat. Aplic. (DIMAp), UFRN, Brazil
  • fYear
    2011
  • fDate
    25-29 April 2011
  • Firstpage
    9
  • Lastpage
    16
  • Abstract
    Checking the conformance between implementation and design rules is an important activity to guarantee quality on architecture and source code. To address the current needs of dependable systems it is also important to define design rules related to the exception handling behavior. The current approaches to automatically check design rules, however, do not provide suitable ways to define design rules related to the exception handling policy of a system. This paper proposes a practical approach to preserve the exception policy of a system or a family of systems along with its evolution, based on the definition and automatic checking of exception handling design rules, that regulates how exceptions flow inside the system -- which exceptions should flow and which elements are responsible for signaling and handling them. This approach automatically generates the partial code of JUnit tests to check such rules, and use the aspect-oriented technique to support such tests. The proposed approach was applied to define and check the exception handling rules of a software product line. Four different versions were evaluated (in both object-oriented and aspect-oriented implementations) in order to evaluate whether the exception handling policy was preserved during SPL evolution. Our experience shows that the proposed approach can be used to effectively detect violations on the exception handling policy of a software product line during its evolution.
  • Keywords
    aspect-oriented programming; exception handling; program testing; software quality; JUnit tests; SPL evolution; aspect-oriented technique; automatic checking; design rules; exception handling behavior; exception handling design rules; exception handling policy; partial code; software product line context; source code; violation detection; Computer architecture; Context; Contracts; Feature extraction; Media; Mobile communication; Software; Design Rules; Exception Handling; Software Product Line;
  • fLanguage
    English
  • Publisher
    ieee
  • Conference_Titel
    Dependable Computing Workshops (LADCW), 2011 Fifth Latin-American Symposium on
  • Conference_Location
    Sao Jose does Campos
  • Print_ISBN
    978-1-4577-0194-8
  • Electronic_ISBN
    978-0-7695-4394-9
  • Type

    conf

  • DOI
    10.1109/LADCW.2011.26
  • Filename
    5773432