Detecting and Classifying Nonconformances in Code Contracts with ContractOK

Auteurs-es

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

Résumé

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.

Téléchargements

Les données relatives au téléchargement ne sont pas encore disponibles.

Téléchargements

Publié-e

2022-03-21

Comment citer

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). Consulté à l’adresse https://revistacaatinga.com.br/ecop/article/view/11161