Detecting and Classifying Nonconformances in Code Contracts with ContractOK
Abstract
Nonconformances, in the context of contract-based programs, must be detected and corrected. Classification may be useful in the process of nonconformances correction. Current approaches do not support any type of nonconformance classification. In this work, we present a dynamic approach (CONTRACTOK) for detecting and classifying nonconformances in the context of Code Contracts programs. The approach is based on random test generation for nonconformances detection and on heuristics for classification. We evaluate our approach in four real programs, summing up 82.8K lines of C# and Code Contracts, detecting and classifying 16 nonconformances.
Downloads
Download data is not yet available.
Downloads
Published
2022-03-21
How to Cite
Milanez, A. F. ., Massoni, T. L., & Gheyi, R. (2022). Detecting and Classifying Nonconformances in Code Contracts with ContractOK. Anais Do Encontro De Computação Do Oeste Potiguar ECOP/UFERSA (ISSN 2526-7574), 2(5). Retrieved from https://periodicos.ufersa.edu.br/ecop/article/view/11161
Issue
Section
Artigos