repowiserepowise
Sign in
mirantis/pelagia
OverviewDocsArchitectureKnowledge GraphFilesCode HealthRefactoring

People & History

CommitsContributorsDecisions
ChatPro
Stats
repowiserepowise
ExplorePricingDocs
Sign inIndex repoIndex your repo free
repowisemirantis/pelagia
PE
PE

mirantis / pelagia

gomain78dbd8a99.6K linessynced 1mo ago

Code health

7.6out of 10Good

This codebase scores 7.6 out of 10 on defect risk, which we rate good. It also scores maintainability 7.8 and static performance risk 10.0 out of 10. The three are scored separately and never blended into one number. The files you change most are the weak spot: 50 of 474 files are git hotspots, and they average 4.0.

Full health report →
Score validation7/208.66× baselineOf the 20 lowest-health files, 7 were bug-fixed in the last 6 months — 8.66× the 4% baselineDead code58exportsUnused exports that nothing in the graph reaches
Lines of code
99.6K
Files
474
Symbols
1,807
Modules
41
Languages
6

Recent activity

All commits →

Commits

No commits indexed yet.

Decisions

  • Add ability to switch enablement of Ingress and Gateway APIproposed
  • Aggregate Rook CRs into a single CephDeployment resourceproposed
  • Avoid name-based device identifiersproposed
  • Ceph cluster fault-tolerance constraint: 3-node cluster not eligible for recovery operationsproposed
  • Cleanup csi operator resources after cluster removeproposed
  • Configure Rook via Pelagia Helm chart by defaultproposed

Needs attention

74 open
  • medium severity. ProposedAdd ability to switch enablement of Ingress and Gateway APIAuto-proposed decision awaiting review
  • medium severity. ProposedAggregate Rook CRs into a single CephDeployment resourceAuto-proposed decision awaiting review
  • medium severity. ProposedAvoid name-based device identifiersAuto-proposed decision awaiting review
  • medium severity. ProposedCeph cluster fault-tolerance constraint: 3-node cluster not eligible for recovery operationsAuto-proposed decision awaiting review
  • medium severity. ProposedCleanup csi operator resources after cluster removeAuto-proposed decision awaiting review

Where the risk concentrates

All 50 hotspots →

Ranked by prior bug fixes and change frequency, mined from full git history rather than from the code alone.

FileChurnPrior fixesMaintainersCommits 90d
deployment_types.gopkg/apis/ceph.pelagia.lcm/v1alpha199.6th02bus factor 111
validate_test.gopkg/controller/deployment99.2th02bus factor 111
cephdeployment.gotest/unit/inputs98.8th02bus factor 111
validate.gopkg/controller/deployment98.4th02bus factor 110
deprecation.gopkg/controller/deployment98.0th02bus factor 19

Composition

Open the graph →
go 46%external 21%markdown 19%yaml 14%unknown 1%Other 0%

Explore this codebase

  • Docs0 pages across 41 modules→
  • ChatAsk this codebase a question and get an answer with its sources→
  • Files474 files with per-file docs, health and history→
  • ArchitectureDependency graph, layers, and 20 entry points→
  • Code healthPer-file scores, 1,343 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→