debtmap 0.1.8

Code complexity and technical debt analyzer
Documentation
{
  "location": {
    "file": "src/testing/flaky_detector.rs",
    "function": "is_timing_function",
    "line": 209
  },
  "unified_score": {
    "final_score": 7.5,
    "coverage_factor": 8,
    "complexity_factor": 6
  },
  "cyclomatic_complexity": 11,
  "cognitive_complexity": 8,
  "nesting_depth": 2,
  "function_length": 15,
  "function_role": "PureLogic",
  "recommendation": {
    "primary_action": "Refactor to reduce complexity from 11 to <10 using pattern consolidation"
  },
  "upstream_dependencies": 0,
  "downstream_dependencies": 1,
  "expected_impact": {
    "risk_reduction": 0.25,
    "complexity_reduction": 0.3
  },
  "entropy_details": {
    "entropy_score": 0.45,
    "pattern_repetition": 73,
    "adjusted_complexity": 6
  }
}