CodeClone Contracts Book¶
This book is the contract-level documentation for CodeClone v2.x.
All guarantees here are derived from code and locked tests. If a statement is not enforced by code/tests, it is explicitly marked as non-contractual.
How to read¶
- Start with Intro → Architecture map → Terminology.
- Then read the contract spine: Exit codes → Core pipeline → Baseline → Cache → Report.
- Everything else is supporting detail, invariants, and reference.
Table of Contents¶
Contracts spine¶
- 03-contracts-exit-codes.md
- 04-config-and-defaults.md
- 05-core-pipeline.md
- 06-baseline.md
- 07-cache.md
- 08-report.md
Interfaces¶
System properties¶
Quality and recommendations¶
- 15-metrics-and-quality-gates.md
- 16-dead-code-contract.md
- 17-suggestions-and-clone-typing.md
- 18-benchmarking.md
- 19-inline-suppressions.md