repowiserenovatebot/renovate

renovatebot / renovate

typescriptmain786c2ee508.1K linessynced on Aug 2, 2026

Code health

8.0out of 10Good

Hotspots average 5.9, the place fixes pay off most.

Explore this codebase

Do next · 3

6 things worth doing in the week to Aug 2, the last indexed commit, 3 of them now.

Worth planning

  • Start breaking up lookupUpdates (CCN 145, 715 lines): first lift lines 839-926

    lib/workers/repository/process/lookup/index.ts:839

    lookupUpdates nests deeply; easier to read and change once split, which also removes a duplicate; function changed in 13 commits; its file is imported by 5 files, changed 7 times in 90 days.

    gain
    up to under +0.1 health on this file(inferred)
    finding
    Nested complexity
    size
    CCN 145, 715 lines, nests 6 deep
    severity
    high
    worth a check
  • Start breaking up processBranch (CCN 190, 924 lines): first lift lines 1040-1087

    lib/workers/repository/update/branch/index.ts:1040

    processBranch has many paths; easier to read and change once split, which also removes a duplicate; function changed in 8 commits; its file is imported by 3 files, changed 5 times in 90 days.

    gain
    up to under +0.1 health on this file(inferred)
    finding
    Complex method
    size
    CCN 190, 924 lines, nests 6 deep
    severity
    high
    worth a check
  • Start breaking up ensurePr (CCN 90, 424 lines): first lift lines 306-348

    lib/workers/repository/update/pr/index.ts:306

    ensurePr has many paths; easier to read and change once split; function changed in 8 commits; its file is imported by 5 files, changed 4 times in 90 days.

    gain
    up to +0.7 health on this file(inferred)
    finding
    Complex method
    size
    CCN 90, 424 lines, nests 6 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

5 areas