Detecting and Classifying Nonconformances in Code Contracts with ContractOK

Autori

  • Alysson F. Milanez
  • Tiago L. Massoni
  • Rohit Gheyi

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

I dati di download non sono ancora disponibili.

Pubblicato

2022-03-21

Come citare

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). Recuperato da https://periodicos.ufersa.edu.br/ecop/article/view/11161