• DocumentCode
    555303
  • Title

    Program abstractions for behaviour validation

  • Author

    de Caso, Guido ; Braberman, Víctor ; Garbervetsky, Diego ; Uchitel, Sebastián

  • Author_Institution
    Dept. de Comput., Univ. of Buenos Aires, Buenos Aires, Argentina
  • fYear
    2011
  • fDate
    21-28 May 2011
  • Firstpage
    381
  • Lastpage
    390
  • Abstract
    Code artefacts that have non-trivial requirements with respect to the ordering in which their methods or procedures ought to be called are common and appear, for instance, in the form of API implementations and objects. This work addresses the problem of validating if API implementations provide their intended behaviour when descriptions of this behaviour are informal, partial or non-existent. The proposed approach addresses this problem by generating abstract behaviour models which resemble typestates. These models are statically computed and encode all admissible sequences of method calls. The level of abstraction at which such models are constructed has shown to be useful for validating code artefacts and identifying findings which led to the discovery of bugs, adjustment of the requirements expected by the engineer to the requirements implicit in the code, and the improvement of available documentation.
  • Keywords
    formal specification; program debugging; program diagnostics; API implementation; abstract behaviour model; behaviour validation; bug discovery; code artefact; nontrivial requirement; program abstraction; Algorithm design and analysis; Approximation methods; Computational modeling; Concrete; Safety; Semantics; Software algorithms; automated abstraction; behaviour model synthesis; source code validation;
  • fLanguage
    English
  • Publisher
    ieee
  • Conference_Titel
    Software Engineering (ICSE), 2011 33rd International Conference on
  • Conference_Location
    Honolulu, HI
  • ISSN
    0270-5257
  • Print_ISBN
    978-1-4503-0445-0
  • Electronic_ISBN
    0270-5257
  • Type

    conf

  • DOI
    10.1145/1985793.1985846
  • Filename
    6032477