find-bugs

Paths to analyze

Find Bugs Skill

Hunt for bugs in: {{.paths}}

Quick Start

# Get high-risk files (threshold 0.8 = high risk)
omen -f json defect --risk-threshold 0.8

# Find hotspots
omen -f json hotspot --days 30

# Check for explicit markers
omen -f json satd | jq '.items[] | select(.category == "defect")'

Priority Order

  1. Defect probability > 0.8: Investigate first
  2. Hotspot score > 0.5: Review complex logic
  3. BUG/FIXME markers: Known issues
  4. Temporal coupling: Check related files

In Each File

  • Look for functions with cognitive > 20
  • Check error handling paths
  • Review boundary conditions