repowiserepowise
Sign in
psf/requests
OverviewDocsArchitectureKnowledge GraphFilesCode HealthSecurityRefactoring

People & History

CommitsContributorsDecisions
Chat
Stats
repowiserepowise
ExplorePricingDocs
Sign in
repowisepsf/requests
RE
RE

psf / requests

pythonmain611c6169.3K linessynced 2w ago

Code health

5.4out of 10Needs work

This codebase scores 5.4 out of 10 for code health, which we rate needs work. It also scores maintainability 6.7 and static performance 9.4 out of 10. The three are scored separately and never blended into one number.

Full health report →
Documentation112pages0 with model-written prose, 112 built from the indexScore validation7/202.3× baselineTop-ranked files that did go on to need a bug fixDead code2exportsUnused exports that nothing in the graph reaches

Do next

Nothing stands out in the week to Sep 21, the last indexed commit.

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
    Small effort
Lines of code
9.3K
Files
72
Symbols
877
Modules
4
Languages
2

Recent activity

All commits →

Commits

  • 611c6162Bump the actions group with 3 updates (#7628)2w ago
  • dae7ef63Bump https://github.com/astral-sh/ruff-pre-commit (#7616)1mo ago
  • 5460f467Update lock-issues.yml to latest dependencies (#7609)1mo ago
  • 6af0b941Bump https://github.com/astral-sh/ruff-pre-commit (#7608)1mo ago
  • 8f8b212dBump https://github.com/astral-sh/ruff-pre-commit (#7606)1mo ago
  • 80683562Bump https://github.com/astral-sh/ruff-pre-commit (#7603)1mo ago

Decisions

  • Switch from LGPL chardet to MIT charset_normalizer and add an LGPL escape hatch extraproposed · 2w ago
  • Add support for Python 3.14 (preview) and remove support for Python 3.8proposed · 2w ago
  • Migrate linting to Ruff and run Ruff over the codebaseproposed · 2w ago
  • Make super_len robust to Tarfile.extractfile AttributeErrorproposed · 2w ago
  • Update pytest.raises usage for pytest 5 compatibilityproposed · 2w ago
  • Remove an unnecessary import in setup.pyproposed · 2w ago
▸

Everything we found

163 open

Every detector's open count by area, each with its worst example. An inventory, not a to-do list: the actions above are the part worth doing.

  • worst item is critical severity. Code health119Nested complexity · src/requests/utils.py25 findings · 7.9 deducted→
  • worst item is medium severity. Refactoring20HTTPAdapter+1.2 health, L effort · src/requests/adapters.py→
  • worst item is medium severity. Decisions17Switch from LGPL chardet to MIT charset_normalizer and add an LGPL escape hatch extra17 awaiting review→
  • worst item is medium severity. Ownership6docs/_themes/flask_theme_support.py100% single-owner concentration, not touched in 90 days→
  • worst item is low severity. Dead code1docs/_themes/flask_theme_support.pyUnreachable symbol (10 lines)→

Composition

Open the graph →
python 82%makefile 18%

Explore this codebase

  • Docs112 pages across 4 modules→
  • ChatAsk this codebase a question and get an answer with its sources.→
  • Files72 files with per-file docs, health and history→
  • ArchitectureDependency graph, layers, and 0 entry points→
  • Code healthPer-file scores, 158 open findings, coverage and refactoring targets→
  • Knowledge graphEntities, communities, and the paths between them→
  • Change couplingFiles that keep changing together, mined from commit history→
  • CommitsChange-risk ranked history with agent provenance→
  • ContributorsBus factor, per-file maintainers, and the human/agent split→
  • StatsSize class, origin, lifetime churn, rhythm and records→
  • CostsWhat indexing this snapshot cost, by model and by run.→