repowiseajaxorg/ace

ajaxorg / ace

javascriptmaster054a3d6236.1K linessynced on Aug 13, 2026

Explore this codebase

Do next · 3

3 things worth doing in the week to Jul 27, the last indexed commit.

Worth planning

  • Start breaking up $renderChanges (CCN 49, 124 lines): first lift lines 996-1043

    src/virtual_renderer.js:996

    $renderChanges has many paths; easier to read and change once split, which also removes a duplicate; function changed in 17 commits; its file is imported by 16 files, changed 1 time in 90 days.

    gain
    up to under +0.1 health on this file(inferred)
    finding
    Complex method
    size
    CCN 49, 124 lines, nests 3 deep
    severity
    high
    worth a check
  • Flatten the nesting in getLineTokens

    src/tokenizer.js:276

    getLineTokens nests deeply; easier to read and change once split, which also removes a duplicate; function changed in 13 commits; its file is imported by 14 files.

    gain
    up to +0.7 health on this file(inferred)
    finding
    Nested complexity
    size
    CCN 35, 118 lines, nests 5 deep
    severity
    high
    worth a check
  • Start breaking up $renderCell (CCN 49, 197 lines): first lift lines 457-496

    src/layer/gutter.js:457

    $renderCell has many paths; easier to read and change once split, which also removes a duplicate; function changed in 18 commits; its file is imported by 2 files.

    gain
    up to under +0.1 health on this file(inferred)
    finding
    Complex method
    size
    CCN 49, 197 lines, nests 4 deep
    severity
    high
    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

Everything we found

4 areas