This artefact contains a dataset of open-source programs obtained from the Maven Central Repository and scripts that first extract contracts from these programs and then perform several analyses on the contracts extracted. The extraction and analysis is fully automated and directly produces the tables presented in the accompanying paper. The results show how contracts are used in real-world program, and how their usage changes between versions and within inheritance hierarchies.
@Article{dietrich_et_al:DARTS.3.2.6, author = {Dietrich, Jens and Pearce, David J. and Jezek, Kamil and Brada, Premek}, title = {{Contracts in the Wild: A Study of Java Programs (Artifact)}}, pages = {6:1--6:4}, journal = {Dagstuhl Artifacts Series}, ISSN = {2509-8195}, year = {2017}, volume = {3}, number = {2}, editor = {Dietrich, Jens and Pearce, David J. and Jezek, Kamil and Brada, Premek}, publisher = {Schloss Dagstuhl -- Leibniz-Zentrum f{\"u}r Informatik}, address = {Dagstuhl, Germany}, URL = {https://drops.dagstuhl.de/entities/document/10.4230/DARTS.3.2.6}, URN = {urn:nbn:de:0030-drops-72871}, doi = {10.4230/DARTS.3.2.6}, annote = {Keywords: verification, design-by-contract, assertions, preconditions, postconditions, runtime checking, java, input validation} }
69b699de9dc72cc01e27b20df6307830
(Get MD5 Sum)
Feedback for Dagstuhl Publishing