repowisemiguelgrinberg/microdot

miguelgrinberg / microdot

pythonmain7742db910.7K linessynced on Oct 3, 2026

Code health

7.5out of 10Good

Hotspots average 2.0, the place fixes pay off most.

Explore this codebase

Do next · 1

1 thing worth doing in the week to Sep 18, the last indexed commit.

Worth planning

  • Start breaking up dispatch_request (CCN 40, 94 lines): first lift lines 1480-1520

    src/microdot/microdot.py:1480

    dispatch_request nests deeply; easier to read and change once split; function changed in 16 commits; its file is imported by 15 files, changed 3 times in 90 days.

    gain
    up to under +0.1 health on this file(inferred)
    finding
    Nested complexity
    size
    CCN 40, 94 lines, nests 7 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