بنقرة واحدة
mutants
Run mutation testing with cargo-mutants to evaluate test quality. Identifies untested code paths.
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
Run mutation testing with cargo-mutants to evaluate test quality. Identifies untested code paths.
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
استنادا إلى تصنيف SOC المهني
Khononov's Balanced Coupling model reference. Auto-loaded when analyzing coupling patterns, reviewing architecture, or interpreting analysis results.
Run coupling analysis and interpret results. Use when analyzing Rust project coupling patterns and generating improvement proposals.
Quick health check for coupling balance score. Use for daily score verification and CI quality gates.
Modularity review using Balanced Coupling model. Combines automated analysis with semantic code review to find implicit coupling and design issues.
Start interactive web UI for coupling analysis visualization. Graph exploration with filters, hotspots, and export.
Explain coupling issue types in detail with detection conditions, code examples, and solution approaches.
| name | mutants |
| description | Run mutation testing with cargo-mutants to evaluate test quality. Identifies untested code paths. |
Run cargo-mutants, analyze missed mutants, write tests for new code, verify fixes.
# Scoped to specific files (recommended for incremental work)
cargo mutants --no-shuffle -j4 -f src/config.rs -f src/volatility.rs
# Scoped to specific functions
cargo mutants --no-shuffle -j4 -F "function_name"
# Full run (slow, 1000+ mutants)
cargo mutants --no-shuffle -j4 -- --lib
# Check results
cat mutants.out/missed.txt | grep "target_file.rs"
cat mutants.out/caught.txt | wc -l
| Option | Description |
|---|---|
-f <FILE> | Limit to specific source file |
-F <PATTERN> | Filter by function name pattern |
-E <PATTERN> | Exclude by function name |
-j <N> | Parallel jobs (default: auto) |
--no-shuffle | Deterministic ordering |
-- --lib | Only run library tests |
| Result | Meaning | Action |
|---|---|---|
| caught | Test detected mutation | None (good) |
| missed | Test didn't detect | Add/improve test |
| unviable | Compile error from mutation | Ignore |
| timeout | Test too slow | Optimize or skip |
main.rs (CLI entry point): low priority, hard to unit testreport.rs, cli_output.rs): low priority unless logic-heavyconfig.rs, balance.rs, analyzer.rs): high priority