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.

48.9 KB
Raw Blame
{
  "all": {
    "total_findings": 25,
    "deletable_lines": 49,
    "confidence_summary": {
      "high": 3,
      "medium": 21,
      "low": 1
    },
    "hidden_below_threshold": 0,
    "findings": [
      {
        "kind": "unreachable_file",
        "file_path": "csharp_pkg/Calculator.cs",
        "symbol_name": null,
        "symbol_kind": null,
        "confidence": 0.4,
        "reason": "File has no importers (in_degree=0)",
        "last_commit_at": null,
        "commit_count_90d": 0,
        "lines": 21,
        "evidence": [
          "in_degree=0 (no files import this)",
          "No git history recorded for this file",
          "Imported by namespace, not by file, so having no importer is weak evidence"
        ],
        "safe_to_delete": false,
        "primary_owner": null,
        "age_days": null,
        "risk_factors": [],
        "start_line": null,
        "end_line": null,
        "export_only": false
      },
      {
        "kind": "unreachable_file",
        "file_path": "dead/unreachable_module.py",
        "symbol_name": null,
        "symbol_kind": null,
        "confidence": 0.5,
        "reason": "File has no importers (in_degree=0)",
        "last_commit_at": null,
        "commit_count_90d": 0,
        "lines": 12,
        "evidence": [
          "in_degree=0 (no files import this)",
          "No git history recorded for this file"
        ],
        "safe_to_delete": false,
        "primary_owner": null,
        "age_days": null,
        "risk_factors": [],
        "start_line": null,
        "end_line": null,
        "export_only": false
      },
      {
        "kind": "unreachable_file",
        "file_path": "php_pkg/Calculator.php",
        "symbol_name": null,
        "symbol_kind": null,
        "confidence": 0.4,
        "reason": "File has no importers (in_degree=0)",
        "last_commit_at": null,
        "commit_count_90d": 0,
        "lines": 21,
        "evidence": [
          "in_degree=0 (no files import this)",
          "No git history recorded for this file",
          "Its type 'Calculator' is written in api/openapi.yaml, which may use it without an import"
        ],
        "safe_to_delete": false,
        "primary_owner": null,
        "age_days": null,
        "risk_factors": [],
        "start_line": null,
        "end_line": null,
        "export_only": false
      },
      {
        "kind": "unreachable_file",
        "file_path": "php_pkg/Models.php",
        "symbol_name": null,
        "symbol_kind": null,
        "confidence": 0.4,
        "reason": "File has no importers (in_degree=0)",
        "last_commit_at": null,
        "commit_count_90d": 0,
        "lines": 25,
        "evidence": [
          "in_degree=0 (no files import this)",
          "No git history recorded for this file",
          "Its type 'CalculationRecord' is written in cpp_pkg/calculator.cpp, which may use it without an import"
        ],
        "safe_to_delete": false,
        "primary_owner": null,
        "age_days": null,
        "risk_factors": [],
        "start_line": null,
        "end_line": null,
        "export_only": false
      },
      {
        "kind": "unreachable_file",
        "file_path": "ruby_pkg/calculator.rb",
        "symbol_name": null,
        "symbol_kind": null,
        "confidence": 0.4,
        "reason": "File has no importers (in_degree=0)",
        "last_commit_at": null,
        "commit_count_90d": 0,
        "lines": 22,
        "evidence": [
          "in_degree=0 (no files import this)",
          "No git history recorded for this file",
          "Its type 'Calculator' is written in api/openapi.yaml, which may use it without an import"
        ],
        "safe_to_delete": false,
        "primary_owner": null,
        "age_days": null,
        "risk_factors": [],
        "start_line": null,
        "end_line": null,
        "export_only": false
      },
      {
        "kind": "unreachable_file",
        "file_path": "scala_pkg/Calculator.scala",
        "symbol_name": null,
        "symbol_kind": null,
        "confidence": 0.4,
        "reason": "File has no importers (in_degree=0)",
        "last_commit_at": null,
        "commit_count_90d": 0,
        "lines": 19,
        "evidence": [
          "in_degree=0 (no files import this)",
          "No git history recorded for this file",
          "Its type 'Calculator' is written in api/openapi.yaml, which may use it without an import"
        ],
        "safe_to_delete": false,
        "primary_owner": null,
        "age_days": null,
        "risk_factors": [],
        "start_line": null,
        "end_line": null,
        "export_only": false
      },
      {
        "kind": "unreachable_file",
        "file_path": "swift_pkg/Calculator.swift",
        "symbol_name": null,
        "symbol_kind": null,
        "confidence": 0.5,
        "reason": "File has no importers (in_degree=0)",
        "last_commit_at": null,
        "commit_count_90d": 0,
        "lines": 18,
        "evidence": [
          "in_degree=0 (no files import this)",
          "No git history recorded for this file"
        ],
        "safe_to_delete": false,
        "primary_owner": null,
        "age_days": null,
        "risk_factors": [],
        "start_line": null,
        "end_line": null,
        "export_only": false
      },
      {
        "kind": "unreachable_file",
        "file_path": "utils/helpers.py",
        "symbol_name": null,
        "symbol_kind": null,
        "confidence": 0.5,
        "reason": "File has no importers (in_degree=0)",
        "last_commit_at": null,
        "commit_count_90d": 0,
        "lines": 11,
        "evidence": [
          "in_degree=0 (no files import this)",
          "No git history recorded for this file"
        ],
        "safe_to_delete": false,
        "primary_owner": null,
        "age_days": null,
        "risk_factors": [],
        "start_line": null,
        "end_line": null,
        "export_only": false
      },
      {
        "kind": "unused_export",
        "file_path": "csharp_pkg/Calculator.cs",
        "symbol_name": "Calculator",
        "symbol_kind": "class",
        "confidence": 0.3,
        "reason": "'Calculator' is used in its own file; only its export is unused",
        "last_commit_at": null,
        "commit_count_90d": 0,
        "lines": 14,
        "evidence": [
          "No file imports symbol 'Calculator' from Calculator.cs",
          "Used in its own file at csharp_pkg/Calculator.cs:6; at most it need not be public"
        ],
        "safe_to_delete": false,
        "primary_owner": null,
        "age_days": null,
        "risk_factors": [],
        "start_line": 7,
        "end_line": 20,
        "export_only": true
      },
      {
        "kind": "unused_export",
        "file_path": "dead/unreachable_module.py",
        "symbol_name": "orphaned_function",
        "symbol_kind": "function",
        "confidence": 0.6,
        "reason": "Public symbol 'orphaned_function' has no importers",
        "last_commit_at": null,
        "commit_count_90d": 0,
        "lines": 3,
        "evidence": [
          "No file imports symbol 'orphaned_function' from unreachable_module.py"
        ],
        "safe_to_delete": false,
        "primary_owner": null,
        "age_days": null,
        "risk_factors": [],
        "start_line": 4,
        "end_line": 6,
        "export_only": false
      },
      {
        "kind": "unused_export",
        "file_path": "dead/unreachable_module.py",
        "symbol_name": "OrphanedClass",
        "symbol_kind": "class",
        "confidence": 0.6,
        "reason": "Public symbol 'OrphanedClass' has no importers",
        "last_commit_at": null,
        "commit_count_90d": 0,
        "lines": 4,
        "evidence": [
          "No file imports symbol 'OrphanedClass' from unreachable_module.py"
        ],
        "safe_to_delete": false,
        "primary_owner": null,
        "age_days": null,
        "risk_factors": [],
        "start_line": 9,
        "end_line": 12,
        "export_only": false
      },
      {
        "kind": "unused_export",
        "file_path": "java_pkg/Calculator.java",
        "symbol_name": "Calculator",
        "symbol_kind": "class",
        "confidence": 0.4,
        "reason": "'Calculator' is not imported, but is named elsewhere in the repo",
        "last_commit_at": null,
        "commit_count_90d": 0,
        "lines": 65,
        "evidence": [
          "No file imports symbol 'Calculator' from Calculator.java",
          "'Calculator' is written at cpp_pkg/calculator.cpp, so the absence of an import does not establish disuse"
        ],
        "safe_to_delete": false,
        "primary_owner": null,
        "age_days": null,
        "risk_factors": [],
        "start_line": 12,
        "end_line": 76,
        "export_only": false
      },
      {
        "kind": "unused_export",
        "file_path": "kotlin_pkg/Calculator.kt",
        "symbol_name": "Calculator",
        "symbol_kind": "class",
        "confidence": 0.4,
        "reason": "'Calculator' is not imported, but is named elsewhere in the repo",
        "last_commit_at": null,
        "commit_count_90d": 0,
        "lines": 21,
        "evidence": [
          "No file imports symbol 'Calculator' from Calculator.kt",
          "'Calculator' is written at cpp_pkg/calculator.cpp, so the absence of an import does not establish disuse"
        ],
        "safe_to_delete": false,
        "primary_owner": null,
        "age_days": null,
        "risk_factors": [],
        "start_line": 6,
        "end_line": 26,
        "export_only": false
      },
      {
        "kind": "unused_export",
        "file_path": "php_pkg/Calculator.php",
        "symbol_name": "Calculator",
        "symbol_kind": "class",
        "confidence": 0.4,
        "reason": "'Calculator' is not imported, but is named elsewhere in the repo",
        "last_commit_at": null,
        "commit_count_90d": 0,
        "lines": 14,
        "evidence": [
          "No file imports symbol 'Calculator' from Calculator.php",
          "'Calculator' is written at cpp_pkg/calculator.cpp, so the absence of an import does not establish disuse"
        ],
        "safe_to_delete": false,
        "primary_owner": null,
        "age_days": null,
        "risk_factors": [],
        "start_line": 8,
        "end_line": 21,
        "export_only": false
      },
      {
        "kind": "unused_export",
        "file_path": "php_pkg/Models.php",
        "symbol_name": "Operation",
        "symbol_kind": "enum",
        "confidence": 0.4,
        "reason": "'Operation' is not imported, but is named elsewhere in the repo",
        "last_commit_at": null,
        "commit_count_90d": 0,
        "lines": 5,
        "evidence": [
          "No file imports symbol 'Operation' from Models.php",
          "'Operation' is written at cpp_pkg/calculator.cpp, so the absence of an import does not establish disuse"
        ],
        "safe_to_delete": false,
        "primary_owner": null,
        "age_days": null,
        "risk_factors": [],
        "start_line": 5,
        "end_line": 9,
        "export_only": false
      },
      {
        "kind": "unused_export",
        "file_path": "php_pkg/Models.php",
        "symbol_name": "CalculationRecord",
        "symbol_kind": "class",
        "confidence": 0.4,
        "reason": "'CalculationRecord' is not imported, but is named elsewhere in the repo",
        "last_commit_at": null,
        "commit_count_90d": 0,
        "lines": 9,
        "evidence": [
          "No file imports symbol 'CalculationRecord' from Models.php",
          "'CalculationRecord' is written at cpp_pkg/calculator.cpp, so the absence of an import does not establish disuse"
        ],
        "safe_to_delete": false,
        "primary_owner": null,
        "age_days": null,
        "risk_factors": [],
        "start_line": 12,
        "end_line": 20,
        "export_only": false
      },
      {
        "kind": "unused_export",
        "file_path": "php_pkg/Models.php",
        "symbol_name": "Computable",
        "symbol_kind": "interface",
        "confidence": 0.4,
        "reason": "Public symbol 'Computable' has no importers",
        "last_commit_at": null,
        "commit_count_90d": 0,
        "lines": 4,
        "evidence": [
          "No file imports symbol 'Computable' from Models.php"
        ],
        "safe_to_delete": false,
        "primary_owner": null,
        "age_days": null,
        "risk_factors": [],
        "start_line": 22,
        "end_line": 25,
        "export_only": false
      },
      {
        "kind": "unused_export",
        "file_path": "python_pkg/utils.py",
        "symbol_name": "format_number",
        "symbol_kind": "function",
        "confidence": 1.0,
        "reason": "Public symbol 'format_number' has no importers",
        "last_commit_at": null,
        "commit_count_90d": 0,
        "lines": 17,
        "evidence": [
          "No file imports symbol 'format_number' from utils.py"
        ],
        "safe_to_delete": true,
        "primary_owner": null,
        "age_days": null,
        "risk_factors": [],
        "start_line": 41,
        "end_line": 57,
        "export_only": false
      },
      {
        "kind": "unused_export",
        "file_path": "python_pkg/utils.py",
        "symbol_name": "clamp",
        "symbol_kind": "function",
        "confidence": 1.0,
        "reason": "Public symbol 'clamp' has no importers",
        "last_commit_at": null,
        "commit_count_90d": 0,
        "lines": 17,
        "evidence": [
          "No file imports symbol 'clamp' from utils.py"
        ],
        "safe_to_delete": true,
        "primary_owner": null,
        "age_days": null,
        "risk_factors": [],
        "start_line": 60,
        "end_line": 76,
        "export_only": false
      },
      {
        "kind": "unused_export",
        "file_path": "python_pkg/utils.py",
        "symbol_name": "safe_sqrt",
        "symbol_kind": "function",
        "confidence": 1.0,
        "reason": "Public symbol 'safe_sqrt' has no importers",
        "last_commit_at": null,
        "commit_count_90d": 0,
        "lines": 15,
        "evidence": [
          "No file imports symbol 'safe_sqrt' from utils.py"
        ],
        "safe_to_delete": true,
        "primary_owner": null,
        "age_days": null,
        "risk_factors": [],
        "start_line": 79,
        "end_line": 93,
        "export_only": false
      },
      {
        "kind": "unused_export",
        "file_path": "ruby_pkg/calculator.rb",
        "symbol_name": "Calculator",
        "symbol_kind": "class",
        "confidence": 0.4,
        "reason": "'Calculator' is not imported, but is named elsewhere in the repo",
        "last_commit_at": null,
        "commit_count_90d": 0,
        "lines": 19,
        "evidence": [
          "No file imports symbol 'Calculator' from calculator.rb",
          "'Calculator' is written at cpp_pkg/calculator.cpp, so the absence of an import does not establish disuse"
        ],
        "safe_to_delete": false,
        "primary_owner": null,
        "age_days": null,
        "risk_factors": [],
        "start_line": 4,
        "end_line": 22,
        "export_only": false
      },
      {
        "kind": "unused_export",
        "file_path": "typescript_pkg/src/utils.ts",
        "symbol_name": "formatNumber",
        "symbol_kind": "function",
        "confidence": 0.4,
        "reason": "'formatNumber' is not imported, but is named elsewhere in the repo",
        "last_commit_at": null,
        "commit_count_90d": 0,
        "lines": 6,
        "evidence": [
          "No file imports symbol 'formatNumber' from utils.ts",
          "'formatNumber' is written at typescript_pkg/src/utils.ts:109, so the absence of an import does not establish disuse"
        ],
        "safe_to_delete": false,
        "primary_owner": null,
        "age_days": null,
        "risk_factors": [],
        "start_line": 113,
        "end_line": 118,
        "export_only": false
      },
      {
        "kind": "unused_export",
        "file_path": "utils/helpers.py",
        "symbol_name": "used_by_nobody_else",
        "symbol_kind": "function",
        "confidence": 0.6,
        "reason": "Public symbol 'used_by_nobody_else' has no importers",
        "last_commit_at": null,
        "commit_count_90d": 0,
        "lines": 3,
        "evidence": [
          "No file imports symbol 'used_by_nobody_else' from helpers.py"
        ],
        "safe_to_delete": false,
        "primary_owner": null,
        "age_days": null,
        "risk_factors": [],
        "start_line": 9,
        "end_line": 11,
        "export_only": false
      },
      {
        "kind": "zombie_package",
        "file_path": "rust_pkg",
        "symbol_name": null,
        "symbol_kind": null,
        "confidence": 0.5,
        "reason": "Package 'rust_pkg' has no importers from other packages",
        "last_commit_at": null,
        "commit_count_90d": 0,
        "lines": 132,
        "evidence": [
          "No inter-package imports into 'rust_pkg'"
        ],
        "safe_to_delete": false,
        "primary_owner": null,
        "age_days": null,
        "risk_factors": [],
        "start_line": null,
        "end_line": null,
        "export_only": false
      },
      {
        "kind": "zombie_package",
        "file_path": "typescript_pkg",
        "symbol_name": null,
        "symbol_kind": null,
        "confidence": 0.5,
        "reason": "Package 'typescript_pkg' has no importers from other packages",
        "last_commit_at": null,
        "commit_count_90d": 0,
        "lines": 377,
        "evidence": [
          "No inter-package imports into 'typescript_pkg'"
        ],
        "safe_to_delete": false,
        "primary_owner": null,
        "age_days": null,
        "risk_factors": [],
        "start_line": null,
        "end_line": null,
        "export_only": false
      }
    ]
  },
  "steps": [
    "unreachable_files",
    "unused_exports",
    "unused_internals",
    "zombie_packages"
  ],
  "default": {
    "total_findings": 24,
    "deletable_lines": 49,
    "confidence_summary": {
      "high": 3,
      "medium": 21,
      "low": 0
    },
    "hidden_below_threshold": 1,
    "findings": [
      {
        "kind": "unreachable_file",
        "file_path": "csharp_pkg/Calculator.cs",
        "symbol_name": null,
        "symbol_kind": null,
        "confidence": 0.4,
        "reason": "File has no importers (in_degree=0)",
        "last_commit_at": null,
        "commit_count_90d": 0,
        "lines": 21,
        "evidence": [
          "in_degree=0 (no files import this)",
          "No git history recorded for this file",
          "Imported by namespace, not by file, so having no importer is weak evidence"
        ],
        "safe_to_delete": false,
        "primary_owner": null,
        "age_days": null,
        "risk_factors": [],
        "start_line": null,
        "end_line": null,
        "export_only": false
      },
      {
        "kind": "unreachable_file",
        "file_path": "dead/unreachable_module.py",
        "symbol_name": null,
        "symbol_kind": null,
        "confidence": 0.5,
        "reason": "File has no importers (in_degree=0)",
        "last_commit_at": null,
        "commit_count_90d": 0,
        "lines": 12,
        "evidence": [
          "in_degree=0 (no files import this)",
          "No git history recorded for this file"
        ],
        "safe_to_delete": false,
        "primary_owner": null,
        "age_days": null,
        "risk_factors": [],
        "start_line": null,
        "end_line": null,
        "export_only": false
      },
      {
        "kind": "unreachable_file",
        "file_path": "php_pkg/Calculator.php",
        "symbol_name": null,
        "symbol_kind": null,
        "confidence": 0.4,
        "reason": "File has no importers (in_degree=0)",
        "last_commit_at": null,
        "commit_count_90d": 0,
        "lines": 21,
        "evidence": [
          "in_degree=0 (no files import this)",
          "No git history recorded for this file",
          "Its type 'Calculator' is written in api/openapi.yaml, which may use it without an import"
        ],
        "safe_to_delete": false,
        "primary_owner": null,
        "age_days": null,
        "risk_factors": [],
        "start_line": null,
        "end_line": null,
        "export_only": false
      },
      {
        "kind": "unreachable_file",
        "file_path": "php_pkg/Models.php",
        "symbol_name": null,
        "symbol_kind": null,
        "confidence": 0.4,
        "reason": "File has no importers (in_degree=0)",
        "last_commit_at": null,
        "commit_count_90d": 0,
        "lines": 25,
        "evidence": [
          "in_degree=0 (no files import this)",
          "No git history recorded for this file",
          "Its type 'CalculationRecord' is written in cpp_pkg/calculator.cpp, which may use it without an import"
        ],
        "safe_to_delete": false,
        "primary_owner": null,
        "age_days": null,
        "risk_factors": [],
        "start_line": null,
        "end_line": null,
        "export_only": false
      },
      {
        "kind": "unreachable_file",
        "file_path": "ruby_pkg/calculator.rb",
        "symbol_name": null,
        "symbol_kind": null,
        "confidence": 0.4,
        "reason": "File has no importers (in_degree=0)",
        "last_commit_at": null,
        "commit_count_90d": 0,
        "lines": 22,
        "evidence": [
          "in_degree=0 (no files import this)",
          "No git history recorded for this file",
          "Its type 'Calculator' is written in api/openapi.yaml, which may use it without an import"
        ],
        "safe_to_delete": false,
        "primary_owner": null,
        "age_days": null,
        "risk_factors": [],
        "start_line": null,
        "end_line": null,
        "export_only": false
      },
      {
        "kind": "unreachable_file",
        "file_path": "scala_pkg/Calculator.scala",
        "symbol_name": null,
        "symbol_kind": null,
        "confidence": 0.4,
        "reason": "File has no importers (in_degree=0)",
        "last_commit_at": null,
        "commit_count_90d": 0,
        "lines": 19,
        "evidence": [
          "in_degree=0 (no files import this)",
          "No git history recorded for this file",
          "Its type 'Calculator' is written in api/openapi.yaml, which may use it without an import"
        ],
        "safe_to_delete": false,
        "primary_owner": null,
        "age_days": null,
        "risk_factors": [],
        "start_line": null,
        "end_line": null,
        "export_only": false
      },
      {
        "kind": "unreachable_file",
        "file_path": "swift_pkg/Calculator.swift",
        "symbol_name": null,
        "symbol_kind": null,
        "confidence": 0.5,
        "reason": "File has no importers (in_degree=0)",
        "last_commit_at": null,
        "commit_count_90d": 0,
        "lines": 18,
        "evidence": [
          "in_degree=0 (no files import this)",
          "No git history recorded for this file"
        ],
        "safe_to_delete": false,
        "primary_owner": null,
        "age_days": null,
        "risk_factors": [],
        "start_line": null,
        "end_line": null,
        "export_only": false
      },
      {
        "kind": "unreachable_file",
        "file_path": "utils/helpers.py",
        "symbol_name": null,
        "symbol_kind": null,
        "confidence": 0.5,
        "reason": "File has no importers (in_degree=0)",
        "last_commit_at": null,
        "commit_count_90d": 0,
        "lines": 11,
        "evidence": [
          "in_degree=0 (no files import this)",
          "No git history recorded for this file"
        ],
        "safe_to_delete": false,
        "primary_owner": null,
        "age_days": null,
        "risk_factors": [],
        "start_line": null,
        "end_line": null,
        "export_only": false
      },
      {
        "kind": "unused_export",
        "file_path": "dead/unreachable_module.py",
        "symbol_name": "orphaned_function",
        "symbol_kind": "function",
        "confidence": 0.6,
        "reason": "Public symbol 'orphaned_function' has no importers",
        "last_commit_at": null,
        "commit_count_90d": 0,
        "lines": 3,
        "evidence": [
          "No file imports symbol 'orphaned_function' from unreachable_module.py"
        ],
        "safe_to_delete": false,
        "primary_owner": null,
        "age_days": null,
        "risk_factors": [],
        "start_line": 4,
        "end_line": 6,
        "export_only": false
      },
      {
        "kind": "unused_export",
        "file_path": "dead/unreachable_module.py",
        "symbol_name": "OrphanedClass",
        "symbol_kind": "class",
        "confidence": 0.6,
        "reason": "Public symbol 'OrphanedClass' has no importers",
        "last_commit_at": null,
        "commit_count_90d": 0,
        "lines": 4,
        "evidence": [
          "No file imports symbol 'OrphanedClass' from unreachable_module.py"
        ],
        "safe_to_delete": false,
        "primary_owner": null,
        "age_days": null,
        "risk_factors": [],
        "start_line": 9,
        "end_line": 12,
        "export_only": false
      },
      {
        "kind": "unused_export",
        "file_path": "java_pkg/Calculator.java",
        "symbol_name": "Calculator",
        "symbol_kind": "class",
        "confidence": 0.4,
        "reason": "'Calculator' is not imported, but is named elsewhere in the repo",
        "last_commit_at": null,
        "commit_count_90d": 0,
        "lines": 65,
        "evidence": [
          "No file imports symbol 'Calculator' from Calculator.java",
          "'Calculator' is written at cpp_pkg/calculator.cpp, so the absence of an import does not establish disuse"
        ],
        "safe_to_delete": false,
        "primary_owner": null,
        "age_days": null,
        "risk_factors": [],
        "start_line": 12,
        "end_line": 76,
        "export_only": false
      },
      {
        "kind": "unused_export",
        "file_path": "kotlin_pkg/Calculator.kt",
        "symbol_name": "Calculator",
        "symbol_kind": "class",
        "confidence": 0.4,
        "reason": "'Calculator' is not imported, but is named elsewhere in the repo",
        "last_commit_at": null,
        "commit_count_90d": 0,
        "lines": 21,
        "evidence": [
          "No file imports symbol 'Calculator' from Calculator.kt",
          "'Calculator' is written at cpp_pkg/calculator.cpp, so the absence of an import does not establish disuse"
        ],
        "safe_to_delete": false,
        "primary_owner": null,
        "age_days": null,
        "risk_factors": [],
        "start_line": 6,
        "end_line": 26,
        "export_only": false
      },
      {
        "kind": "unused_export",
        "file_path": "php_pkg/Calculator.php",
        "symbol_name": "Calculator",
        "symbol_kind": "class",
        "confidence": 0.4,
        "reason": "'Calculator' is not imported, but is named elsewhere in the repo",
        "last_commit_at": null,
        "commit_count_90d": 0,
        "lines": 14,
        "evidence": [
          "No file imports symbol 'Calculator' from Calculator.php",
          "'Calculator' is written at cpp_pkg/calculator.cpp, so the absence of an import does not establish disuse"
        ],
        "safe_to_delete": false,
        "primary_owner": null,
        "age_days": null,
        "risk_factors": [],
        "start_line": 8,
        "end_line": 21,
        "export_only": false
      },
      {
        "kind": "unused_export",
        "file_path": "php_pkg/Models.php",
        "symbol_name": "Operation",
        "symbol_kind": "enum",
        "confidence": 0.4,
        "reason": "'Operation' is not imported, but is named elsewhere in the repo",
        "last_commit_at": null,
        "commit_count_90d": 0,
        "lines": 5,
        "evidence": [
          "No file imports symbol 'Operation' from Models.php",
          "'Operation' is written at cpp_pkg/calculator.cpp, so the absence of an import does not establish disuse"
        ],
        "safe_to_delete": false,
        "primary_owner": null,
        "age_days": null,
        "risk_factors": [],
        "start_line": 5,
        "end_line": 9,
        "export_only": false
      },
      {
        "kind": "unused_export",
        "file_path": "php_pkg/Models.php",
        "symbol_name": "CalculationRecord",
        "symbol_kind": "class",
        "confidence": 0.4,
        "reason": "'CalculationRecord' is not imported, but is named elsewhere in the repo",
        "last_commit_at": null,
        "commit_count_90d": 0,
        "lines": 9,
        "evidence": [
          "No file imports symbol 'CalculationRecord' from Models.php",
          "'CalculationRecord' is written at cpp_pkg/calculator.cpp, so the absence of an import does not establish disuse"
        ],
        "safe_to_delete": false,
        "primary_owner": null,
        "age_days": null,
        "risk_factors": [],
        "start_line": 12,
        "end_line": 20,
        "export_only": false
      },
      {
        "kind": "unused_export",
        "file_path": "php_pkg/Models.php",
        "symbol_name": "Computable",
        "symbol_kind": "interface",
        "confidence": 0.4,
        "reason": "Public symbol 'Computable' has no importers",
        "last_commit_at": null,
        "commit_count_90d": 0,
        "lines": 4,
        "evidence": [
          "No file imports symbol 'Computable' from Models.php"
        ],
        "safe_to_delete": false,
        "primary_owner": null,
        "age_days": null,
        "risk_factors": [],
        "start_line": 22,
        "end_line": 25,
        "export_only": false
      },
      {
        "kind": "unused_export",
        "file_path": "python_pkg/utils.py",
        "symbol_name": "format_number",
        "symbol_kind": "function",
        "confidence": 1.0,
        "reason": "Public symbol 'format_number' has no importers",
        "last_commit_at": null,
        "commit_count_90d": 0,
        "lines": 17,
        "evidence": [
          "No file imports symbol 'format_number' from utils.py"
        ],
        "safe_to_delete": true,
        "primary_owner": null,
        "age_days": null,
        "risk_factors": [],
        "start_line": 41,
        "end_line": 57,
        "export_only": false
      },
      {
        "kind": "unused_export",
        "file_path": "python_pkg/utils.py",
        "symbol_name": "clamp",
        "symbol_kind": "function",
        "confidence": 1.0,
        "reason": "Public symbol 'clamp' has no importers",
        "last_commit_at": null,
        "commit_count_90d": 0,
        "lines": 17,
        "evidence": [
          "No file imports symbol 'clamp' from utils.py"
        ],
        "safe_to_delete": true,
        "primary_owner": null,
        "age_days": null,
        "risk_factors": [],
        "start_line": 60,
        "end_line": 76,
        "export_only": false
      },
      {
        "kind": "unused_export",
        "file_path": "python_pkg/utils.py",
        "symbol_name": "safe_sqrt",
        "symbol_kind": "function",
        "confidence": 1.0,
        "reason": "Public symbol 'safe_sqrt' has no importers",
        "last_commit_at": null,
        "commit_count_90d": 0,
        "lines": 15,
        "evidence": [
          "No file imports symbol 'safe_sqrt' from utils.py"
        ],
        "safe_to_delete": true,
        "primary_owner": null,
        "age_days": null,
        "risk_factors": [],
        "start_line": 79,
        "end_line": 93,
        "export_only": false
      },
      {
        "kind": "unused_export",
        "file_path": "ruby_pkg/calculator.rb",
        "symbol_name": "Calculator",
        "symbol_kind": "class",
        "confidence": 0.4,
        "reason": "'Calculator' is not imported, but is named elsewhere in the repo",
        "last_commit_at": null,
        "commit_count_90d": 0,
        "lines": 19,
        "evidence": [
          "No file imports symbol 'Calculator' from calculator.rb",
          "'Calculator' is written at cpp_pkg/calculator.cpp, so the absence of an import does not establish disuse"
        ],
        "safe_to_delete": false,
        "primary_owner": null,
        "age_days": null,
        "risk_factors": [],
        "start_line": 4,
        "end_line": 22,
        "export_only": false
      },
      {
        "kind": "unused_export",
        "file_path": "typescript_pkg/src/utils.ts",
        "symbol_name": "formatNumber",
        "symbol_kind": "function",
        "confidence": 0.4,
        "reason": "'formatNumber' is not imported, but is named elsewhere in the repo",
        "last_commit_at": null,
        "commit_count_90d": 0,
        "lines": 6,
        "evidence": [
          "No file imports symbol 'formatNumber' from utils.ts",
          "'formatNumber' is written at typescript_pkg/src/utils.ts:109, so the absence of an import does not establish disuse"
        ],
        "safe_to_delete": false,
        "primary_owner": null,
        "age_days": null,
        "risk_factors": [],
        "start_line": 113,
        "end_line": 118,
        "export_only": false
      },
      {
        "kind": "unused_export",
        "file_path": "utils/helpers.py",
        "symbol_name": "used_by_nobody_else",
        "symbol_kind": "function",
        "confidence": 0.6,
        "reason": "Public symbol 'used_by_nobody_else' has no importers",
        "last_commit_at": null,
        "commit_count_90d": 0,
        "lines": 3,
        "evidence": [
          "No file imports symbol 'used_by_nobody_else' from helpers.py"
        ],
        "safe_to_delete": false,
        "primary_owner": null,
        "age_days": null,
        "risk_factors": [],
        "start_line": 9,
        "end_line": 11,
        "export_only": false
      },
      {
        "kind": "zombie_package",
        "file_path": "rust_pkg",
        "symbol_name": null,
        "symbol_kind": null,
        "confidence": 0.5,
        "reason": "Package 'rust_pkg' has no importers from other packages",
        "last_commit_at": null,
        "commit_count_90d": 0,
        "lines": 132,
        "evidence": [
          "No inter-package imports into 'rust_pkg'"
        ],
        "safe_to_delete": false,
        "primary_owner": null,
        "age_days": null,
        "risk_factors": [],
        "start_line": null,
        "end_line": null,
        "export_only": false
      },
      {
        "kind": "zombie_package",
        "file_path": "typescript_pkg",
        "symbol_name": null,
        "symbol_kind": null,
        "confidence": 0.5,
        "reason": "Package 'typescript_pkg' has no importers from other packages",
        "last_commit_at": null,
        "commit_count_90d": 0,
        "lines": 377,
        "evidence": [
          "No inter-package imports into 'typescript_pkg'"
        ],
        "safe_to_delete": false,
        "primary_owner": null,
        "age_days": null,
        "risk_factors": [],
        "start_line": null,
        "end_line": null,
        "export_only": false
      }
    ]
  },
  "narrowed": {
    "total_findings": 20,
    "deletable_lines": 49,
    "confidence_summary": {
      "high": 3,
      "medium": 16,
      "low": 1
    },
    "hidden_below_threshold": 0,
    "findings": [
      {
        "kind": "unreachable_file",
        "file_path": "csharp_pkg/Calculator.cs",
        "symbol_name": null,
        "symbol_kind": null,
        "confidence": 0.4,
        "reason": "File has no importers (in_degree=0)",
        "last_commit_at": null,
        "commit_count_90d": 0,
        "lines": 21,
        "evidence": [
          "in_degree=0 (no files import this)",
          "No git history recorded for this file",
          "Imported by namespace, not by file, so having no importer is weak evidence"
        ],
        "safe_to_delete": false,
        "primary_owner": null,
        "age_days": null,
        "risk_factors": [],
        "start_line": null,
        "end_line": null,
        "export_only": false
      },
      {
        "kind": "unreachable_file",
        "file_path": "php_pkg/Calculator.php",
        "symbol_name": null,
        "symbol_kind": null,
        "confidence": 0.4,
        "reason": "File has no importers (in_degree=0)",
        "last_commit_at": null,
        "commit_count_90d": 0,
        "lines": 21,
        "evidence": [
          "in_degree=0 (no files import this)",
          "No git history recorded for this file",
          "Its type 'Calculator' is written in api/openapi.yaml, which may use it without an import"
        ],
        "safe_to_delete": false,
        "primary_owner": null,
        "age_days": null,
        "risk_factors": [],
        "start_line": null,
        "end_line": null,
        "export_only": false
      },
      {
        "kind": "unreachable_file",
        "file_path": "php_pkg/Models.php",
        "symbol_name": null,
        "symbol_kind": null,
        "confidence": 0.4,
        "reason": "File has no importers (in_degree=0)",
        "last_commit_at": null,
        "commit_count_90d": 0,
        "lines": 25,
        "evidence": [
          "in_degree=0 (no files import this)",
          "No git history recorded for this file",
          "Its type 'CalculationRecord' is written in cpp_pkg/calculator.cpp, which may use it without an import"
        ],
        "safe_to_delete": false,
        "primary_owner": null,
        "age_days": null,
        "risk_factors": [],
        "start_line": null,
        "end_line": null,
        "export_only": false
      },
      {
        "kind": "unreachable_file",
        "file_path": "ruby_pkg/calculator.rb",
        "symbol_name": null,
        "symbol_kind": null,
        "confidence": 0.4,
        "reason": "File has no importers (in_degree=0)",
        "last_commit_at": null,
        "commit_count_90d": 0,
        "lines": 22,
        "evidence": [
          "in_degree=0 (no files import this)",
          "No git history recorded for this file",
          "Its type 'Calculator' is written in api/openapi.yaml, which may use it without an import"
        ],
        "safe_to_delete": false,
        "primary_owner": null,
        "age_days": null,
        "risk_factors": [],
        "start_line": null,
        "end_line": null,
        "export_only": false
      },
      {
        "kind": "unreachable_file",
        "file_path": "scala_pkg/Calculator.scala",
        "symbol_name": null,
        "symbol_kind": null,
        "confidence": 0.4,
        "reason": "File has no importers (in_degree=0)",
        "last_commit_at": null,
        "commit_count_90d": 0,
        "lines": 19,
        "evidence": [
          "in_degree=0 (no files import this)",
          "No git history recorded for this file",
          "Its type 'Calculator' is written in api/openapi.yaml, which may use it without an import"
        ],
        "safe_to_delete": false,
        "primary_owner": null,
        "age_days": null,
        "risk_factors": [],
        "start_line": null,
        "end_line": null,
        "export_only": false
      },
      {
        "kind": "unreachable_file",
        "file_path": "swift_pkg/Calculator.swift",
        "symbol_name": null,
        "symbol_kind": null,
        "confidence": 0.5,
        "reason": "File has no importers (in_degree=0)",
        "last_commit_at": null,
        "commit_count_90d": 0,
        "lines": 18,
        "evidence": [
          "in_degree=0 (no files import this)",
          "No git history recorded for this file"
        ],
        "safe_to_delete": false,
        "primary_owner": null,
        "age_days": null,
        "risk_factors": [],
        "start_line": null,
        "end_line": null,
        "export_only": false
      },
      {
        "kind": "unreachable_file",
        "file_path": "utils/helpers.py",
        "symbol_name": null,
        "symbol_kind": null,
        "confidence": 0.5,
        "reason": "File has no importers (in_degree=0)",
        "last_commit_at": null,
        "commit_count_90d": 0,
        "lines": 11,
        "evidence": [
          "in_degree=0 (no files import this)",
          "No git history recorded for this file"
        ],
        "safe_to_delete": false,
        "primary_owner": null,
        "age_days": null,
        "risk_factors": [],
        "start_line": null,
        "end_line": null,
        "export_only": false
      },
      {
        "kind": "unused_export",
        "file_path": "csharp_pkg/Calculator.cs",
        "symbol_name": "Calculator",
        "symbol_kind": "class",
        "confidence": 0.3,
        "reason": "'Calculator' is used in its own file; only its export is unused",
        "last_commit_at": null,
        "commit_count_90d": 0,
        "lines": 14,
        "evidence": [
          "No file imports symbol 'Calculator' from Calculator.cs",
          "Used in its own file at csharp_pkg/Calculator.cs:6; at most it need not be public"
        ],
        "safe_to_delete": false,
        "primary_owner": null,
        "age_days": null,
        "risk_factors": [],
        "start_line": 7,
        "end_line": 20,
        "export_only": true
      },
      {
        "kind": "unused_export",
        "file_path": "java_pkg/Calculator.java",
        "symbol_name": "Calculator",
        "symbol_kind": "class",
        "confidence": 0.4,
        "reason": "'Calculator' is not imported, but is named elsewhere in the repo",
        "last_commit_at": null,
        "commit_count_90d": 0,
        "lines": 65,
        "evidence": [
          "No file imports symbol 'Calculator' from Calculator.java",
          "'Calculator' is written at cpp_pkg/calculator.cpp, so the absence of an import does not establish disuse"
        ],
        "safe_to_delete": false,
        "primary_owner": null,
        "age_days": null,
        "risk_factors": [],
        "start_line": 12,
        "end_line": 76,
        "export_only": false
      },
      {
        "kind": "unused_export",
        "file_path": "kotlin_pkg/Calculator.kt",
        "symbol_name": "Calculator",
        "symbol_kind": "class",
        "confidence": 0.4,
        "reason": "'Calculator' is not imported, but is named elsewhere in the repo",
        "last_commit_at": null,
        "commit_count_90d": 0,
        "lines": 21,
        "evidence": [
          "No file imports symbol 'Calculator' from Calculator.kt",
          "'Calculator' is written at cpp_pkg/calculator.cpp, so the absence of an import does not establish disuse"
        ],
        "safe_to_delete": false,
        "primary_owner": null,
        "age_days": null,
        "risk_factors": [],
        "start_line": 6,
        "end_line": 26,
        "export_only": false
      },
      {
        "kind": "unused_export",
        "file_path": "php_pkg/Calculator.php",
        "symbol_name": "Calculator",
        "symbol_kind": "class",
        "confidence": 0.4,
        "reason": "'Calculator' is not imported, but is named elsewhere in the repo",
        "last_commit_at": null,
        "commit_count_90d": 0,
        "lines": 14,
        "evidence": [
          "No file imports symbol 'Calculator' from Calculator.php",
          "'Calculator' is written at cpp_pkg/calculator.cpp, so the absence of an import does not establish disuse"
        ],
        "safe_to_delete": false,
        "primary_owner": null,
        "age_days": null,
        "risk_factors": [],
        "start_line": 8,
        "end_line": 21,
        "export_only": false
      },
      {
        "kind": "unused_export",
        "file_path": "php_pkg/Models.php",
        "symbol_name": "Operation",
        "symbol_kind": "enum",
        "confidence": 0.4,
        "reason": "'Operation' is not imported, but is named elsewhere in the repo",
        "last_commit_at": null,
        "commit_count_90d": 0,
        "lines": 5,
        "evidence": [
          "No file imports symbol 'Operation' from Models.php",
          "'Operation' is written at cpp_pkg/calculator.cpp, so the absence of an import does not establish disuse"
        ],
        "safe_to_delete": false,
        "primary_owner": null,
        "age_days": null,
        "risk_factors": [],
        "start_line": 5,
        "end_line": 9,
        "export_only": false
      },
      {
        "kind": "unused_export",
        "file_path": "php_pkg/Models.php",
        "symbol_name": "CalculationRecord",
        "symbol_kind": "class",
        "confidence": 0.4,
        "reason": "'CalculationRecord' is not imported, but is named elsewhere in the repo",
        "last_commit_at": null,
        "commit_count_90d": 0,
        "lines": 9,
        "evidence": [
          "No file imports symbol 'CalculationRecord' from Models.php",
          "'CalculationRecord' is written at cpp_pkg/calculator.cpp, so the absence of an import does not establish disuse"
        ],
        "safe_to_delete": false,
        "primary_owner": null,
        "age_days": null,
        "risk_factors": [],
        "start_line": 12,
        "end_line": 20,
        "export_only": false
      },
      {
        "kind": "unused_export",
        "file_path": "php_pkg/Models.php",
        "symbol_name": "Computable",
        "symbol_kind": "interface",
        "confidence": 0.4,
        "reason": "Public symbol 'Computable' has no importers",
        "last_commit_at": null,
        "commit_count_90d": 0,
        "lines": 4,
        "evidence": [
          "No file imports symbol 'Computable' from Models.php"
        ],
        "safe_to_delete": false,
        "primary_owner": null,
        "age_days": null,
        "risk_factors": [],
        "start_line": 22,
        "end_line": 25,
        "export_only": false
      },
      {
        "kind": "unused_export",
        "file_path": "python_pkg/utils.py",
        "symbol_name": "format_number",
        "symbol_kind": "function",
        "confidence": 1.0,
        "reason": "Public symbol 'format_number' has no importers",
        "last_commit_at": null,
        "commit_count_90d": 0,
        "lines": 17,
        "evidence": [
          "No file imports symbol 'format_number' from utils.py"
        ],
        "safe_to_delete": true,
        "primary_owner": null,
        "age_days": null,
        "risk_factors": [],
        "start_line": 41,
        "end_line": 57,
        "export_only": false
      },
      {
        "kind": "unused_export",
        "file_path": "python_pkg/utils.py",
        "symbol_name": "clamp",
        "symbol_kind": "function",
        "confidence": 1.0,
        "reason": "Public symbol 'clamp' has no importers",
        "last_commit_at": null,
        "commit_count_90d": 0,
        "lines": 17,
        "evidence": [
          "No file imports symbol 'clamp' from utils.py"
        ],
        "safe_to_delete": true,
        "primary_owner": null,
        "age_days": null,
        "risk_factors": [],
        "start_line": 60,
        "end_line": 76,
        "export_only": false
      },
      {
        "kind": "unused_export",
        "file_path": "python_pkg/utils.py",
        "symbol_name": "safe_sqrt",
        "symbol_kind": "function",
        "confidence": 1.0,
        "reason": "Public symbol 'safe_sqrt' has no importers",
        "last_commit_at": null,
        "commit_count_90d": 0,
        "lines": 15,
        "evidence": [
          "No file imports symbol 'safe_sqrt' from utils.py"
        ],
        "safe_to_delete": true,
        "primary_owner": null,
        "age_days": null,
        "risk_factors": [],
        "start_line": 79,
        "end_line": 93,
        "export_only": false
      },
      {
        "kind": "unused_export",
        "file_path": "ruby_pkg/calculator.rb",
        "symbol_name": "Calculator",
        "symbol_kind": "class",
        "confidence": 0.4,
        "reason": "'Calculator' is not imported, but is named elsewhere in the repo",
        "last_commit_at": null,
        "commit_count_90d": 0,
        "lines": 19,
        "evidence": [
          "No file imports symbol 'Calculator' from calculator.rb",
          "'Calculator' is written at cpp_pkg/calculator.cpp, so the absence of an import does not establish disuse"
        ],
        "safe_to_delete": false,
        "primary_owner": null,
        "age_days": null,
        "risk_factors": [],
        "start_line": 4,
        "end_line": 22,
        "export_only": false
      },
      {
        "kind": "unused_export",
        "file_path": "typescript_pkg/src/utils.ts",
        "symbol_name": "formatNumber",
        "symbol_kind": "function",
        "confidence": 0.4,
        "reason": "'formatNumber' is not imported, but is named elsewhere in the repo",
        "last_commit_at": null,
        "commit_count_90d": 0,
        "lines": 6,
        "evidence": [
          "No file imports symbol 'formatNumber' from utils.ts",
          "'formatNumber' is written at typescript_pkg/src/utils.ts:109, so the absence of an import does not establish disuse"
        ],
        "safe_to_delete": false,
        "primary_owner": null,
        "age_days": null,
        "risk_factors": [],
        "start_line": 113,
        "end_line": 118,
        "export_only": false
      },
      {
        "kind": "unused_export",
        "file_path": "utils/helpers.py",
        "symbol_name": "used_by_nobody_else",
        "symbol_kind": "function",
        "confidence": 0.6,
        "reason": "Public symbol 'used_by_nobody_else' has no importers",
        "last_commit_at": null,
        "commit_count_90d": 0,
        "lines": 3,
        "evidence": [
          "No file imports symbol 'used_by_nobody_else' from helpers.py"
        ],
        "safe_to_delete": false,
        "primary_owner": null,
        "age_days": null,
        "risk_factors": [],
        "start_line": 9,
        "end_line": 11,
        "export_only": false
      }
    ]
  }
}