repowiseheyputer/everything

heyputer / everything

javascriptmain06802a16.4M linessynced 2d ago

Code health

7.4out of 10Good

This codebase scores 7.4 out of 10 for code health, which we rate good. It also scores maintainability 5.4 and static performance 9.9 out of 10. The three are scored separately and never blended into one number. Risk is concentrated, as it usually is: 113 of 18,673 files are git hotspots, and they average 4.8 — which is where the fixes pay off most.

Do next

4 suggested

5 things worth doing in the week to Oct 15, the last indexed commit, 2 of them now.

Now

  • Critical

    Clean up what this week's commits left: 181 serious findings in 112 files

    9 commits in the last 7 days added or worsened them, and they are still open. Start with src/music-studio/src/pianoroll/pointer.js, which has 4 critical.

    serious findings
    181
    critical
    132
    files
    112

Worth planning

  • Start breaking up renderApp (CCN 913, 3,455 lines): first lift lines 189-196

    src/email/src/ui/app.js:189

    renderApp nests deeply; easier to read and change once split; its file is imported by 38 files, changed 1 time in 90 days.

    gain
    up to +0.5 health on this file(inferred)
    finding
    Nested complexity
    size
    CCN 913, 3,455 lines, nests 5 deep
    severity
    high
    worth a check
  • Start breaking up editorView (CCN 362, 5,309 lines): first lift lines 417-421

    src/spreadsheet/src/views/editor.js:417

    editorView is long and branchy; easier to read and change once split; its file is imported by 231 files, changed 2 times in 90 days.

    gain
    up to +0.1 health on this file(inferred)
    finding
    Brain method
    size
    CCN 362, 5,309 lines, nests 4 deep
    severity
    critical
    worth a check
  • Start breaking up readXlsxCharts (CCN 680, 865 lines): first lift lines 1038-1047

    src/spreadsheet/src/core/xlsx-charts.js:1038

    readXlsxCharts has many paths; easier to read and change once split; its file is imported by 2 files, changed 2 times in 90 days.

    gain
    up to +0.3 health on this file(inferred)
    finding
    Complex method
    size
    CCN 680, 865 lines, nests 9 deep
    severity
    critical
    worth a check

Improve what Repowise can see

  • Add a test coverage report

    Without one, Repowise cannot tell tested code from untested code, so every test-related action says “unknown”.

    line coverage
    Unknown, no report
Lines of code
6.4M

Recent activity

All commits

Everything we found

86,706 open
  • javascript76%
  • typescript15%
  • python8%
  • rust<1%
  • shell<1%

Explore this codebase