# Complexity Analysis

## Overview

PMAT provides comprehensive complexity analysis for code.

## Metrics

- Cyclomatic complexity
- Cognitive complexity
- Big-O complexity estimation
- Halstead metrics

## Usage

```bash
pmat context --complexity-threshold 10
```

## Related Documentation

- [CLI Reference](../cli-reference.md)
- [Quality Gates](./QUALITY_GATES.md)
