Program abstractions for behaviour validation

14Citations
Citations of this article
57Readers
Mendeley users who have this article in their library.
Get full text

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. © 2011 ACM.

Cite

CITATION STYLE

APA

De Caso, G., Braberman, V., Garbervetsky, D., & Uchitel, S. (2011). Program abstractions for behaviour validation. In Proceedings - International Conference on Software Engineering (pp. 381–390). https://doi.org/10.1145/1985793.1985846

Register to see more suggestions

Mendeley helps you to discover research relevant for your work.

Already have an account?

Save time finding and organizing research with Mendeley

Sign up for free