code complexity & repetition analysis tool
at main 56 lines 809 B view raw view rendered
1# Installation 2 3## From Source 4 5### Prerequisites 6 7- Rust 1.70 or later 8- Cargo (comes with Rust) 9 10### Build and Install 11 12```bash 13# Clone the repository 14git clone https://github.com/yourusername/mccabre.git 15cd mccabre 16 17# Build and install 18cargo install --path crates/cli 19``` 20 21### Development Build 22 23```bash 24# Build in debug mode 25cargo build 26 27# Run directly 28cargo run --bin mccabre -- analyze examples/ 29 30# Run tests 31cargo test --quiet 32``` 33 34## Verifying Installation 35 36After building, verify your installation: 37 38```bash 39mccabre --version 40 41mccabre --help 42 43mccabre analyze examples/ 44``` 45 46You should see colored output with complexity metrics and detected clones. 47 48## Uninstall 49 50```bash 51cargo uninstall mccabre 52``` 53 54## Configuration 55 56See [Configuration](./configuration.md) for customizing thresholds and behavior.