repowisegoogle/elephant-goldfish-model

Code health of google/elephant-goldfish-model

Repowise scores google/elephant-goldfish-model at 7.4 out of 10 for code health, which reads as good, alongside maintainability 8.1 and static performance 10.0 on the same scale. There are 137 open findings across the three pillars, and the lowest-scoring file is review_pr.py at 2.8. Scores are computed from complexity, duplication, churn and git fix history, not from a linter.

Findings by severity

14 critical, 19 high, 76 medium, 28 low.

Hotspots

2 files are flagged as hotspots. The top 2:

  • site/src/layouts/Base.astro: 7 commits in the last 90 days from 2 contributors with 1 recent bug fix
  • site/src/components/Footer.astro: 8 commits in the last 90 days from 2 contributors

Lowest-scoring files

  • .github/scripts/review_pr.py: 2.8 out of 10 with 1 bug fix in the last 180 days
  • scripts/pack_plugin.py: 3.8 out of 10 with 7 bug fixes in the last 180 days
  • tests/integration/test_claude.py: 5.1 out of 10
  • tests/integration/test_codex.py: 6.0 out of 10 with 1 bug fix in the last 180 days
  • tests/integration/cursor_child_reads.py: 6.6 out of 10

Checked against bug fixes

Of the 20 files Repowise scores lowest, 9 had a bug fix in the last 180 days. Across all 67 scored files, 19.4% had a bug fix in that window.

Dead code and refactoring

12 refactoring targets across 12 files would raise the score.

More on elephant-goldfish-model: summary and FAQ, codebase overview, architecture.

Related guide: Best dead code detection tools by language