Skip to content

Codebase intelligence for AI and humans: code health scores, auto-generated docs, git analytics, dead code detection, and architectural decisions via MCP.

176 KB
Raw Blame
{
  "trees/gopkg": {
    "metrics": [
      {
        "file_path": "inventory.go",
        "score": 10.0,
        "max_ccn": 6,
        "max_nesting": 2,
        "nloc": 319,
        "has_test_file": false,
        "module": null,
        "duplication_pct": null,
        "line_coverage_pct": null,
        "branch_coverage_pct": null,
        "defect_score": 10.0,
        "maintainability_score": 10.0,
        "performance_score": 10.0,
        "structure_deduction": 0.0,
        "history_deduction": 0.0,
        "is_test": false,
        "code_origin": "production"
      }
    ],
    "findings": [
      {
        "biomarker_type": "untested_complexity",
        "severity": "medium",
        "file_path": "inventory.go",
        "function_name": "FastestSupplier",
        "line_start": 155,
        "line_end": 166,
        "details": {
          "crap": 42.0,
          "ccn": 6,
          "coverage_basis": "estimated",
          "action": "add_tests",
          "coverage_tier": "none",
          "symbol_line": 155
        },
        "health_impact": 0.0,
        "reason": "FastestSupplier has CRAP 42 (complexity 6, estimated, no test found reaching it)",
        "dimension": "advisory",
        "id": "finding_9c4e543562fe5f8b76ad"
      },
      {
        "biomarker_type": "untested_complexity",
        "severity": "medium",
        "file_path": "inventory.go",
        "function_name": "AddLine",
        "line_start": 224,
        "line_end": 239,
        "details": {
          "crap": 30.0,
          "ccn": 5,
          "coverage_basis": "estimated",
          "action": "add_tests",
          "coverage_tier": "none",
          "symbol_line": 224
        },
        "health_impact": 0.0,
        "reason": "AddLine has CRAP 30 (complexity 5, estimated, no test found reaching it)",
        "dimension": "advisory",
        "id": "finding_03e106976978913f3b80"
      },
      {
        "biomarker_type": "untested_complexity",
        "severity": "medium",
        "file_path": "inventory.go",
        "function_name": "OrdersBySupplier",
        "line_start": 271,
        "line_end": 284,
        "details": {
          "crap": 30.0,
          "ccn": 5,
          "coverage_basis": "estimated",
          "action": "add_tests",
          "coverage_tier": "none",
          "symbol_line": 271
        },
        "health_impact": 0.0,
        "reason": "OrdersBySupplier has CRAP 30 (complexity 5, estimated, no test found reaching it)",
        "dimension": "advisory",
        "id": "finding_74751d6b8941656b8a14"
      },
      {
        "biomarker_type": "untested_complexity",
        "severity": "medium",
        "file_path": "inventory.go",
        "function_name": "OpenOrders",
        "line_start": 286,
        "line_end": 298,
        "details": {
          "crap": 30.0,
          "ccn": 5,
          "coverage_basis": "estimated",
          "action": "add_tests",
          "coverage_tier": "none",
          "symbol_line": 286
        },
        "health_impact": 0.0,
        "reason": "OpenOrders has CRAP 30 (complexity 5, estimated, no test found reaching it)",
        "dimension": "advisory",
        "id": "finding_d596f31c5cf5b49adb34"
      },
      {
        "biomarker_type": "untested_complexity",
        "severity": "medium",
        "file_path": "inventory.go",
        "function_name": "ReceiveOrder",
        "line_start": 332,
        "line_end": 351,
        "details": {
          "crap": 30.0,
          "ccn": 5,
          "coverage_basis": "estimated",
          "action": "add_tests",
          "coverage_tier": "none",
          "symbol_line": 332
        },
        "health_impact": 0.0,
        "reason": "ReceiveOrder has CRAP 30 (complexity 5, estimated, no test found reaching it)",
        "dimension": "advisory",
        "id": "finding_fd719cff20def72136b2"
      }
    ],
    "kpis": {
      "hotspot_health": null,
      "average_health": 10.0,
      "worst_performer_path": "inventory.go",
      "worst_performer_score": 10.0,
      "worst_test_path": null,
      "worst_test_score": null,
      "file_count": 1,
      "maintainability_average": 10.0,
      "maintainability_hotspot": null,
      "performance_average": 10.0,
      "performance_hotspot": null,
      "structure_average": 0.0,
      "history_average": 0.0,
      "structure_hotspot": null,
      "history_hotspot": null,
      "production_average": 10.0,
      "production_file_count": 1,
      "unanalysed_file_count": 0,
      "analysed_share": 1.0
    },
    "repo_function_mod_p80": null,
    "suggestions": [
      {
        "refactoring_type": "split_file",
        "file_path": "inventory.go",
        "target_symbol": "inventory.go -> 2 files",
        "line_start": null,
        "line_end": null,
        "impact_delta": 0.0,
        "effort_bucket": "L",
        "confidence": "high",
        "source_biomarker": ""
      }
    ]
  },
  "trees/orm": {
    "metrics": [
      {
        "file_path": "models.py",
        "score": 10.0,
        "max_ccn": 1,
        "max_nesting": 0,
        "nloc": 34,
        "has_test_file": false,
        "module": null,
        "duplication_pct": 80.49,
        "line_coverage_pct": null,
        "branch_coverage_pct": null,
        "defect_score": 10.0,
        "maintainability_score": 10.0,
        "performance_score": 10.0,
        "structure_deduction": 0.0,
        "history_deduction": 0.0,
        "is_test": false,
        "code_origin": "production"
      }
    ],
    "findings": [],
    "kpis": {
      "hotspot_health": null,
      "average_health": 10.0,
      "worst_performer_path": "models.py",
      "worst_performer_score": 10.0,
      "worst_test_path": null,
      "worst_test_score": null,
      "file_count": 1,
      "maintainability_average": 10.0,
      "maintainability_hotspot": null,
      "performance_average": 10.0,
      "performance_hotspot": null,
      "structure_average": 0.0,
      "history_average": 0.0,
      "structure_hotspot": null,
      "history_hotspot": null,
      "production_average": 10.0,
      "production_file_count": 1,
      "unanalysed_file_count": 0,
      "analysed_share": 1.0
    },
    "repo_function_mod_p80": null,
    "suggestions": []
  },
  "trees/tsapp": {
    "metrics": [
      {
        "file_path": "account.ts",
        "score": 8.42,
        "max_ccn": 17,
        "max_nesting": 3,
        "nloc": 66,
        "has_test_file": false,
        "module": null,
        "duplication_pct": 97.14,
        "line_coverage_pct": null,
        "branch_coverage_pct": null,
        "defect_score": 8.42,
        "maintainability_score": 8.1,
        "performance_score": 10.0,
        "structure_deduction": 1.578,
        "history_deduction": 0.0,
        "is_test": false,
        "code_origin": "production"
      },
      {
        "file_path": "index.ts",
        "score": 10.0,
        "max_ccn": 1,
        "max_nesting": 0,
        "nloc": 6,
        "has_test_file": false,
        "module": null,
        "duplication_pct": null,
        "line_coverage_pct": null,
        "branch_coverage_pct": null,
        "defect_score": 10.0,
        "maintainability_score": 10.0,
        "performance_score": 10.0,
        "structure_deduction": 0.0,
        "history_deduction": 0.0,
        "is_test": false,
        "code_origin": "production"
      },
      {
        "file_path": "workspace.ts",
        "score": 8.42,
        "max_ccn": 17,
        "max_nesting": 3,
        "nloc": 66,
        "has_test_file": false,
        "module": null,
        "duplication_pct": 97.14,
        "line_coverage_pct": null,
        "branch_coverage_pct": null,
        "defect_score": 8.42,
        "maintainability_score": 8.1,
        "performance_score": 10.0,
        "structure_deduction": 1.578,
        "history_deduction": 0.0,
        "is_test": false,
        "code_origin": "production"
      }
    ],
    "findings": [
      {
        "biomarker_type": "complex_method",
        "severity": "high",
        "file_path": "account.ts",
        "function_name": "parseAccount",
        "line_start": 15,
        "line_end": 56,
        "details": {
          "ccn": 17,
          "cognitive": 19,
          "nloc": 42,
          "dispatch_share": 0.0,
          "symbol_line": 15,
          "deepest_block": {
            "start": 48,
            "end": 52
          }
        },
        "health_impact": 1.247,
        "reason": "parseAccount has cyclomatic complexity 17",
        "dimension": "defect",
        "id": "finding_f79a5d5e8f306abe7ab7"
      },
      {
        "biomarker_type": "dry_violation",
        "severity": "medium",
        "file_path": "account.ts",
        "function_name": null,
        "line_start": 6,
        "line_end": 73,
        "details": {
          "cross_file_duplication_pct": 97.14,
          "clone_pair_count": 1,
          "worst_clone_lines": 68,
          "worst_clone_partner": "workspace.ts",
          "worst_clone_co_change": 0
        },
        "health_impact": 0.331,
        "reason": "97% of file duplicated in other files; worst clone shares 68 lines with workspace.ts",
        "dimension": "maintainability",
        "id": "finding_adecdf1cea8a1aad2796"
      },
      {
        "biomarker_type": "untested_complexity",
        "severity": "medium",
        "file_path": "account.ts",
        "function_name": "parseAccount",
        "line_start": 15,
        "line_end": 56,
        "details": {
          "crap": 306.0,
          "ccn": 17,
          "coverage_basis": "estimated",
          "action": "add_tests",
          "coverage_tier": "none",
          "symbol_line": 15
        },
        "health_impact": 0.0,
        "reason": "parseAccount has CRAP 306 (complexity 17, estimated, no test found reaching it)",
        "dimension": "advisory",
        "id": "finding_01e0fea6a9a9584edcb7"
      },
      {
        "biomarker_type": "complex_method",
        "severity": "high",
        "file_path": "workspace.ts",
        "function_name": "parseWorkspace",
        "line_start": 15,
        "line_end": 56,
        "details": {
          "ccn": 17,
          "cognitive": 19,
          "nloc": 42,
          "dispatch_share": 0.0,
          "symbol_line": 15,
          "deepest_block": {
            "start": 48,
            "end": 52
          }
        },
        "health_impact": 1.247,
        "reason": "parseWorkspace has cyclomatic complexity 17",
        "dimension": "defect",
        "id": "finding_d79d97d650bcedab3ec2"
      },
      {
        "biomarker_type": "dry_violation",
        "severity": "medium",
        "file_path": "workspace.ts",
        "function_name": null,
        "line_start": 6,
        "line_end": 73,
        "details": {
          "cross_file_duplication_pct": 97.14,
          "clone_pair_count": 1,
          "worst_clone_lines": 68,
          "worst_clone_partner": "account.ts",
          "worst_clone_co_change": 0
        },
        "health_impact": 0.331,
        "reason": "97% of file duplicated in other files; worst clone shares 68 lines with account.ts",
        "dimension": "maintainability",
        "id": "finding_27bf987f937f7819f307"
      },
      {
        "biomarker_type": "untested_complexity",
        "severity": "medium",
        "file_path": "workspace.ts",
        "function_name": "parseWorkspace",
        "line_start": 15,
        "line_end": 56,
        "details": {
          "crap": 306.0,
          "ccn": 17,
          "coverage_basis": "estimated",
          "action": "add_tests",
          "coverage_tier": "none",
          "symbol_line": 15
        },
        "health_impact": 0.0,
        "reason": "parseWorkspace has CRAP 306 (complexity 17, estimated, no test found reaching it)",
        "dimension": "advisory",
        "id": "finding_73748342cd33391dda21"
      }
    ],
    "kpis": {
      "hotspot_health": null,
      "average_health": 8.49,
      "worst_performer_path": "account.ts",
      "worst_performer_score": 8.42,
      "worst_test_path": null,
      "worst_test_score": null,
      "file_count": 3,
      "maintainability_average": 8.18,
      "maintainability_hotspot": null,
      "performance_average": 10.0,
      "performance_hotspot": null,
      "structure_average": 1.51,
      "history_average": 0.0,
      "structure_hotspot": null,
      "history_hotspot": null,
      "production_average": 8.49,
      "production_file_count": 3,
      "unanalysed_file_count": 0,
      "analysed_share": 1.0
    },
    "repo_function_mod_p80": null,
    "suggestions": [
      {
        "refactoring_type": "extract_method",
        "file_path": "account.ts",
        "target_symbol": "parseAccount",
        "line_start": 15,
        "line_end": 56,
        "impact_delta": 0.193,
        "effort_bucket": "S",
        "confidence": "high",
        "source_biomarker": "complex_method"
      },
      {
        "refactoring_type": "extract_method",
        "file_path": "workspace.ts",
        "target_symbol": "parseWorkspace",
        "line_start": 15,
        "line_end": 56,
        "impact_delta": 0.193,
        "effort_bucket": "S",
        "confidence": "high",
        "source_biomarker": "complex_method"
      }
    ]
  },
  "trees/web": {
    "metrics": [
      {
        "file_path": "handlers.py",
        "score": 6.91,
        "max_ccn": 12,
        "max_nesting": 3,
        "nloc": 182,
        "has_test_file": false,
        "module": null,
        "duplication_pct": 85.42,
        "line_coverage_pct": null,
        "branch_coverage_pct": null,
        "defect_score": 6.91,
        "maintainability_score": 8.0,
        "performance_score": 10.0,
        "structure_deduction": 3.084,
        "history_deduction": 0.0,
        "is_test": false,
        "code_origin": "production"
      }
    ],
    "findings": [
      {
        "biomarker_type": "complex_method",
        "severity": "medium",
        "file_path": "handlers.py",
        "function_name": "read_account",
        "line_start": 22,
        "line_end": 48,
        "details": {
          "ccn": 12,
          "cognitive": 16,
          "nloc": 26,
          "dispatch_share": 0.36,
          "symbol_line": 22,
          "deepest_block": {
            "start": 40,
            "end": 46
          }
        },
        "health_impact": 0.514,
        "reason": "read_account has cyclomatic complexity 12",
        "dimension": "defect",
        "id": "finding_c58a781745af6691c556"
      },
      {
        "biomarker_type": "complex_method",
        "severity": "medium",
        "file_path": "handlers.py",
        "function_name": "close_account",
        "line_start": 52,
        "line_end": 71,
        "details": {
          "ccn": 10,
          "cognitive": 11,
          "nloc": 19,
          "dispatch_share": 0.0,
          "symbol_line": 52,
          "deepest_block": {
            "start": 62,
            "end": 67
          }
        },
        "health_impact": 0.514,
        "reason": "close_account has cyclomatic complexity 10",
        "dimension": "defect",
        "id": "finding_8b967d56d3c522a17535"
      },
      {
        "biomarker_type": "complex_method",
        "severity": "medium",
        "file_path": "handlers.py",
        "function_name": "read_workspace",
        "line_start": 86,
        "line_end": 112,
        "details": {
          "ccn": 12,
          "cognitive": 16,
          "nloc": 26,
          "dispatch_share": 0.36,
          "symbol_line": 86,
          "deepest_block": {
            "start": 104,
            "end": 110
          }
        },
        "health_impact": 0.514,
        "reason": "read_workspace has cyclomatic complexity 12",
        "dimension": "defect",
        "id": "finding_0b6ecfa0a2ac9cd7addc"
      },
      {
        "biomarker_type": "complex_method",
        "severity": "medium",
        "file_path": "handlers.py",
        "function_name": "close_workspace",
        "line_start": 116,
        "line_end": 135,
        "details": {
          "ccn": 10,
          "cognitive": 11,
          "nloc": 19,
          "dispatch_share": 0.0,
          "symbol_line": 116,
          "deepest_block": {
            "start": 126,
            "end": 131
          }
        },
        "health_impact": 0.514,
        "reason": "close_workspace has cyclomatic complexity 10",
        "dimension": "defect",
        "id": "finding_4934d3ca94e412af4fb3"
      },
      {
        "biomarker_type": "complex_method",
        "severity": "medium",
        "file_path": "handlers.py",
        "function_name": "read_project",
        "line_start": 150,
        "line_end": 176,
        "details": {
          "ccn": 12,
          "cognitive": 16,
          "nloc": 26,
          "dispatch_share": 0.36,
          "symbol_line": 150,
          "deepest_block": {
            "start": 168,
            "end": 174
          }
        },
        "health_impact": 0.514,
        "reason": "read_project has cyclomatic complexity 12",
        "dimension": "defect",
        "id": "finding_39991e29869edf38f6d2"
      },
      {
        "biomarker_type": "complex_method",
        "severity": "medium",
        "file_path": "handlers.py",
        "function_name": "close_project",
        "line_start": 180,
        "line_end": 199,
        "details": {
          "ccn": 10,
          "cognitive": 11,
          "nloc": 19,
          "dispatch_share": 0.0,
          "symbol_line": 180,
          "deepest_block": {
            "start": 190,
            "end": 195
          }
        },
        "health_impact": 0.514,
        "reason": "close_project has cyclomatic complexity 10",
        "dimension": "defect",
        "id": "finding_ebd7768c22e919caee2c"
      },
      {
        "biomarker_type": "untested_complexity",
        "severity": "medium",
        "file_path": "handlers.py",
        "function_name": "read_account",
        "line_start": 22,
        "line_end": 48,
        "details": {
          "crap": 156.0,
          "ccn": 12,
          "coverage_basis": "estimated",
          "action": "add_tests",
          "coverage_tier": "none",
          "symbol_line": 22
        },
        "health_impact": 0.0,
        "reason": "read_account has CRAP 156 (complexity 12, estimated, no test found reaching it)",
        "dimension": "advisory",
        "id": "finding_be3bc1e43f396ec4b1d2"
      },
      {
        "biomarker_type": "untested_complexity",
        "severity": "medium",
        "file_path": "handlers.py",
        "function_name": "close_account",
        "line_start": 52,
        "line_end": 71,
        "details": {
          "crap": 110.0,
          "ccn": 10,
          "coverage_basis": "estimated",
          "action": "add_tests",
          "coverage_tier": "none",
          "symbol_line": 52
        },
        "health_impact": 0.0,
        "reason": "close_account has CRAP 110 (complexity 10, estimated, no test found reaching it)",
        "dimension": "advisory",
        "id": "finding_8d5ebbeab16804227744"
      },
      {
        "biomarker_type": "untested_complexity",
        "severity": "medium",
        "file_path": "handlers.py",
        "function_name": "list_accounts",
        "line_start": 75,
        "line_end": 83,
        "details": {
          "crap": 30.0,
          "ccn": 5,
          "coverage_basis": "estimated",
          "action": "add_tests",
          "coverage_tier": "none",
          "symbol_line": 75
        },
        "health_impact": 0.0,
        "reason": "list_accounts has CRAP 30 (complexity 5, estimated, no test found reaching it)",
        "dimension": "advisory",
        "id": "finding_01fbce0dcb4b8c1cbbcf"
      },
      {
        "biomarker_type": "untested_complexity",
        "severity": "medium",
        "file_path": "handlers.py",
        "function_name": "read_workspace",
        "line_start": 86,
        "line_end": 112,
        "details": {
          "crap": 156.0,
          "ccn": 12,
          "coverage_basis": "estimated",
          "action": "add_tests",
          "coverage_tier": "none",
          "symbol_line": 86
        },
        "health_impact": 0.0,
        "reason": "read_workspace has CRAP 156 (complexity 12, estimated, no test found reaching it)",
        "dimension": "advisory",
        "id": "finding_c3ce87446b4e7949dc32"
      },
      {
        "biomarker_type": "untested_complexity",
        "severity": "medium",
        "file_path": "handlers.py",
        "function_name": "close_workspace",
        "line_start": 116,
        "line_end": 135,
        "details": {
          "crap": 110.0,
          "ccn": 10,
          "coverage_basis": "estimated",
          "action": "add_tests",
          "coverage_tier": "none",
          "symbol_line": 116
        },
        "health_impact": 0.0,
        "reason": "close_workspace has CRAP 110 (complexity 10, estimated, no test found reaching it)",
        "dimension": "advisory",
        "id": "finding_d01c9e91d2a81a69d705"
      },
      {
        "biomarker_type": "untested_complexity",
        "severity": "medium",
        "file_path": "handlers.py",
        "function_name": "list_workspaces",
        "line_start": 139,
        "line_end": 147,
        "details": {
          "crap": 30.0,
          "ccn": 5,
          "coverage_basis": "estimated",
          "action": "add_tests",
          "coverage_tier": "none",
          "symbol_line": 139
        },
        "health_impact": 0.0,
        "reason": "list_workspaces has CRAP 30 (complexity 5, estimated, no test found reaching it)",
        "dimension": "advisory",
        "id": "finding_ea0dc36989d7db2e3cd9"
      },
      {
        "biomarker_type": "untested_complexity",
        "severity": "medium",
        "file_path": "handlers.py",
        "function_name": "read_project",
        "line_start": 150,
        "line_end": 176,
        "details": {
          "crap": 156.0,
          "ccn": 12,
          "coverage_basis": "estimated",
          "action": "add_tests",
          "coverage_tier": "none",
          "symbol_line": 150
        },
        "health_impact": 0.0,
        "reason": "read_project has CRAP 156 (complexity 12, estimated, no test found reaching it)",
        "dimension": "advisory",
        "id": "finding_dc33685f497d775411c5"
      },
      {
        "biomarker_type": "untested_complexity",
        "severity": "medium",
        "file_path": "handlers.py",
        "function_name": "close_project",
        "line_start": 180,
        "line_end": 199,
        "details": {
          "crap": 110.0,
          "ccn": 10,
          "coverage_basis": "estimated",
          "action": "add_tests",
          "coverage_tier": "none",
          "symbol_line": 180
        },
        "health_impact": 0.0,
        "reason": "close_project has CRAP 110 (complexity 10, estimated, no test found reaching it)",
        "dimension": "advisory",
        "id": "finding_47eeb076a35072b87323"
      },
      {
        "biomarker_type": "untested_complexity",
        "severity": "medium",
        "file_path": "handlers.py",
        "function_name": "list_projects",
        "line_start": 203,
        "line_end": 211,
        "details": {
          "crap": 30.0,
          "ccn": 5,
          "coverage_basis": "estimated",
          "action": "add_tests",
          "coverage_tier": "none",
          "symbol_line": 203
        },
        "health_impact": 0.0,
        "reason": "list_projects has CRAP 30 (complexity 5, estimated, no test found reaching it)",
        "dimension": "advisory",
        "id": "finding_1941c4a02c0d4659337a"
      }
    ],
    "kpis": {
      "hotspot_health": null,
      "average_health": 6.91,
      "worst_performer_path": "handlers.py",
      "worst_performer_score": 6.91,
      "worst_test_path": null,
      "worst_test_score": null,
      "file_count": 1,
      "maintainability_average": 8.0,
      "maintainability_hotspot": null,
      "performance_average": 10.0,
      "performance_hotspot": null,
      "structure_average": 3.09,
      "history_average": 0.0,
      "structure_hotspot": null,
      "history_hotspot": null,
      "production_average": 6.91,
      "production_file_count": 1,
      "unanalysed_file_count": 0,
      "analysed_share": 1.0
    },
    "repo_function_mod_p80": null,
    "suggestions": [
      {
        "refactoring_type": "extract_method",
        "file_path": "handlers.py",
        "target_symbol": "read_account",
        "line_start": 22,
        "line_end": 48,
        "impact_delta": 0.097,
        "effort_bucket": "S",
        "confidence": "high",
        "source_biomarker": "complex_method"
      },
      {
        "refactoring_type": "extract_method",
        "file_path": "handlers.py",
        "target_symbol": "read_project",
        "line_start": 150,
        "line_end": 176,
        "impact_delta": 0.097,
        "effort_bucket": "S",
        "confidence": "high",
        "source_biomarker": "complex_method"
      },
      {
        "refactoring_type": "extract_method",
        "file_path": "handlers.py",
        "target_symbol": "read_workspace",
        "line_start": 86,
        "line_end": 112,
        "impact_delta": 0.097,
        "effort_bucket": "S",
        "confidence": "high",
        "source_biomarker": "complex_method"
      },
      {
        "refactoring_type": "extract_helper",
        "file_path": "handlers.py",
        "target_symbol": "handlers.py:25-47",
        "line_start": 25,
        "line_end": 47,
        "impact_delta": 0.0,
        "effort_bucket": "S",
        "confidence": "medium",
        "source_biomarker": "dry_violation"
      },
      {
        "refactoring_type": "extract_helper",
        "file_path": "handlers.py",
        "target_symbol": "handlers.py:89-111",
        "line_start": 89,
        "line_end": 111,
        "impact_delta": 0.0,
        "effort_bucket": "S",
        "confidence": "medium",
        "source_biomarker": "dry_violation"
      }
    ]
  },
  "lang_samples": {
    "metrics": [
      {
        "file_path": "apex/AccountService.cls",
        "score": 10.0,
        "max_ccn": 1,
        "max_nesting": 0,
        "nloc": 36,
        "has_test_file": false,
        "module": "apex",
        "duplication_pct": null,
        "line_coverage_pct": null,
        "branch_coverage_pct": null,
        "defect_score": 10.0,
        "maintainability_score": 10.0,
        "performance_score": 10.0,
        "structure_deduction": 0.0,
        "history_deduction": 0.0,
        "is_test": false,
        "code_origin": "production"
      },
      {
        "file_path": "apex/AccountTrigger.trigger",
        "score": 10.0,
        "max_ccn": 1,
        "max_nesting": 0,
        "nloc": 4,
        "has_test_file": false,
        "module": "apex",
        "duplication_pct": null,
        "line_coverage_pct": null,
        "branch_coverage_pct": null,
        "defect_score": 10.0,
        "maintainability_score": 10.0,
        "performance_score": 10.0,
        "structure_deduction": 0.0,
        "history_deduction": 0.0,
        "is_test": false,
        "code_origin": "production"
      },
      {
        "file_path": "apex/HealthMarkersTest.cls",
        "score": 10.0,
        "max_ccn": 1,
        "max_nesting": 0,
        "nloc": 16,
        "has_test_file": true,
        "module": "apex",
        "duplication_pct": null,
        "line_coverage_pct": null,
        "branch_coverage_pct": null,
        "defect_score": 10.0,
        "maintainability_score": 10.0,
        "performance_score": 10.0,
        "structure_deduction": 0.0,
        "history_deduction": 0.0,
        "is_test": true,
        "code_origin": "test"
      },
      {
        "file_path": "apex/assertions.cls",
        "score": 10.0,
        "max_ccn": 1,
        "max_nesting": 0,
        "nloc": 34,
        "has_test_file": true,
        "module": "apex",
        "duplication_pct": null,
        "line_coverage_pct": null,
        "branch_coverage_pct": null,
        "defect_score": 10.0,
        "maintainability_score": 10.0,
        "performance_score": 10.0,
        "structure_deduction": 0.0,
        "history_deduction": 0.0,
        "is_test": true,
        "code_origin": "test"
      },
      {
        "file_path": "apex/classes.cls",
        "score": 10.0,
        "max_ccn": 2,
        "max_nesting": 1,
        "nloc": 53,
        "has_test_file": false,
        "module": "apex",
        "duplication_pct": null,
        "line_coverage_pct": null,
        "branch_coverage_pct": null,
        "defect_score": 10.0,
        "maintainability_score": 10.0,
        "performance_score": 10.0,
        "structure_deduction": 0.0,
        "history_deduction": 0.0,
        "is_test": false,
        "code_origin": "production"
      },
      {
        "file_path": "apex/health_markers.cls",
        "score": 10.0,
        "max_ccn": 1,
        "max_nesting": 0,
        "nloc": 56,
        "has_test_file": false,
        "module": "apex",
        "duplication_pct": null,
        "line_coverage_pct": null,
        "branch_coverage_pct": null,
        "defect_score": 10.0,
        "maintainability_score": 10.0,
        "performance_score": 10.0,
        "structure_deduction": 0.0,
        "history_deduction": 0.0,
        "is_test": false,
        "code_origin": "production"
      },
      {
        "file_path": "apex/nested.cls",
        "score": 8.55,
        "max_ccn": 7,
        "max_nesting": 5,
        "nloc": 60,
        "has_test_file": false,
        "module": "apex",
        "duplication_pct": null,
        "line_coverage_pct": null,
        "branch_coverage_pct": null,
        "defect_score": 8.55,
        "maintainability_score": 8.8,
        "performance_score": 10.0,
        "structure_deduction": 1.452,
        "history_deduction": 0.0,
        "is_test": false,
        "code_origin": "production"
      },
      {
        "file_path": "apex/perf_io_in_loop.cls",
        "score": 10.0,
        "max_ccn": 3,
        "max_nesting": 2,
        "nloc": 119,
        "has_test_file": false,
        "module": "apex",
        "duplication_pct": null,
        "line_coverage_pct": null,
        "branch_coverage_pct": null,
        "defect_score": 10.0,
        "maintainability_score": 10.0,
        "performance_score": 8.0,
        "structure_deduction": 0.0,
        "history_deduction": 0.0,
        "is_test": false,
        "code_origin": "production"
      },
      {
        "file_path": "cpp/assertions.cpp",
        "score": 10.0,
        "max_ccn": 1,
        "max_nesting": 0,
        "nloc": 23,
        "has_test_file": false,
        "module": "cpp",
        "duplication_pct": 64.0,
        "line_coverage_pct": null,
        "branch_coverage_pct": null,
        "defect_score": 10.0,
        "maintainability_score": 10.0,
        "performance_score": 10.0,
        "structure_deduction": 0.0,
        "history_deduction": 0.0,
        "is_test": false,
        "code_origin": "production"
      },
      {
        "file_path": "cpp/classes.cpp",
        "score": 10.0,
        "max_ccn": 2,
        "max_nesting": 1,
        "nloc": 39,
        "has_test_file": false,
        "module": "cpp",
        "duplication_pct": null,
        "line_coverage_pct": null,
        "branch_coverage_pct": null,
        "defect_score": 10.0,
        "maintainability_score": 10.0,
        "performance_score": 10.0,
        "structure_deduction": 0.0,
        "history_deduction": 0.0,
        "is_test": false,
        "code_origin": "production"
      },
      {
        "file_path": "cpp/nested.cpp",
        "score": 9.12,
        "max_ccn": 9,
        "max_nesting": 4,
        "nloc": 24,
        "has_test_file": false,
        "module": "cpp",
        "duplication_pct": null,
        "line_coverage_pct": null,
        "branch_coverage_pct": null,
        "defect_score": 9.12,
        "maintainability_score": 9.3,
        "performance_score": 10.0,
        "structure_deduction": 0.883,
        "history_deduction": 0.0,
        "is_test": false,
        "code_origin": "production"
      },
      {
        "file_path": "csharp/PerfIoInLoop.cs",
        "score": 10.0,
        "max_ccn": 2,
        "max_nesting": 1,
        "nloc": 69,
        "has_test_file": false,
        "module": "csharp",
        "duplication_pct": null,
        "line_coverage_pct": null,
        "branch_coverage_pct": null,
        "defect_score": 10.0,
        "maintainability_score": 10.0,
        "performance_score": 8.0,
        "structure_deduction": 0.0,
        "history_deduction": 0.0,
        "is_test": false,
        "code_origin": "production"
      },
      {
        "file_path": "csharp/assertions.cs",
        "score": 10.0,
        "max_ccn": 1,
        "max_nesting": 0,
        "nloc": 28,
        "has_test_file": false,
        "module": "csharp",
        "duplication_pct": 53.33,
        "line_coverage_pct": null,
        "branch_coverage_pct": null,
        "defect_score": 10.0,
        "maintainability_score": 10.0,
        "performance_score": 10.0,
        "structure_deduction": 0.0,
        "history_deduction": 0.0,
        "is_test": false,
        "code_origin": "production"
      },
      {
        "file_path": "csharp/classes.cs",
        "score": 10.0,
        "max_ccn": 2,
        "max_nesting": 1,
        "nloc": 48,
        "has_test_file": false,
        "module": "csharp",
        "duplication_pct": null,
        "line_coverage_pct": null,
        "branch_coverage_pct": null,
        "defect_score": 10.0,
        "maintainability_score": 10.0,
        "performance_score": 10.0,
        "structure_deduction": 0.0,
        "history_deduction": 0.0,
        "is_test": false,
        "code_origin": "production"
      },
      {
        "file_path": "csharp/nested.cs",
        "score": 9.12,
        "max_ccn": 9,
        "max_nesting": 4,
        "nloc": 34,
        "has_test_file": false,
        "module": "csharp",
        "duplication_pct": null,
        "line_coverage_pct": null,
        "branch_coverage_pct": null,
        "defect_score": 9.12,
        "maintainability_score": 9.3,
        "performance_score": 10.0,
        "structure_deduction": 0.883,
        "history_deduction": 0.0,
        "is_test": false,
        "code_origin": "production"
      },
      {
        "file_path": "dart/assertions.dart",
        "score": 10.0,
        "max_ccn": 1,
        "max_nesting": 0,
        "nloc": 12,
        "has_test_file": false,
        "module": "dart",
        "duplication_pct": null,
        "line_coverage_pct": null,
        "branch_coverage_pct": null,
        "defect_score": 10.0,
        "maintainability_score": 10.0,
        "performance_score": 10.0,
        "structure_deduction": 0.0,
        "history_deduction": 0.0,
        "is_test": false,
        "code_origin": "production"
      },
      {
        "file_path": "dart/classes.dart",
        "score": 10.0,
        "max_ccn": 1,
        "max_nesting": 0,
        "nloc": 34,
        "has_test_file": false,
        "module": "dart",
        "duplication_pct": null,
        "line_coverage_pct": null,
        "branch_coverage_pct": null,
        "defect_score": 10.0,
        "maintainability_score": 10.0,
        "performance_score": 10.0,
        "structure_deduction": 0.0,
        "history_deduction": 0.0,
        "is_test": false,
        "code_origin": "production"
      },
      {
        "file_path": "dart/nested.dart",
        "score": 8.34,
        "max_ccn": 9,
        "max_nesting": 4,
        "nloc": 24,
        "has_test_file": false,
        "module": "dart",
        "duplication_pct": null,
        "line_coverage_pct": null,
        "branch_coverage_pct": null,
        "defect_score": 8.34,
        "maintainability_score": 8.6,
        "performance_score": 10.0,
        "structure_deduction": 1.657,
        "history_deduction": 0.0,
        "is_test": false,
        "code_origin": "production"
      },
      {
        "file_path": "dart/perf_io_in_loop.dart",
        "score": 10.0,
        "max_ccn": 2,
        "max_nesting": 1,
        "nloc": 34,
        "has_test_file": false,
        "module": "dart",
        "duplication_pct": null,
        "line_coverage_pct": null,
        "branch_coverage_pct": null,
        "defect_score": 10.0,
        "maintainability_score": 10.0,
        "performance_score": 8.0,
        "structure_deduction": 0.0,
        "history_deduction": 0.0,
        "is_test": false,
        "code_origin": "production"
      },
      {
        "file_path": "go/conditionals.go",
        "score": 10.0,
        "max_ccn": 8,
        "max_nesting": 1,
        "nloc": 19,
        "has_test_file": false,
        "module": "go",
        "duplication_pct": null,
        "line_coverage_pct": null,
        "branch_coverage_pct": null,
        "defect_score": 10.0,
        "maintainability_score": 10.0,
        "performance_score": 10.0,
        "structure_deduction": 0.0,
        "history_deduction": 0.0,
        "is_test": false,
        "code_origin": "production"
      },
      {
        "file_path": "go/nested.go",
        "score": 8.55,
        "max_ccn": 6,
        "max_nesting": 5,
        "nloc": 19,
        "has_test_file": false,
        "module": "go",
        "duplication_pct": null,
        "line_coverage_pct": null,
        "branch_coverage_pct": null,
        "defect_score": 8.55,
        "maintainability_score": 8.8,
        "performance_score": 10.0,
        "structure_deduction": 1.452,
        "history_deduction": 0.0,
        "is_test": false,
        "code_origin": "production"
      },
      {
        "file_path": "go/perf_io_in_loop.go",
        "score": 9.86,
        "max_ccn": 2,
        "max_nesting": 1,
        "nloc": 56,
        "has_test_file": false,
        "module": "go",
        "duplication_pct": null,
        "line_coverage_pct": null,
        "branch_coverage_pct": null,
        "defect_score": 9.86,
        "maintainability_score": 9.7,
        "performance_score": 8.0,
        "structure_deduction": 0.143,
        "history_deduction": 0.0,
        "is_test": false,
        "code_origin": "production"
      },
      {
        "file_path": "java/Conditionals.java",
        "score": 10.0,
        "max_ccn": 8,
        "max_nesting": 1,
        "nloc": 20,
        "has_test_file": false,
        "module": "java",
        "duplication_pct": null,
        "line_coverage_pct": null,
        "branch_coverage_pct": null,
        "defect_score": 10.0,
        "maintainability_score": 10.0,
        "performance_score": 10.0,
        "structure_deduction": 0.0,
        "history_deduction": 0.0,
        "is_test": false,
        "code_origin": "production"
      },
      {
        "file_path": "java/Nested.java",
        "score": 8.41,
        "max_ccn": 7,
        "max_nesting": 5,
        "nloc": 23,
        "has_test_file": false,
        "module": "java",
        "duplication_pct": null,
        "line_coverage_pct": null,
        "branch_coverage_pct": null,
        "defect_score": 8.41,
        "maintainability_score": 8.5,
        "performance_score": 10.0,
        "structure_deduction": 1.595,
        "history_deduction": 0.0,
        "is_test": false,
        "code_origin": "production"
      },
      {
        "file_path": "java/PerfIoInLoop.java",
        "score": 10.0,
        "max_ccn": 2,
        "max_nesting": 1,
        "nloc": 53,
        "has_test_file": false,
        "module": "java",
        "duplication_pct": null,
        "line_coverage_pct": null,
        "branch_coverage_pct": null,
        "defect_score": 10.0,
        "maintainability_score": 10.0,
        "performance_score": 8.0,
        "structure_deduction": 0.0,
        "history_deduction": 0.0,
        "is_test": false,
        "code_origin": "production"
      },
      {
        "file_path": "javascript/nested.js",
        "score": 8.41,
        "max_ccn": 7,
        "max_nesting": 5,
        "nloc": 20,
        "has_test_file": false,
        "module": "javascript",
        "duplication_pct": null,
        "line_coverage_pct": null,
        "branch_coverage_pct": null,
        "defect_score": 8.41,
        "maintainability_score": 8.5,
        "performance_score": 10.0,
        "structure_deduction": 1.595,
        "history_deduction": 0.0,
        "is_test": false,
        "code_origin": "production"
      },
      {
        "file_path": "javascript/route.js",
        "score": 10.0,
        "max_ccn": 3,
        "max_nesting": 1,
        "nloc": 28,
        "has_test_file": false,
        "module": "javascript",
        "duplication_pct": null,
        "line_coverage_pct": null,
        "branch_coverage_pct": null,
        "defect_score": 10.0,
        "maintainability_score": 10.0,
        "performance_score": 10.0,
        "structure_deduction": 0.0,
        "history_deduction": 0.0,
        "is_test": false,
        "code_origin": "production"
      },
      {
        "file_path": "kotlin/assertions.kt",
        "score": 10.0,
        "max_ccn": 1,
        "max_nesting": 0,
        "nloc": 23,
        "has_test_file": false,
        "module": "kotlin",
        "duplication_pct": 66.67,
        "line_coverage_pct": null,
        "branch_coverage_pct": null,
        "defect_score": 10.0,
        "maintainability_score": 10.0,
        "performance_score": 10.0,
        "structure_deduction": 0.0,
        "history_deduction": 0.0,
        "is_test": false,
        "code_origin": "production"
      },
      {
        "file_path": "kotlin/classes.kt",
        "score": 10.0,
        "max_ccn": 2,
        "max_nesting": 1,
        "nloc": 37,
        "has_test_file": false,
        "module": "kotlin",
        "duplication_pct": null,
        "line_coverage_pct": null,
        "branch_coverage_pct": null,
        "defect_score": 10.0,
        "maintainability_score": 10.0,
        "performance_score": 10.0,
        "structure_deduction": 0.0,
        "history_deduction": 0.0,
        "is_test": false,
        "code_origin": "production"
      },
      {
        "file_path": "kotlin/nested.kt",
        "score": 9.12,
        "max_ccn": 9,
        "max_nesting": 4,
        "nloc": 24,
        "has_test_file": false,
        "module": "kotlin",
        "duplication_pct": null,
        "line_coverage_pct": null,
        "branch_coverage_pct": null,
        "defect_score": 9.12,
        "maintainability_score": 9.3,
        "performance_score": 10.0,
        "structure_deduction": 0.883,
        "history_deduction": 0.0,
        "is_test": false,
        "code_origin": "production"
      },
      {
        "file_path": "lean/BigOperators.lean",
        "score": null,
        "max_ccn": null,
        "max_nesting": null,
        "nloc": 3,
        "has_test_file": false,
        "module": "lean",
        "duplication_pct": null,
        "line_coverage_pct": null,
        "branch_coverage_pct": null,
        "defect_score": null,
        "maintainability_score": null,
        "performance_score": null,
        "structure_deduction": null,
        "history_deduction": null,
        "is_test": false,
        "code_origin": "production"
      },
      {
        "file_path": "lean/Main.lean",
        "score": null,
        "max_ccn": null,
        "max_nesting": null,
        "nloc": 4,
        "has_test_file": false,
        "module": "lean",
        "duplication_pct": null,
        "line_coverage_pct": null,
        "branch_coverage_pct": null,
        "defect_score": null,
        "maintainability_score": null,
        "performance_score": null,
        "structure_deduction": null,
        "history_deduction": null,
        "is_test": false,
        "code_origin": "production"
      },
      {
        "file_path": "lean/Plain/Local.lean",
        "score": null,
        "max_ccn": null,
        "max_nesting": null,
        "nloc": 3,
        "has_test_file": false,
        "module": "lean",
        "duplication_pct": null,
        "line_coverage_pct": null,
        "branch_coverage_pct": null,
        "defect_score": null,
        "maintainability_score": null,
        "performance_score": null,
        "structure_deduction": null,
        "history_deduction": null,
        "is_test": false,
        "code_origin": "production"
      },
      {
        "file_path": "lean/Public/Visible.lean",
        "score": null,
        "max_ccn": null,
        "max_nesting": null,
        "nloc": 3,
        "has_test_file": false,
        "module": "lean",
        "duplication_pct": null,
        "line_coverage_pct": null,
        "branch_coverage_pct": null,
        "defect_score": null,
        "maintainability_score": null,
        "performance_score": null,
        "structure_deduction": null,
        "history_deduction": null,
        "is_test": false,
        "code_origin": "production"
      },
      {
        "file_path": "pascal/complex.pas",
        "score": 9.23,
        "max_ccn": 13,
        "max_nesting": 1,
        "nloc": 40,
        "has_test_file": false,
        "module": "pascal",
        "duplication_pct": null,
        "line_coverage_pct": null,
        "branch_coverage_pct": null,
        "defect_score": 9.23,
        "maintainability_score": 9.3,
        "performance_score": 10.0,
        "structure_deduction": 0.774,
        "history_deduction": 0.0,
        "is_test": false,
        "code_origin": "production"
      },
      {
        "file_path": "pascal/nested.pas",
        "score": 8.55,
        "max_ccn": 6,
        "max_nesting": 5,
        "nloc": 32,
        "has_test_file": false,
        "module": "pascal",
        "duplication_pct": null,
        "line_coverage_pct": null,
        "branch_coverage_pct": null,
        "defect_score": 8.55,
        "maintainability_score": 8.8,
        "performance_score": 10.0,
        "structure_deduction": 1.452,
        "history_deduction": 0.0,
        "is_test": false,
        "code_origin": "production"
      },
      {
        "file_path": "php/assertions.php",
        "score": 10.0,
        "max_ccn": 1,
        "max_nesting": 0,
        "nloc": 18,
        "has_test_file": false,
        "module": "php",
        "duplication_pct": null,
        "line_coverage_pct": null,
        "branch_coverage_pct": null,
        "defect_score": 10.0,
        "maintainability_score": 10.0,
        "performance_score": 10.0,
        "structure_deduction": 0.0,
        "history_deduction": 0.0,
        "is_test": false,
        "code_origin": "production"
      },
      {
        "file_path": "php/classes.php",
        "score": 10.0,
        "max_ccn": 1,
        "max_nesting": 0,
        "nloc": 48,
        "has_test_file": false,
        "module": "php",
        "duplication_pct": null,
        "line_coverage_pct": null,
        "branch_coverage_pct": null,
        "defect_score": 10.0,
        "maintainability_score": 10.0,
        "performance_score": 10.0,
        "structure_deduction": 0.0,
        "history_deduction": 0.0,
        "is_test": false,
        "code_origin": "production"
      },
      {
        "file_path": "php/clean.php",
        "score": 10.0,
        "max_ccn": 1,
        "max_nesting": 0,
        "nloc": 7,
        "has_test_file": false,
        "module": "php",
        "duplication_pct": null,
        "line_coverage_pct": null,
        "branch_coverage_pct": null,
        "defect_score": 10.0,
        "maintainability_score": 10.0,
        "performance_score": 10.0,
        "structure_deduction": 0.0,
        "history_deduction": 0.0,
        "is_test": false,
        "code_origin": "production"
      },
      {
        "file_path": "php/nested.php",
        "score": 9.12,
        "max_ccn": 7,
        "max_nesting": 4,
        "nloc": 89,
        "has_test_file": false,
        "module": "php",
        "duplication_pct": null,
        "line_coverage_pct": null,
        "branch_coverage_pct": null,
        "defect_score": 9.12,
        "maintainability_score": 9.3,
        "performance_score": 10.0,
        "structure_deduction": 0.883,
        "history_deduction": 0.0,
        "is_test": false,
        "code_origin": "production"
      },
      {
        "file_path": "python/assertions.py",
        "score": 10.0,
        "max_ccn": 1,
        "max_nesting": 0,
        "nloc": 36,
        "has_test_file": false,
        "module": "python",
        "duplication_pct": 47.22,
        "line_coverage_pct": null,
        "branch_coverage_pct": null,
        "defect_score": 10.0,
        "maintainability_score": 10.0,
        "performance_score": 10.0,
        "structure_deduction": 0.0,
        "history_deduction": 0.0,
        "is_test": false,
        "code_origin": "production"
      },
      {
        "file_path": "python/classes.py",
        "score": 9.66,
        "max_ccn": 2,
        "max_nesting": 1,
        "nloc": 34,
        "has_test_file": false,
        "module": "python",
        "duplication_pct": null,
        "line_coverage_pct": null,
        "branch_coverage_pct": null,
        "defect_score": 9.66,
        "maintainability_score": 9.3,
        "performance_score": 10.0,
        "structure_deduction": 0.342,
        "history_deduction": 0.0,
        "is_test": false,
        "code_origin": "production"
      },
      {
        "file_path": "python/complex.py",
        "score": 8.75,
        "max_ccn": 15,
        "max_nesting": 2,
        "nloc": 21,
        "has_test_file": false,
        "module": "python",
        "duplication_pct": null,
        "line_coverage_pct": null,
        "branch_coverage_pct": null,
        "defect_score": 8.75,
        "maintainability_score": 8.8,
        "performance_score": 10.0,
        "structure_deduction": 1.247,
        "history_deduction": 0.0,
        "is_test": false,
        "code_origin": "production"
      },
      {
        "file_path": "python/conditionals.py",
        "score": 10.0,
        "max_ccn": 8,
        "max_nesting": 1,
        "nloc": 12,
        "has_test_file": false,
        "module": "python",
        "duplication_pct": null,
        "line_coverage_pct": null,
        "branch_coverage_pct": null,
        "defect_score": 10.0,
        "maintainability_score": 10.0,
        "performance_score": 10.0,
        "structure_deduction": 0.0,
        "history_deduction": 0.0,
        "is_test": false,
        "code_origin": "production"
      },
      {
        "file_path": "python/match.py",
        "score": 10.0,
        "max_ccn": 5,
        "max_nesting": 1,
        "nloc": 19,
        "has_test_file": false,
        "module": "python",
        "duplication_pct": null,
        "line_coverage_pct": null,
        "branch_coverage_pct": null,
        "defect_score": 10.0,
        "maintainability_score": 10.0,
        "performance_score": 10.0,
        "structure_deduction": 0.0,
        "history_deduction": 0.0,
        "is_test": false,
        "code_origin": "production"
      },
      {
        "file_path": "python/nested.py",
        "score": 8.28,
        "max_ccn": 7,
        "max_nesting": 5,
        "nloc": 14,
        "has_test_file": false,
        "module": "python",
        "duplication_pct": null,
        "line_coverage_pct": null,
        "branch_coverage_pct": null,
        "defect_score": 8.28,
        "maintainability_score": 8.2,
        "performance_score": 10.0,
        "structure_deduction": 1.724,
        "history_deduction": 0.0,
        "is_test": false,
        "code_origin": "production"
      },
      {
        "file_path": "python/perf_io_in_loop.py",
        "score": 10.0,
        "max_ccn": 2,
        "max_nesting": 1,
        "nloc": 54,
        "has_test_file": false,
        "module": "python",
        "duplication_pct": null,
        "line_coverage_pct": null,
        "branch_coverage_pct": null,
        "defect_score": 10.0,
        "maintainability_score": 10.0,
        "performance_score": 8.0,
        "structure_deduction": 0.0,
        "history_deduction": 0.0,
        "is_test": false,
        "code_origin": "production"
      },
      {
        "file_path": "python/py_overload_init.py",
        "score": 10.0,
        "max_ccn": 1,
        "max_nesting": 0,
        "nloc": 23,
        "has_test_file": false,
        "module": "python",
        "duplication_pct": null,
        "line_coverage_pct": null,
        "branch_coverage_pct": null,
        "defect_score": 10.0,
        "maintainability_score": 10.0,
        "performance_score": 10.0,
        "structure_deduction": 0.0,
        "history_deduction": 0.0,
        "is_test": false,
        "code_origin": "production"
      },
      {
        "file_path": "ruby/assertions.rb",
        "score": 10.0,
        "max_ccn": 1,
        "max_nesting": 0,
        "nloc": 17,
        "has_test_file": false,
        "module": "ruby",
        "duplication_pct": null,
        "line_coverage_pct": null,
        "branch_coverage_pct": null,
        "defect_score": 10.0,
        "maintainability_score": 10.0,
        "performance_score": 10.0,
        "structure_deduction": 0.0,
        "history_deduction": 0.0,
        "is_test": false,
        "code_origin": "production"
      },
      {
        "file_path": "ruby/classes.rb",
        "score": 10.0,
        "max_ccn": 2,
        "max_nesting": 1,
        "nloc": 40,
        "has_test_file": false,
        "module": "ruby",
        "duplication_pct": null,
        "line_coverage_pct": null,
        "branch_coverage_pct": null,
        "defect_score": 10.0,
        "maintainability_score": 10.0,
        "performance_score": 10.0,
        "structure_deduction": 0.0,
        "history_deduction": 0.0,
        "is_test": false,
        "code_origin": "production"
      },
      {
        "file_path": "ruby/nested.rb",
        "score": 9.12,
        "max_ccn": 7,
        "max_nesting": 4,
        "nloc": 81,
        "has_test_file": false,
        "module": "ruby",
        "duplication_pct": null,
        "line_coverage_pct": null,
        "branch_coverage_pct": null,
        "defect_score": 9.12,
        "maintainability_score": 9.3,
        "performance_score": 10.0,
        "structure_deduction": 0.883,
        "history_deduction": 0.0,
        "is_test": false,
        "code_origin": "production"
      },
      {
        "file_path": "ruby/perf_io_in_loop.rb",
        "score": 10.0,
        "max_ccn": 2,
        "max_nesting": 0,
        "nloc": 73,
        "has_test_file": false,
        "module": "ruby",
        "duplication_pct": null,
        "line_coverage_pct": null,
        "branch_coverage_pct": null,
        "defect_score": 10.0,
        "maintainability_score": 10.0,
        "performance_score": 8.0,
        "structure_deduction": 0.0,
        "history_deduction": 0.0,
        "is_test": false,
        "code_origin": "production"
      },
      {
        "file_path": "rust/conditionals.rs",
        "score": 10.0,
        "max_ccn": 8,
        "max_nesting": 1,
        "nloc": 18,
        "has_test_file": false,
        "module": "rust",
        "duplication_pct": null,
        "line_coverage_pct": null,
        "branch_coverage_pct": null,
        "defect_score": 10.0,
        "maintainability_score": 10.0,
        "performance_score": 10.0,
        "structure_deduction": 0.0,
        "history_deduction": 0.0,
        "is_test": false,
        "code_origin": "production"
      },
      {
        "file_path": "rust/flat_match.rs",
        "score": 10.0,
        "max_ccn": 5,
        "max_nesting": 2,
        "nloc": 31,
        "has_test_file": false,
        "module": "rust",
        "duplication_pct": null,
        "line_coverage_pct": null,
        "branch_coverage_pct": null,
        "defect_score": 10.0,
        "maintainability_score": 10.0,
        "performance_score": 10.0,
        "structure_deduction": 0.0,
        "history_deduction": 0.0,
        "is_test": false,
        "code_origin": "production"
      },
      {
        "file_path": "rust/nested.rs",
        "score": 8.55,
        "max_ccn": 6,
        "max_nesting": 5,
        "nloc": 19,
        "has_test_file": false,
        "module": "rust",
        "duplication_pct": null,
        "line_coverage_pct": null,
        "branch_coverage_pct": null,
        "defect_score": 8.55,
        "maintainability_score": 8.8,
        "performance_score": 10.0,
        "structure_deduction": 1.452,
        "history_deduction": 0.0,
        "is_test": false,
        "code_origin": "production"
      },
      {
        "file_path": "rust/perf_io_in_loop.rs",
        "score": 10.0,
        "max_ccn": 2,
        "max_nesting": 1,
        "nloc": 51,
        "has_test_file": false,
        "module": "rust",
        "duplication_pct": null,
        "line_coverage_pct": null,
        "branch_coverage_pct": null,
        "defect_score": 10.0,
        "maintainability_score": 10.0,
        "performance_score": 8.0,
        "structure_deduction": 0.0,
        "history_deduction": 0.0,
        "is_test": false,
        "code_origin": "production"
      },
      {
        "file_path": "scala/assertions.scala",
        "score": 10.0,
        "max_ccn": 1,
        "max_nesting": 0,
        "nloc": 19,
        "has_test_file": false,
        "module": "scala",
        "duplication_pct": null,
        "line_coverage_pct": null,
        "branch_coverage_pct": null,
        "defect_score": 10.0,
        "maintainability_score": 10.0,
        "performance_score": 10.0,
        "structure_deduction": 0.0,
        "history_deduction": 0.0,
        "is_test": false,
        "code_origin": "production"
      },
      {
        "file_path": "scala/classes.scala",
        "score": 9.66,
        "max_ccn": 2,
        "max_nesting": 1,
        "nloc": 50,
        "has_test_file": false,
        "module": "scala",
        "duplication_pct": null,
        "line_coverage_pct": null,
        "branch_coverage_pct": null,
        "defect_score": 9.66,
        "maintainability_score": 9.3,
        "performance_score": 10.0,
        "structure_deduction": 0.342,
        "history_deduction": 0.0,
        "is_test": false,
        "code_origin": "production"
      },
      {
        "file_path": "scala/nested.scala",
        "score": 7.77,
        "max_ccn": 9,
        "max_nesting": 5,
        "nloc": 49,
        "has_test_file": false,
        "module": "scala",
        "duplication_pct": null,
        "line_coverage_pct": null,
        "branch_coverage_pct": null,
        "defect_score": 7.77,
        "maintainability_score": 8.1,
        "performance_score": 10.0,
        "structure_deduction": 2.226,
        "history_deduction": 0.0,
        "is_test": false,
        "code_origin": "production"
      },
      {
        "file_path": "scala/perf_io_in_loop.scala",
        "score": 10.0,
        "max_ccn": 3,
        "max_nesting": 2,
        "nloc": 79,
        "has_test_file": false,
        "module": "scala",
        "duplication_pct": null,
        "line_coverage_pct": null,
        "branch_coverage_pct": null,
        "defect_score": 10.0,
        "maintainability_score": 10.0,
        "performance_score": 8.0,
        "structure_deduction": 0.0,
        "history_deduction": 0.0,
        "is_test": false,
        "code_origin": "production"
      },
      {
        "file_path": "shell/control_flow.sh",
        "score": 9.23,
        "max_ccn": 10,
        "max_nesting": 1,
        "nloc": 30,
        "has_test_file": false,
        "module": "shell",
        "duplication_pct": null,
        "line_coverage_pct": null,
        "branch_coverage_pct": null,
        "defect_score": 9.23,
        "maintainability_score": 9.3,
        "performance_score": 10.0,
        "structure_deduction": 0.774,
        "history_deduction": 0.0,
        "is_test": false,
        "code_origin": "production"
      },
      {
        "file_path": "shell/functions.sh",
        "score": 10.0,
        "max_ccn": 1,
        "max_nesting": 0,
        "nloc": 11,
        "has_test_file": false,
        "module": "shell",
        "duplication_pct": null,
        "line_coverage_pct": null,
        "branch_coverage_pct": null,
        "defect_score": 10.0,
        "maintainability_score": 10.0,
        "performance_score": 10.0,
        "structure_deduction": 0.0,
        "history_deduction": 0.0,
        "is_test": false,
        "code_origin": "production"
      },
      {
        "file_path": "shell/sourcing.sh",
        "score": 10.0,
        "max_ccn": 1,
        "max_nesting": 0,
        "nloc": 9,
        "has_test_file": false,
        "module": "shell",
        "duplication_pct": null,
        "line_coverage_pct": null,
        "branch_coverage_pct": null,
        "defect_score": 10.0,
        "maintainability_score": 10.0,
        "performance_score": 10.0,
        "structure_deduction": 0.0,
        "history_deduction": 0.0,
        "is_test": false,
        "code_origin": "production"
      },
      {
        "file_path": "shell/zero_functions.sh",
        "score": 10.0,
        "max_ccn": 1,
        "max_nesting": 0,
        "nloc": 5,
        "has_test_file": false,
        "module": "shell",
        "duplication_pct": null,
        "line_coverage_pct": null,
        "branch_coverage_pct": null,
        "defect_score": 10.0,
        "maintainability_score": 10.0,
        "performance_score": 10.0,
        "structure_deduction": 0.0,
        "history_deduction": 0.0,
        "is_test": false,
        "code_origin": "production"
      },
      {
        "file_path": "shell/zshisms.zsh",
        "score": 10.0,
        "max_ccn": 1,
        "max_nesting": 0,
        "nloc": 6,
        "has_test_file": false,
        "module": "shell",
        "duplication_pct": null,
        "line_coverage_pct": null,
        "branch_coverage_pct": null,
        "defect_score": 10.0,
        "maintainability_score": 10.0,
        "performance_score": 10.0,
        "structure_deduction": 0.0,
        "history_deduction": 0.0,
        "is_test": false,
        "code_origin": "production"
      },
      {
        "file_path": "swift/classes.swift",
        "score": 10.0,
        "max_ccn": 2,
        "max_nesting": 1,
        "nloc": 37,
        "has_test_file": false,
        "module": "swift",
        "duplication_pct": null,
        "line_coverage_pct": null,
        "branch_coverage_pct": null,
        "defect_score": 10.0,
        "maintainability_score": 10.0,
        "performance_score": 10.0,
        "structure_deduction": 0.0,
        "history_deduction": 0.0,
        "is_test": false,
        "code_origin": "production"
      },
      {
        "file_path": "swift/nested.swift",
        "score": 9.12,
        "max_ccn": 9,
        "max_nesting": 4,
        "nloc": 24,
        "has_test_file": false,
        "module": "swift",
        "duplication_pct": null,
        "line_coverage_pct": null,
        "branch_coverage_pct": null,
        "defect_score": 9.12,
        "maintainability_score": 9.3,
        "performance_score": 10.0,
        "structure_deduction": 0.883,
        "history_deduction": 0.0,
        "is_test": false,
        "code_origin": "production"
      },
      {
        "file_path": "typescript/assertions.ts",
        "score": 10.0,
        "max_ccn": 1,
        "max_nesting": 0,
        "nloc": 24,
        "has_test_file": false,
        "module": "typescript",
        "duplication_pct": 68.0,
        "line_coverage_pct": null,
        "branch_coverage_pct": null,
        "defect_score": 10.0,
        "maintainability_score": 10.0,
        "performance_score": 10.0,
        "structure_deduction": 0.0,
        "history_deduction": 0.0,
        "is_test": false,
        "code_origin": "production"
      },
      {
        "file_path": "typescript/classes.ts",
        "score": 9.66,
        "max_ccn": 2,
        "max_nesting": 1,
        "nloc": 37,
        "has_test_file": false,
        "module": "typescript",
        "duplication_pct": null,
        "line_coverage_pct": null,
        "branch_coverage_pct": null,
        "defect_score": 9.66,
        "maintainability_score": 9.3,
        "performance_score": 10.0,
        "structure_deduction": 0.342,
        "history_deduction": 0.0,
        "is_test": false,
        "code_origin": "production"
      },
      {
        "file_path": "typescript/conditionals.ts",
        "score": 10.0,
        "max_ccn": 8,
        "max_nesting": 1,
        "nloc": 26,
        "has_test_file": false,
        "module": "typescript",
        "duplication_pct": null,
        "line_coverage_pct": null,
        "branch_coverage_pct": null,
        "defect_score": 10.0,
        "maintainability_score": 10.0,
        "performance_score": 10.0,
        "structure_deduction": 0.0,
        "history_deduction": 0.0,
        "is_test": false,
        "code_origin": "production"
      },
      {
        "file_path": "typescript/nested.ts",
        "score": 8.41,
        "max_ccn": 7,
        "max_nesting": 5,
        "nloc": 21,
        "has_test_file": false,
        "module": "typescript",
        "duplication_pct": null,
        "line_coverage_pct": null,
        "branch_coverage_pct": null,
        "defect_score": 8.41,
        "maintainability_score": 8.5,
        "performance_score": 10.0,
        "structure_deduction": 1.595,
        "history_deduction": 0.0,
        "is_test": false,
        "code_origin": "production"
      },
      {
        "file_path": "typescript/perf_io_in_loop.ts",
        "score": 10.0,
        "max_ccn": 2,
        "max_nesting": 1,
        "nloc": 24,
        "has_test_file": false,
        "module": "typescript",
        "duplication_pct": null,
        "line_coverage_pct": null,
        "branch_coverage_pct": null,
        "defect_score": 10.0,
        "maintainability_score": 10.0,
        "performance_score": 8.0,
        "structure_deduction": 0.0,
        "history_deduction": 0.0,
        "is_test": false,
        "code_origin": "production"
      },
      {
        "file_path": "typescript/ts_class_modifiers.ts",
        "score": 10.0,
        "max_ccn": 1,
        "max_nesting": 0,
        "nloc": 30,
        "has_test_file": false,
        "module": "typescript",
        "duplication_pct": null,
        "line_coverage_pct": null,
        "branch_coverage_pct": null,
        "defect_score": 10.0,
        "maintainability_score": 10.0,
        "performance_score": 10.0,
        "structure_deduction": 0.0,
        "history_deduction": 0.0,
        "is_test": false,
        "code_origin": "production"
      },
      {
        "file_path": "typescript/ts_module_consts.ts",
        "score": 10.0,
        "max_ccn": 3,
        "max_nesting": 1,
        "nloc": 10,
        "has_test_file": false,
        "module": "typescript",
        "duplication_pct": null,
        "line_coverage_pct": null,
        "branch_coverage_pct": null,
        "defect_score": 10.0,
        "maintainability_score": 10.0,
        "performance_score": 10.0,
        "structure_deduction": 0.0,
        "history_deduction": 0.0,
        "is_test": false,
        "code_origin": "production"
      },
      {
        "file_path": "typescript/ts_overload_fn_method.ts",
        "score": 10.0,
        "max_ccn": 1,
        "max_nesting": 0,
        "nloc": 24,
        "has_test_file": false,
        "module": "typescript",
        "duplication_pct": null,
        "line_coverage_pct": null,
        "branch_coverage_pct": null,
        "defect_score": 10.0,
        "maintainability_score": 10.0,
        "performance_score": 10.0,
        "structure_deduction": 0.0,
        "history_deduction": 0.0,
        "is_test": false,
        "code_origin": "production"
      }
    ],
    "findings": [
      {
        "biomarker_type": "apex_see_all_data",
        "severity": "low",
        "file_path": "apex/HealthMarkersTest.cls",
        "function_name": "HealthMarkersTest",
        "line_start": 2,
        "line_end": 2,
        "details": {
          "value": "class",
          "symbol_line": 2
        },
        "health_impact": 0.0,
        "reason": "@IsTest(SeeAllData=true) on class HealthMarkersTest: the test reads the org's live data, so its result depends on the org it runs in",
        "dimension": "advisory",
        "id": "finding_36631da27da27fc56829"
      },
      {
        "biomarker_type": "apex_see_all_data",
        "severity": "low",
        "file_path": "apex/HealthMarkersTest.cls",
        "function_name": "readsOrgData",
        "line_start": 4,
        "line_end": 4,
        "details": {
          "value": "method",
          "symbol_line": 4
        },
        "health_impact": 0.0,
        "reason": "@IsTest(SeeAllData=true) on method readsOrgData: the test reads the org's live data, so its result depends on the org it runs in",
        "dimension": "advisory",
        "id": "finding_5ad2784c4b1e3692c080"
      },
      {
        "biomarker_type": "apex_soql_injection",
        "severity": "high",
        "file_path": "apex/health_markers.cls",
        "function_name": "byName",
        "line_start": 13,
        "line_end": 13,
        "details": {
          "value": "name",
          "symbol_line": 12
        },
        "health_impact": 0.0,
        "reason": "Dynamic query splices `name`, a String from outside the method, into a quoted SOQL literal with no escaping: bind it (`:value`) or pass it through String.escapeSingleQuotes",
        "dimension": "advisory",
        "id": "finding_f1341e96d7d388579f63"
      },
      {
        "biomarker_type": "apex_soql_injection",
        "severity": "high",
        "file_path": "apex/health_markers.cls",
        "function_name": "byBuiltClause",
        "line_start": 20,
        "line_end": 20,
        "details": {
          "value": "city",
          "symbol_line": 16
        },
        "health_impact": 0.0,
        "reason": "Dynamic query splices `city`, a String from outside the method, into a quoted SOQL literal with no escaping: bind it (`:value`) or pass it through String.escapeSingleQuotes",
        "dimension": "advisory",
        "id": "finding_4ae2e2ef6626a04cd197"
      },
      {
        "biomarker_type": "apex_soql_injection",
        "severity": "high",
        "file_path": "apex/health_markers.cls",
        "function_name": "bySearchProperty",
        "line_start": 24,
        "line_end": 24,
        "details": {
          "value": "searchText",
          "symbol_line": 23
        },
        "health_impact": 0.0,
        "reason": "Dynamic query splices `searchText`, a String from outside the method, into a quoted SOQL literal with no escaping: bind it (`:value`) or pass it through String.escapeSingleQuotes",
        "dimension": "advisory",
        "id": "finding_f43545b2aa74a6b7613f"
      },
      {
        "biomarker_type": "apex_soql_injection",
        "severity": "high",
        "file_path": "apex/health_markers.cls",
        "function_name": "byNames",
        "line_start": 28,
        "line_end": 28,
        "details": {
          "value": "names",
          "symbol_line": 27
        },
        "health_impact": 0.0,
        "reason": "Dynamic query splices `names`, a String from outside the method, into a quoted SOQL literal with no escaping: bind it (`:value`) or pass it through String.escapeSingleQuotes",
        "dimension": "advisory",
        "id": "finding_8f755e834430112253f6"
      },
      {
        "biomarker_type": "apex_missing_sharing",
        "severity": "medium",
        "file_path": "apex/health_markers.cls",
        "function_name": "HealthMarkers",
        "line_start": 4,
        "line_end": 4,
        "details": {
          "value": "line 13",
          "symbol_line": 4
        },
        "health_impact": 0.0,
        "reason": "Class HealthMarkers runs SOQL or DML (line 13) and declares no sharing keyword, so whether record sharing applies depends on its caller",
        "dimension": "advisory",
        "id": "finding_fa887492d1d88d4d4cb3"
      },
      {
        "biomarker_type": "apex_hardcoded_id",
        "severity": "medium",
        "file_path": "apex/health_markers.cls",
        "function_name": "HealthMarkers",
        "line_start": 6,
        "line_end": 6,
        "details": {
          "value": "0051t000002bF3QAAU",
          "symbol_line": 4
        },
        "health_impact": 0.0,
        "reason": "Hardcoded record Id '0051t000002bF3QAAU': Ids differ between orgs and sandboxes",
        "dimension": "advisory",
        "id": "finding_231d102a50d21a2b4ba8"
      },
      {
        "biomarker_type": "apex_hardcoded_id",
        "severity": "medium",
        "file_path": "apex/health_markers.cls",
        "function_name": "defaultRecordType",
        "line_start": 32,
        "line_end": 32,
        "details": {
          "value": "012000000000AbcAAE",
          "symbol_line": 31
        },
        "health_impact": 0.0,
        "reason": "Hardcoded record Id '012000000000AbcAAE': Ids differ between orgs and sandboxes",
        "dimension": "advisory",
        "id": "finding_7df931acae6b893d752d"
      },
      {
        "biomarker_type": "nested_complexity",
        "severity": "high",
        "file_path": "apex/nested.cls",
        "function_name": "deeplyNested",
        "line_start": 3,
        "line_end": 21,
        "details": {
          "max_nesting": 5,
          "ccn": 7,
          "cognitive": 20,
          "dispatch_share": 0.0,
          "symbol_line": 3,
          "deepest_block": {
            "start": 8,
            "end": 14
          }
        },
        "health_impact": 1.452,
        "reason": "deeplyNested nests 5 levels deep",
        "dimension": "defect",
        "id": "finding_e2bc6665fe8f36d35f95"
      },
      {
        "biomarker_type": "io_in_loop",
        "severity": "medium",
        "file_path": "apex/perf_io_in_loop.cls",
        "function_name": "soqlPerRecord",
        "line_start": 8,
        "line_end": 8,
        "details": {
          "boundary_kind": "db",
          "cross_function": false,
          "loop_iterates": "parameter",
          "loop_line": 7,
          "sink_call": "SOQL",
          "symbol_line": 6,
          "role_owner": "apex/perf_io_in_loop.cls::PerfIoInLoop::soqlPerRecord",
          "execution_role": "unknown",
          "opportunity_id": "perf3_2dc2d05483e3be154222"
        },
        "health_impact": 0.0,
        "reason": "a database call runs once per loop iteration (N+1 query)",
        "dimension": "performance",
        "id": "finding_b424265e962a4fbc7e8b"
      },
      {
        "biomarker_type": "io_in_loop",
        "severity": "medium",
        "file_path": "apex/perf_io_in_loop.cls",
        "function_name": "dmlPerRecord",
        "line_start": 14,
        "line_end": 14,
        "details": {
          "boundary_kind": "db",
          "cross_function": false,
          "loop_iterates": "parameter",
          "loop_line": 13,
          "sink_call": "update",
          "symbol_line": 12,
          "role_owner": "apex/perf_io_in_loop.cls::PerfIoInLoop::dmlPerRecord",
          "execution_role": "unknown",
          "opportunity_id": "perf3_7adb36b5d04725ba470e"
        },
        "health_impact": 0.0,
        "reason": "a database call runs once per loop iteration (N+1 query)",
        "dimension": "performance",
        "id": "finding_22382e45520ab6bb7b0d"
      },
      {
        "biomarker_type": "io_in_loop",
        "severity": "medium",
        "file_path": "apex/perf_io_in_loop.cls",
        "function_name": "databaseAndCallout",
        "line_start": 21,
        "line_end": 21,
        "details": {
          "boundary_kind": "db",
          "cross_function": false,
          "loop_iterates": "parameter",
          "loop_line": 20,
          "sink_call": "Database.delete",
          "symbol_line": 18,
          "role_owner": "apex/perf_io_in_loop.cls::PerfIoInLoop::databaseAndCallout",
          "execution_role": "unknown",
          "opportunity_id": "perf3_8ecdf8a7dacf3c71dd27"
        },
        "health_impact": 0.0,
        "reason": "a database call runs once per loop iteration (N+1 query)",
        "dimension": "performance",
        "id": "finding_9165427cd04cf7e4726a"
      },
      {
        "biomarker_type": "io_in_loop",
        "severity": "medium",
        "file_path": "apex/perf_io_in_loop.cls",
        "function_name": "databaseAndCallout",
        "line_start": 22,
        "line_end": 22,
        "details": {
          "boundary_kind": "network",
          "cross_function": false,
          "loop_key_unused": true,
          "loop_iterates": "parameter",
          "loop_line": 20,
          "sink_call": "http.send",
          "symbol_line": 18,
          "role_owner": "apex/perf_io_in_loop.cls::PerfIoInLoop::databaseAndCallout",
          "execution_role": "unknown",
          "opportunity_id": "perf3_a850ad3bb607d14ed87e"
        },
        "health_impact": 0.0,
        "reason": "a network call runs once per loop iteration (I/O call inside a loop)",
        "dimension": "performance",
        "id": "finding_0245fab87b55c23492c6"
      },
      {
        "biomarker_type": "io_in_loop",
        "severity": "medium",
        "file_path": "apex/perf_io_in_loop.cls",
        "function_name": "asyncPerRecord",
        "line_start": 28,
        "line_end": 28,
        "details": {
          "boundary_kind": "db",
          "cross_function": false,
          "loop_iterates": "parameter",
          "loop_line": 27,
          "sink_call": "System.enqueueJob",
          "symbol_line": 26,
          "role_owner": "apex/perf_io_in_loop.cls::PerfIoInLoop::asyncPerRecord",
          "execution_role": "unknown",
          "opportunity_id": "perf3_c825658c4fdf4b8ecbff"
        },
        "health_impact": 0.0,
        "reason": "a database call runs once per loop iteration (N+1 query)",
        "dimension": "performance",
        "id": "finding_e659d96b233a265d645d"
      },
      {
        "biomarker_type": "io_in_loop",
        "severity": "medium",
        "file_path": "apex/perf_io_in_loop.cls",
        "function_name": "asyncPerRecord",
        "line_start": 29,
        "line_end": 29,
        "details": {
          "boundary_kind": "db",
          "cross_function": false,
          "loop_iterates": "parameter",
          "loop_line": 27,
          "sink_call": "notifyLater",
          "symbol_line": 26,
          "role_owner": "apex/perf_io_in_loop.cls::PerfIoInLoop::asyncPerRecord",
          "execution_role": "unknown",
          "opportunity_id": "perf3_c825658c4fdf4b8ecbff"
        },
        "health_impact": 0.0,
        "reason": "a database call runs once per loop iteration (N+1 query)",
        "dimension": "performance",
        "id": "finding_55745384c52960933827"
      },
      {
        "biomarker_type": "io_in_loop",
        "severity": "medium",
        "file_path": "apex/perf_io_in_loop.cls",
        "function_name": "nested",
        "line_start": 40,
        "line_end": 40,
        "details": {
          "boundary_kind": "db",
          "cross_function": false,
          "loop_line": 39,
          "sink_call": "insert",
          "symbol_line": 37,
          "role_owner": "apex/perf_io_in_loop.cls::PerfIoInLoop::nested",
          "execution_role": "unknown",
          "opportunity_id": "perf3_009daa9fe845b0b0a724"
        },
        "health_impact": 0.0,
        "reason": "a database call runs once per loop iteration (N+1 query)",
        "dimension": "performance",
        "id": "finding_760a8253c79b976573d7"
      },
      {
        "biomarker_type": "nested_loop_with_io",
        "severity": "medium",
        "file_path": "apex/perf_io_in_loop.cls",
        "function_name": "nested",
        "line_start": 40,
        "line_end": 40,
        "details": {
          "boundary_kind": "db",
          "loop_line": 39,
          "sink_call": "insert",
          "symbol_line": 37,
          "role_owner": "apex/perf_io_in_loop.cls::PerfIoInLoop::nested",
          "execution_role": "unknown",
          "opportunity_id": "perf3_009daa9fe845b0b0a724"
        },
        "health_impact": 0.0,
        "reason": "a database call runs inside a nested loop (O(n\u00b7m) round-trips); batch the inner query or restructure the loops",
        "dimension": "performance",
        "id": "finding_ad8e4f3c1ef52ec49958"
      },
      {
        "biomarker_type": "nested_complexity",
        "severity": "medium",
        "file_path": "cpp/nested.cpp",
        "function_name": "deeplyNested",
        "line_start": 3,
        "line_end": 14,
        "details": {
          "max_nesting": 4,
          "ccn": 5,
          "cognitive": 10,
          "dispatch_share": 0.0,
          "symbol_line": 3,
          "deepest_block": {
            "start": 6,
            "end": 10
          }
        },
        "health_impact": 0.883,
        "reason": "deeplyNested nests 4 levels deep",
        "dimension": "defect",
        "id": "finding_7336de57febe95c93630"
      },
      {
        "biomarker_type": "untested_complexity",
        "severity": "medium",
        "file_path": "cpp/nested.cpp",
        "function_name": "deeplyNested",
        "line_start": 3,
        "line_end": 14,
        "details": {
          "crap": 30.0,
          "ccn": 5,
          "coverage_basis": "estimated",
          "action": "add_tests",
          "coverage_tier": "none",
          "symbol_line": 3
        },
        "health_impact": 0.0,
        "reason": "deeplyNested has CRAP 30 (complexity 5, estimated, no test found reaching it)",
        "dimension": "advisory",
        "id": "finding_294c508a3bdf5636dbc5"
      },
      {
        "biomarker_type": "io_in_loop",
        "severity": "medium",
        "file_path": "csharp/PerfIoInLoop.cs",
        "function_name": "EfAsyncN1",
        "line_start": 21,
        "line_end": 21,
        "details": {
          "boundary_kind": "db",
          "cross_function": false,
          "loop_key_unused": true,
          "loop_iterates": "parameter",
          "loop_line": 19,
          "sink_call": "ctx.Users.ToListAsync",
          "symbol_line": 17,
          "role_owner": "csharp/PerfIoInLoop.cs::PerfIoInLoop::EfAsyncN1",
          "execution_role": "unknown",
          "opportunity_id": "perf3_95bb8ae957b8b655327e"
        },
        "health_impact": 0.0,
        "reason": "a database call runs once per loop iteration (N+1 query)",
        "dimension": "performance",
        "id": "finding_37f1c46ef1c3369f5928"
      },
      {
        "biomarker_type": "io_in_loop",
        "severity": "medium",
        "file_path": "csharp/PerfIoInLoop.cs",
        "function_name": "HttpInLoop",
        "line_start": 29,
        "line_end": 29,
        "details": {
          "boundary_kind": "network",
          "cross_function": false,
          "loop_iterates": "parameter",
          "loop_line": 27,
          "sink_call": "c.GetAsync",
          "symbol_line": 25,
          "role_owner": "csharp/PerfIoInLoop.cs::PerfIoInLoop::HttpInLoop",
          "execution_role": "unknown",
          "opportunity_id": "perf3_3f08df93f1b3e36c763f"
        },
        "health_impact": 0.0,
        "reason": "a network call runs once per loop iteration (I/O call inside a loop)",
        "dimension": "performance",
        "id": "finding_79a6782b228ae1df5e64"
      },
      {
        "biomarker_type": "io_in_loop",
        "severity": "medium",
        "file_path": "csharp/PerfIoInLoop.cs",
        "function_name": "SaveInLoop",
        "line_start": 37,
        "line_end": 37,
        "details": {
          "boundary_kind": "db",
          "cross_function": false,
          "loop_key_unused": true,
          "loop_iterates": "parameter",
          "loop_line": 35,
          "sink_call": "ctx.SaveChangesAsync",
          "symbol_line": 33,
          "role_owner": "csharp/PerfIoInLoop.cs::PerfIoInLoop::SaveInLoop",
          "execution_role": "unknown",
          "opportunity_id": "perf3_db17d793aaa4beb033a1"
        },
        "health_impact": 0.0,
        "reason": "a database call runs once per loop iteration (N+1 query)",
        "dimension": "performance",
        "id": "finding_b24af172454058c5f258"
      },
      {
        "biomarker_type": "io_in_loop",
        "severity": "medium",
        "file_path": "csharp/PerfIoInLoop.cs",
        "function_name": "FileReadInLoop",
        "line_start": 45,
        "line_end": 45,
        "details": {
          "boundary_kind": "filesystem",
          "cross_function": false,
          "loop_iterates": "parameter",
          "loop_line": 43,
          "sink_call": "File.ReadAllText",
          "symbol_line": 41,
          "role_owner": "csharp/PerfIoInLoop.cs::PerfIoInLoop::FileReadInLoop",
          "execution_role": "unknown",
          "opportunity_id": "perf3_c429bf008236dca10f03"
        },
        "health_impact": 0.0,
        "reason": "a filesystem call runs once per loop iteration (I/O call inside a loop)",
        "dimension": "performance",
        "id": "finding_2d0e879b59cd722c4851"
      },
      {
        "biomarker_type": "io_in_loop",
        "severity": "medium",
        "file_path": "csharp/PerfIoInLoop.cs",
        "function_name": "SyncLinqInLoop",
        "line_start": 53,
        "line_end": 53,
        "details": {
          "boundary_kind": "db",
          "cross_function": false,
          "loop_key_unused": true,
          "loop_iterates": "parameter",
          "loop_line": 51,
          "sink_call": "ctx.Users.ToList",
          "symbol_line": 49,
          "role_owner": "csharp/PerfIoInLoop.cs::PerfIoInLoop::SyncLinqInLoop",
          "execution_role": "unknown",
          "opportunity_id": "perf3_87ea71b2c97643e64f9e"
        },
        "health_impact": 0.0,
        "reason": "a database call runs once per loop iteration (N+1 query)",
        "dimension": "performance",
        "id": "finding_8f989e1c3a3478830025"
      },
      {
        "biomarker_type": "string_concat_in_loop",
        "severity": "low",
        "file_path": "csharp/PerfIoInLoop.cs",
        "function_name": "StringConcatInLoop",
        "line_start": 62,
        "line_end": 62,
        "details": {
          "loop_iterates": "parameter",
          "loop_line": 60,
          "subject": "s",
          "symbol_line": 57,
          "role_owner": "csharp/PerfIoInLoop.cs::PerfIoInLoop::StringConcatInLoop",
          "execution_role": "unknown",
          "opportunity_id": "perf3_8b234729806b1ff9613d"
        },
        "health_impact": 0.0,
        "reason": "string built by += in a loop; use a buffer / join for linear cost",
        "dimension": "performance",
        "id": "finding_c1413f661c3eb3f724dc"
      },
      {
        "biomarker_type": "blocking_sync_in_async",
        "severity": "medium",
        "file_path": "csharp/PerfIoInLoop.cs",
        "function_name": "SyncOverAsync",
        "line_start": 69,
        "line_end": 69,
        "details": {
          "api": ".Result",
          "symbol_line": 67,
          "role_owner": "csharp/PerfIoInLoop.cs::PerfIoInLoop::SyncOverAsync",
          "execution_role": "unknown",
          "opportunity_id": "perf3_669d5b763f11aa6fb225"
        },
        "health_impact": 0.0,
        "reason": ".Result blocks the event loop inside an async function",
        "dimension": "performance",
        "id": "finding_4909fc27059890b6d216"
      },
      {
        "biomarker_type": "blocking_sync_in_async",
        "severity": "medium",
        "file_path": "csharp/PerfIoInLoop.cs",
        "function_name": "SyncOverAsync",
        "line_start": 70,
        "line_end": 70,
        "details": {
          "api": ".Wait()",
          "symbol_line": 67,
          "role_owner": "csharp/PerfIoInLoop.cs::PerfIoInLoop::SyncOverAsync",
          "execution_role": "unknown",
          "opportunity_id": "perf3_669d5b763f11aa6fb225"
        },
        "health_impact": 0.0,
        "reason": ".Wait() blocks the event loop inside an async function",
        "dimension": "performance",
        "id": "finding_88a4690b20950d94467b"
      },
      {
        "biomarker_type": "nested_complexity",
        "severity": "medium",
        "file_path": "csharp/nested.cs",
        "function_name": "DeeplyNested",
        "line_start": 5,
        "line_end": 21,
        "details": {
          "max_nesting": 4,
          "ccn": 5,
          "cognitive": 10,
          "dispatch_share": 0.0,
          "symbol_line": 5,
          "deepest_block": {
            "start": 13,
            "end": 16
          }
        },
        "health_impact": 0.883,
        "reason": "DeeplyNested nests 4 levels deep",
        "dimension": "defect",
        "id": "finding_525e8162089608e8a869"
      },
      {
        "biomarker_type": "untested_complexity",
        "severity": "medium",
        "file_path": "csharp/nested.cs",
        "function_name": "DeeplyNested",
        "line_start": 5,
        "line_end": 21,
        "details": {
          "crap": 30.0,
          "ccn": 5,
          "coverage_basis": "estimated",
          "action": "add_tests",
          "coverage_tier": "none",
          "symbol_line": 5
        },
        "health_impact": 0.0,
        "reason": "DeeplyNested has CRAP 30 (complexity 5, estimated, no test found reaching it)",
        "dimension": "advisory",
        "id": "finding_06ba5b0fe6a38fa75b04"
      },
      {
        "biomarker_type": "nested_complexity",
        "severity": "medium",
        "file_path": "dart/nested.dart",
        "function_name": "deeplyNested",
        "line_start": 3,
        "line_end": 14,
        "details": {
          "max_nesting": 4,
          "ccn": 5,
          "cognitive": 10,
          "dispatch_share": 0.0,
          "symbol_line": 3,
          "deepest_block": {
            "start": 6,
            "end": 10
          }
        },
        "health_impact": 0.883,
        "reason": "deeplyNested nests 4 levels deep",
        "dimension": "defect",
        "id": "finding_14da5768ef44be629cdb"
      },
      {
        "biomarker_type": "complex_method",
        "severity": "medium",
        "file_path": "dart/nested.dart",
        "function_name": "manyBranches",
        "line_start": 20,
        "line_end": 28,
        "details": {
          "ccn": 9,
          "cognitive": 8,
          "nloc": 9,
          "dispatch_share": 0.0,
          "symbol_line": 20,
          "deepest_block": {
            "start": 21,
            "end": 21
          }
        },
        "health_impact": 0.774,
        "reason": "manyBranches has cyclomatic complexity 9",
        "dimension": "defect",
        "id": "finding_75e1face476206b793af"
      },
      {
        "biomarker_type": "untested_complexity",
        "severity": "medium",
        "file_path": "dart/nested.dart",
        "function_name": "deeplyNested",
        "line_start": 3,
        "line_end": 14,
        "details": {
          "crap": 30.0,
          "ccn": 5,
          "coverage_basis": "estimated",
          "action": "add_tests",
          "coverage_tier": "none",
          "symbol_line": 3
        },
        "health_impact": 0.0,
        "reason": "deeplyNested has CRAP 30 (complexity 5, estimated, no test found reaching it)",
        "dimension": "advisory",
        "id": "finding_3b2e6e678827a0c95db8"
      },
      {
        "biomarker_type": "untested_complexity",
        "severity": "medium",
        "file_path": "dart/nested.dart",
        "function_name": "manyBranches",
        "line_start": 20,
        "line_end": 28,
        "details": {
          "crap": 90.0,
          "ccn": 9,
          "coverage_basis": "estimated",
          "action": "add_tests",
          "coverage_tier": "none",
          "symbol_line": 20
        },
        "health_impact": 0.0,
        "reason": "manyBranches has CRAP 90 (complexity 9, estimated, no test found reaching it)",
        "dimension": "advisory",
        "id": "finding_c1ac480b4aeb3197f16d"
      },
      {
        "biomarker_type": "io_in_loop",
        "severity": "medium",
        "file_path": "dart/perf_io_in_loop.dart",
        "function_name": "serialFetch",
        "line_start": 10,
        "line_end": 10,
        "details": {
          "boundary_kind": "network",
          "cross_function": false,
          "loop_key_unused": true,
          "loop_line": 9,
          "sink_call": "get",
          "symbol_line": 8,
          "role_owner": "dart/perf_io_in_loop.dart::serialFetch",
          "execution_role": "unknown",
          "opportunity_id": "perf3_33de3d67ada57c94f63e"
        },
        "health_impact": 0.0,
        "reason": "a network call runs once per loop iteration (I/O call inside a loop)",
        "dimension": "performance",
        "id": "finding_e7f42a3afa6c80538d2e"
      },
      {
        "biomarker_type": "io_in_loop",
        "severity": "medium",
        "file_path": "dart/perf_io_in_loop.dart",
        "function_name": "readFiles",
        "line_start": 16,
        "line_end": 16,
        "details": {
          "boundary_kind": "filesystem",
          "cross_function": false,
          "loop_key_unused": true,
          "loop_line": 15,
          "sink_call": "readAsString",
          "symbol_line": 14,
          "role_owner": "dart/perf_io_in_loop.dart::readFiles",
          "execution_role": "unknown",
          "opportunity_id": "perf3_a76757394590890d677d"
        },
        "health_impact": 0.0,
        "reason": "a filesystem call runs once per loop iteration (I/O call inside a loop)",
        "dimension": "performance",
        "id": "finding_ef21c9ecebbc5985d9b8"
      },
      {
        "biomarker_type": "io_in_loop",
        "severity": "medium",
        "file_path": "dart/perf_io_in_loop.dart",
        "function_name": "queryRows",
        "line_start": 22,
        "line_end": 22,
        "details": {
          "boundary_kind": "db",
          "cross_function": false,
          "loop_key_unused": true,
          "loop_line": 21,
          "sink_call": "rawQuery",
          "symbol_line": 20,
          "role_owner": "dart/perf_io_in_loop.dart::queryRows",
          "execution_role": "unknown",
          "opportunity_id": "perf3_f16b2a14051afa858b30"
        },
        "health_impact": 0.0,
        "reason": "a database call runs once per loop iteration (N+1 query)",
        "dimension": "performance",
        "id": "finding_69d60cef44db2d3c9406"
      },
      {
        "biomarker_type": "string_concat_in_loop",
        "severity": "low",
        "file_path": "dart/perf_io_in_loop.dart",
        "function_name": "concat",
        "line_start": 29,
        "line_end": 29,
        "details": {
          "loop_line": 28,
          "subject": "s",
          "symbol_line": 26,
          "role_owner": "dart/perf_io_in_loop.dart::concat",
          "execution_role": "unknown",
          "opportunity_id": "perf3_1b24c911f6c8a4b52508"
        },
        "health_impact": 0.0,
        "reason": "string built by += in a loop; use a buffer / join for linear cost",
        "dimension": "performance",
        "id": "finding_10c2203cb74d8793190d"
      },
      {
        "biomarker_type": "resource_construction_in_loop",
        "severity": "medium",
        "file_path": "dart/perf_io_in_loop.dart",
        "function_name": "makeClients",
        "line_start": 36,
        "line_end": 36,
        "details": {
          "loop_line": 35,
          "symbol_line": 34,
          "role_owner": "dart/perf_io_in_loop.dart::makeClients",
          "execution_role": "unknown",
          "opportunity_id": "perf3_c0a715a42fe48ca40678"
        },
        "health_impact": 0.0,
        "reason": "a heavy client / connection is constructed each loop iteration; hoist and reuse a single instance",
        "dimension": "performance",
        "id": "finding_fc2bd6cbf299ac72583b"
      },
      {
        "biomarker_type": "untested_complexity",
        "severity": "medium",
        "file_path": "go/conditionals.go",
        "function_name": "ThreeOps",
        "line_start": 3,
        "line_end": 8,
        "details": {
          "crap": 30.0,
          "ccn": 5,
          "coverage_basis": "estimated",
          "action": "add_tests",
          "coverage_tier": "none",
          "symbol_line": 3
        },
        "health_impact": 0.0,
        "reason": "ThreeOps has CRAP 30 (complexity 5, estimated, no test found reaching it)",
        "dimension": "advisory",
        "id": "finding_814731f9fbc11f91edc5"
      },
      {
        "biomarker_type": "untested_complexity",
        "severity": "medium",
        "file_path": "go/conditionals.go",
        "function_name": "SixOps",
        "line_start": 10,
        "line_end": 15,
        "details": {
          "crap": 72.0,
          "ccn": 8,
          "coverage_basis": "estimated",
          "action": "add_tests",
          "coverage_tier": "none",
          "symbol_line": 10
        },
        "health_impact": 0.0,
        "reason": "SixOps has CRAP 72 (complexity 8, estimated, no test found reaching it)",
        "dimension": "advisory",
        "id": "finding_c1cb731e126a1224c410"
      },
      {
        "biomarker_type": "nested_complexity",
        "severity": "high",
        "file_path": "go/nested.go",
        "function_name": "DeeplyNested",
        "line_start": 3,
        "line_end": 17,
        "details": {
          "max_nesting": 5,
          "ccn": 6,
          "cognitive": 15,
          "dispatch_share": 0.0,
          "symbol_line": 3,
          "deepest_block": {
            "start": 7,
            "end": 12
          }
        },
        "health_impact": 1.452,
        "reason": "DeeplyNested nests 5 levels deep",
        "dimension": "defect",
        "id": "finding_8a94b5551a568cc7522f"
      },
      {
        "biomarker_type": "untested_complexity",
        "severity": "medium",
        "file_path": "go/nested.go",
        "function_name": "DeeplyNested",
        "line_start": 3,
        "line_end": 17,
        "details": {
          "crap": 42.0,
          "ccn": 6,
          "coverage_basis": "estimated",
          "action": "add_tests",
          "coverage_tier": "none",
          "symbol_line": 3
        },
        "health_impact": 0.0,
        "reason": "DeeplyNested has CRAP 42 (complexity 6, estimated, no test found reaching it)",
        "dimension": "advisory",
        "id": "finding_d271936fd68e02aa1a7f"
      },
      {
        "biomarker_type": "error_handling",
        "severity": "low",
        "file_path": "go/perf_io_in_loop.go",
        "function_name": null,
        "line_start": 38,
        "line_end": 38,
        "details": {
          "kind": "go_swallow",
          "symbol_line": 36,
          "symbol": "deferInLoop"
        },
        "health_impact": 0.143,
        "reason": "error value is checked then ignored, or discarded via the blank identifier",
        "dimension": "maintainability",
        "id": "finding_ae2ad6b7dd45e467cae7"
      },
      {
        "biomarker_type": "io_in_loop",
        "severity": "medium",
        "file_path": "go/perf_io_in_loop.go",
        "function_name": "dbQueryInRange",
        "line_start": 20,
        "line_end": 20,
        "details": {
          "boundary_kind": "db",
          "cross_function": false,
          "loop_iterates": "parameter",
          "loop_line": 19,
          "sink_call": "db.Query",
          "symbol_line": 18,
          "role_owner": "go/perf_io_in_loop.go::dbQueryInRange",
          "execution_role": "unknown",
          "opportunity_id": "perf3_35b661ae09ee25af0697"
        },
        "health_impact": 0.0,
        "reason": "a database call runs once per loop iteration (N+1 query)",
        "dimension": "performance",
        "id": "finding_79b94d784f0dcda6d7f7"
      },
      {
        "biomarker_type": "io_in_loop",
        "severity": "medium",
        "file_path": "go/perf_io_in_loop.go",
        "function_name": "httpGetInRange",
        "line_start": 26,
        "line_end": 26,
        "details": {
          "boundary_kind": "network",
          "cross_function": false,
          "loop_iterates": "parameter",
          "loop_line": 25,
          "sink_call": "http.Get",
          "symbol_line": 24,
          "role_owner": "go/perf_io_in_loop.go::httpGetInRange",
          "execution_role": "unknown",
          "opportunity_id": "perf3_91dadbe5903aff9695f8"
        },
        "health_impact": 0.0,
        "reason": "a network call runs once per loop iteration (I/O call inside a loop)",
        "dimension": "performance",
        "id": "finding_0680dd53f3aeca174d5d"
      },
      {
        "biomarker_type": "io_in_loop",
        "severity": "medium",
        "file_path": "go/perf_io_in_loop.go",
        "function_name": "osOpenInRange",
        "line_start": 32,
        "line_end": 32,
        "details": {
          "boundary_kind": "filesystem",
          "cross_function": false,
          "loop_iterates": "parameter",
          "loop_line": 31,
          "sink_call": "os.Open",
          "symbol_line": 30,
          "role_owner": "go/perf_io_in_loop.go::osOpenInRange",
          "execution_role": "unknown",
          "opportunity_id": "perf3_ba93597be8695e77aef8"
        },
        "health_impact": 0.0,
        "reason": "a filesystem call runs once per loop iteration (I/O call inside a loop)",
        "dimension": "performance",
        "id": "finding_feb19e538673532f6ca2"
      },
      {
        "biomarker_type": "io_in_loop",
        "severity": "medium",
        "file_path": "go/perf_io_in_loop.go",
        "function_name": "deferInLoop",
        "line_start": 38,
        "line_end": 38,
        "details": {
          "boundary_kind": "filesystem",
          "cross_function": false,
          "loop_iterates": "parameter",
          "loop_line": 37,
          "sink_call": "os.Open",
          "symbol_line": 36,
          "role_owner": "go/perf_io_in_loop.go::deferInLoop",
          "execution_role": "unknown",
          "opportunity_id": "perf3_d743e5cb03ad33337138"
        },
        "health_impact": 0.0,
        "reason": "a filesystem call runs once per loop iteration (I/O call inside a loop)",
        "dimension": "performance",
        "id": "finding_468386184e72dabc1328"
      },
      {
        "biomarker_type": "string_concat_in_loop",
        "severity": "low",
        "file_path": "go/perf_io_in_loop.go",
        "function_name": "stringConcatInRange",
        "line_start": 53,
        "line_end": 53,
        "details": {
          "loop_iterates": "parameter",
          "loop_line": 52,
          "subject": "s",
          "symbol_line": 50,
          "role_owner": "go/perf_io_in_loop.go::stringConcatInRange",
          "execution_role": "unknown",
          "opportunity_id": "perf3_a5c52085fe28e577fb7f"
        },
        "health_impact": 0.0,
        "reason": "string built by += in a loop; use a buffer / join for linear cost",
        "dimension": "performance",
        "id": "finding_91657a5dfc554dd6a9b7"
      },
      {
        "biomarker_type": "regex_compile_in_loop",
        "severity": "medium",
        "file_path": "go/perf_io_in_loop.go",
        "function_name": "regexpCompileInRange",
        "line_start": 45,
        "line_end": 45,
        "details": {
          "loop_iterates": "parameter",
          "loop_line": 44,
          "symbol_line": 43,
          "role_owner": "go/perf_io_in_loop.go::regexpCompileInRange",
          "execution_role": "unknown",
          "opportunity_id": "perf3_e3ebce657d83f671209d"
        },
        "health_impact": 0.0,
        "reason": "a regex with a static pattern is recompiled every loop iteration; compile it once outside the loop and reuse it",
        "dimension": "performance",
        "id": "finding_c2b93004c3458ad340a2"
      },
      {
        "biomarker_type": "defer_in_loop",
        "severity": "medium",
        "file_path": "go/perf_io_in_loop.go",
        "function_name": "deferInLoop",
        "line_start": 39,
        "line_end": 39,
        "details": {
          "loop_iterates": "parameter",
          "loop_line": 37,
          "symbol_line": 36,
          "role_owner": "go/perf_io_in_loop.go::deferInLoop",
          "execution_role": "unknown",
          "opportunity_id": "perf3_62acaef3397d76cbe2f5"
        },
        "health_impact": 0.0,
        "reason": "a deferred call inside a loop runs only when the enclosing function returns, so the resource stays held across every iteration; close it in the loop body (or wrap the body in a function) instead",
        "dimension": "performance",
        "id": "finding_7f34c7947a7498cc922c"
      },
      {
        "biomarker_type": "untested_complexity",
        "severity": "medium",
        "file_path": "java/Conditionals.java",
        "function_name": "threeOps",
        "line_start": 2,
        "line_end": 7,
        "details": {
          "crap": 30.0,
          "ccn": 5,
          "coverage_basis": "estimated",
          "action": "add_tests",
          "coverage_tier": "none",
          "symbol_line": 2
        },
        "health_impact": 0.0,
        "reason": "threeOps has CRAP 30 (complexity 5, estimated, no test found reaching it)",
        "dimension": "advisory",
        "id": "finding_5cad121e3eec66668619"
      },
      {
        "biomarker_type": "untested_complexity",
        "severity": "medium",
        "file_path": "java/Conditionals.java",
        "function_name": "sixOps",
        "line_start": 9,
        "line_end": 14,
        "details": {
          "crap": 72.0,
          "ccn": 8,
          "coverage_basis": "estimated",
          "action": "add_tests",
          "coverage_tier": "none",
          "symbol_line": 9
        },
        "health_impact": 0.0,
        "reason": "sixOps has CRAP 72 (complexity 8, estimated, no test found reaching it)",
        "dimension": "advisory",
        "id": "finding_fd14e71841abee247de5"
      },
      {
        "biomarker_type": "nested_complexity",
        "severity": "high",
        "file_path": "java/Nested.java",
        "function_name": "deeplyNested",
        "line_start": 2,
        "line_end": 19,
        "details": {
          "max_nesting": 5,
          "ccn": 7,
          "cognitive": 20,
          "dispatch_share": 0.0,
          "symbol_line": 2,
          "deepest_block": {
            "start": 7,
            "end": 12
          }
        },
        "health_impact": 1.452,
        "reason": "deeplyNested nests 5 levels deep",
        "dimension": "defect",
        "id": "finding_716ef8994749727b5d74"
      },
      {
        "biomarker_type": "untested_complexity",
        "severity": "medium",
        "file_path": "java/Nested.java",
        "function_name": "deeplyNested",
        "line_start": 2,
        "line_end": 19,
        "details": {
          "crap": 56.0,
          "ccn": 7,
          "coverage_basis": "estimated",
          "action": "add_tests",
          "coverage_tier": "none",
          "symbol_line": 2
        },
        "health_impact": 0.0,
        "reason": "deeplyNested has CRAP 56 (complexity 7, estimated, no test found reaching it)",
        "dimension": "advisory",
        "id": "finding_37724bd1b3882e3b1429"
      },
      {
        "biomarker_type": "error_handling",
        "severity": "low",
        "file_path": "java/Nested.java",
        "function_name": null,
        "line_start": 11,
        "line_end": 11,
        "details": {
          "kind": "swallowed_catch",
          "symbol_line": 2,
          "symbol": "deeplyNested"
        },
        "health_impact": 0.143,
        "reason": "caught exception is swallowed without any handling",
        "dimension": "maintainability",
        "id": "finding_45419b3eb06537a00ce0"
      },
      {
        "biomarker_type": "io_in_loop",
        "severity": "medium",
        "file_path": "java/PerfIoInLoop.java",
        "function_name": "springDataN1",
        "line_start": 18,
        "line_end": 18,
        "details": {
          "boundary_kind": "db",
          "cross_function": false,
          "loop_iterates": "parameter",
          "loop_line": 17,
          "sink_call": "repo.findByName",
          "symbol_line": 16,
          "role_owner": "java/PerfIoInLoop.java::PerfIoInLoop::springDataN1",
          "execution_role": "unknown",
          "opportunity_id": "perf3_911dde4f6806cc6b75b7"
        },
        "health_impact": 0.0,
        "reason": "a database call runs once per loop iteration (N+1 query)",
        "dimension": "performance",
        "id": "finding_3f8c18adf3878320b72a"
      },
      {
        "biomarker_type": "io_in_loop",
        "severity": "medium",
        "file_path": "java/PerfIoInLoop.java",
        "function_name": "jdbcInLoop",
        "line_start": 24,
        "line_end": 24,
        "details": {
          "boundary_kind": "db",
          "cross_function": false,
          "loop_iterates": "parameter",
          "loop_line": 23,
          "sink_call": "st.executeQuery",
          "symbol_line": 22,
          "role_owner": "java/PerfIoInLoop.java::PerfIoInLoop::jdbcInLoop",
          "execution_role": "unknown",
          "opportunity_id": "perf3_eb7be3ffffcf819dbfc9"
        },
        "health_impact": 0.0,
        "reason": "a database call runs once per loop iteration (N+1 query)",
        "dimension": "performance",
        "id": "finding_05e1d832a9783b608985"
      },
      {
        "biomarker_type": "io_in_loop",
        "severity": "medium",
        "file_path": "java/PerfIoInLoop.java",
        "function_name": "filesInLoop",
        "line_start": 30,
        "line_end": 30,
        "details": {
          "boundary_kind": "filesystem",
          "cross_function": false,
          "loop_iterates": "parameter",
          "loop_line": 29,
          "sink_call": "Files.readString",
          "symbol_line": 28,
          "role_owner": "java/PerfIoInLoop.java::PerfIoInLoop::filesInLoop",
          "execution_role": "unknown",
          "opportunity_id": "perf3_e156dff3c84c5779634b"
        },
        "health_impact": 0.0,
        "reason": "a filesystem call runs once per loop iteration (I/O call inside a loop)",
        "dimension": "performance",
        "id": "finding_54a795fc4d8ddc01bdbb"
      },
      {
        "biomarker_type": "io_in_loop",
        "severity": "medium",
        "file_path": "java/PerfIoInLoop.java",
        "function_name": "newStreamInLoop",
        "line_start": 36,
        "line_end": 36,
        "details": {
          "boundary_kind": "filesystem",
          "cross_function": false,
          "loop_iterates": "parameter",
          "loop_line": 35,
          "sink_call": "FileInputStream",
          "symbol_line": 34,
          "role_owner": "java/PerfIoInLoop.java::PerfIoInLoop::newStreamInLoop",
          "execution_role": "unknown",
          "opportunity_id": "perf3_22acf8c6252402350330"
        },
        "health_impact": 0.0,
        "reason": "a filesystem call runs once per loop iteration (I/O call inside a loop)",
        "dimension": "performance",
        "id": "finding_fd42ffeaa7b0fec3b4ae"
      },
      {
        "biomarker_type": "string_concat_in_loop",
        "severity": "low",
        "file_path": "java/PerfIoInLoop.java",
        "function_name": "stringConcatInLoop",
        "line_start": 49,
        "line_end": 49,
        "details": {
          "loop_iterates": "parameter",
          "loop_line": 48,
          "subject": "out",
          "symbol_line": 46,
          "role_owner": "java/PerfIoInLoop.java::PerfIoInLoop::stringConcatInLoop",
          "execution_role": "unknown",
          "opportunity_id": "perf3_ceaed73c82949f778dae"
        },
        "health_impact": 0.0,
        "reason": "string built by += in a loop; use a buffer / join for linear cost",
        "dimension": "performance",
        "id": "finding_1662953efdf4289f38e4"
      },
      {
        "biomarker_type": "regex_compile_in_loop",
        "severity": "medium",
        "file_path": "java/PerfIoInLoop.java",
        "function_name": "regexCompileInLoop",
        "line_start": 42,
        "line_end": 42,
        "details": {
          "loop_iterates": "parameter",
          "loop_line": 41,
          "symbol_line": 40,
          "role_owner": "java/PerfIoInLoop.java::PerfIoInLoop::regexCompileInLoop",
          "execution_role": "unknown",
          "opportunity_id": "perf3_e63d99176047a0f3cd49"
        },
        "health_impact": 0.0,
        "reason": "a regex with a static pattern is recompiled every loop iteration; compile it once outside the loop and reuse it",
        "dimension": "performance",
        "id": "finding_aa2725855ca6670e7047"
      },
      {
        "biomarker_type": "nested_complexity",
        "severity": "high",
        "file_path": "javascript/nested.js",
        "function_name": "deeplyNested",
        "line_start": 1,
        "line_end": 17,
        "details": {
          "max_nesting": 5,
          "ccn": 7,
          "cognitive": 20,
          "dispatch_share": 0.0,
          "symbol_line": 1,
          "deepest_block": {
            "start": 6,
            "end": 10
          }
        },
        "health_impact": 1.452,
        "reason": "deeplyNested nests 5 levels deep",
        "dimension": "defect",
        "id": "finding_bd08c69b932b606b18c9"
      },
      {
        "biomarker_type": "untested_complexity",
        "severity": "medium",
        "file_path": "javascript/nested.js",
        "function_name": "deeplyNested",
        "line_start": 1,
        "line_end": 17,
        "details": {
          "crap": 56.0,
          "ccn": 7,
          "coverage_basis": "estimated",
          "action": "add_tests",
          "coverage_tier": "none",
          "symbol_line": 1
        },
        "health_impact": 0.0,
        "reason": "deeplyNested has CRAP 56 (complexity 7, estimated, no test found reaching it)",
        "dimension": "advisory",
        "id": "finding_f4d48fd3c571c65c8066"
      },
      {
        "biomarker_type": "error_handling",
        "severity": "low",
        "file_path": "javascript/nested.js",
        "function_name": null,
        "line_start": 10,
        "line_end": 10,
        "details": {
          "kind": "swallowed_catch",
          "symbol_line": 1,
          "symbol": "deeplyNested"
        },
        "health_impact": 0.143,
        "reason": "caught exception is swallowed without any handling",
        "dimension": "maintainability",
        "id": "finding_4614b0ce342fb6f1e7f8"
      },
      {
        "biomarker_type": "nested_complexity",
        "severity": "medium",
        "file_path": "kotlin/nested.kt",
        "function_name": "deeplyNested",
        "line_start": 3,
        "line_end": 14,
        "details": {
          "max_nesting": 4,
          "ccn": 5,
          "cognitive": 10,
          "dispatch_share": 0.0,
          "symbol_line": 3,
          "deepest_block": {
            "start": 6,
            "end": 10
          }
        },
        "health_impact": 0.883,
        "reason": "deeplyNested nests 4 levels deep",
        "dimension": "defect",
        "id": "finding_341db9359cf919b9c51c"
      },
      {
        "biomarker_type": "untested_complexity",
        "severity": "medium",
        "file_path": "kotlin/nested.kt",
        "function_name": "deeplyNested",
        "line_start": 3,
        "line_end": 14,
        "details": {
          "crap": 30.0,
          "ccn": 5,
          "coverage_basis": "estimated",
          "action": "add_tests",
          "coverage_tier": "none",
          "symbol_line": 3
        },
        "health_impact": 0.0,
        "reason": "deeplyNested has CRAP 30 (complexity 5, estimated, no test found reaching it)",
        "dimension": "advisory",
        "id": "finding_763d93b2e5a15a2123fe"
      },
      {
        "biomarker_type": "complex_method",
        "severity": "medium",
        "file_path": "pascal/complex.pas",
        "function_name": "ManyBranches",
        "line_start": 7,
        "line_end": 46,
        "details": {
          "ccn": 13,
          "cognitive": 12,
          "nloc": 35,
          "dispatch_share": 0.0,
          "symbol_line": 7,
          "deepest_block": {
            "start": 9,
            "end": 28
          }
        },
        "health_impact": 0.774,
        "reason": "ManyBranches has cyclomatic complexity 13",
        "dimension": "defect",
        "id": "finding_cdb1bfd5e7f5961c0f48"
      },
      {
        "biomarker_type": "untested_complexity",
        "severity": "medium",
        "file_path": "pascal/complex.pas",
        "function_name": "ManyBranches",
        "line_start": 7,
        "line_end": 46,
        "details": {
          "crap": 182.0,
          "ccn": 13,
          "coverage_basis": "estimated",
          "action": "add_tests",
          "coverage_tier": "none",
          "symbol_line": 7
        },
        "health_impact": 0.0,
        "reason": "ManyBranches has CRAP 182 (complexity 13, estimated, no test found reaching it)",
        "dimension": "advisory",
        "id": "finding_7fa470e6114dc37b6fd9"
      },
      {
        "biomarker_type": "nested_complexity",
        "severity": "high",
        "file_path": "pascal/nested.pas",
        "function_name": "DeeplyNested",
        "line_start": 7,
        "line_end": 30,
        "details": {
          "max_nesting": 5,
          "ccn": 6,
          "cognitive": 15,
          "dispatch_share": 0.0,
          "symbol_line": 7,
          "deepest_block": {
            "start": 19,
            "end": 23
          }
        },
        "health_impact": 1.452,
        "reason": "DeeplyNested nests 5 levels deep",
        "dimension": "defect",
        "id": "finding_472f3545d0b4e4e51dcb"
      },
      {
        "biomarker_type": "untested_complexity",
        "severity": "medium",
        "file_path": "pascal/nested.pas",
        "function_name": "DeeplyNested",
        "line_start": 7,
        "line_end": 30,
        "details": {
          "crap": 42.0,
          "ccn": 6,
          "coverage_basis": "estimated",
          "action": "add_tests",
          "coverage_tier": "none",
          "symbol_line": 7
        },
        "health_impact": 0.0,
        "reason": "DeeplyNested has CRAP 42 (complexity 6, estimated, no test found reaching it)",
        "dimension": "advisory",
        "id": "finding_d69da900f78a85b1c0f8"
      },
      {
        "biomarker_type": "nested_complexity",
        "severity": "medium",
        "file_path": "php/nested.php",
        "function_name": "deeply_nested",
        "line_start": 4,
        "line_end": 15,
        "details": {
          "max_nesting": 4,
          "ccn": 5,
          "cognitive": 10,
          "dispatch_share": 0.0,
          "symbol_line": 4,
          "deepest_block": {
            "start": 7,
            "end": 11
          }
        },
        "health_impact": 0.883,
        "reason": "deeply_nested nests 4 levels deep",
        "dimension": "defect",
        "id": "finding_08fb66e3bd4471dcc116"
      },
      {
        "biomarker_type": "untested_complexity",
        "severity": "medium",
        "file_path": "php/nested.php",
        "function_name": "deeply_nested",
        "line_start": 4,
        "line_end": 15,
        "details": {
          "crap": 30.0,
          "ccn": 5,
          "coverage_basis": "estimated",
          "action": "add_tests",
          "coverage_tier": "none",
          "symbol_line": 4
        },
        "health_impact": 0.0,
        "reason": "deeply_nested has CRAP 30 (complexity 5, estimated, no test found reaching it)",
        "dimension": "advisory",
        "id": "finding_6a2d7046d153f5e28f70"
      },
      {
        "biomarker_type": "low_cohesion",
        "severity": "medium",
        "file_path": "python/classes.py",
        "function_name": "Splintered",
        "line_start": 26,
        "line_end": 50,
        "details": {
          "class_name": "Splintered",
          "lcom4": 2,
          "method_count": 5,
          "field_count": 2,
          "symbol_line": 26
        },
        "health_impact": 0.342,
        "reason": "Splintered has low cohesion (LCOM4=2): its 5 methods split into 2 groups that share no fields or calls",
        "dimension": "maintainability",
        "id": "finding_2c342a6d7294a6f43a48"
      },
      {
        "biomarker_type": "complex_method",
        "severity": "high",
        "file_path": "python/complex.py",
        "function_name": "many_branches",
        "line_start": 1,
        "line_end": 21,
        "details": {
          "ccn": 15,
          "cognitive": 15,
          "nloc": 20,
          "dispatch_share": 0.0,
          "symbol_line": 1,
          "deepest_block": {
            "start": 19,
            "end": 20
          }
        },
        "health_impact": 1.247,
        "reason": "many_branches has cyclomatic complexity 15",
        "dimension": "defect",
        "id": "finding_0218dfee9ddbbc3acb0c"
      },
      {
        "biomarker_type": "untested_complexity",
        "severity": "medium",
        "file_path": "python/complex.py",
        "function_name": "many_branches",
        "line_start": 1,
        "line_end": 21,
        "details": {
          "crap": 240.0,
          "ccn": 15,
          "coverage_basis": "estimated",
          "action": "add_tests",
          "coverage_tier": "none",
          "symbol_line": 1
        },
        "health_impact": 0.0,
        "reason": "many_branches has CRAP 240 (complexity 15, estimated, no test found reaching it)",
        "dimension": "advisory",
        "id": "finding_878a89457f1905e001a4"
      },
      {
        "biomarker_type": "untested_complexity",
        "severity": "medium",
        "file_path": "python/conditionals.py",
        "function_name": "three_ops",
        "line_start": 1,
        "line_end": 4,
        "details": {
          "crap": 30.0,
          "ccn": 5,
          "coverage_basis": "estimated",
          "action": "add_tests",
          "coverage_tier": "none",
          "symbol_line": 1
        },
        "health_impact": 0.0,
        "reason": "three_ops has CRAP 30 (complexity 5, estimated, no test found reaching it)",
        "dimension": "advisory",
        "id": "finding_e51ed3bb71580fb53c52"
      },
      {
        "biomarker_type": "untested_complexity",
        "severity": "medium",
        "file_path": "python/conditionals.py",
        "function_name": "six_ops",
        "line_start": 7,
        "line_end": 10,
        "details": {
          "crap": 72.0,
          "ccn": 8,
          "coverage_basis": "estimated",
          "action": "add_tests",
          "coverage_tier": "none",
          "symbol_line": 7
        },
        "health_impact": 0.0,
        "reason": "six_ops has CRAP 72 (complexity 8, estimated, no test found reaching it)",
        "dimension": "advisory",
        "id": "finding_9ce0eaced1fca0186c01"
      },
      {
        "biomarker_type": "nested_complexity",
        "severity": "high",
        "file_path": "python/nested.py",
        "function_name": "deeply_nested",
        "line_start": 1,
        "line_end": 12,
        "details": {
          "max_nesting": 5,
          "ccn": 7,
          "cognitive": 20,
          "dispatch_share": 0.0,
          "symbol_line": 1,
          "deepest_block": {
            "start": 6,
            "end": 10
          }
        },
        "health_impact": 1.452,
        "reason": "deeply_nested nests 5 levels deep",
        "dimension": "defect",
        "id": "finding_d4ee38f48a43bc6c92fd"
      },
      {
        "biomarker_type": "untested_complexity",
        "severity": "medium",
        "file_path": "python/nested.py",
        "function_name": "deeply_nested",
        "line_start": 1,
        "line_end": 12,
        "details": {
          "crap": 56.0,
          "ccn": 7,
          "coverage_basis": "estimated",
          "action": "add_tests",
          "coverage_tier": "none",
          "symbol_line": 1
        },
        "health_impact": 0.0,
        "reason": "deeply_nested has CRAP 56 (complexity 7, estimated, no test found reaching it)",
        "dimension": "advisory",
        "id": "finding_b229a93c6dc594cdc15f"
      },
      {
        "biomarker_type": "error_handling",
        "severity": "low",
        "file_path": "python/nested.py",
        "function_name": null,
        "line_start": 9,
        "line_end": 9,
        "details": {
          "kind": "swallowed_catch",
          "symbol_line": 1,
          "symbol": "deeply_nested"
        },
        "health_impact": 0.136,
        "reason": "caught exception is swallowed without any handling",
        "dimension": "maintainability",
        "id": "finding_a2c98dd353bdd9aa22b3"
      },
      {
        "biomarker_type": "error_handling",
        "severity": "low",
        "file_path": "python/nested.py",
        "function_name": null,
        "line_start": 9,
        "line_end": 9,
        "details": {
          "kind": "broad_except",
          "symbol_line": 1,
          "symbol": "deeply_nested"
        },
        "health_impact": 0.136,
        "reason": "broad `except Exception` catches unrelated errors and can hide bugs",
        "dimension": "maintainability",
        "id": "finding_61df1a80f37292b7b485"
      },
      {
        "biomarker_type": "io_in_loop",
        "severity": "medium",
        "file_path": "python/perf_io_in_loop.py",
        "function_name": "db_execute_in_loop",
        "line_start": 20,
        "line_end": 20,
        "details": {
          "boundary_kind": "db",
          "cross_function": false,
          "loop_iterates": "config_table",
          "loop_line": 19,
          "sink_call": "session.execute",
          "symbol_line": 18,
          "role_owner": "python/perf_io_in_loop.py::db_execute_in_loop",
          "execution_role": "unknown",
          "opportunity_id": "perf3_3dc56d1298758cec0e7d"
        },
        "health_impact": 0.0,
        "reason": "a database call runs once per loop iteration (N+1 query)",
        "dimension": "performance",
        "id": "finding_2cd080f4fd509a8aa07b"
      },
      {
        "biomarker_type": "io_in_loop",
        "severity": "medium",
        "file_path": "python/perf_io_in_loop.py",
        "function_name": "subprocess_in_loop",
        "line_start": 25,
        "line_end": 25,
        "details": {
          "boundary_kind": "subprocess",
          "cross_function": false,
          "loop_iterates": "parameter",
          "loop_line": 24,
          "sink_call": "subprocess.run",
          "symbol_line": 23,
          "role_owner": "python/perf_io_in_loop.py::subprocess_in_loop",
          "execution_role": "unknown",
          "opportunity_id": "perf3_069d54d9219b684b8852"
        },
        "health_impact": 0.0,
        "reason": "a subprocess spawn runs once per loop iteration (I/O call inside a loop)",
        "dimension": "performance",
        "id": "finding_d63e7311ad29f0308829"
      },
      {
        "biomarker_type": "io_in_loop",
        "severity": "medium",
        "file_path": "python/perf_io_in_loop.py",
        "function_name": "http_in_loop",
        "line_start": 30,
        "line_end": 30,
        "details": {
          "boundary_kind": "network",
          "cross_function": false,
          "loop_iterates": "parameter",
          "loop_line": 29,
          "sink_call": "requests.get",
          "symbol_line": 28,
          "role_owner": "python/perf_io_in_loop.py::http_in_loop",
          "execution_role": "unknown",
          "opportunity_id": "perf3_cd8a40bdf6f8657389c1"
        },
        "health_impact": 0.0,
        "reason": "a network call runs once per loop iteration (I/O call inside a loop)",
        "dimension": "performance",
        "id": "finding_ac736fdb805e6c6a6ffe"
      },
      {
        "biomarker_type": "io_in_loop",
        "severity": "medium",
        "file_path": "python/perf_io_in_loop.py",
        "function_name": "open_in_loop",
        "line_start": 85,
        "line_end": 85,
        "details": {
          "boundary_kind": "filesystem",
          "cross_function": false,
          "loop_iterates": "parameter",
          "loop_line": 84,
          "sink_call": "open",
          "symbol_line": 83,
          "role_owner": "python/perf_io_in_loop.py::open_in_loop",
          "execution_role": "unknown",
          "opportunity_id": "perf3_177a2b674a1483bdb31a"
        },
        "health_impact": 0.0,
        "reason": "a filesystem call runs once per loop iteration (I/O call inside a loop)",
        "dimension": "performance",
        "id": "finding_25a074abb1c11f9d1e11"
      },
      {
        "biomarker_type": "string_concat_in_loop",
        "severity": "low",
        "file_path": "python/perf_io_in_loop.py",
        "function_name": "string_concat_in_loop",
        "line_start": 41,
        "line_end": 41,
        "details": {
          "loop_iterates": "parameter",
          "loop_line": 40,
          "subject": "out",
          "symbol_line": 38,
          "role_owner": "python/perf_io_in_loop.py::string_concat_in_loop",
          "execution_role": "unknown",
          "opportunity_id": "perf3_02a9e6ff6fb58543432e"
        },
        "health_impact": 0.0,
        "reason": "string built by += in a loop; use a buffer / join for linear cost",
        "dimension": "performance",
        "id": "finding_363e651843e2f9852610"
      },
      {
        "biomarker_type": "blocking_sync_in_async",
        "severity": "medium",
        "file_path": "python/perf_io_in_loop.py",
        "function_name": "blocking_in_async",
        "line_start": 46,
        "line_end": 46,
        "details": {
          "api": "time.sleep",
          "symbol_line": 45,
          "role_owner": "python/perf_io_in_loop.py::blocking_in_async",
          "execution_role": "unknown",
          "opportunity_id": "perf3_07c417d2125a398652e2"
        },
        "health_impact": 0.0,
        "reason": "time.sleep blocks the event loop inside an async function",
        "dimension": "performance",
        "id": "finding_5cc0e20e883c6e0d96e4"
      },
      {
        "biomarker_type": "blocking_sync_in_async",
        "severity": "medium",
        "file_path": "python/perf_io_in_loop.py",
        "function_name": "blocking_in_async",
        "line_start": 47,
        "line_end": 47,
        "details": {
          "api": "requests.get",
          "symbol_line": 45,
          "role_owner": "python/perf_io_in_loop.py::blocking_in_async",
          "execution_role": "unknown",
          "opportunity_id": "perf3_07c417d2125a398652e2"
        },
        "health_impact": 0.0,
        "reason": "requests.get blocks the event loop inside an async function",
        "dimension": "performance",
        "id": "finding_52b1f6c101cb9dbd9bdf"
      },
      {
        "biomarker_type": "nested_complexity",
        "severity": "medium",
        "file_path": "ruby/nested.rb",
        "function_name": "deeply_nested",
        "line_start": 3,
        "line_end": 14,
        "details": {
          "max_nesting": 4,
          "ccn": 5,
          "cognitive": 10,
          "dispatch_share": 0.0,
          "symbol_line": 3,
          "deepest_block": {
            "start": 6,
            "end": 10
          }
        },
        "health_impact": 0.883,
        "reason": "deeply_nested nests 4 levels deep",
        "dimension": "defect",
        "id": "finding_980163708d497ecefb31"
      },
      {
        "biomarker_type": "untested_complexity",
        "severity": "medium",
        "file_path": "ruby/nested.rb",
        "function_name": "deeply_nested",
        "line_start": 3,
        "line_end": 14,
        "details": {
          "crap": 30.0,
          "ccn": 5,
          "coverage_basis": "estimated",
          "action": "add_tests",
          "coverage_tier": "none",
          "symbol_line": 3
        },
        "health_impact": 0.0,
        "reason": "deeply_nested has CRAP 30 (complexity 5, estimated, no test found reaching it)",
        "dimension": "advisory",
        "id": "finding_75bf41261c0bcdf5e53c"
      },
      {
        "biomarker_type": "untested_complexity",
        "severity": "medium",
        "file_path": "ruby/nested.rb",
        "function_name": "many_branches",
        "line_start": 16,
        "line_end": 27,
        "details": {
          "crap": 56.0,
          "ccn": 7,
          "coverage_basis": "estimated",
          "action": "add_tests",
          "coverage_tier": "none",
          "symbol_line": 16
        },
        "health_impact": 0.0,
        "reason": "many_branches has CRAP 56 (complexity 7, estimated, no test found reaching it)",
        "dimension": "advisory",
        "id": "finding_77744cd877e0d96bea97"
      },
      {
        "biomarker_type": "io_in_loop",
        "severity": "medium",
        "file_path": "ruby/perf_io_in_loop.rb",
        "function_name": "sync_fetch_each",
        "line_start": 8,
        "line_end": 8,
        "details": {
          "boundary_kind": "network",
          "cross_function": false,
          "loop_iterates": "parameter",
          "loop_line": 7,
          "sink_call": "get",
          "symbol_line": 6,
          "role_owner": "ruby/perf_io_in_loop.rb::sync_fetch_each",
          "execution_role": "unknown",
          "opportunity_id": "perf3_72ff99e9bea8942e1d56"
        },
        "health_impact": 0.0,
        "reason": "a network call runs once per loop iteration (I/O call inside a loop)",
        "dimension": "performance",
        "id": "finding_6c8f283ef84d047bc1c2"
      },
      {
        "biomarker_type": "io_in_loop",
        "severity": "medium",
        "file_path": "ruby/perf_io_in_loop.rb",
        "function_name": "read_files",
        "line_start": 13,
        "line_end": 13,
        "details": {
          "boundary_kind": "filesystem",
          "cross_function": false,
          "loop_iterates": "parameter",
          "loop_line": 13,
          "sink_call": "read",
          "symbol_line": 12,
          "role_owner": "ruby/perf_io_in_loop.rb::read_files",
          "execution_role": "unknown",
          "opportunity_id": "perf3_2fdb693e277e138e8f8f"
        },
        "health_impact": 0.0,
        "reason": "a filesystem call runs once per loop iteration (I/O call inside a loop)",
        "dimension": "performance",
        "id": "finding_c9282d178ddb4b3ebf14"
      },
      {
        "biomarker_type": "io_in_loop",
        "severity": "medium",
        "file_path": "ruby/perf_io_in_loop.rb",
        "function_name": "nested_read",
        "line_start": 18,
        "line_end": 18,
        "details": {
          "boundary_kind": "filesystem",
          "cross_function": false,
          "loop_iterates": "parameter",
          "loop_line": 17,
          "sink_call": "glob",
          "symbol_line": 16,
          "role_owner": "ruby/perf_io_in_loop.rb::nested_read",
          "execution_role": "unknown",
          "opportunity_id": "perf3_d1c54153bab1417f5dd4"
        },
        "health_impact": 0.0,
        "reason": "a filesystem call runs once per loop iteration (I/O call inside a loop)",
        "dimension": "performance",
        "id": "finding_feb2693a994d353f4562"
      },
      {
        "biomarker_type": "io_in_loop",
        "severity": "medium",
        "file_path": "ruby/perf_io_in_loop.rb",
        "function_name": "nested_read",
        "line_start": 19,
        "line_end": 19,
        "details": {
          "boundary_kind": "filesystem",
          "cross_function": false,
          "loop_iterates": "listing",
          "loop_line": 18,
          "sink_call": "read",
          "symbol_line": 16,
          "role_owner": "ruby/perf_io_in_loop.rb::nested_read",
          "execution_role": "unknown",
          "opportunity_id": "perf3_d1c54153bab1417f5dd4"
        },
        "health_impact": 0.0,
        "reason": "a filesystem call runs once per loop iteration (I/O call inside a loop)",
        "dimension": "performance",
        "id": "finding_bca37a3054851b49b8f6"
      },
      {
        "biomarker_type": "io_in_loop",
        "severity": "medium",
        "file_path": "ruby/perf_io_in_loop.rb",
        "function_name": "orders_report",
        "line_start": 26,
        "line_end": 26,
        "details": {
          "boundary_kind": "db",
          "cross_function": false,
          "loop_iterates": "parameter",
          "loop_line": 25,
          "sink_call": "where",
          "symbol_line": 24,
          "role_owner": "ruby/perf_io_in_loop.rb::orders_report",
          "execution_role": "unknown",
          "opportunity_id": "perf3_b52d9dad50af33698879"
        },
        "health_impact": 0.0,
        "reason": "a database call runs once per loop iteration (N+1 query)",
        "dimension": "performance",
        "id": "finding_2051d96b317a5b4c9e9e"
      },
      {
        "biomarker_type": "io_in_loop",
        "severity": "medium",
        "file_path": "ruby/perf_io_in_loop.rb",
        "function_name": "fresh_clients",
        "line_start": 68,
        "line_end": 68,
        "details": {
          "boundary_kind": "network",
          "cross_function": false,
          "loop_iterates": "parameter",
          "loop_line": 66,
          "sink_call": "get",
          "symbol_line": 65,
          "role_owner": "ruby/perf_io_in_loop.rb::fresh_clients",
          "execution_role": "unknown",
          "opportunity_id": "perf3_4c9a8d9d71f9abc2a65c"
        },
        "health_impact": 0.0,
        "reason": "a network call runs once per loop iteration (I/O call inside a loop)",
        "dimension": "performance",
        "id": "finding_57cdf43d682f3e4622de"
      },
      {
        "biomarker_type": "io_in_loop",
        "severity": "medium",
        "file_path": "ruby/perf_io_in_loop.rb",
        "function_name": "shell_out",
        "line_start": 74,
        "line_end": 74,
        "details": {
          "boundary_kind": "subprocess",
          "cross_function": false,
          "loop_iterates": "parameter",
          "loop_line": 73,
          "sink_call": "__subshell__",
          "symbol_line": 72,
          "role_owner": "ruby/perf_io_in_loop.rb::shell_out",
          "execution_role": "unknown",
          "opportunity_id": "perf3_ec0090b8a2683a637225"
        },
        "health_impact": 0.0,
        "reason": "a subprocess spawn runs once per loop iteration (I/O call inside a loop)",
        "dimension": "performance",
        "id": "finding_df121e1fc0f6d522dd44"
      },
      {
        "biomarker_type": "io_in_loop",
        "severity": "medium",
        "file_path": "ruby/perf_io_in_loop.rb",
        "function_name": "locked_write",
        "line_start": 81,
        "line_end": 81,
        "details": {
          "boundary_kind": "filesystem",
          "cross_function": false,
          "loop_iterates": "parameter",
          "loop_line": 79,
          "sink_call": "write",
          "symbol_line": 78,
          "role_owner": "ruby/perf_io_in_loop.rb::locked_write",
          "execution_role": "unknown",
          "opportunity_id": "perf3_604ed2f876f904e76aee"
        },
        "health_impact": 0.0,
        "reason": "a filesystem call runs once per loop iteration (I/O call inside a loop)",
        "dimension": "performance",
        "id": "finding_742b0aef52f4122e7827"
      },
      {
        "biomarker_type": "string_concat_in_loop",
        "severity": "low",
        "file_path": "ruby/perf_io_in_loop.rb",
        "function_name": "build_report",
        "line_start": 42,
        "line_end": 42,
        "details": {
          "loop_iterates": "parameter",
          "loop_line": 41,
          "subject": "out",
          "symbol_line": 39,
          "role_owner": "ruby/perf_io_in_loop.rb::build_report",
          "execution_role": "unknown",
          "opportunity_id": "perf3_f8009e55994b59b42b1b"
        },
        "health_impact": 0.0,
        "reason": "string built by += in a loop; use a buffer / join for linear cost",
        "dimension": "performance",
        "id": "finding_fa874ee36bc9f8ffc3fa"
      },
      {
        "biomarker_type": "regex_compile_in_loop",
        "severity": "medium",
        "file_path": "ruby/perf_io_in_loop.rb",
        "function_name": "regex_scan",
        "line_start": 60,
        "line_end": 60,
        "details": {
          "loop_iterates": "parameter",
          "loop_line": 59,
          "symbol_line": 57,
          "role_owner": "ruby/perf_io_in_loop.rb::regex_scan",
          "execution_role": "unknown",
          "opportunity_id": "perf3_ec9fdd1aece3d2edc916"
        },
        "health_impact": 0.0,
        "reason": "a regex with a static pattern is recompiled every loop iteration; compile it once outside the loop and reuse it",
        "dimension": "performance",
        "id": "finding_0ca85673b505b29cd95b"
      },
      {
        "biomarker_type": "resource_construction_in_loop",
        "severity": "medium",
        "file_path": "ruby/perf_io_in_loop.rb",
        "function_name": "fresh_clients",
        "line_start": 67,
        "line_end": 67,
        "details": {
          "loop_iterates": "parameter",
          "loop_line": 66,
          "symbol_line": 65,
          "role_owner": "ruby/perf_io_in_loop.rb::fresh_clients",
          "execution_role": "unknown",
          "opportunity_id": "perf3_dca67c3bd9d21c04b3d9"
        },
        "health_impact": 0.0,
        "reason": "a heavy client / connection is constructed each loop iteration; hoist and reuse a single instance",
        "dimension": "performance",
        "id": "finding_f9ccf05a58539ab7b1ec"
      },
      {
        "biomarker_type": "lock_in_loop",
        "severity": "low",
        "file_path": "ruby/perf_io_in_loop.rb",
        "function_name": "locked_write",
        "line_start": 80,
        "line_end": 80,
        "details": {
          "loop_iterates": "parameter",
          "loop_line": 79,
          "symbol_line": 78,
          "role_owner": "ruby/perf_io_in_loop.rb::locked_write",
          "execution_role": "unknown",
          "opportunity_id": "perf3_89c5ae4309ebf07ea162"
        },
        "health_impact": 0.0,
        "reason": "a lock is acquired every loop iteration; hoist the lock outside the loop or batch the critical section",
        "dimension": "performance",
        "id": "finding_11769c1714b9c718f589"
      },
      {
        "biomarker_type": "nested_loop_with_io",
        "severity": "medium",
        "file_path": "ruby/perf_io_in_loop.rb",
        "function_name": "nested_read",
        "line_start": 19,
        "line_end": 19,
        "details": {
          "boundary_kind": "filesystem",
          "loop_iterates": "listing",
          "loop_line": 18,
          "sink_call": "read",
          "symbol_line": 16,
          "role_owner": "ruby/perf_io_in_loop.rb::nested_read",
          "execution_role": "unknown",
          "opportunity_id": "perf3_d1c54153bab1417f5dd4"
        },
        "health_impact": 0.0,
        "reason": "a filesystem call runs inside a nested loop (O(n\u00b7m) round-trips); batch the inner query or restructure the loops",
        "dimension": "performance",
        "id": "finding_ad5d50e73ce1aa4826be"
      },
      {
        "biomarker_type": "blocking_io_under_lock",
        "severity": "medium",
        "file_path": "ruby/perf_io_in_loop.rb",
        "function_name": "locked_write",
        "line_start": 81,
        "line_end": 81,
        "details": {
          "boundary_kind": "filesystem",
          "cross_function": false,
          "symbol_line": 78,
          "role_owner": "ruby/perf_io_in_loop.rb::locked_write",
          "execution_role": "unknown",
          "opportunity_id": "perf3_e9b2aa6f45b6556776a7"
        },
        "health_impact": 0.0,
        "reason": "a filesystem call runs while a lock is held; every thread that needs the lock waits for it",
        "dimension": "performance",
        "id": "finding_8ef9939b9fdcbcf63e88"
      },
      {
        "biomarker_type": "untested_complexity",
        "severity": "medium",
        "file_path": "rust/conditionals.rs",
        "function_name": "three_ops",
        "line_start": 1,
        "line_end": 6,
        "details": {
          "crap": 30.0,
          "ccn": 5,
          "coverage_basis": "estimated",
          "action": "add_tests",
          "coverage_tier": "none",
          "symbol_line": 1
        },
        "health_impact": 0.0,
        "reason": "three_ops has CRAP 30 (complexity 5, estimated, no test found reaching it)",
        "dimension": "advisory",
        "id": "finding_a42703ee8e4769a7c306"
      },
      {
        "biomarker_type": "untested_complexity",
        "severity": "medium",
        "file_path": "rust/conditionals.rs",
        "function_name": "six_ops",
        "line_start": 8,
        "line_end": 13,
        "details": {
          "crap": 72.0,
          "ccn": 8,
          "coverage_basis": "estimated",
          "action": "add_tests",
          "coverage_tier": "none",
          "symbol_line": 8
        },
        "health_impact": 0.0,
        "reason": "six_ops has CRAP 72 (complexity 8, estimated, no test found reaching it)",
        "dimension": "advisory",
        "id": "finding_7e8892978e25daab749c"
      },
      {
        "biomarker_type": "nested_complexity",
        "severity": "high",
        "file_path": "rust/nested.rs",
        "function_name": "deeply_nested",
        "line_start": 1,
        "line_end": 16,
        "details": {
          "max_nesting": 5,
          "ccn": 6,
          "cognitive": 15,
          "dispatch_share": 0.0,
          "symbol_line": 1,
          "deepest_block": {
            "start": 6,
            "end": 11
          }
        },
        "health_impact": 1.452,
        "reason": "deeply_nested nests 5 levels deep",
        "dimension": "defect",
        "id": "finding_51c3d3fb3a7baa49f5d1"
      },
      {
        "biomarker_type": "untested_complexity",
        "severity": "medium",
        "file_path": "rust/nested.rs",
        "function_name": "deeply_nested",
        "line_start": 1,
        "line_end": 16,
        "details": {
          "crap": 42.0,
          "ccn": 6,
          "coverage_basis": "estimated",
          "action": "add_tests",
          "coverage_tier": "none",
          "symbol_line": 1
        },
        "health_impact": 0.0,
        "reason": "deeply_nested has CRAP 42 (complexity 6, estimated, no test found reaching it)",
        "dimension": "advisory",
        "id": "finding_274f31bce9e3a7e76826"
      },
      {
        "biomarker_type": "io_in_loop",
        "severity": "medium",
        "file_path": "rust/perf_io_in_loop.rs",
        "function_name": "sqlx_fetch_in_loop",
        "line_start": 18,
        "line_end": 18,
        "details": {
          "boundary_kind": "db",
          "cross_function": false,
          "loop_key_unused": true,
          "loop_iterates": "parameter",
          "loop_line": 15,
          "sink_call": "fetch_all",
          "symbol_line": 14,
          "role_owner": "rust/perf_io_in_loop.rs::sqlx_fetch_in_loop",
          "execution_role": "unknown",
          "opportunity_id": "perf3_939b75f0ac56803ff533"
        },
        "health_impact": 0.0,
        "reason": "a database call runs once per loop iteration (N+1 query)",
        "dimension": "performance",
        "id": "finding_c73bac52db274d1f987a"
      },
      {
        "biomarker_type": "io_in_loop",
        "severity": "medium",
        "file_path": "rust/perf_io_in_loop.rs",
        "function_name": "fs_read_in_loop",
        "line_start": 24,
        "line_end": 24,
        "details": {
          "boundary_kind": "filesystem",
          "cross_function": false,
          "loop_iterates": "parameter",
          "loop_line": 23,
          "sink_call": "std::fs::read",
          "symbol_line": 22,
          "role_owner": "rust/perf_io_in_loop.rs::fs_read_in_loop",
          "execution_role": "unknown",
          "opportunity_id": "perf3_adad65cebc5f1c75f474"
        },
        "health_impact": 0.0,
        "reason": "a filesystem call runs once per loop iteration (I/O call inside a loop)",
        "dimension": "performance",
        "id": "finding_8842088848a6ae8d097a"
      },
      {
        "biomarker_type": "io_in_loop",
        "severity": "medium",
        "file_path": "rust/perf_io_in_loop.rs",
        "function_name": "fs_read_to_string_in_loop",
        "line_start": 30,
        "line_end": 30,
        "details": {
          "boundary_kind": "filesystem",
          "cross_function": false,
          "loop_iterates": "parameter",
          "loop_line": 29,
          "sink_call": "fs::read_to_string",
          "symbol_line": 28,
          "role_owner": "rust/perf_io_in_loop.rs::fs_read_to_string_in_loop",
          "execution_role": "unknown",
          "opportunity_id": "perf3_f4f30f0e3cd8255db043"
        },
        "health_impact": 0.0,
        "reason": "a filesystem call runs once per loop iteration (I/O call inside a loop)",
        "dimension": "performance",
        "id": "finding_bf4474fe008e69454f1e"
      },
      {
        "biomarker_type": "io_in_loop",
        "severity": "medium",
        "file_path": "rust/perf_io_in_loop.rs",
        "function_name": "reqwest_get_in_loop",
        "line_start": 37,
        "line_end": 37,
        "details": {
          "boundary_kind": "network",
          "cross_function": false,
          "loop_iterates": "parameter",
          "loop_line": 35,
          "sink_call": "reqwest::get",
          "symbol_line": 34,
          "role_owner": "rust/perf_io_in_loop.rs::reqwest_get_in_loop",
          "execution_role": "unknown",
          "opportunity_id": "perf3_0b5f442a6246aab14c0f"
        },
        "health_impact": 0.0,
        "reason": "a network call runs once per loop iteration (I/O call inside a loop)",
        "dimension": "performance",
        "id": "finding_aa2a0136e84962f12204"
      },
      {
        "biomarker_type": "blocking_sync_in_async",
        "severity": "medium",
        "file_path": "rust/perf_io_in_loop.rs",
        "function_name": "thread_sleep_in_async",
        "line_start": 57,
        "line_end": 57,
        "details": {
          "api": "thread::sleep",
          "symbol_line": 56,
          "role_owner": "rust/perf_io_in_loop.rs::thread_sleep_in_async",
          "execution_role": "unknown",
          "opportunity_id": "perf3_b1c2a1cc1e7062adeb82"
        },
        "health_impact": 0.0,
        "reason": "thread::sleep blocks the event loop inside an async function",
        "dimension": "performance",
        "id": "finding_558eacd05afa1ccef799"
      },
      {
        "biomarker_type": "regex_compile_in_loop",
        "severity": "medium",
        "file_path": "rust/perf_io_in_loop.rs",
        "function_name": "regex_new_in_loop",
        "line_start": 43,
        "line_end": 43,
        "details": {
          "loop_iterates": "parameter",
          "loop_line": 42,
          "symbol_line": 41,
          "role_owner": "rust/perf_io_in_loop.rs::regex_new_in_loop",
          "execution_role": "unknown",
          "opportunity_id": "perf3_f658722384a884802dd9"
        },
        "health_impact": 0.0,
        "reason": "a regex with a static pattern is recompiled every loop iteration; compile it once outside the loop and reuse it",
        "dimension": "performance",
        "id": "finding_7b180d0d1453d1a4ca20"
      },
      {
        "biomarker_type": "resource_construction_in_loop",
        "severity": "medium",
        "file_path": "rust/perf_io_in_loop.rs",
        "function_name": "pgpool_connect_in_loop",
        "line_start": 52,
        "line_end": 52,
        "details": {
          "loop_iterates": "parameter",
          "loop_line": 50,
          "symbol_line": 49,
          "role_owner": "rust/perf_io_in_loop.rs::pgpool_connect_in_loop",
          "execution_role": "unknown",
          "opportunity_id": "perf3_e0d343e0f04b46173da9"
        },
        "health_impact": 0.0,
        "reason": "a heavy client / connection is constructed each loop iteration; hoist and reuse a single instance",
        "dimension": "performance",
        "id": "finding_c970865a01cffe095c3a"
      },
      {
        "biomarker_type": "low_cohesion",
        "severity": "medium",
        "file_path": "scala/classes.scala",
        "function_name": "Splintered",
        "line_start": 30,
        "line_end": 53,
        "details": {
          "class_name": "Splintered",
          "lcom4": 2,
          "method_count": 5,
          "field_count": 2,
          "symbol_line": 30
        },
        "health_impact": 0.342,
        "reason": "Splintered has low cohesion (LCOM4=2): its 5 methods split into 2 groups that share no fields or calls",
        "dimension": "maintainability",
        "id": "finding_37149d90e97e94d08056"
      },
      {
        "biomarker_type": "nested_complexity",
        "severity": "high",
        "file_path": "scala/nested.scala",
        "function_name": "deeplyNested",
        "line_start": 4,
        "line_end": 18,
        "details": {
          "max_nesting": 5,
          "ccn": 6,
          "cognitive": 15,
          "dispatch_share": 0.0,
          "symbol_line": 4,
          "deepest_block": {
            "start": 9,
            "end": 13
          }
        },
        "health_impact": 1.452,
        "reason": "deeplyNested nests 5 levels deep",
        "dimension": "defect",
        "id": "finding_8444c612b6ad7c705ffd"
      },
      {
        "biomarker_type": "complex_method",
        "severity": "medium",
        "file_path": "scala/nested.scala",
        "function_name": "manyBranches",
        "line_start": 20,
        "line_end": 28,
        "details": {
          "ccn": 9,
          "cognitive": 8,
          "nloc": 9,
          "dispatch_share": 0.0,
          "symbol_line": 20,
          "deepest_block": {
            "start": 21,
            "end": 25
          }
        },
        "health_impact": 0.774,
        "reason": "manyBranches has cyclomatic complexity 9",
        "dimension": "defect",
        "id": "finding_35278d63e4c3bf59be37"
      },
      {
        "biomarker_type": "untested_complexity",
        "severity": "medium",
        "file_path": "scala/nested.scala",
        "function_name": "deeplyNested",
        "line_start": 4,
        "line_end": 18,
        "details": {
          "crap": 42.0,
          "ccn": 6,
          "coverage_basis": "estimated",
          "action": "add_tests",
          "coverage_tier": "none",
          "symbol_line": 4
        },
        "health_impact": 0.0,
        "reason": "deeplyNested has CRAP 42 (complexity 6, estimated, no test found reaching it)",
        "dimension": "advisory",
        "id": "finding_bef116cdaae8db9288a4"
      },
      {
        "biomarker_type": "untested_complexity",
        "severity": "medium",
        "file_path": "scala/nested.scala",
        "function_name": "manyBranches",
        "line_start": 20,
        "line_end": 28,
        "details": {
          "crap": 90.0,
          "ccn": 9,
          "coverage_basis": "estimated",
          "action": "add_tests",
          "coverage_tier": "none",
          "symbol_line": 20
        },
        "health_impact": 0.0,
        "reason": "manyBranches has CRAP 90 (complexity 9, estimated, no test found reaching it)",
        "dimension": "advisory",
        "id": "finding_5bf22a92bcba1473b280"
      },
      {
        "biomarker_type": "io_in_loop",
        "severity": "medium",
        "file_path": "scala/perf_io_in_loop.scala",
        "function_name": "readAll",
        "line_start": 17,
        "line_end": 17,
        "details": {
          "boundary_kind": "filesystem",
          "cross_function": false,
          "loop_key_unused": true,
          "loop_line": 16,
          "sink_call": "Source.fromFile",
          "symbol_line": 14,
          "role_owner": "scala/perf_io_in_loop.scala::PerfIoInLoop::readAll",
          "execution_role": "unknown",
          "opportunity_id": "perf3_b7ae0ae40ee161bbb6a5"
        },
        "health_impact": 0.0,
        "reason": "a filesystem call runs once per loop iteration (I/O call inside a loop)",
        "dimension": "performance",
        "id": "finding_96ddb544d93db789950e"
      },
      {
        "biomarker_type": "io_in_loop",
        "severity": "medium",
        "file_path": "scala/perf_io_in_loop.scala",
        "function_name": "matrix",
        "line_start": 26,
        "line_end": 26,
        "details": {
          "boundary_kind": "filesystem",
          "cross_function": false,
          "loop_key_unused": true,
          "loop_line": 25,
          "sink_call": "Source.fromFile",
          "symbol_line": 23,
          "role_owner": "scala/perf_io_in_loop.scala::PerfIoInLoop::matrix",
          "execution_role": "unknown",
          "opportunity_id": "perf3_e976af66936a82c966c7"
        },
        "health_impact": 0.0,
        "reason": "a filesystem call runs once per loop iteration (I/O call inside a loop)",
        "dimension": "performance",
        "id": "finding_7dcb4e1ec1c1ce6098d6"
      },
      {
        "biomarker_type": "string_concat_in_loop",
        "severity": "low",
        "file_path": "scala/perf_io_in_loop.scala",
        "function_name": "concat",
        "line_start": 54,
        "line_end": 54,
        "details": {
          "loop_line": 53,
          "subject": "acc",
          "symbol_line": 50,
          "role_owner": "scala/perf_io_in_loop.scala::PerfIoInLoop::concat",
          "execution_role": "unknown",
          "opportunity_id": "perf3_c5af9958214b7571ad9a"
        },
        "health_impact": 0.0,
        "reason": "string built by += in a loop; use a buffer / join for linear cost",
        "dimension": "performance",
        "id": "finding_b249435fa880cb550f1f"
      },
      {
        "biomarker_type": "blocking_sync_in_async",
        "severity": "medium",
        "file_path": "scala/perf_io_in_loop.scala",
        "function_name": "slow",
        "line_start": 68,
        "line_end": 68,
        "details": {
          "api": "Await.result",
          "symbol_line": 67,
          "role_owner": "scala/perf_io_in_loop.scala::PerfIoInLoop::slow",
          "execution_role": "unknown",
          "opportunity_id": "perf3_06c429b28b60dda16af1"
        },
        "health_impact": 0.0,
        "reason": "Await.result blocks the event loop inside an async function",
        "dimension": "performance",
        "id": "finding_80673f50e6affb13ae4d"
      },
      {
        "biomarker_type": "regex_compile_in_loop",
        "severity": "medium",
        "file_path": "scala/perf_io_in_loop.scala",
        "function_name": "regexInLoop",
        "line_start": 34,
        "line_end": 34,
        "details": {
          "loop_line": 33,
          "symbol_line": 31,
          "role_owner": "scala/perf_io_in_loop.scala::PerfIoInLoop::regexInLoop",
          "execution_role": "unknown",
          "opportunity_id": "perf3_daad2514fb5c14b02486"
        },
        "health_impact": 0.0,
        "reason": "a regex with a static pattern is recompiled every loop iteration; compile it once outside the loop and reuse it",
        "dimension": "performance",
        "id": "finding_bd857a2ca7c7b74ddcd6"
      },
      {
        "biomarker_type": "regex_compile_in_loop",
        "severity": "medium",
        "file_path": "scala/perf_io_in_loop.scala",
        "function_name": "regexInLoop",
        "line_start": 35,
        "line_end": 35,
        "details": {
          "loop_line": 33,
          "symbol_line": 31,
          "role_owner": "scala/perf_io_in_loop.scala::PerfIoInLoop::regexInLoop",
          "execution_role": "unknown",
          "opportunity_id": "perf3_daad2514fb5c14b02486"
        },
        "health_impact": 0.0,
        "reason": "a regex with a static pattern is recompiled every loop iteration; compile it once outside the loop and reuse it",
        "dimension": "performance",
        "id": "finding_f72b7134b6eace67b9e9"
      },
      {
        "biomarker_type": "lock_in_loop",
        "severity": "low",
        "file_path": "scala/perf_io_in_loop.scala",
        "function_name": "locked",
        "line_start": 83,
        "line_end": 83,
        "details": {
          "loop_line": 82,
          "symbol_line": 81,
          "role_owner": "scala/perf_io_in_loop.scala::PerfIoInLoop::locked",
          "execution_role": "unknown",
          "opportunity_id": "perf3_446e8e6461f803f5222e"
        },
        "health_impact": 0.0,
        "reason": "a lock is acquired every loop iteration; hoist the lock outside the loop or batch the critical section",
        "dimension": "performance",
        "id": "finding_6a72355d530dd9e502ed"
      },
      {
        "biomarker_type": "nested_loop_with_io",
        "severity": "medium",
        "file_path": "scala/perf_io_in_loop.scala",
        "function_name": "matrix",
        "line_start": 26,
        "line_end": 26,
        "details": {
          "boundary_kind": "filesystem",
          "loop_key_unused": true,
          "loop_line": 25,
          "sink_call": "Source.fromFile",
          "symbol_line": 23,
          "role_owner": "scala/perf_io_in_loop.scala::PerfIoInLoop::matrix",
          "execution_role": "unknown",
          "opportunity_id": "perf3_e976af66936a82c966c7"
        },
        "health_impact": 0.0,
        "reason": "a filesystem call runs inside a nested loop (O(n\u00b7m) round-trips); batch the inner query or restructure the loops",
        "dimension": "performance",
        "id": "finding_d89c535ab83693192f71"
      },
      {
        "biomarker_type": "complex_method",
        "severity": "medium",
        "file_path": "shell/control_flow.sh",
        "function_name": "process",
        "line_start": 5,
        "line_end": 36,
        "details": {
          "ccn": 10,
          "cognitive": 9,
          "nloc": 27,
          "dispatch_share": 0.11,
          "symbol_line": 5,
          "deepest_block": {
            "start": 7,
            "end": 13
          }
        },
        "health_impact": 0.774,
        "reason": "process has cyclomatic complexity 10",
        "dimension": "defect",
        "id": "finding_d2fe951005c971f897c1"
      },
      {
        "biomarker_type": "untested_complexity",
        "severity": "medium",
        "file_path": "shell/control_flow.sh",
        "function_name": "process",
        "line_start": 5,
        "line_end": 36,
        "details": {
          "crap": 110.0,
          "ccn": 10,
          "coverage_basis": "estimated",
          "action": "add_tests",
          "coverage_tier": "none",
          "symbol_line": 5
        },
        "health_impact": 0.0,
        "reason": "process has CRAP 110 (complexity 10, estimated, no test found reaching it)",
        "dimension": "advisory",
        "id": "finding_45212a20ebb63db6f7dc"
      },
      {
        "biomarker_type": "nested_complexity",
        "severity": "medium",
        "file_path": "swift/nested.swift",
        "function_name": "deeplyNested",
        "line_start": 3,
        "line_end": 14,
        "details": {
          "max_nesting": 4,
          "ccn": 5,
          "cognitive": 10,
          "dispatch_share": 0.0,
          "symbol_line": 3,
          "deepest_block": {
            "start": 6,
            "end": 10
          }
        },
        "health_impact": 0.883,
        "reason": "deeplyNested nests 4 levels deep",
        "dimension": "defect",
        "id": "finding_d407fd3ab687e2789f32"
      },
      {
        "biomarker_type": "untested_complexity",
        "severity": "medium",
        "file_path": "swift/nested.swift",
        "function_name": "deeplyNested",
        "line_start": 3,
        "line_end": 14,
        "details": {
          "crap": 30.0,
          "ccn": 5,
          "coverage_basis": "estimated",
          "action": "add_tests",
          "coverage_tier": "none",
          "symbol_line": 3
        },
        "health_impact": 0.0,
        "reason": "deeplyNested has CRAP 30 (complexity 5, estimated, no test found reaching it)",
        "dimension": "advisory",
        "id": "finding_8bf514f1b02c06aca9a2"
      },
      {
        "biomarker_type": "low_cohesion",
        "severity": "medium",
        "file_path": "typescript/classes.ts",
        "function_name": "Splintered",
        "line_start": 28,
        "line_end": 51,
        "details": {
          "class_name": "Splintered",
          "lcom4": 2,
          "method_count": 5,
          "field_count": 2,
          "symbol_line": 28
        },
        "health_impact": 0.342,
        "reason": "Splintered has low cohesion (LCOM4=2): its 5 methods split into 2 groups that share no fields or calls",
        "dimension": "maintainability",
        "id": "finding_71eaf8ee511ffe4dce0d"
      },
      {
        "biomarker_type": "untested_complexity",
        "severity": "medium",
        "file_path": "typescript/conditionals.ts",
        "function_name": "threeOps",
        "line_start": 1,
        "line_end": 6,
        "details": {
          "crap": 30.0,
          "ccn": 5,
          "coverage_basis": "estimated",
          "action": "add_tests",
          "coverage_tier": "none",
          "symbol_line": 1
        },
        "health_impact": 0.0,
        "reason": "threeOps has CRAP 30 (complexity 5, estimated, no test found reaching it)",
        "dimension": "advisory",
        "id": "finding_d6eb483a3c2792253001"
      },
      {
        "biomarker_type": "untested_complexity",
        "severity": "medium",
        "file_path": "typescript/conditionals.ts",
        "function_name": "sixOps",
        "line_start": 8,
        "line_end": 21,
        "details": {
          "crap": 72.0,
          "ccn": 8,
          "coverage_basis": "estimated",
          "action": "add_tests",
          "coverage_tier": "none",
          "symbol_line": 8
        },
        "health_impact": 0.0,
        "reason": "sixOps has CRAP 72 (complexity 8, estimated, no test found reaching it)",
        "dimension": "advisory",
        "id": "finding_97168cde0d08fc10589a"
      },
      {
        "biomarker_type": "nested_complexity",
        "severity": "high",
        "file_path": "typescript/nested.ts",
        "function_name": "deeplyNested",
        "line_start": 1,
        "line_end": 19,
        "details": {
          "max_nesting": 5,
          "ccn": 7,
          "cognitive": 20,
          "dispatch_share": 0.0,
          "symbol_line": 1,
          "deepest_block": {
            "start": 6,
            "end": 12
          }
        },
        "health_impact": 1.452,
        "reason": "deeplyNested nests 5 levels deep",
        "dimension": "defect",
        "id": "finding_28aa3ceec6692a33ea1e"
      },
      {
        "biomarker_type": "untested_complexity",
        "severity": "medium",
        "file_path": "typescript/nested.ts",
        "function_name": "deeplyNested",
        "line_start": 1,
        "line_end": 19,
        "details": {
          "crap": 56.0,
          "ccn": 7,
          "coverage_basis": "estimated",
          "action": "add_tests",
          "coverage_tier": "none",
          "symbol_line": 1
        },
        "health_impact": 0.0,
        "reason": "deeplyNested has CRAP 56 (complexity 7, estimated, no test found reaching it)",
        "dimension": "advisory",
        "id": "finding_b8dce4aaa790eae85100"
      },
      {
        "biomarker_type": "error_handling",
        "severity": "low",
        "file_path": "typescript/nested.ts",
        "function_name": null,
        "line_start": 10,
        "line_end": 10,
        "details": {
          "kind": "swallowed_catch",
          "symbol_line": 1,
          "symbol": "deeplyNested"
        },
        "health_impact": 0.143,
        "reason": "caught exception is swallowed without any handling",
        "dimension": "maintainability",
        "id": "finding_a35ce27fd3a48728b788"
      },
      {
        "biomarker_type": "io_in_loop",
        "severity": "medium",
        "file_path": "typescript/perf_io_in_loop.ts",
        "function_name": "fetchInLoop",
        "line_start": 9,
        "line_end": 9,
        "details": {
          "boundary_kind": "network",
          "cross_function": false,
          "loop_iterates": "parameter",
          "loop_line": 8,
          "sink_call": "fetch",
          "symbol_line": 7,
          "role_owner": "typescript/perf_io_in_loop.ts::fetchInLoop",
          "execution_role": "unknown",
          "opportunity_id": "perf3_f670b296bb8c129b3c74"
        },
        "health_impact": 0.0,
        "reason": "a network call runs once per loop iteration (I/O call inside a loop)",
        "dimension": "performance",
        "id": "finding_c61c4278e0d31a0eed04"
      },
      {
        "biomarker_type": "io_in_loop",
        "severity": "medium",
        "file_path": "typescript/perf_io_in_loop.ts",
        "function_name": "axiosInLoop",
        "line_start": 15,
        "line_end": 15,
        "details": {
          "boundary_kind": "network",
          "cross_function": false,
          "loop_iterates": "parameter",
          "loop_line": 14,
          "sink_call": "axios.get",
          "symbol_line": 13,
          "role_owner": "typescript/perf_io_in_loop.ts::axiosInLoop",
          "execution_role": "unknown",
          "opportunity_id": "perf3_1acf767e3212f9ff02a9"
        },
        "health_impact": 0.0,
        "reason": "a network call runs once per loop iteration (I/O call inside a loop)",
        "dimension": "performance",
        "id": "finding_872d7ae5e8a2ed127e3f"
      },
      {
        "biomarker_type": "io_in_loop",
        "severity": "medium",
        "file_path": "typescript/perf_io_in_loop.ts",
        "function_name": "prismaInLoop",
        "line_start": 21,
        "line_end": 21,
        "details": {
          "boundary_kind": "db",
          "cross_function": false,
          "loop_iterates": "parameter",
          "loop_line": 20,
          "sink_call": "prisma.user.findMany",
          "symbol_line": 19,
          "role_owner": "typescript/perf_io_in_loop.ts::prismaInLoop",
          "execution_role": "unknown",
          "opportunity_id": "perf3_43357842949e4aa0d990"
        },
        "health_impact": 0.0,
        "reason": "a database call runs once per loop iteration (N+1 query)",
        "dimension": "performance",
        "id": "finding_08c2c3b4ad9d1823a0b4"
      }
    ],
    "kpis": {
      "hotspot_health": null,
      "average_health": 9.65,
      "worst_performer_path": "scala/nested.scala",
      "worst_performer_score": 7.77,
      "worst_test_path": "apex/HealthMarkersTest.cls",
      "worst_test_score": 10.0,
      "file_count": 71,
      "maintainability_average": 9.67,
      "maintainability_hotspot": null,
      "performance_average": 9.48,
      "performance_hotspot": null,
      "structure_average": 0.35,
      "history_average": 0.0,
      "structure_hotspot": null,
      "history_hotspot": null,
      "production_average": 9.64,
      "production_file_count": 69,
      "unanalysed_file_count": 4,
      "analysed_share": 0.9467
    },
    "repo_function_mod_p80": null,
    "suggestions": [
      {
        "refactoring_type": "performance_fix",
        "file_path": "apex/perf_io_in_loop.cls",
        "target_symbol": "apex/perf_io_in_loop.cls::nested",
        "line_start": 40,
        "line_end": 40,
        "impact_delta": 0.0,
        "effort_bucket": "S",
        "confidence": "medium",
        "source_biomarker": "nested_loop_with_io"
      },
      {
        "refactoring_type": "performance_fix",
        "file_path": "apex/perf_io_in_loop.cls",
        "target_symbol": "apex/perf_io_in_loop.cls::databaseAndCallout",
        "line_start": 21,
        "line_end": 21,
        "impact_delta": 0.0,
        "effort_bucket": "S",
        "confidence": "medium",
        "source_biomarker": "io_in_loop"
      },
      {
        "refactoring_type": "performance_fix",
        "file_path": "apex/perf_io_in_loop.cls",
        "target_symbol": "apex/perf_io_in_loop.cls::dmlPerRecord",
        "line_start": 14,
        "line_end": 14,
        "impact_delta": 0.0,
        "effort_bucket": "S",
        "confidence": "medium",
        "source_biomarker": "io_in_loop"
      },
      {
        "refactoring_type": "performance_fix",
        "file_path": "apex/perf_io_in_loop.cls",
        "target_symbol": "apex/perf_io_in_loop.cls::soqlPerRecord",
        "line_start": 8,
        "line_end": 8,
        "impact_delta": 0.0,
        "effort_bucket": "S",
        "confidence": "medium",
        "source_biomarker": "io_in_loop"
      },
      {
        "refactoring_type": "performance_fix",
        "file_path": "csharp/PerfIoInLoop.cs",
        "target_symbol": "csharp/PerfIoInLoop.cs::HttpInLoop",
        "line_start": 29,
        "line_end": 29,
        "impact_delta": 0.0,
        "effort_bucket": "S",
        "confidence": "medium",
        "source_biomarker": "io_in_loop"
      },
      {
        "refactoring_type": "performance_fix",
        "file_path": "go/perf_io_in_loop.go",
        "target_symbol": "go/perf_io_in_loop.go::dbQueryInRange",
        "line_start": 20,
        "line_end": 20,
        "impact_delta": 0.0,
        "effort_bucket": "S",
        "confidence": "medium",
        "source_biomarker": "io_in_loop"
      },
      {
        "refactoring_type": "performance_fix",
        "file_path": "go/perf_io_in_loop.go",
        "target_symbol": "go/perf_io_in_loop.go::httpGetInRange",
        "line_start": 26,
        "line_end": 26,
        "impact_delta": 0.0,
        "effort_bucket": "S",
        "confidence": "medium",
        "source_biomarker": "io_in_loop"
      },
      {
        "refactoring_type": "performance_fix",
        "file_path": "java/PerfIoInLoop.java",
        "target_symbol": "java/PerfIoInLoop.java::jdbcInLoop",
        "line_start": 24,
        "line_end": 24,
        "impact_delta": 0.0,
        "effort_bucket": "S",
        "confidence": "medium",
        "source_biomarker": "io_in_loop"
      },
      {
        "refactoring_type": "performance_fix",
        "file_path": "java/PerfIoInLoop.java",
        "target_symbol": "java/PerfIoInLoop.java::springDataN1",
        "line_start": 18,
        "line_end": 18,
        "impact_delta": 0.0,
        "effort_bucket": "S",
        "confidence": "medium",
        "source_biomarker": "io_in_loop"
      },
      {
        "refactoring_type": "performance_fix",
        "file_path": "python/perf_io_in_loop.py",
        "target_symbol": "python/perf_io_in_loop.py::db_execute_in_loop",
        "line_start": 20,
        "line_end": 20,
        "impact_delta": 0.0,
        "effort_bucket": "S",
        "confidence": "medium",
        "source_biomarker": "io_in_loop"
      },
      {
        "refactoring_type": "performance_fix",
        "file_path": "python/perf_io_in_loop.py",
        "target_symbol": "python/perf_io_in_loop.py::http_in_loop",
        "line_start": 30,
        "line_end": 30,
        "impact_delta": 0.0,
        "effort_bucket": "S",
        "confidence": "medium",
        "source_biomarker": "io_in_loop"
      },
      {
        "refactoring_type": "performance_fix",
        "file_path": "ruby/perf_io_in_loop.rb",
        "target_symbol": "ruby/perf_io_in_loop.rb::fresh_clients",
        "line_start": 68,
        "line_end": 68,
        "impact_delta": 0.0,
        "effort_bucket": "S",
        "confidence": "medium",
        "source_biomarker": "io_in_loop"
      },
      {
        "refactoring_type": "performance_fix",
        "file_path": "ruby/perf_io_in_loop.rb",
        "target_symbol": "ruby/perf_io_in_loop.rb::orders_report",
        "line_start": 26,
        "line_end": 26,
        "impact_delta": 0.0,
        "effort_bucket": "S",
        "confidence": "medium",
        "source_biomarker": "io_in_loop"
      },
      {
        "refactoring_type": "performance_fix",
        "file_path": "ruby/perf_io_in_loop.rb",
        "target_symbol": "ruby/perf_io_in_loop.rb::sync_fetch_each",
        "line_start": 8,
        "line_end": 8,
        "impact_delta": 0.0,
        "effort_bucket": "S",
        "confidence": "medium",
        "source_biomarker": "io_in_loop"
      },
      {
        "refactoring_type": "performance_fix",
        "file_path": "rust/perf_io_in_loop.rs",
        "target_symbol": "rust/perf_io_in_loop.rs::reqwest_get_in_loop",
        "line_start": 37,
        "line_end": 37,
        "impact_delta": 0.0,
        "effort_bucket": "S",
        "confidence": "medium",
        "source_biomarker": "io_in_loop"
      },
      {
        "refactoring_type": "performance_fix",
        "file_path": "typescript/perf_io_in_loop.ts",
        "target_symbol": "typescript/perf_io_in_loop.ts::axiosInLoop",
        "line_start": 15,
        "line_end": 15,
        "impact_delta": 0.0,
        "effort_bucket": "S",
        "confidence": "medium",
        "source_biomarker": "io_in_loop"
      },
      {
        "refactoring_type": "performance_fix",
        "file_path": "typescript/perf_io_in_loop.ts",
        "target_symbol": "typescript/perf_io_in_loop.ts::fetchInLoop",
        "line_start": 9,
        "line_end": 9,
        "impact_delta": 0.0,
        "effort_bucket": "S",
        "confidence": "medium",
        "source_biomarker": "io_in_loop"
      },
      {
        "refactoring_type": "performance_fix",
        "file_path": "typescript/perf_io_in_loop.ts",
        "target_symbol": "typescript/perf_io_in_loop.ts::prismaInLoop",
        "line_start": 21,
        "line_end": 21,
        "impact_delta": 0.0,
        "effort_bucket": "S",
        "confidence": "medium",
        "source_biomarker": "io_in_loop"
      },
      {
        "refactoring_type": "performance_fix",
        "file_path": "csharp/PerfIoInLoop.cs",
        "target_symbol": "csharp/PerfIoInLoop.cs::StringConcatInLoop",
        "line_start": 62,
        "line_end": 62,
        "impact_delta": 0.0,
        "effort_bucket": "S",
        "confidence": "medium",
        "source_biomarker": "string_concat_in_loop"
      },
      {
        "refactoring_type": "performance_fix",
        "file_path": "dart/perf_io_in_loop.dart",
        "target_symbol": "dart/perf_io_in_loop.dart::concat",
        "line_start": 29,
        "line_end": 29,
        "impact_delta": 0.0,
        "effort_bucket": "S",
        "confidence": "medium",
        "source_biomarker": "string_concat_in_loop"
      },
      {
        "refactoring_type": "performance_fix",
        "file_path": "go/perf_io_in_loop.go",
        "target_symbol": "go/perf_io_in_loop.go::stringConcatInRange",
        "line_start": 53,
        "line_end": 53,
        "impact_delta": 0.0,
        "effort_bucket": "S",
        "confidence": "medium",
        "source_biomarker": "string_concat_in_loop"
      },
      {
        "refactoring_type": "performance_fix",
        "file_path": "java/PerfIoInLoop.java",
        "target_symbol": "java/PerfIoInLoop.java::stringConcatInLoop",
        "line_start": 49,
        "line_end": 49,
        "impact_delta": 0.0,
        "effort_bucket": "S",
        "confidence": "medium",
        "source_biomarker": "string_concat_in_loop"
      },
      {
        "refactoring_type": "performance_fix",
        "file_path": "python/perf_io_in_loop.py",
        "target_symbol": "python/perf_io_in_loop.py::string_concat_in_loop",
        "line_start": 41,
        "line_end": 41,
        "impact_delta": 0.0,
        "effort_bucket": "S",
        "confidence": "medium",
        "source_biomarker": "string_concat_in_loop"
      },
      {
        "refactoring_type": "performance_fix",
        "file_path": "ruby/perf_io_in_loop.rb",
        "target_symbol": "ruby/perf_io_in_loop.rb::build_report",
        "line_start": 42,
        "line_end": 42,
        "impact_delta": 0.0,
        "effort_bucket": "S",
        "confidence": "medium",
        "source_biomarker": "string_concat_in_loop"
      },
      {
        "refactoring_type": "performance_fix",
        "file_path": "scala/perf_io_in_loop.scala",
        "target_symbol": "scala/perf_io_in_loop.scala::concat",
        "line_start": 54,
        "line_end": 54,
        "impact_delta": 0.0,
        "effort_bucket": "S",
        "confidence": "medium",
        "source_biomarker": "string_concat_in_loop"
      },
      {
        "refactoring_type": "performance_fix",
        "file_path": "apex/perf_io_in_loop.cls",
        "target_symbol": "apex/perf_io_in_loop.cls::asyncPerRecord",
        "line_start": 28,
        "line_end": 28,
        "impact_delta": 0.0,
        "effort_bucket": "M",
        "confidence": "medium",
        "source_biomarker": "io_in_loop"
      }
    ]
  }
}