ppy/osu
47.1
Weak · 10 November 2026
342.5k
lines of production code
C#
primary language
7
measurements over time
How this codebase got here
Score
- CAI 46 → 47 (+1.0)
- Rubric changed (rubric-2026.10.5 → rubric-2026.11.2) — scores are not directly comparable.
Lenses
- Code Health 51 → 51 (-0.0)
- Architecture 96 → 71 (-24.7)
- Maturity 51 → 60 (+8.7)
- Readiness 64 → 67 (+3.1)
- Security 33 → 33 (+0.0)
- Performance 81 → 95 (+14.9)
Resolved (43)
- Ambiguous 'Query' method overloads. One takes a LINQ expression, the other takes a string and arguments. This is inconsistent with typical repository patterns where query methods are either strongly typed (Expression) or use a query builder, but rarely mix raw string queries with LINQ in the same class without clear distinction in naming (e.g., QueryByExpression vs QueryBySql).
- BareSuppressMessage repeated across 11 files (osu.Desktop/NVAPI.cs)
- Change coupling: FooterButtonOptions.Popover.cs ↔ PanelBeatmapSet.cs (osu.Game/Screens/Select/FooterButtonOptions.Popover.cs)
- Change coupling: FormCheckBox.cs ↔ FormDropdown.cs (osu.Game/Graphics/UserInterfaceV2/FormCheckBox.cs)
- Coverage not measured — no coverage collector is wired up
- Hotspot: osu.Game.Rulesets.Catch/Skinning/Legacy/CatchLegacySkinTransformer.cs (osu.Game.Rulesets.Catch/Skinning/Legacy/CatchLegacySkinTransformer.cs)
- Hotspot: osu.Game.Rulesets.Mania/Skinning/Argon/ManiaArgonSkinTransformer.cs (osu.Game.Rulesets.Mania/Skinning/Argon/ManiaArgonSkinTransformer.cs)
- Hotspot: osu.Game.Rulesets.Osu/Skinning/Legacy/OsuLegacySkinTransformer.cs (osu.Game.Rulesets.Osu/Skinning/Legacy/OsuLegacySkinTransformer.cs)
- Hotspot: osu.Game.Rulesets.Taiko/Skinning/Argon/TaikoArgonSkinTransformer.cs (osu.Game.Rulesets.Taiko/Skinning/Argon/TaikoArgonSkinTransformer.cs)
- Hotspot: osu.Game/Skinning/TrianglesSkin.cs (osu.Game/Skinning/TrianglesSkin.cs)
- Inconsistent Import API surface between OsuGameBase and BeatmapManager, and within BeatmapManager itself. OsuGameBase exposes a simple string[] overload and a task-based overload. BeatmapManager exposes multiple overloads including one with ProgressNotification, one with a single ImportTask, and one directly accepting BeatmapSetInfo/ArchiveReader. This creates confusion for consumers about which entry point to use and how progress is handled.
- Inconsistent naming and parameter types for 'showing' content. Some methods use 'Show' with primitive IDs (int setId, int beatmapId), while others use 'Present' with domain objects (IBeatmapSetInfo, IScoreInfo). This forces consumers to know whether to pass an ID or an object, and whether to use 'Show' or 'Present'.
- Members sharing a duplicated core (4 members, 50+ identical tokens) (osu.Game.Rulesets.Catch/Skinning/Legacy/CatchLegacySkinTransformer.cs)
- Members sharing a duplicated core (7 members, 50+ identical tokens) (osu.Game.Rulesets.Catch/Skinning/Argon/CatchArgonSkinTransformer.cs)
- MethodTooLong: ScreenQueue.SetState (osu.Game/Screens/OnlinePlay/Matchmaking/Queue/ScreenQueue.cs)
- Off-boarding risk: anonymized user #1
- Off-boarding risk: anonymized user #2
- Off-boarding risk: anonymized user #3
- Off-boarding risk: anonymized user #4
- Off-boarding risk: anonymized user #5
- …and 23 more
New (80)
- BareSuppressMessage repeated across 12 files (osu.Desktop/NVAPI.cs)
- ClassTooLong: LegacySkin (osu.Game/Skinning/LegacySkin.cs)
- Duplicated block (5 lines × 2) (osu.Game/Screens/RankingV2/Argon/ArgonTotalScorePanel.cs)
- Hotspot: osu.Game/Screens/OnlinePlay/Matchmaking/RankedPlay/ResultsScreen.MainPanel.cs (osu.Game/Screens/OnlinePlay/Matchmaking/RankedPlay/ResultsScreen.MainPanel.cs)
- Low cohesion: FocusedTextBox (LCOM4 5) (osu.Game/Graphics/UserInterface/FocusedTextBox.cs)
- Members sharing a duplicated core (4 members, 50+ identical tokens) (osu.Game.Rulesets.Catch/Skinning/Legacy/CatchLegacySkinTransformer.cs)
- Members sharing a duplicated core (7 members, 50+ identical tokens) (osu.Game.Rulesets.Catch/Skinning/Argon/CatchArgonSkinTransformer.cs)
- MethodTooLong: LegacyRankingPanel.updateState (osu.Game/Screens/RankingV2/Legacy/LegacyRankingPanel.cs)
- MethodTooLong: LegacySkin.GetDrawableComponent (osu.Game/Skinning/LegacySkin.cs)
- MethodTooLong: ScreenQueue.onStateChanged (osu.Game/Screens/OnlinePlay/Matchmaking/Queue/ScreenQueue.cs)
- Off-boarding risk: anonymized user #1
- Off-boarding risk: anonymized user #6
- Off-boarding risk: anonymized user #8
- Off-boarding risk: anonymized user #7
- Off-boarding risk: anonymized user #4
- Off-boarding risk: anonymized user #2
- Off-boarding risk: anonymized user #3
- Off-boarding risk: anonymized user #5
- Orphaned file (osu.Game.Rulesets.Catch/Skinning/Default/CatchTrianglesSkinTransformer.cs)
- Orphaned file (osu.Game/Overlays/Profile/Header/Components/DailyChallengeStatsTooltip.cs)
- …and 60 more
Changes since last survey
- 49 commits — 37 feature/other, 12 fixes
By area
- osu.Game.Tests/Visual — 16 commits
- osu.Game/Screens — 11 commits
- .github/workflows — 4 commits
- osu.Game/Overlays — 4 commits
- osu.Game/Online — 3 commits
- osu.Game/Skinning — 2 commits
- (root) — 1 commit
- osu.Desktop/osu.Desktop.csproj — 1 commit
- osu.Game.Rulesets.Osu.Tests/Editor — 1 commit
- osu.Game.Rulesets.Osu.Tests/Mods — 1 commit
- osu.Game/Graphics — 1 commit
- osu.Game/IO — 1 commit
- osu.Game/Localisation — 1 commit
- osu.Game/Scoring — 1 commit
- osu.Game/osu.Game.csproj — 1 commit
Notable commits
- fix: Apply localisation-related fixes
- fix: Fix crash when resizing selection in certain configurations (#39060)
- fix: Fix incorrect declaration of localisable setting descriptions
- fix: Fix intermittent test
- fix: Fix markdown footnote links not showing correct number (#39121)
- fix: Fix playfield dim from slider tracking being applied late in Flashlight mod if multiple sliders are present on screen (#39088)
- fix: Fix skin editor components moving randomly when flipping (#39119)
- fix: Fix test failure
- fix: Fix uneven spacing in audio offset settings (#39079)
- fix: Revert "fix: not update starDifficultyBindable immediately in computeStarRating() to avoid flicker (#37204)"
- fix: Revert abort diffcalc workflow when container fails
- fix: fix: not update starDifficultyBindable immediately in computeStarRating() to avoid flicker (#37204)
- change: Abort diffcalc workflow when any container exits
- change: Add dynamic 'hit' SFX to ranked play score screen based on context (#39039)
- change: Add first pass at new solo results screen layout (#39098)
- change: Add grade component for legacy results screen design (#39089)
- change: Add health graph for legacy results screen design (#39081)
- change: Add localisation support to missed string on beatmap attributes display (#39087)
- change: Add localisation support to recently added notifications (#39130)
- change: Add matchmaking queue status bar component (#39083)
- …and 29 more
Architecture
- Unchanged — 4 containers · 1 contexts · 0 edges
Written by cca.canine.dev from the codebase's own history, inside the signed delivery this page is composed from.
Survey your own repository
ppy/osu was measured the same way every project in this corpus was: the same rubric, at a pinned commit, with the result published in full. Point a surveyor at a repository you know and see whether you agree with it.
About this page
- The score is its most recent published measurement, taken on 10 November 2026 at a pinned commit. It is not a live figure and does not change until the project is measured again.
- Measured at commit 86863bd43f00bb1b42f40cd9a13b7e37a05f8573 — the exact code this score is about.
- Scored under rubric-2026.11.2 — the same rubric and the same method as every other entry in this index.
- Measured by Canine Code Analyzer (cca.canine.dev) using cca measure-2026.11.9+preprod-cba156920af5.