repowiserepowise
Sign in
microsoft/powertoys
OverviewDocsArchitectureKnowledge GraphFilesCode HealthSecurityRefactoring

People & History

CommitsContributorsDecisions
Chat
Stats
repowiserepowise
ExplorePricingDocs
Sign in
repowisemicrosoft/powertoys
PO
PO

microsoft / powertoys

csharpcppmain5c351ae693.9K linessynced 4w ago
Since the previous index, 1mo ago+89 files-0.4 code health-0.2 hotspot health

Code health

7.1out of 10Good

This codebase scores 7.1 out of 10 for code health, which we rate good. It also scores maintainability 8.1 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: 76 of 6,259 files are git hotspots, and they average 2.3 — which is where the fixes pay off most.

Full health report →
Documentation8,433pages105 with model-written prose, 8,328 built from the indexScore validation12/2011.6× baselineTop-ranked files that did go on to need a bug fixDead code685exportsUnused exports that nothing in the graph reaches

Do next

1 thing worth doing this quarter.

Worth planning

  • Delete 21 unused symbols and files (1,166 lines)

    Nothing in the graph reaches them, across 20 files; every reader and agent pays to skip them.

    symbols
    21
    lines
    1,166
    safe to delete
    Yes(inferred)
    Medium effort

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
  • Review the 24 proposed decisions

    None is accepted yet, so nothing can drift from one and agents get no enforced guidance from them.

    proposed
    24
    accepted
    0
    Medium effort
Lines of code
693.9K
Files
6,259
Symbols
66,319
Modules
5
Languages
6

Recent activity

All commits →

Commits

  • 5c351aee[Peek] Update folder preview to be more robust, show more info, include scanning status and report errors (#50213)4w ago
  • c941d58bbuild(deps): bump github/gh-aw-actions/setup from 0.86.2 to 0.87.2 (#50201)4w ago
  • 73c47dbfMove HotkeySettingsControlHook and NativeKeyboardHelper to ManagedCommon (#50254)4w ago
  • 815f513cfix: show Mouse Pointer Crosshairs in the Quick Access flyout (#48592)4w ago
  • ff7f7316CmdPal: Fix separator section notifications (#50232)4w ago
  • 169fdd99CmdPal: Fix auto-sized font icons in grid views (#50231)4w ago

Decisions

  • Add WinRT coroutine support and refactor async methodsproposed · 4w ago
  • Upgrade to check-spelling v0.0.24proposed · 4w ago
  • Upgrade toolkit and suppress warnings (AOT compatibility updates)proposed · 4w ago
  • Removing Core projects from CmdPalproposed · 4w ago
  • Update Monaco Editor from 0.47.0 to 0.52.2proposed · 4w ago
  • Polish autoupdate/bootstrapper/installer/settings by separating update executable and removing deprecated packaged settingproposed · 4w ago
▸

Everything we found

14,808 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 health8,572Untested hotspot · src/modules/ZoomIt/ZoomIt/VideoRecordingSession.cpp110 findings · 10.0 deducted→
  • worst item is medium severity. Refactoring1,755GcodePreviewHandler::SetRect+1.5 health, S effort · src/modules/previewpane/GcodePreviewHandlerCpp/GcodePreviewHandler.cpp→
  • worst item is medium severity. Decisions100src/modules/ZoomIt/ZoomIt/Zoomit.cpp24 awaiting review · 76 hotspots ungoverned→
  • worst item is medium severity. Ownership4,131src/modules/poweraccent/PowerAccent.Common/CharacterMappings.cs98% single-owner concentration, 8 commits in 90d→
  • worst item is low severity. Dead code250src/modules/AdvancedPaste/AdvancedPaste/Telemetry/AdvancedPasteClipboardItemDeletedEvent.csUnreachable symbol (30 lines)→

Composition

Open the graph →
csharp 73%cpp 25%
javascript 2%c 0%python 0%Other 0%

Explore this codebase

  • Docs8,433 pages across 5 modules→
  • ChatAsk this codebase a question and get an answer with its sources.→
  • Files6,259 files with per-file docs, health and history→
  • ArchitectureDependency graph, layers, and 104 entry points→
  • Code healthPer-file scores, 9,023 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.→