| Crates.io | dei |
| lib.rs | dei |
| version | 0.1.1 |
| created_at | 2025-11-22 00:48:10.222976+00 |
| updated_at | 2026-01-02 07:50:46.82298+00 |
| description | Static analysis tool for detecting god classes and god methods |
| homepage | https://github.com/GriffinCanCode/Dei |
| repository | https://github.com/GriffinCanCode/Dei |
| max_upload_size | |
| id | 1944563 |
| size | 55,792 |
A high-performance static analysis tool for detecting god classes, god methods, and architectural issues in your codebase.
cargo install dei
Analyze a file or directory:
dei check src/
Check with custom thresholds:
dei check src/ --max-lines 200 --max-methods 15 --max-complexity 40
Output as JSON for CI integration:
dei check src/ --format json
Analyze architecture quality:
dei arch src/
Classes that do too much - violating single responsibility principle:
Methods that are too complex:
Default thresholds:
0 - No issues detected1 - God classes or methods foundDEI is built for speed:
MIT License - see LICENSE file for details
Contributions are welcome! Please feel free to submit a Pull Request.