> For the complete documentation index, see [llms.txt](https://doc-hub.xcavate.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://doc-hub.xcavate.io/protocol/property-management-pallet/quality-audit/quality-metrics.md).

# Quality Metrics

| Metric                   | Target                      |
| ------------------------ | --------------------------- |
| Unit Test Coverage       | ≥ 95% of dispatchable calls |
| Benchmark Coverage       | 100% of public extrinsics   |
| Clippy / Linter Score    | Zero critical warnings      |
| Event Logging            | ≥ 1 event per extrinsic     |
| Error Coverage           | All known failures covered  |
| Code Complexity (per fn) | ≤ 10 cyclomatic complexity  |
