Public report β Keitai-World-Launcher, published 1 Oct 2026.
Concrete security findings (which rule fired, in which file, on which line; CVE IDs, secret matches,
dependency versions) are REDACTED in this version; ask the repo owner for the full report.
Public
Codebase surveyMeasured under the Code Assurance Index Β· rubric rubric-2026.09.18 (frozen) Β· verify this surveyFiledcd_1da6cdf46aa94af594b38fc555b34947
Filed 1 October 2026, 13:52 UTC
Public
Small Β· 14,291 LoC Β· 2 projects Β· rebuild ~0.1 person-years Β· weakest lens: Readiness (24%)
Findings by grade
20 critical113 serious12 minor42 could not be resolved β could be critical β see Limitations
This survey was produced by
Watchdog
Producer
Canine Development
Analyzer
Watchdog engine 1.0.0
Measured
1 October 2026, 13:51 UTC
A measurement, not a certificate. The Code Assurance Index does not certify,
approve or guarantee this codebase; it records a reproducible number and the evidence it was computed from. The
standard is authored by Canine Development, who also build Watchdog β its only implementation today. That is said
here so the number is checked rather than believed.
Grounded in facts. Every number here is computed, not narrated β reproducible, tool-backed, and traceable to a line of code. How to trust this βΈ
131findings with an exact file:lineof 145 β the remainder are repo-wide signals (a dimension-level measurement, not a single line); open any file:line and verify
35/118dimensions across the health lenses14291 LoC Β· 2 projects β wide & deep
This system is a small, low-cost asset with a fragile operational foundation. While the underlying code structure is sound and the cost to rebuild is negligible, the overall health score of 45% signals significant risk in how the system is delivered and maintained. The business value here is modest, with a rebuild effort of roughly 0.1 person-years, but the annual change volume creates a recurring drag on productivity that outweighs the initial investment in stability.
The primary risk is operational readiness. With a readiness score of just 24%, the system lacks the safety nets required for reliable deployment. This is not a code quality issue but a process failure: there are no automated tests. This absence means every change carries a high probability of regression, turning minor updates into potential outages. The cost of this neglect is not in fixing bugs after release, but in the hidden tax on developer velocity. Without automated verification, the team pays a premium in time and confidence for every single modification, a cost that compounds with every line of code changed.
A secondary theme is the velocity tax imposed by code complexity. Although the architecture is strong, the code quality signals indicate a moderate level of complexity and duplication. This acts as a friction point, slowing down development and increasing the likelihood of defects. While not critical, this friction erodes the teamβs ability to iterate quickly, effectively charging a toll on every feature delivery. The combination of high complexity and zero testing creates a dangerous environment where changes are both slow and risky.
The genuine strength lies in the systemβs simplicity and low rebuild cost. The codebase is small, and the architectural decisions are solid, meaning that if a complete rewrite were necessary, it would be inexpensive and fast. This provides a safety net, but it should not be relied upon as a strategy. The best path forward is to add a continuous integration workflow that runs tests on every change. This single action breaks even within months by reducing the velocity tax and preventing regressions, offering the highest leverage for the lowest effort. Until this is in place, the system remains a liability disguised as a low-cost asset.
How the score is built β each lens's share of the headlineWidth is the lens's weight in the worst-heaviest fold (the weakest area pulls hardest); colour is that lens's own band. A lens fixes the score in proportion to its width.
4 finding(s) are new versus the previous scan (2026-09-15) β surfaced by this scheduled scan itself, no pull request required.
D4 Β· Members sharing a duplicated core (13 members, 50+ identical tokens) KeitaiWorldLauncher/MainForm.LibraryLayout.vb
D4 Β· Members sharing a duplicated core (8 members, 50+ identical tokens) KeitaiWorldLauncher/managers/UtilManager.vb
D4 Β· Members sharing a duplicated core (7 members, 50+ identical tokens) KeitaiWorldLauncher/managers/UtilManager.vb
D4 Β· Members sharing a duplicated core (5 members, 50+ identical tokens) KeitaiWorldLauncher/managers/UtilManager.vb
A full-fidelity diff against the previous run's complete recorded findings β line-move tolerant: a finding that only shifted line counts as unchanged, only genuinely new titles/files surface here.
Rebuild cost & value ~ Modeled β β¬4,400ββ¬22,000
0.7Γ (at 45% quality) β the last 20% of quality is most of the work
Size & shape
Small Β· effort split not classified (source measured from disk; the effort-tier breakdown is a C#-only syntax walk)
This codebase represents roughly ~0.1 person-years of build effort (about ~β¬13,000 to rebuild). Its weakest lens is Readiness at 24% β the part of that asset most exposed by the findings below.
How we model this: boilerplate at a scaffolding rate + logic × domain Standard (×1.1) β desktop/game × a 0.7× quality factor, at β¬60β95/h; indicative, ±~30% · effort from total production LoC as straight-line logic (the tier split is a C#-only syntax walk), a conservative lower bound. Indicative only β most sensitive to the hourly rate and the domain tier (both tunable in config).
Top priorities
The highest-leverage moves; the full ranked list is in the Roadmap below.
1
Resolve the 1 No automated tests finding(s) in Code Coverage.
Value concentrated against a weak lens Β· High Β· Value at risk
This is a Small asset (~0.1 person-years to rebuild), and its weakest lens is Readiness at 24%. The operational and business risk on an asset this size concentrates there β that's where remediation buys the most protection.
β Direct remediation budget at Readiness first β highest risk-reduction per euro on an asset this size.
The top fix pays for itself Β· High Β· Economics
The top-ranked fix costs roughly 1β3 engineer-days once. Not doing it costs about 1.8β12.1 engineer-days every year, paid as drag on the ~36,374 lines this team changes annually β a bill that arrives whether or not anyone books it. On those figures the fix breaks even in roughly 1β20 months and is free after that. Method, stated so this is not read as a quotation: debt from the ranked task's effort band; interest = annual changed lines (measured, annualised from the 90-day window) ÷ an ASSUMED 150β400 lines per engineer-day × the 2β5% drag implied by the code-quality signals; breaking point = debt ÷ annual interest. A modelled planning range built from measured inputs and one named assumption β not a quotation, a valuation, or a certified figure.
Evidence: D15 churn: 8,969 line(s) changed over a 90-day window β ~36,374/year · D1/D2/D4/D6 code quality: averaging 7.4/10 β a 2β5% drag on each change · top-ranked remediation: Low effort β about 1β3 engineer-day(s)
β Do the top-ranked fix now if this code will still be yours in 20 months.
Highest-leverage move Β· Medium Β· Leverage
Of everything flagged, the best return on effort is: Add a CI workflow that builds and runs the test suite on every push/PR. The rest can wait behind it.
Evidence: priority ranking: top of 5 ranked by impact/effort
β Add a CI workflow that builds and runs the test suite on every push/PR.
A velocity tax on every change Β· Medium Β· Economics
The code-quality signals (complexity, duplication, cohesion) average 7.4/10, which acts as a tax on every change in the weaker areas: modifications there plausibly cost on the order of 2β5% more than in clean code, and the tax compounds as the codebase grows. (A modelled estimate, not a measured fact.)
Evidence: D1/D2/D4/D6 code quality: averaging 7.4/10 across the code-quality signals actually measured
β Pay it down where churn is highest β the hotspots β not everywhere; that's where the tax is actually paid.
Architecture β module dependency matrix
Rows and columns are the same modules, ordered so that a module only depends on ones above it. A cell means the row depends on the column, and its number is how many type pairs create that dependency. Read one thing: is anything above the diagonal? A mark there is a dependency cycle. (A cycle is all this shows β an unusual but cycle-free dependency sits below the diagonal like any other.)
9 modules, 3 dependencies. Every dependency points down the layering β no cycles.
Module dependency matrix. The row depends on the column; the number is how many type pairs create the dependency. A cell above the diagonal is part of a dependency cycle.
KeitaiWorldLauncher.My.Managers uses KeitaiWorldLauncher.My.Models. Changing KeitaiWorldLauncher.My.Models can break KeitaiWorldLauncher.My.Managers, not the reverse.
Position
Below the diagonal β points down the layering, which is what you want.
9β4 KeitaiWorldLauncher depends on KeitaiWorldLauncher.My.Models✕
Type pairs
7 distinct (type in KeitaiWorldLauncher β type in KeitaiWorldLauncher.My.Models) references.
Establish a CI workflow to build and test every push, then address the single gaps in automated test coverage and test distribution to ensure code quality. Document key architectural decisions in a dedicated directory to capture context and consequences, and finally add a quick-start build and run section to the root README to help newcomers get started.
Ranked by impact Γ· effort. "Helps" is the estimated gain on the 0β100 health score.
Do this
Helps
Effort
Dimension
Resolve the 1 No automated tests finding(s) in Code Coverage.
Record significant decisions one document per decision β dated, stating the context, the decision and its consequences β and keep them together wherever your design docs already live (a conventional `docs/adr/` tree, with each file named `NNNN-title` in whatever markup those docs already use, is the most discoverable form).
Per-file score 0β10 β a quality signature. Of 14 files carrying findings, judged against the Production bar: 7% slop Β· 57% mixed Β· 36% near-clean.
Documentation Quality: Documentation: no project overview
How the grades work
Every finding carries one of four grades. Three say how serious it is. The fourth says this
survey could not settle it β and it is a grade, not a gap.
Critical β 20
A definite problem that already costs you something and drags the score down: a
missing authorisation check, a dependency with a known exploit, a build that does not reproduce. Failure here
tends to cause failures elsewhere.
Serious β 113
Likely wrong, but not failing yet. It degrades
the codebase over a longer horizon and can cause failures elsewhere β not urgent this week, not something to
carry for two years either.
Minor β 12
Recorded, with no effect on how the codebase functions.
Present so the survey is complete, not because it needs doing.
Could not be resolved β 42
Something this survey could not settle
from the outside, and which could be critical or serious. Either a control was required and no
positive evidence of it exists in the repository β a backup job that nothing shows was ever restored from proves
nothing about restores β or our own analysis could not run over that part of the tree. This is not a clean
result. These are excluded from the score rather than awarded a pass, so the number on the cover neither
rewards nor penalises them: if you act on this survey without resolving them, you carry that risk yourself. Each
one is named under Limitations.
Methodology & how to trust this report
Watchdog is a deep, periodic assessment β run each sprint, monthly, or quarterly, taking the time to go wider and deeper than a quick check and surfacing in one coherent report what you'd otherwise piece together from a dozen separate tools. It scores deterministically: the same commit yields the same score, every run. 32 of 35 evaluated dimensions are computed purely by tools and static analysis (confidence 1.0); 3 documentation/naming judgement(s) are LLM-assisted and labelled advisory. Overall confidence is 0.9 β the weighted average across measured dimensions; it falls as more of the score leans on LLM-assisted judgement and rises when it's fully tool-backed.
Every figure here is one of three kinds, and we label which: β Measured β a deterministic fact (LoC, complexity, coverage); ~ Modeled β an estimate from a stated model (cost, effort, value-at-risk), always a range with its assumptions, never a precise fact; β Advisory β an LLM prose judgement. We never present a modelled estimate as if it were measured. Perfect or absent scores carry their provenance too (ADR-0011): β Tool-verified means the property itself was measured across the surface; β Nothing flagged means the probes came back clean β a claim bounded by what a repository can show; β Not evidenced means a working control (a tested restore, an automated rollback) showed no positive evidence β absence of evidence is not evidence of a control, so it's excluded from the score rather than awarded a spurious 10; β Sampled Β· advisory marks an LLM verdict over a bounded sample β advisory, never a deterministic measurement.
What we checked β 35 dimensions across the health lenses
Each chip is a dimension scored from real signals across architecture, testing, dependencies, security & compliance, documentation, git-history and code quality β in one coherent pass. A surface report typically covers a handful.
How to trust any code-health report β three questions
Can you open the finding? Real findings cite a repo-relative file and line you can open at the cited line β never an absolute scratch path. Here, 131 of 145 do; the remainder are repo-wide signals β a dimension-level measurement, not a single line. (Every path in this report is repo-relative by construction: paths are normalized at the producer and the report is rejected if any rooted path leaks through.)
Is there a tool behind the number? Every score below names the method that produced it β Roslyn, git, a scanner, or (for a handful of documentation/naming dimensions) an LLM labelled sampled Β· advisory β not a narrative.
Does re-running give the same result? Run it again on the same commit and the score β and this report, byte for byte β is identical. A report whose numbers move between runs is describing the run, not the code.
This report answers yes to all three. That's the bar to hold any assessment to.
Tools & methods
The actual versions used this run (captured at analysis time) β re-run on the same commit for the identical score.
Method
Backs
Version
Evaluator
Roslyn static analysis
Complexity, cohesion, coupling, dead code, API surface, layering
What ran differently this time β a tool absent, degraded, or that fell back to an estimate. Named openly, not folded silently into the scores. A degraded run also records its exact cause in diagnostics.md.
D16 Bus Factor β not measured this run β This is a true statement about the repository that carries nothing for its owner to act on, so it is reported here rather than as a defect in their code. Single-contributor repository β bus factor is not applicable (1 contributor(s) across 124 commit(s) sampled, automation and bot accounts excluded). Concentration needs a team to concentrate: with one contributor there is nobody to spread the knowledge to, so there is nothing here for the owner to act on.
D22 Internal API Consistency β not measured this run β This is a true statement about the repository that carries nothing for its owner to act on, so it is reported here rather than as a defect in their code. The loaded project set declares no packable project and no `.Contracts` project, so there is no intentionally-exposed surface for API consistency to be judged over.
D39 IL Efficiency β not measured this run β Watchdog could not measure this here. That is a gap on our side β a collector, parser or image we have not built yet β and it is neither a defect in this repository nor evidence that the check would have passed. IL NOT MEASURED: the analyzer's build of this repository exited 1 and the cause could not be attributed, so no assemblies were produced and there was no IL to read. We do not read it as a defect in the repository: an unattributed failure leans OURS. D18 owns the question of whether this repository builds; it was not answered here.
C1 Data Protection β not measured this run β Watchdog could not measure this here. That is a gap on our side β a collector, parser or image we have not built yet β and it is neither a defect in this repository nor evidence that the check would have passed. These personal data controls are read from declarative annotations, request middleware, entity/column names and guard methods in a C# source model, and none was loaded on this run, so there was nothing to gather. That is a gap in this analyzer's language reach β not a finding that the repository lacks personal data controls.
C2 Access Controls β not measured this run β Watchdog could not measure this here. That is a gap on our side β a collector, parser or image we have not built yet β and it is neither a defect in this repository nor evidence that the check would have passed. These authorization controls are read from declarative annotations, request middleware, entity/column names and guard methods in a C# source model, and none was loaded on this run, so there was nothing to gather. That is a gap in this analyzer's language reach β not a finding that the repository lacks authorization controls.
C3 Audit Trail β not measured this run β Watchdog could not measure this here. That is a gap on our side β a collector, parser or image we have not built yet β and it is neither a defect in this repository nor evidence that the check would have passed. These audit controls are read from declarative annotations, request middleware, entity/column names and guard methods in a C# source model, and none was loaded on this run, so there was nothing to gather. That is a gap in this analyzer's language reach β not a finding that the repository lacks audit controls.
C4 Data Retention β not measured this run β Watchdog could not measure this here. That is a gap on our side β a collector, parser or image we have not built yet β and it is neither a defect in this repository nor evidence that the check would have passed. These retention controls are read from declarative annotations, request middleware, entity/column names and guard methods in a C# source model, and none was loaded on this run, so there was nothing to gather. That is a gap in this analyzer's language reach β not a finding that the repository lacks retention controls.
C5 Data-Subject Rights β not measured this run β Watchdog could not measure this here. That is a gap on our side β a collector, parser or image we have not built yet β and it is neither a defect in this repository nor evidence that the check would have passed. These data-subject rights controls are read from declarative annotations, request middleware, entity/column names and guard methods in a C# source model, and none was loaded on this run, so there was nothing to gather. That is a gap in this analyzer's language reach β not a finding that the repository lacks data-subject rights controls.
IC1 Incompleteness & stubs β not measured this run β Watchdog could not measure this here. That is a gap on our side β a collector, parser or image we have not built yet β and it is neither a defect in this repository nor evidence that the check would have passed. This check is implemented over the C# syntax tree, and no C# was loaded on this run, so it had nothing to read. That is a gap in this analyzer's language reach β not a finding that the repository is free of what this check looks for.
P2 Observability β not measured this run β Watchdog could not measure this here. That is a gap on our side β a collector, parser or image we have not built yet β and it is neither a defect in this repository nor evidence that the check would have passed. Observability was not assessed: this check recognises the logging, tracing/metrics and health-check idioms of .NET, the JVM, Go, Python, JavaScript/TypeScript, Rust, Ruby, PHP, Swift, Dart, Elixir and Erlang, and most of this repository's production source is in none of them. Absence of an idiom this check recognises is NOT evidence that this repo lacks structured logging. This is a gap in the analyzer, not a finding about this repository.
P5 DR & Backup β not measured this run β This is a true statement about the repository that carries nothing for its owner to act on, so it is reported here rather than as a defect in their code. No backup/snapshot/replication config, RTO/RPO or restore-procedure documentation was found β and no production persistence was detected either (no data-access packages, no data-store services, no database resources), so there is nothing in this repository whose loss a DR control would recover. If this system's data lives in a platform or ops repo we can't see, that's where the DR evidence belongs.
PF2 Allocation hygiene β not measured this run β Watchdog could not measure this here. That is a gap on our side β a collector, parser or image we have not built yet β and it is neither a defect in this repository nor evidence that the check would have passed. Those languages have allocation-aware idioms of their own, but this check does not read them yet. That is a gap in this analyzer's language reach β not a finding that the code is careless with allocations.
PF3 Async & latency hygiene β not measured this run β Watchdog could not measure this here. That is a gap on our side β a collector, parser or image we have not built yet β and it is neither a defect in this repository nor evidence that the check would have passed. No function of a language this check models was read, so there was no async code to examine. That is a limit of the analyzer on this repository, not a finding about it.
S1 Web-Security Posture β not measured this run β Watchdog could not measure this here. That is a gap on our side β a collector, parser or image we have not built yet β and it is neither a defect in this repository nor evidence that the check would have passed. These web-security controls are read from declarative annotations, request middleware, entity/column names and guard methods in a C# source model, and none was loaded on this run, so there was nothing to gather. That is a gap in this analyzer's language reach β not a finding that the repository lacks web-security controls.
X1 Async correctness β not measured this run β Watchdog could not measure this here. That is a gap on our side β a collector, parser or image we have not built yet β and it is neither a defect in this repository nor evidence that the check would have passed. This check is implemented over the C# syntax tree, and no C# was loaded on this run, so it had nothing to read. That is a gap in this analyzer's language reach β not a finding that the repository is free of what this check looks for.
X10 Duplicated predicate β not measured this run β Watchdog could not measure this here. That is a gap on our side β a collector, parser or image we have not built yet β and it is neither a defect in this repository nor evidence that the check would have passed. This check is implemented over the C# syntax tree, and no C# was loaded on this run, so it had nothing to read. That is a gap in this analyzer's language reach β not a finding that the repository is free of what this check looks for.
X12 Unreachable branch β not measured this run β Watchdog could not measure this here. That is a gap on our side β a collector, parser or image we have not built yet β and it is neither a defect in this repository nor evidence that the check would have passed. This check is implemented over the C# syntax tree, and no C# was loaded on this run, so it had nothing to read. That is a gap in this analyzer's language reach β not a finding that the repository is free of what this check looks for.
X13 Undrained process stream β not measured this run β Watchdog could not measure this here. That is a gap on our side β a collector, parser or image we have not built yet β and it is neither a defect in this repository nor evidence that the check would have passed. This check is implemented over the C# syntax tree, and no C# was loaded on this run, so it had nothing to read. That is a gap in this analyzer's language reach β not a finding that the repository is free of what this check looks for.
X14 Bypassable address classification β not measured this run β Watchdog could not measure this here. That is a gap on our side β a collector, parser or image we have not built yet β and it is neither a defect in this repository nor evidence that the check would have passed. This check is implemented over the C# syntax tree, and no C# was loaded on this run, so it had nothing to read. That is a gap in this analyzer's language reach β not a finding that the repository is free of what this check looks for.
X15 Unvalidated length from an untrusted reader β not measured this run β Watchdog could not measure this here. That is a gap on our side β a collector, parser or image we have not built yet β and it is neither a defect in this repository nor evidence that the check would have passed. This check is implemented over the C# syntax tree, and no C# was loaded on this run, so it had nothing to read. That is a gap in this analyzer's language reach β not a finding that the repository is free of what this check looks for.
X16 Unfloored truncation loop β not measured this run β Watchdog could not measure this here. That is a gap on our side β a collector, parser or image we have not built yet β and it is neither a defect in this repository nor evidence that the check would have passed. This check is implemented over the C# syntax tree, and no C# was loaded on this run, so it had nothing to read. That is a gap in this analyzer's language reach β not a finding that the repository is free of what this check looks for.
X17 Uncapped recursion over a caller-supplied document β not measured this run β Watchdog could not measure this here. That is a gap on our side β a collector, parser or image we have not built yet β and it is neither a defect in this repository nor evidence that the check would have passed. This check is implemented over the C# syntax tree, and no C# was loaded on this run, so it had nothing to read. That is a gap in this analyzer's language reach β not a finding that the repository is free of what this check looks for.
X18 Disposal-pattern correctness β not measured this run β Watchdog could not measure this here. That is a gap on our side β a collector, parser or image we have not built yet β and it is neither a defect in this repository nor evidence that the check would have passed. This check is implemented over the C# syntax tree, and no C# was loaded on this run, so it had nothing to read. That is a gap in this analyzer's language reach β not a finding that the repository is free of what this check looks for.
X19 Unrestored process-global state β not measured this run β Watchdog could not measure this here. That is a gap on our side β a collector, parser or image we have not built yet β and it is neither a defect in this repository nor evidence that the check would have passed. This check is implemented over the C# syntax tree, and no C# was loaded on this run, so it had nothing to read. That is a gap in this analyzer's language reach β not a finding that the repository is free of what this check looks for.
X2 Cancellation propagation β not measured this run β Watchdog could not measure this here. That is a gap on our side β a collector, parser or image we have not built yet β and it is neither a defect in this repository nor evidence that the check would have passed. This check is implemented over the C# syntax tree, and no C# was loaded on this run, so it had nothing to read. That is a gap in this analyzer's language reach β not a finding that the repository is free of what this check looks for.
X20 Mistyped argument guard β not measured this run β Watchdog could not measure this here. That is a gap on our side β a collector, parser or image we have not built yet β and it is neither a defect in this repository nor evidence that the check would have passed. This check is implemented over the C# syntax tree, and no C# was loaded on this run, so it had nothing to read. That is a gap in this analyzer's language reach β not a finding that the repository is free of what this check looks for.
X21 Side-effecting pattern guard β not measured this run β Watchdog could not measure this here. That is a gap on our side β a collector, parser or image we have not built yet β and it is neither a defect in this repository nor evidence that the check would have passed. This check is implemented over the C# syntax tree, and no C# was loaded on this run, so it had nothing to read. That is a gap in this analyzer's language reach β not a finding that the repository is free of what this check looks for.
X22 Contradicted release guard β not measured this run β Watchdog could not measure this here. That is a gap on our side β a collector, parser or image we have not built yet β and it is neither a defect in this repository nor evidence that the check would have passed. This check is implemented over the C# syntax tree, and no C# was loaded on this run, so it had nothing to read. That is a gap in this analyzer's language reach β not a finding that the repository is free of what this check looks for.
X23 Unguarded diagnostic materialisation β not measured this run β Watchdog could not measure this here. That is a gap on our side β a collector, parser or image we have not built yet β and it is neither a defect in this repository nor evidence that the check would have passed. This check is implemented over the C# syntax tree, and no C# was loaded on this run, so it had nothing to read. That is a gap in this analyzer's language reach β not a finding that the repository is free of what this check looks for.
X24 Document value interpolated into markup unescaped β not measured this run β Watchdog could not measure this here. That is a gap on our side β a collector, parser or image we have not built yet β and it is neither a defect in this repository nor evidence that the check would have passed. This check is implemented over the C# syntax tree, and no C# was loaded on this run, so it had nothing to read. That is a gap in this analyzer's language reach β not a finding that the repository is free of what this check looks for.
X25 Inert configuration knob β not measured this run β Watchdog could not measure this here. That is a gap on our side β a collector, parser or image we have not built yet β and it is neither a defect in this repository nor evidence that the check would have passed. This check is implemented over the C# syntax tree, and no C# was loaded on this run, so it had nothing to read. That is a gap in this analyzer's language reach β not a finding that the repository is free of what this check looks for.
X26 Unsynchronised callback handoff β not measured this run β Watchdog could not measure this here. That is a gap on our side β a collector, parser or image we have not built yet β and it is neither a defect in this repository nor evidence that the check would have passed. This check is implemented over the C# syntax tree, and no C# was loaded on this run, so it had nothing to read. That is a gap in this analyzer's language reach β not a finding that the repository is free of what this check looks for.
X27 Collection changed while being enumerated β not measured this run β Watchdog could not measure this here. That is a gap on our side β a collector, parser or image we have not built yet β and it is neither a defect in this repository nor evidence that the check would have passed. This check is implemented over the C# syntax tree, and no C# was loaded on this run, so it had nothing to read. That is a gap in this analyzer's language reach β not a finding that the repository is free of what this check looks for.
X28 Index access outside its own emptiness guard β not measured this run β Watchdog could not measure this here. That is a gap on our side β a collector, parser or image we have not built yet β and it is neither a defect in this repository nor evidence that the check would have passed. This check is implemented over the C# syntax tree, and no C# was loaded on this run, so it had nothing to read. That is a gap in this analyzer's language reach β not a finding that the repository is free of what this check looks for.
X29 Per-element action decided by a fixed element β not measured this run β Watchdog could not measure this here. That is a gap on our side β a collector, parser or image we have not built yet β and it is neither a defect in this repository nor evidence that the check would have passed. This check is implemented over the C# syntax tree, and no C# was loaded on this run, so it had nothing to read. That is a gap in this analyzer's language reach β not a finding that the repository is free of what this check looks for.
X3 Exception handling β not measured this run β Watchdog could not measure this here. That is a gap on our side β a collector, parser or image we have not built yet β and it is neither a defect in this repository nor evidence that the check would have passed. This check is implemented over the C# syntax tree, and no C# was loaded on this run, so it had nothing to read. That is a gap in this analyzer's language reach β not a finding that the repository is free of what this check looks for.
X30 Support guard that admits what it rejects β not measured this run β Watchdog could not measure this here. That is a gap on our side β a collector, parser or image we have not built yet β and it is neither a defect in this repository nor evidence that the check would have passed. This check is implemented over the C# syntax tree, and no C# was loaded on this run, so it had nothing to read. That is a gap in this analyzer's language reach β not a finding that the repository is free of what this check looks for.
X32 Type resolved by simple name across every loaded assembly β not measured this run β Watchdog could not measure this here. That is a gap on our side β a collector, parser or image we have not built yet β and it is neither a defect in this repository nor evidence that the check would have passed. This check is implemented over the C# syntax tree, and no C# was loaded on this run, so it had nothing to read. That is a gap in this analyzer's language reach β not a finding that the repository is free of what this check looks for.
X4 Structured logging β not measured this run β Watchdog could not measure this here. That is a gap on our side β a collector, parser or image we have not built yet β and it is neither a defect in this repository nor evidence that the check would have passed. This check is implemented over the C# syntax tree, and no C# was loaded on this run, so it had nothing to read. That is a gap in this analyzer's language reach β not a finding that the repository is free of what this check looks for.
X5 Nullable reference types β not measured this run β Watchdog could not measure this here. That is a gap on our side β a collector, parser or image we have not built yet β and it is neither a defect in this repository nor evidence that the check would have passed. This check is implemented over the C# syntax tree, and no C# was loaded on this run, so it had nothing to read. That is a gap in this analyzer's language reach β not a finding that the repository is free of what this check looks for.
X6 Hand-rolled structured-format parsing β not measured this run β Watchdog could not measure this here. That is a gap on our side β a collector, parser or image we have not built yet β and it is neither a defect in this repository nor evidence that the check would have passed. This check reads C# syntax, and Python, JavaScript/TypeScript, Go, Java/Kotlin/Scala, Ruby, PHP and Rust source only, and no C# was loaded and none of those languages was found in this repository, so it had nothing of this repository's product to read. That is a gap in this analyzer's language reach β not a finding that the repository is free of what this check looks for.
X7 Silent fallback defaults β not measured this run β Watchdog could not measure this here. That is a gap on our side β a collector, parser or image we have not built yet β and it is neither a defect in this repository nor evidence that the check would have passed. This check reads C#, Python, TypeScript/JavaScript, Rust, Go, Java and Kotlin syntax only, and no C#, Python, TypeScript/JavaScript, Rust, Go, Java or Kotlin was loaded for this repository, so it had nothing of this repository's product to read. That is a gap in this analyzer's language reach β not a finding that the repository is free of what this check looks for.
Repo exclusion declarations (.gitattributes linguist-generated/vendored, .editorconfig generated_code): none declared β every source file was scored.
Limitations & what we did not check
Watchdog assesses the repository exactly as committed, and only the repository. By design it does not reach outside the source tree: the live cloud account, the running CI/CD pipeline, the host's branch-protection and approval rules, the production configuration, or a restore actually exercised against a backup are all out of scope. That boundary is a feature, not a gap β a repo-relative, deterministic scan re-runs identically on any commit and every finding opens at a real file and line, where a live audit can neither be reproduced nor traced. The visible consequence is that controls which leave no in-repo evidence are reported as "not evidenced" and excluded from the score rather than awarded a number a static scan cannot justify.
Per-dimension blind spots
For each dimension that was measured, what a static, repo-only scan structurally cannot see β the honest edge of the measurement, not a failure of it.
D1 Cyclomatic Complexity: Cyclomatic complexity counts branches statically β it cannot tell an essential decision tree from accidental tangle, nor see complexity that lives in data or configuration (large switch-case token tables, DSL lexers/parsers, data-as-code rule tables) rather than control flow: a tokenizer's many single-character cases read as high complexity though each branch is trivial.
D2 Cognitive Complexity: Cognitive-complexity heuristics approximate how hard code is to follow; genuine domain difficulty and well-named intent that eases reading are not captured.
D3 God Classes: "God class" is sized by members and responsibilities visible in the type β a deliberately broad facade over a coherent subsystem can read the same as an accidental grab-bag. For front-end JS the file-length check is cohesion-aware (a single-responsibility module β one class/IIFE β earns a 3× threshold), but cohesion is approximated from top-level declarations, not true dependency structure.
D4 Code Duplication: Duplication is token-similarity β an in-process token-stream comparison over sliding windows, with type-aware normalization β so it finds copy-paste, not semantic duplication expressed differently. Committed machine-written code (scaffolded migrations, designer/codegen output, protobuf/OpenAPI stubs, model snapshots) is EXCLUDED β its repetition is the tool's, not the team's β so the score reflects hand-written duplication only.
D5 Coupling: Coupling is measured between projects/assemblies β runtime coupling through DI, reflection, messaging or shared databases is invisible to a static reference graph.
D6 Cohesion (LCOM4): LCOM4 cohesion is syntactic β it infers connectivity from which methods touch which fields/methods by name, not from real runtime behaviour or intent.
D8 Code Coverage: Coverage is measured by building and running the test suite inside Watchdog's isolated image β the target repo is never modified, and nothing on your systems runs. So coverage exists only when the suite builds and runs within the inline time budget; one that needs external services, can't build, or exceeds the budget yields no coverage (D8 then degrades to not-measured, not a low score). Line coverage also says nothing about assertion quality.
D9 Test Distribution: The test-pyramid shape is inferred from project/folder naming and references, with a single test host bucketed per-file by its path tier and content signals β a suite that names tiers unconventionally and gives no per-file signal can still be mis-bucketed.
D12 Dependency Hygiene: Dependency health reads manifests and lockfiles β a vulnerability in a vendored/copied dependency, or risk from how a dependency is actually used, is outside this view.
D13 Secret Scanning: Secret detection is signature- and entropy-based on the current tree β a secret that does not match a known pattern, or one already rotated, will not be flagged (a clean scan is "nothing matched", not "no secrets exist").
D14 License Compliance: License compatibility is checked against declared package metadata and a policy β mislabelled or missing license metadata, and obligations that depend on how you distribute, are not resolved here.
D15 Churn × Complexity Hotspots: Churn hotspots come from git history β a freshly imported or squashed repository has no churn signal, and recent rewrites can mask a historically risky file.
D17 Explicit Debt: Acknowledged-debt signals (TODO/FIXME, suppressions, dead code) are textual β undocumented debt that nobody marked, and debt that lives in design rather than annotations, is invisible. Committed machine-written code (scaffolded migrations, designer/codegen output, generated stubs) is excluded β it is never the team's dead code to delete.
D18 Solution Shape: Build integrity reflects whether the solution compiled in this environment β a build that needs a private feed, a specific SDK, or a generated file absent from the repo can read as broken when it is merely unreproducible here.
D19 Documentation Quality: Documentation quality is judged by an LLM over a bounded sample of docs β it reads what is written, not whether the docs match the running system, and it is advisory, not a measurement. Its critique rows are drawn from a closed category vocabulary and each row means the same thing in every run, so two scans can be compared row by row; the SET that fires is still a sample, and does not repeat exactly. Measured on one frozen input, six scans at one engine SHA: 2-5 critique rows per scan, 8 distinct rows across the six, 3 of those 8 seen in only one scan. So a D19 row is evidence about the documentation, but a COUNT of D19 rows is not a quantity β never read a change in it as an improvement or a regression.
D20 ADR Quality: ADR quality is an LLM read of the decision records present β it cannot know about decisions made and never recorded, and its verdict is sampled and advisory.
D21 Naming Consistency: Naming quality is an LLM judgement over a bounded sample β it assesses clarity/consistency of the names it sees, not domain-correctness, and is advisory.
D26 Project Cohesion: Project focus is sized from members/namespaces per project β a project that is broad by deliberate design reads the same as one that has sprawled.
D27 Navigability: Indirection/navigability is structural β it measures hops to follow a call, not whether that indirection buys real flexibility or just ceremony.
D28 Secrets (history): Secret-history scanning sweeps the git log for known patterns β a secret that predates the available history, or never matched a signature, is not found (clean means "nothing matched in the history we can see").
D29 Static Analysis (SAST): SAST findings are pattern-based (semgrep) β it finds classes of bug it has rules for; logic flaws, auth/authorization gaps and issues needing runtime context are out of reach (and clean means "no rule matched").
D34 Knowledge Freshness: Freshness is decayed commit RECENCY, not comprehension β code read often but rarely committed reads as orphaned, and stable code that genuinely needs no changes is penalised the same as forgotten code; bot/squash commits distort it like the bus factor.
D35 Change Coupling: Change coupling is co-change in COMMITS β files split across separate commits, or coupled only through a shared config/build step, read as uncoupled, and a sweeping commit (rename/format) is excluded so it doesn't couple everything. It shows that files change together, not WHY: a high coupling can be a healthy cohesive pair as readily as a hidden leak.
D44 Platform End-of-Life: The support table is FROZEN, so it goes out of date by losing RECALL: a release that ended support after the table was written is missed until the table is refreshed, and this dimension reading 10 is not evidence that a platform is current. Only platforms the repository DECLARES in a place this pass reads are seen β a runtime named only in a Dockerfile (D31's subject), in a CI workflow (D29's), or in a file this pass does not parse (go.mod, a Gemfile ruby directive) is invisible here, which is why a repository declaring none of them abstains rather than scoring. Only frameworks with a PUBLISHED support policy are tracked: React, Flask and Express publish none, so their age cannot be judged and their absence from a report is not a statement that they are supported.
AX10 Code composition: Role is inferred from namespace/folder convention, not semantics β a domain concept living in a folder named "Services" reads as application, and the split is lines-of-code, not business value. The business-logic-share score is a SOFT, FLOORED signal: it contributes to the Architecture lens but is floored at the Critical gate, so an infrastructure-heavy design (a gateway, an ETL, a driver) is legitimately low without being nuked to zero.
M4 Documentation accuracy: Onboarding quality is an LLM read of the docs/setup present β it cannot run the onboarding or measure how long a real new joiner takes; the verdict is sampled and advisory.
The LLM boundary
LLM-set scores this run (3): D19, D21, M4 (model: Local LLM). For these, a model reads a bounded sample and sets the numeric score; each names its own sample and method on its card. They are sampled and advisory by design: they vary at the margins between runs and are never a deterministic measurement. Every other score in this report is tool-computed at confidence 1.0.
What it measures: How tangled the control flow is β methods with many branches are hard to test and change.
Method: Cyclomatic complexity per method (1 + decision points), computed exhaustively across production source; test projects separated by convention. Deterministic.
11 method(s) exceeded the cyclomatic complexity threshold of 15; the worst was MainForm.btnLaunchGame_Click at 50. A further 1 method(s) were over the threshold but excluded as flat dispatchers (a long switch/match over independent cases: many branches, almost no nesting), the largest being UtilManager.GetFriendlyMetadataLabel at 26 β they are counted neither in the figure above nor in this dimension's score.
+ 6 more group(s) β more in Appendix A; the complete list is findings.md.
What to do
Resolve the 1 MainForm.btnLaunchGame_Click (cyclomatic 50) finding(s) in Cyclomatic Complexity β start with MainForm.vb. β One of this dimension's main actionable groups (1 warning-level).
Resolve the 1 MainForm.btnAddCustomApps_Click (cyclomatic 36) finding(s) in Cyclomatic Complexity β start with MainForm.vb. β One of this dimension's main actionable groups (1 warning-level).
Resolve the 1 UtilManager.PrepareJamFileForLaunchAsync (cyclomatic 31) finding(s) in Cyclomatic Complexity β start with UtilManager.vb. β One of this dimension's main actionable groups (1 warning-level).
Stand up a CI pipeline, then gate Cyclomatic Complexity in it to reach Verified (currently Documented). β This repository has no CI pipeline, so there is nothing to add a gate to yet β the pipeline comes first. Hardens enforcement from Documented toward Prevented β provenance only; does not change the score.
Detailed fixes: d1_recommendation.md Β· top locations in Appendix A, every location in findings.md.
What it measures: How hard the code is for a person to follow, beyond raw branching.
Method: Cognitive complexity per method (Sonar-style nesting-penalized score), computed exhaustively over production code, excluding test projects. Deterministic.
+ 23 more group(s) β more in Appendix A; the complete list is findings.md.
What to do
Resolve the 1 UtilManager.PrepareJamFileForLaunchAsync (cognitive 68) finding(s) in Cognitive Complexity β start with UtilManager.vb. β One of this dimension's main actionable groups (1 warning-level).
Resolve the 1 MainForm.btnLaunchGame_Click (cognitive 56) finding(s) in Cognitive Complexity β start with MainForm.vb. β One of this dimension's main actionable groups (1 warning-level).
Resolve the 1 MainForm.btnAddCustomApps_Click (cognitive 47) finding(s) in Cognitive Complexity β start with MainForm.vb. β One of this dimension's main actionable groups (1 warning-level).
Stand up a CI pipeline, then gate Cognitive Complexity in it to reach Verified (currently Documented). β This repository has no CI pipeline, so there is nothing to add a gate to yet β the pipeline comes first. Hardens enforcement from Documented toward Prevented β provenance only; does not change the score.
Detailed fixes: d2_recommendation.md Β· top locations in Appendix A, every location in findings.md.
Do you agree with this assessment?
D3 Β· God Classes8.5 / 10Strongβ Tool-verified
What it measures: Over-large classes that try to do too much ("god classes").
Method: God-class detection by line and method-count thresholds per logical type (partial classes unified), filtered for generated code and registration/contract false positives. Deterministic.
Resolve the 14 MethodTooLong finding(s) in God Classes β start with MainForm.vb (5), MainForm.LibraryLayout.vb (4), UtilManager.vb (4). β One of this dimension's main actionable groups (14 warning-level).
Resolve the 4 FileTooLong finding(s) in God Classes β start with UtilManager.vb, MainForm.LibraryLayout.vb, MainForm.vb. β One of this dimension's main actionable groups (4 warning-level).
Resolve the 2 TooManyMethods finding(s) in God Classes β start with MainForm.Accessibility.vb, UtilManager.vb. β One of this dimension's main actionable groups (2 warning-level).
Stand up a CI pipeline, then gate God Classes in it to reach Verified (currently Documented). β This repository has no CI pipeline, so there is nothing to add a gate to yet β the pipeline comes first. Hardens enforcement from Documented toward Prevented β provenance only; does not change the score.
Detailed fixes: d3_recommendation.md Β· top locations in Appendix A, every location in findings.md.
What it measures: Copy-pasted code that should be shared instead.
Method: Code duplication via token-stream sliding windows with type-aware normalization (locals masked, type names preserved), density-scored per KLoC of production code. Deterministic.
41 duplicated block group(s) detected. A further 4 rows report members as variants of one another; they aggregate block groups already counted above and are not themselves counted.
+ 33 more group(s) β more in Appendix A; the complete list is findings.md.
What to do
Resolve the 2 Duplicated block (21β22 lines × 3) finding(s) in Code Duplication β start with UtilManager.vb (2). β One of this dimension's main actionable groups (2 warning-level).
Resolve the 2 Duplicated block (18 lines × 2) finding(s) in Code Duplication β start with MainForm.LibraryLayout.vb, UtilManager.vb. β One of this dimension's main actionable groups (2 warning-level).
Resolve the 2 Duplicated block (13 lines × 3) finding(s) in Code Duplication β start with MainForm.LibraryLayout.vb, UtilManager.vb. β One of this dimension's main actionable groups (2 warning-level).
Stand up a CI pipeline, then gate Code Duplication in it to reach Verified (currently Documented). β This repository has no CI pipeline, so there is nothing to add a gate to yet β the pipeline comes first. Hardens enforcement from Documented toward Verified β provenance only; does not change the score.
Detailed fixes: d4_recommendation.md Β· top locations in Appendix A, every location in findings.md.
Do you agree with this assessment?
D5 Β· Coupling10.0 / 10Exemplaryβ Tool-verified
What it measures: Whether volatile projects sit underneath others that depend on them (so their churn ripples upward), and whether project dependencies form cycles. A widely-depended-on but stable shared/kernel project is healthy, not penalised.
Method: Dependency cycles via elementary-DFS over real .csproj references, plus Martin instability (afferent/efferent) per project. Exhaustive over the reference graph, deterministic.
Coverage: Exhaustive · type-level: afferent/efferent coupling + cycles computed over every production type β the population is all types, not a name convention.
What it measures: Whether a class's methods are focused on a single responsibility.
Method: LCOM4 cohesion per production class with at least two methods: connected components of methods sharing state or calls, computed syntactically. Deterministic, not a proxy.
Coverage: Exhaustive · type-level: LCOM4 cohesion computed over every production class β the population is all types, not a name convention.
Resolve the 2 Low cohesion finding(s) in Cohesion (LCOM4) β start with UtilManager.vb, MainForm.Accessibility.vb. β One of this dimension's main actionable groups (2 warning-level).
Stand up a CI pipeline, then gate Cohesion (LCOM4) in it to reach Verified (currently Documented). β This repository has no CI pipeline, so there is nothing to add a gate to yet β the pipeline comes first. Hardens enforcement from Documented toward Verified β provenance only; does not change the score.
Detailed fixes: d6_recommendation.md Β· top locations in Appendix A, every location in findings.md.
What it measures: How much of the code is actually exercised by tests.
Method: Coverage from coverlet runs or committed reports (Cobertura/OpenCover/lcov), computed per-file with structured exclusions for generated, trivial, and glue code. When the suite can't be built/run in-image AND no report is committed, coverage is reported NOT-MEASURED (excluded from the score) with the precondition to make it measurable β never a LoC-ratio proxy folded in as if measured. Deterministic.
No automated tests β no test code was found in this repository.
No automated tests
What to do
Resolve the 1 No automated tests finding(s) in Code Coverage. β One of this dimension's main actionable groups (1 issue-level).
Stand up a CI pipeline, then gate Code Coverage in it to reach Verified (currently Documented). β This repository has no CI pipeline, so there is nothing to add a gate to yet β the pipeline comes first. Hardens enforcement from Documented toward Verified β provenance only; does not change the score.
Detailed fixes: d8_recommendation.md Β· top locations in Appendix A, every location in findings.md.
Do you agree with this assessment?
D9 Β· Test Distribution0.0 / 10Criticalβ Tool-verified
What it measures: Whether the test suite has a healthy mix of unit / integration / end-to-end tests.
Method: Test projects classified (Unit/Integration/BDD/E2E) from compiled metadata; test methods counted exhaustively across projects with placement-agnostic disk fallback. Deterministic.
What it measures: Whether dependencies are current, secure, and not bloated.
Method: Manifest scan via dotnet list package across all projects; worst-signal-per-package deduction (saturating for vulnerabilities, capped-linear for deprecation/outdated) per KLoC. Exhaustive, deterministic.
What it measures: Whether any secrets (keys, tokens, passwords) have leaked into the code.
Method: In-process native secret scanner (entropy plus signature patterns) across all tracked files; no external tool. A clean result is a measured 10, not no-data zero. Deterministic.
What it measures: Whether the licenses of third-party packages are compatible with your policy.
Method: Third-party package licenses resolved from declared package metadata and checked against the configured policy (allow/deny/copyleft). Deterministic; clean = no incompatible license found at metadata depth.
0 of 154 packages use a banned license. β DEPTH: this repository's MSBuild projects declare 7 direct `PackageReference`(s), and 146 further package(s) were reached beyond them by closing the graph over nuget.org's own nuspec dependency graph β so a banned licence pulled in only by a dependency's OWN dependencies is inside this verdict. A package whose licence nuget.org could not be asked for is not graded, and version ranges are taken at their lower bound, so this is the closure as that graph states it rather than a restored consumer's exact resolution.
What it measures: Files that change often and are also complex β the riskiest hotspots.
Method: Per production file churn times cyclomatic complexity over a rolling window, computed from git and Roslyn/JS/Razor analysis. Exhaustive, deterministic per commit date.
Top hotspots: KeitaiWorldLauncher/MainForm.vb (12×50=600); KeitaiWorldLauncher/MainForm.LibraryLayout.vb (10×17=170) Repeated repair below the complexity floor: KeitaiWorldLauncher/Managers/NotificationManager.vb (4 of 4 changes were fixes)
Resolve the 2 Hotspot finding(s) in Churn × Complexity Hotspots β start with MainForm.vb, MainForm.LibraryLayout.vb. β One of this dimension's main actionable groups (2 warning-level).
Resolve the 1 Repeated repair finding(s) in Churn × Complexity Hotspots β start with NotificationManager.vb. β One of this dimension's main actionable groups (1 warning-level).
Detailed fixes: d15_recommendation.md Β· top locations in Appendix A, every location in findings.md.
What it measures: Acknowledged debt left in the code β TODOs, dead code, suppressed warnings.
Method: Roslyn syntactic debt markers (suppressions/TODO/FIXME/HACK/empty-catch/commented-code/Obsolete) plus SymbolFinder dead-code analysis; weighted-debt-per-KLoC density deducted 2.0x per unit. Deterministic, exhaustive.
Resolve the 19 EmptyCatchBlock finding(s) in Explicit Debt β start with HomepageManager.vb (8), UtilManager.vb (6), VibrationManager.vb (3). β One of this dimension's main actionable groups (19 issue-level).
Stand up a CI pipeline, then gate Explicit Debt in it to reach Verified (currently Documented). β This repository has no CI pipeline, so there is nothing to add a gate to yet β the pipeline comes first. Hardens enforcement from Documented toward Prevented β provenance only; does not change the score.
Detailed fixes: d17_recommendation.md Β· top locations in Appendix A, every location in findings.md.
What it measures: Whether the solution is laid out in a sensible, conventional structure.
Method: Solution structure: project count, decomposition, shell-project detection, build success (confirmed failures cap the score); traced to actual .sln files and binaries. Deterministic.
2 projects, 41 source files, 14291 hand-written lines of code (14291 production / 0 test β the split is derived per file: test is what its project, its own path, or a compile-guarded region marks as test, and a file carrying no test signal counts as production), plus 2292 generated (machine-written code β designer, scaffolded and tool-emitted files β excluded from quality), 0 inter-project edges.
What it measures: Whether the project's documentation is clear, complete, and useful.
Method: Judged by language model at low temperature (0.0-0.1) on a deterministic doc sample (READMEs plus first 25 architecture docs), with two-pass stability filtering. Advisory, sampled.
The repository's root README is a single cohesive document covering what it does (Keitai World Launcher as a universal launcher for Games, Apps, Chara-Den, Machi-Chara, and much more from a server), setup (client AppConfig.XML configuration, Server folders VersionUpdate.txt, Gameslist.xml, Machichara.xml, Charaden.xml; XML generation from master zip; SD Card data via Gamelist.xml URL parameter); and an ongoing WIP label. It is clear and complete for its single README but lacks the project overview, installation/build/usage guidance, contribution, licence, or architecture docs that would appear in a larger documentation set.
Documentation: no project overview Β· Γ2README.md
What to do
Resolve the 2 Documentation finding(s) in Documentation Quality β start with README.md (2). β One of this dimension's main actionable groups (2 recommendation-level).
Detailed fixes: d19_recommendation.md Β· top locations in Appendix A, every location in findings.md.
What it measures: Whether architecture decisions are recorded well (context, decision, consequences).
Method: Per-ADR judgment by language model at low temperature with two-pass stability; confidence is share of ADRs evaluated; enforcement-field presence detected deterministically. Advisory.
What it measures: Whether names β types, methods, variables β are clear and consistent.
Method: Judged by language model at low temperature (0.0-0.1) on a deterministic random symbol sample (fixed size, not exhaustive), with disclosed confidence band. Advisory, sampled.
What it measures: How far you must trace to follow a call β low indirection and co-located slices read easier.
Method: Call indirection (interface hops, cross-namespace calls, slice-locality scaled) over a sampled set of method invocations, size-aware baseline. Sampled; confidence discounted by symbol-resolution gaps.
Coverage: Slice locality from the first namespace segments, SAMPLED (β€400 methods) β not exhaustive.
71 % of calls cross a namespace and 0 % go through an interface, but 70 % of collaborators are co-located β so following a call takes several hops. Baseline: medium β clean/modular boundaries expected.
What to do
Improve Navigability β currently 7.9/10. β 71 % of calls cross a namespace and 0 % go through an interface, but 70 % of collaborators are co-located β so following a call takes several hops. Baseline: medium β clean/modular boundaries expected.
What it measures: Whether any secrets were ever committed β scanned across the full git history, not just now.
Method: Secret scan via TWO gitleaks detect passes in an isolated checkout β the full git history, then a second --no-git pass over the working tree as it stands β merged and de-duplicated by (rule, file, line); each match flagged High. Both invocations are recorded in the audit trail. Exhaustive; when the tool is absent, or when its output cannot be parsed into the expected shape, the dimension is WITHHELD as an explicit measurement gap on our side β unscored and excluded from the lens, never a hedged middling score.
What it measures: Real static-analysis (SAST) findings β likely security bugs in the code, any language.
Method: Polyglot static analysis via semgrep across the repo using the pinned, image-baked p/security-audit + p/owasp-top-ten rulesets (no scan-time registry fetch); severity rules (ERROR/WARNING/INFO) map to a full-band severity-weighted score. Exhaustive, deterministic; degrades on parse failure.
Coverage: semgrep pattern rules over all files β exhaustive for the rule set, blind to classes of bug without a rule (clean = no rule matched).
What it measures: Whether anyone still has living knowledge of each file, or it has been orphaned β last understood long ago by someone now gone quiet. The sibling of the bus factor: D16 asks who owns it, D34 asks whether anyone still knows it.
Method: File orphaning as total living-knowledge decay below one focused-commit's worth within a year, computed per-file from the D16 decay model. Exhaustive, deterministic over fixed history.
Every significant source file has living knowledge β recently and meaningfully worked. Counted over 27 of the 41 production source files in this repository: the rest are under the ~2,400-byte size floor this dimension measures over.
What it measures: Whether files that change together actually belong together β pairs that repeatedly co-change in git history despite having no explicit code dependency, surfacing the hidden/logical coupling (and boundaries in the wrong place) a static scan can't see.
Method: Pairwise co-occurrence over the per-commit file sets in git history (production source only β tests and generated dropped): Degree-of-Coupling = shared ÷ min individual revisions, reported above noise floors (each file β₯10 revisions, β₯5 shared commits, β₯50% strength); sweeping commits excluded. Deterministic over fixed history.
Coverage: Population: PRODUCTION source files only β test and generated files are dropped before pairing, so a class co-changing with its own test (trivially ~100%) can't drown the real productionβproduction coupling. Pairs ranked by Degree-of-Coupling. A non-source file is never a coupling PARTICIPANT either: documentation, schemas, config and data files are dropped with the rest, so a codeβdocs pair β a command and the reference page that restates it β is not reported however strongly the two co-change; nor is coupling that runs THROUGH a build step or config file.
What it measures: Whether anyone still ships security patches for the platform this repository RUNS ON β the runtime it pins and the framework majors its own constraints hold it to. Separate from D12 because the question differs: a current Django on an end-of-life Python is perfectly up to date and completely unsupported, and the fix is a migration rather than a version bump. What the repository says it merely SUPPORTS is never charged.
Method: End-of-life PLATFORM read from the repository's own declarations and graded against a FROZEN, dated table of vendor support dates β no network, no feed, no API, so this dimension answers identically inside a closed scan fence. Two subjects: a RUNTIME the project pins (a single or all-end-of-life TargetFramework, a .nvmrc or .python-version, a requires-python CAP) and a FRAMEWORK major a dependency constraint cannot move off (a caret, tilde or exact version; `vue@^2.7.16` pins Vue 2). A FLOOR is deliberately never charged β `requires-python = ">=3.8"` states what a package SUPPORTS, not what it runs on β and a multi-target project is charged only when EVERY target is out of support. Runtime 4.0/product capped 8.0, framework 1.5 capped 4.5. The table is safe to freeze because a statement about support that ended in the past cannot become false: it loses recall as it ages, never precision, and a test asserts every entry predates the freeze date. Disjoint from D31 (a container image's OS layer) and D29 (the toolchain a CI workflow installs). Abstains when the repository declares no platform this pass reads β never scores it clean.
0 end-of-life runtime(s) and 0 end-of-life framework(s), read from 2 platform declaration(s) and 0 dependency declaration(s). This dimension reads what the repository says about ITSELF β a pinned target framework, a version file, a capped requires-python, a Rust toolchain pin, a framework major a constraint cannot move off. A FLOOR is deliberately never charged: `requires-python = ">=3.8"` states what the package SUPPORTS, not what it runs on, and a well-maintained library declares exactly that while running its own CI on a current release. The end-of-life facts are FROZEN and dated, so this dimension needs no network and answers identically inside a closed scan fence; as the table ages it loses recall and never precision, because a statement about support that ended in the past cannot become false. The OS layer of a container image is D31's question and the toolchain a CI workflow installs is D29's; this row is neither.
Other Β· Architecture β How the codebase splits by code ROLE β domain, application, infrastructure, test, generated. The significance map behind the knowledge/coupling weighting, and a DDD signal in its own right: a thin domain core under fat infrastructure is the anemic-domain smell, quantified. How each file's role is decided, because the split is only as good as that: a generated name or a build-output tree makes it Generated, a test project makes it Test, and otherwise the file's NAMESPACE and PATH words are matched against fixed vocabularies in a fixed ORDER β domain, then infrastructure, then application β so a file whose words hit two layers is counted under the earlier one. A production file matching none of them counts as application, so that share reads 'application or unclassified' rather than a measured application layer. Roles come from naming convention, never from what the code does. On this repository the split was taken from the source tree on disk rather than from a loaded .NET workspace, so a file's role is decided by its PATH segments alone β no declared namespace was available to add to the evidence β and generated output is excluded from the census entirely rather than counted as a generated share.
Method: Roslyn line-count by code ROLE: every source file classified Domain/Application/Infrastructure/Test/Generated by namespace + path convention (the shared CodeRoleClassifier), then significant lines summed per role. Deterministic; the advisory score is the business-logic (domain+application) share of production code.
Coverage: Population: ALL source files, each bucketed into ONE of five roles (Domain/Application/Infrastructure/Test/Generated) by namespace + path convention β a file whose layer isn't named in the convention falls to Application (the neutral default), and the split is line-count, not semantic depth or business value.
What to do
The domain core is a small share of production code, but most of the rest matched no layer vocabulary at all β so this is not yet an anemic-domain finding. The namespace/path convention could not place that code, which makes the composition above a statement about the naming, not about the design. Name the layers (or check that the repository's conventions differ from the ones this check knows) before reading a thin domain into it.
Other Β· Architecture β Whether the project-reference graph is acyclic (cycles block independent build/deploy and signal eroding boundaries).
Method: Project reference cycles via elementary-DFS over real .csproj references, using the engine shared with D5/D7; cyclic versus acyclic. Exhaustive, deterministic.
Other Β· Architecture β Whether dependencies point inward (Domain β Application β Infrastructure/Web) β the clean-architecture dependency rule, checked across the project graph.
Method: Layer violations by name-segment inference (Domain/Core to Application to Infrastructure/Web) over the project-reference graph. Exhaustive over all projects, deterministic.
Other Β· Architecture β Whether the codebase has a recognisable, scale-appropriate structure (a named architectural style, or modular enough for its size) rather than being an ad-hoc ball of mud.
Method: Roslyn plus csproj analysis: architecture style detection (DDD, clean, vertical-slice, CQRS) and structure fitness for repo size. Deterministic.
Other Β· Code Health β Unreviewed-generation residue: shipped members still throwing NotImplementedException, and placeholder string literals left in non-test, non-generated code. Scored as a quality signature, never as a claim about authorship.
Method: Roslyn syntax scan: NotImplementedException throws and placeholder string literals in non-test, non-generated shipped code. Deterministic, code-shape signature.
Maturity Β· Maturity β Whether the repo and its projects have a README, and whether it's substantive and current.
Method: Filesystem scan: README presence, word count, and headings for depth; git history for staleness. Exhaustive across root and project dirs, deterministic.
32 code files changed in the last 6 months but the README was not touched β it may no longer reflect the system.
What to do
Add a build/run (quick start) section to the root README β the first thing a newcomer needs.
Add a 'Testing' section to the root README β how to run the test suite.
Add an 'Architecture' / 'How it works' section to the root README β the high-level shape.
Add a README to the 2 of 2 project(s) that lack one β worth up to 2 pts.
Review the README against recent changes; refresh the parts that drifted.
Maturity Β· Maturity β Whether key decisions (ADRs) and the high-level shape (C4/diagrams) are written down.
Method: Filesystem scan: ADR folder/naming conventions or content, plus Mermaid/PlantUML/C4/architecture.md discovery. Exhaustive, deterministic.
No Architecture Decision Records found β no conventional ADR directory, no numbered `NNNN-title` documents in any markup this check reads, and nothing ADR-shaped by content. Design rationale recorded elsewhere (a design-notes tree, a mailing list, pull-request discussion) is not visible to this check and is not re-findable per decision, so a future maintainer cannot ask why one choice was made and get an answer.
No C4/Structurizr/PlantUML/Mermaid/Graphviz/D2 diagram, no drawn diagram named for the architecture, no file named `architecture` or `design` in any markup this check reads, and nothing in the README, docs or contributor guides that announces the shape β no `## Architecture` heading, no "architecture overview"/"high-level design" phrasing, no "the architecture is β¦" introduction, no guided code tour. A shape laid out in prose that never names itself as the architecture is not visible to this check, and neither is one kept outside the repository, so this row reports the absence of a re-findable shape document β not evidence that nobody wrote the shape down.
What to do
Record significant decisions one document per decision β dated, stating the context, the decision and its consequences β and keep them together wherever your design docs already live (a conventional `docs/adr/` tree, with each file named `NNNN-title` in whatever markup those docs already use, is the most discoverable form).
Add a C4 context/container diagram (Structurizr, PlantUML or Mermaid) or an architecture.md overview.
Maturity Β· Maturity β Whether the repo is organised deliberately β src/test separation and consistent project naming.
Method: Filesystem scan: src/test folder separation and namespace-prefix consistency (majority RootNamespace agreement). Exhaustive across projects, deterministic.
What to do
Start a test surface where your build system looks for one (tests/, test/, spec/, or your ecosystem's test source set) β the separation follows from putting the first tests in the right place.
Maturity Β· Maturity β Whether the README actually describes the code that exists (LLM-judged, advisory).
Method: Judged by language model at low temperature: README accuracy versus actual projects, within a disclosed tolerance. Advisory, not a measured number.
README omits the KWL-Updater project entirely β reported by the model that read the README against this repository; no term search was run for this one, so nothing here has been checked against the tree. Treat it as a reading to confirm, not as a measured contradiction: verify it against the code before acting on it, and if the footprint it describes does exist, this row is wrong.
README omits SD Card data handling (SVC0000{GAME JAM} folder) β reported by the model that read the README against this repository; no term search was run for this one, so nothing here has been checked against the tree. Treat it as a reading to confirm, not as a measured contradiction: verify it against the code before acting on it, and if the footprint it describes does exist, this row is wrong.
What to do
Reconcile the README with reality: README omits the KWL-Updater project entirely; README omits SD Card data handling (SVC0000{GAME JAM} folder).
Readiness Β· Readiness β Whether SAST, secret/dependency scanning and performance benchmarking are wired in (presence, not runtime).
Method: Filesystem scan: SAST configuration, dependency-update automation, secret scanning, and a benchmark harness or benchmark step β in this repository's own ecosystem. Exhaustive, deterministic.
No static application security testing detected. For this repository's stack, add a Roslyn security analyzer package referenced from the project (the analyzer packages do analyse VB.NET), plus gitleaks for committed secrets β CodeQL has no VB.NET extractor, so its csharp pack would extract nothing from this tree and then report it clean β this repository has no CI pipeline yet, so run it locally to clear the existing findings, then make it a step of the first workflow you add so a regression fails the build. What was searched, so you can tell an absence from a miss: the 0 CI workflow file(s) in this repository, and the scanner and linter configuration checked in beside them. A scan that runs outside CI, one configured in your forge's web UI rather than in a committed file, or a tool whose name is none of those this check carries, is not seen β if that is your case the row is wrong, and saying so is more useful than adding a second scanner.
What to do
Run what this repository's stack ships: a Roslyn security analyzer package referenced from the project (the analyzer packages do analyse VB.NET), plus gitleaks for committed secrets β CodeQL has no VB.NET extractor, so its csharp pack would extract nothing from this tree and then report it clean β locally for now, since there is no CI pipeline here yet, and as a step of the first workflow you add so a security regression fails the build instead of landing.
Enable Dependabot/Renovate or a dependency-review gate.
Add gitleaks/trufflehog in CI to block PRs that introduce committed secrets.
Do you agree with this assessment?
Reference β by lens
The score is the rank-weighted fold of these lenses (worst-heaviest), each including its meta-dimensions; a lens with a Critical contributor is capped at Fair (its band reads "gated by β¦") and is never the strongest area however high its average.
Unscored β 1 check(s) recorded observations but carry no score
These checks ran and found something, but they do not carry a score β either by design (an advisory check reports evidence rather than grading it) or because they could not be scored here. They are excluded from the score for that reason, not because there was nothing to see.
SC1 Supply-chain hygiene β 1 observation(s) recorded Β· Advisory β this card reports evidence and never carries a score, so there is nothing missing here.
Not evidenced β 6 control(s) we could not find positive evidence for
These checks grade a working control, and the repository shows no evidence of one. That is deliberately not scored as a zero: a repository cannot show an ops runbook, a database TTL or an infrastructure-side audit log, so absence of evidence here is not evidence the control is missing. It is also not a statement that the check is irrelevant to this codebase β the thing it grades applies; we just could not see it. Excluded from the score either way.
C3 Audit Trail β Not assessed: these audit controls are read from a source model (declarative annotations, request middleware, entity/column names, guard methods) that was not loaded for this repository β because the repository is written in a language this check does not yet model, or because its projects failed to load. Absence of an idiom this check recognises is NOT evidence that this repository lacks audit controls: it may implement them entirely in its own ecosystem. This is a gap in the analyzer's language coverage, not a finding about this repository.
C4 Data Retention β Not assessed: these retention controls are read from a source model (declarative annotations, request middleware, entity/column names, guard methods) that was not loaded for this repository β because the repository is written in a language this check does not yet model, or because its projects failed to load. Absence of an idiom this check recognises is NOT evidence that this repository lacks retention controls: it may implement them entirely in its own ecosystem. This is a gap in the analyzer's language coverage, not a finding about this repository.
C5 Data-Subject Rights β Not assessed: these data-subject rights controls are read from a source model (declarative annotations, request middleware, entity/column names, guard methods) that was not loaded for this repository β because the repository is written in a language this check does not yet model, or because its projects failed to load. Absence of an idiom this check recognises is NOT evidence that this repository lacks data-subject rights controls: it may implement them entirely in its own ecosystem. This is a gap in the analyzer's language coverage, not a finding about this repository.
P4 Deployment & Rollback β not evidenced β no deploy/rollback/approval signal in the repo; absence of evidence is not evidence of a manual release
P5 DR & Backup β not evidenced β repo shows no backup/RTO/RPO controls; absence of evidence is not evidence of a working control
P6 Release Hygiene β not evidenced β no changelog, version stamp or semver release tag in the repo
Not included β 76 check(s) not relevant to this codebase
These checks had nothing to measure here (no tests, no git history, the codebase is small, or the architecture style doesn't apply), so they're omitted above rather than scored low.
AC1 Text alternatives β No web markup found β accessibility is not applicable to this repository.
AC2 Forms & labels β No web markup found β accessibility is not applicable to this repository.
AC3 Page structure β No web markup found β accessibility is not applicable to this repository.
AC4 Keyboard semantics β No web markup found β accessibility is not applicable to this repository.
AC5 ARIA correctness β No web markup found β accessibility is not applicable to this repository.
AC6 Visual & motion safety β No web markup found β accessibility is not applicable to this repository.
AC7 A11y enforcement β No web markup found β accessibility is not applicable to this repository.
AX1 Captive dependencies β no DI registrations detected
AX2 Stateful singletons β no singleton implementations detected
AX6 Interface segregation β no public interfaces
AX7 Slice cohesion β not applicable β not a vertical-slice architecture
AX8 Test isolation β no test/production split to check
AX9 CQS / query purity β no CQRS query handlers detected β query purity is not applicable to this codebase
AXB1 Runtime evidence locked β no reproducible boot β This repository has nothing the runtime tiers could boot or serve β no markup, no UI framework or web-server dependency, no UI component source, no native UI project and no API definition β nothing here is a surface to boot β so runtime a11y/egress/header evidence has no subject here. Not applicable: this is neither a gap in the scan nor a finding about your code.
C1 Data Protection β Not assessed: these personal data controls are read from a source model (declarative annotations, request middleware, entity/column names, guard methods) that was not loaded for this repository β because the repository is written in a language this check does not yet model, or because its projects failed to load. Absence of an idiom this check recognises is NOT evidence that this repository lacks personal data controls: it may implement them entirely in its own ecosystem. This is a gap in the analyzer's language coverage, not a finding about this repository.
C2 Access Controls β Not assessed: these authorization controls are read from a source model (declarative annotations, request middleware, entity/column names, guard methods) that was not loaded for this repository β because the repository is written in a language this check does not yet model, or because its projects failed to load. Absence of an idiom this check recognises is NOT evidence that this repository lacks authorization controls: it may implement them entirely in its own ecosystem. This is a gap in the analyzer's language coverage, not a finding about this repository.
D10 Test Quality β No tests were found in the analyzed repository to assess for quality.
D11 Test Reliability β No test suite was found to re-run, so reliability couldn't be assessed. Two searches produced that zero and both came back empty: the classifier that reads the loaded workspace recognised no suite it could run, and a walk of the source on disk β which covers the JS/TS `*.test.*` and `*.spec.*` conventions and probes for a Pester suite β found no test source in any other ecosystem either. Neither search reaches a suite that is missing from the loaded workspace and carries no name either walk recognises, so this is 'no suite found by those two searches', not a verdict that the repository has none.
D16 Bus Factor β single-contributor repository β bus factor is not applicable
D22 Internal API Consistency β No intentionally-exposed public API to evaluate for consistency.
D23 Boundary Type-Coupling β At only 14k LoC across two projects the codebase is small and single-purpose, so explicit bounded contexts are unnecessary. No bounded-context organisation was detected either β neither a context-shaped layout nor 2+ sibling source directories each declaring an aggregate root. Declaring this codebase's bounded contexts (β₯2) would let cross-boundary type coupling be assessed. Declare them in `.codehealth/config.yaml` at the repository root (create it if absent), mapping each context name to the module-path or namespace prefixes that belong to it β e.g. `architecture:` β `contexts:` β `Billing: ["src/billing", "Acme.Billing"]`, `Catalog: ["src/catalog", "Acme.Catalog"]`.
D24 Comment Value β No inline comments to assess β comment value is not applicable here.
D25 ADR Conformance β no ADRs to check
D30 Dependency Vulnerabilities β nuget: the solution did not restore on the analyzer's .NET SDK (an SDK/target-framework/restore mismatch, common for an older codebase), so there was no restored dependency graph to scan
D31 IaC & Container Security β No Infrastructure-as-Code or container manifests found (Dockerfile, Docker Compose, Terraform, Kubernetes/Helm, CloudFormation, ARM, Bicep, Ansible); nothing to scan.
D32 Data Compliance (PII/GDPR) β No personal data was found crossing a boundary the PII/GDPR ruleset checks β nothing written to a log or console sink, placed in a URL or query string, or persisted to browser storage. That is a clean result for the LEAK surface only: this ruleset detects personal data escaping, it does not inventory the personal data a repository holds, so it is not evidence that this repository has no personal-data surface. The personal-data map (Appendix C) and the C1-C5 compliance cards are what speak to that.
D36 Supply-chain Provenance & Signing β No CI/build pipeline found (.github/.forgejo/.gitea workflows, .circleci, .buildkite, .woodpecker, .teamcity, .gitlab-ci.yml, .travis.yml, bitbucket-pipelines.yml, .drone.yml, .cirrus.yml, .woodpecker.yml, appveyor.yml, azure-pipelines*.yml, .pipelines/, .vsts-ci/, .azuredevops/, Jenkinsfile); there is no build to attest provenance for.
D37 Vulnerability-disclosure Policy β No vulnerability-disclosure policy file found (SECURITY.md/.markdown/.rst/.txt at root or under .github/.forgejo/.gitea/docs, .well-known/security.txt). A coordinated-disclosure policy may live off-repo, so this is not evidenced rather than failed.
D39 IL Efficiency β IL not measured β the analyzer's build of the target did not succeed
D40 Network Egress Confinement β No Kubernetes/orchestration workloads found in the repository manifests; network egress policy is a cluster-native control that may live at the platform/firewall layer, so there is nothing to assess here.
D41 Kernel & Syscall Confinement β No Kubernetes/orchestration workloads found in the repository manifests; seccomp/AppArmor/SELinux confinement is a workload-level control, so there is nothing to assess here.
D42 Runtime Threat Enforcement β No Kubernetes/orchestration workloads found in the repository manifests; runtime threat-detection and admission-control policy are cluster-level controls, so there is nothing to assess here.
D43 Malicious Dependencies β Not scored β no dependency manifest in a supported ecosystem was read for this repository. A gap in the analyzer's language coverage, NOT a finding that the repository is free of vulnerable dependencies (a Python pyproject.toml/requirements.txt (pip/uv/Poetry), a Swift Package.swift/Package.resolved, a Cargo manifest, a Go module (go.mod/go.sum), a Gradle version catalogue, a Maven POM, an sbt build (build.sbt), composer.json, package.json, a Dart pubspec.yaml, an Elixir mix.exs/mix.lock (Hex), a rebar.config / erlang.mk DEPS (Hex), a Ruby Gemfile/Gemfile.lock or .gemspec (Bundler/RubyGems) β not scanned yet).
D7 Architectural Integrity β no checkable ADRs and no dependency cycles β architectural integrity not assessed
DM1 Domain Modelling β not scored β this repository shows none of the 3 signals this lens looks for
ED1 Event-Driven β not scored β this repository shows none of the 3 signals this lens looks for
ED5 Idempotency β no mutating command handlers or message consumers detected β idempotency check not applicable
ES1 Event Sourcing β not scored β this repository shows none of the 3 signals this lens looks for
IC1 Incompleteness & stubs β not analysed β these correctness checks read a source model that was not loaded for this repository, because the repository is written in a language this check does not yet model, or because its projects failed to load. This is a gap in the analyzer, not a finding about this repository
P12 CI test-gate honesty β no CI workflow found
P2 Observability β Observability was not assessed: this check recognises the logging, tracing/metrics and health-check idioms of .NET, the JVM, Go, Python, JavaScript/TypeScript, Rust, Ruby, PHP, Swift, Dart, Elixir and Erlang, and most of this repository's production source is in none of them. Absence of an idiom this check recognises is NOT evidence that this repo lacks structured logging. This is a gap in the analyzer, not a finding about this repository.
P7 Outbound HTTP resilience β not applicable β this isn't a service/API/worker
P8 Schema migrations β no EF Core usage detected
P9 Domain vs controller coverage β no coverage report found on disk β produce a coverage report in a standard format (Cobertura β `dotnet test --collect:"XPlat Code Coverage"` with a `coverlet.collector` PackageReference) and commit it β a hosted scan measures a clone of the repository, so a report that exists only in a working tree, a CI runner's or your own, never reaches it; the artefact is commonly gitignored, so `git add -f` that one file (or un-ignore its path) and commit it alongside the code it measures, or wire coverage collection into CI, to enable this cross-layer check
PF1 Benchmark discipline β Not applicable: no benchmark suite was found. This check searched for a BenchmarkDotNet reference in an .fsproj or .vbproj, and for a `*benchmark*` script that this repository's CI runs. Benchmarks are credited as a bonus, so their absence is neither scored nor deducted.
PF2 Allocation hygiene β Allocation awareness was not assessed: this repository holds Visual Basic, whose allocation-aware idioms this check does not model yet. That is a gap in the analyzer's language reach, not a finding about your code.
PF3 Async & latency hygiene β Performance was not assessed: this lens reads a source model that was not loaded for this repository, because the repository is written in a language this lens does not yet model or because its projects failed to load. This is a gap in the analyzer, not a finding about this repository β in particular it is NOT a statement that this repo is unpackaged or performance-careless.
S1 Web-Security Posture β Not assessed: these web-security controls are read from a source model (declarative annotations, request middleware, entity/column names, guard methods) that was not loaded for this repository β because the repository is written in a language this check does not yet model, or because its projects failed to load. Absence of an idiom this check recognises is NOT evidence that this repository lacks web-security controls: it may implement them entirely in its own ecosystem. This is a gap in the analyzer's language coverage, not a finding about this repository.
X1 Async correctness β not analysed β these correctness checks read a source model that was not loaded for this repository, because the repository is written in a language this check does not yet model, or because its projects failed to load. This is a gap in the analyzer, not a finding about this repository
X10 Duplicated predicate β not analysed β these correctness checks read a source model that was not loaded for this repository, because the repository is written in a language this check does not yet model, or because its projects failed to load. This is a gap in the analyzer, not a finding about this repository
X12 Unreachable branch β This check reads C# syntax; no C# was loaded for this repository, so it has nothing to report. That is a limit of the analyzer, not a finding about your code.
X13 Undrained process stream β This check reads C# syntax; no C# was loaded for this repository, so it has nothing to report. That is a limit of the analyzer, not a finding about your code.
X14 Bypassable address classification β This check reads C# syntax; no C# was loaded for this repository, so it has nothing to report. That is a limit of the analyzer, not a finding about your code.
X15 Unvalidated length from an untrusted reader β This check reads C# syntax; no C# was loaded for this repository, so it has nothing to report. That is a limit of the analyzer, not a finding about your code.
X16 Unfloored truncation loop β This check reads C# syntax; no C# was loaded for this repository, so it has nothing to report. That is a limit of the analyzer, not a finding about your code.
X17 Uncapped recursion over a caller-supplied document β This check reads C# syntax; no C# was loaded for this repository, so it has nothing to report. That is a limit of the analyzer, not a finding about your code.
X18 Disposal-pattern correctness β This check reads C# syntax; no C# was loaded for this repository, so it has nothing to report. That is a limit of the analyzer, not a finding about your code.
X19 Unrestored process-global state β This check reads C# syntax; no C# was loaded for this repository, so it has nothing to report. That is a limit of the analyzer, not a finding about your code.
X2 Cancellation propagation β not analysed β these correctness checks read a source model that was not loaded for this repository, because the repository is written in a language this check does not yet model, or because its projects failed to load. This is a gap in the analyzer, not a finding about this repository
X20 Mistyped argument guard β This check reads C# syntax; no C# was loaded for this repository, so it has nothing to report. That is a limit of the analyzer, not a finding about your code.
X21 Side-effecting pattern guard β This check reads C# syntax; no C# was loaded for this repository, so it has nothing to report. That is a limit of the analyzer, not a finding about your code.
X22 Contradicted release guard β This check reads C# syntax; no C# was loaded for this repository, so it has nothing to report. That is a limit of the analyzer, not a finding about your code.
X23 Unguarded diagnostic materialisation β This check reads C# syntax; no C# was loaded for this repository, so it has nothing to report. That is a limit of the analyzer, not a finding about your code.
X24 Document value interpolated into markup unescaped β This check reads C# syntax; no C# was loaded for this repository, so it has nothing to report. That is a limit of the analyzer, not a finding about your code.
X25 Inert configuration knob β This check reads C# syntax; no C# was loaded for this repository, so it has nothing to report. That is a limit of the analyzer, not a finding about your code.
X26 Unsynchronised callback handoff β This check reads C# syntax; no C# was loaded for this repository, so it has nothing to report. That is a limit of the analyzer, not a finding about your code.
X27 Collection changed while being enumerated β This check reads C# syntax; no C# was loaded for this repository, so it has nothing to report. That is a limit of the analyzer, not a finding about your code.
X28 Index access outside its own emptiness guard β This check reads C# syntax; no C# was loaded for this repository, so it has nothing to report. That is a limit of the analyzer, not a finding about your code.
X29 Per-element action decided by a fixed element β This check reads C# syntax; no C# was loaded for this repository, so it has nothing to report. That is a limit of the analyzer, not a finding about your code.
X3 Exception handling β not analysed β these correctness checks read a source model that was not loaded for this repository, because the repository is written in a language this check does not yet model, or because its projects failed to load. This is a gap in the analyzer, not a finding about this repository
X30 Support guard that admits what it rejects β This check reads C# syntax; no C# was loaded for this repository, so it has nothing to report. That is a limit of the analyzer, not a finding about your code.
X32 Type resolved by simple name across every loaded assembly β This check reads C# syntax; no C# was loaded for this repository, so it has nothing to report. That is a limit of the analyzer, not a finding about your code.
X4 Structured logging β not analysed β these correctness checks read a source model that was not loaded for this repository, because the repository is written in a language this check does not yet model, or because its projects failed to load. This is a gap in the analyzer, not a finding about this repository
X5 Nullable reference types β not analysed β these correctness checks read a source model that was not loaded for this repository, because the repository is written in a language this check does not yet model, or because its projects failed to load. This is a gap in the analyzer, not a finding about this repository
X6 Hand-rolled structured-format parsing β not analysed β these correctness checks read a source model that was not loaded for this repository, because the repository is written in a language this check does not yet model, or because its projects failed to load. This is a gap in the analyzer, not a finding about this repository
X7 Silent fallback defaults β not analysed β these correctness checks read a source model that was not loaded for this repository, because the repository is written in a language this check does not yet model, or because its projects failed to load. This is a gap in the analyzer, not a finding about this repository
Appendix A β Findings (grouped)
The findings behind the scores, grouped by severity, then by dimension and kind. The high-severity issues are enumerated in full below; items per group are capped at 25 with any overflow stated explicitly per group, never silently truncated. The complete machine-readable list of every finding (all severities) is the companion findings.md in this report's bundle.
EmptyCatchBlock KeitaiWorldLauncher/Managers/HomepageManager.vb:175β empty catch block β the error is discarded with nothing recorded, so a failure here leaves no trace anywhere. Narrow the catch to the exception you actually expect, record it through whatever this codebase already uses to report problems, or β where swallowing really is correct, as it often is on a teardown/dispose path where throwing would mask the original failure β write down WHY in a comment on the catch. The comment has to give the reason: a note that only restates the swallow ("ignored", "do nothing") is read as no explanation at all and leaves this row in place. Any of the three makes the decision reviewable; all three clear this row.
EmptyCatchBlock KeitaiWorldLauncher/Managers/HomepageManager.vb:229β empty catch block β the error is discarded with nothing recorded, so a failure here leaves no trace anywhere. Narrow the catch to the exception you actually expect, record it through whatever this codebase already uses to report problems, or β where swallowing really is correct, as it often is on a teardown/dispose path where throwing would mask the original failure β write down WHY in a comment on the catch. The comment has to give the reason: a note that only restates the swallow ("ignored", "do nothing") is read as no explanation at all and leaves this row in place. Any of the three makes the decision reviewable; all three clear this row.
EmptyCatchBlock KeitaiWorldLauncher/Managers/HomepageManager.vb:321β empty catch block β the error is discarded with nothing recorded, so a failure here leaves no trace anywhere. Narrow the catch to the exception you actually expect, record it through whatever this codebase already uses to report problems, or β where swallowing really is correct, as it often is on a teardown/dispose path where throwing would mask the original failure β write down WHY in a comment on the catch. The comment has to give the reason: a note that only restates the swallow ("ignored", "do nothing") is read as no explanation at all and leaves this row in place. Any of the three makes the decision reviewable; all three clear this row.
EmptyCatchBlock KeitaiWorldLauncher/Managers/HomepageManager.vb:377β empty catch block β the error is discarded with nothing recorded, so a failure here leaves no trace anywhere. Narrow the catch to the exception you actually expect, record it through whatever this codebase already uses to report problems, or β where swallowing really is correct, as it often is on a teardown/dispose path where throwing would mask the original failure β write down WHY in a comment on the catch. The comment has to give the reason: a note that only restates the swallow ("ignored", "do nothing") is read as no explanation at all and leaves this row in place. Any of the three makes the decision reviewable; all three clear this row.
EmptyCatchBlock KeitaiWorldLauncher/Managers/HomepageManager.vb:426β empty catch block β the error is discarded with nothing recorded, so a failure here leaves no trace anywhere. Narrow the catch to the exception you actually expect, record it through whatever this codebase already uses to report problems, or β where swallowing really is correct, as it often is on a teardown/dispose path where throwing would mask the original failure β write down WHY in a comment on the catch. The comment has to give the reason: a note that only restates the swallow ("ignored", "do nothing") is read as no explanation at all and leaves this row in place. Any of the three makes the decision reviewable; all three clear this row.
EmptyCatchBlock KeitaiWorldLauncher/Managers/HomepageManager.vb:430β empty catch block β the error is discarded with nothing recorded, so a failure here leaves no trace anywhere. Narrow the catch to the exception you actually expect, record it through whatever this codebase already uses to report problems, or β where swallowing really is correct, as it often is on a teardown/dispose path where throwing would mask the original failure β write down WHY in a comment on the catch. The comment has to give the reason: a note that only restates the swallow ("ignored", "do nothing") is read as no explanation at all and leaves this row in place. Any of the three makes the decision reviewable; all three clear this row.
EmptyCatchBlock KeitaiWorldLauncher/Managers/HomepageManager.vb:449β empty catch block β the error is discarded with nothing recorded, so a failure here leaves no trace anywhere. Narrow the catch to the exception you actually expect, record it through whatever this codebase already uses to report problems, or β where swallowing really is correct, as it often is on a teardown/dispose path where throwing would mask the original failure β write down WHY in a comment on the catch. The comment has to give the reason: a note that only restates the swallow ("ignored", "do nothing") is read as no explanation at all and leaves this row in place. Any of the three makes the decision reviewable; all three clear this row.
EmptyCatchBlock KeitaiWorldLauncher/Managers/HomepageManager.vb:459β empty catch block β the error is discarded with nothing recorded, so a failure here leaves no trace anywhere. Narrow the catch to the exception you actually expect, record it through whatever this codebase already uses to report problems, or β where swallowing really is correct, as it often is on a teardown/dispose path where throwing would mask the original failure β write down WHY in a comment on the catch. The comment has to give the reason: a note that only restates the swallow ("ignored", "do nothing") is read as no explanation at all and leaves this row in place. Any of the three makes the decision reviewable; all three clear this row.
EmptyCatchBlock KeitaiWorldLauncher/Managers/KeitaiWikiManager.vb:179β empty catch block β the error is discarded with nothing recorded, so a failure here leaves no trace anywhere. Narrow the catch to the exception you actually expect, record it through whatever this codebase already uses to report problems, or β where swallowing really is correct, as it often is on a teardown/dispose path where throwing would mask the original failure β write down WHY in a comment on the catch. The comment has to give the reason: a note that only restates the swallow ("ignored", "do nothing") is read as no explanation at all and leaves this row in place. Any of the three makes the decision reviewable; all three clear this row.
EmptyCatchBlock KeitaiWorldLauncher/Managers/VibrationManager.vb:82β empty catch block β the error is discarded with nothing recorded, so a failure here leaves no trace anywhere. Narrow the catch to the exception you actually expect, record it through whatever this codebase already uses to report problems, or β where swallowing really is correct, as it often is on a teardown/dispose path where throwing would mask the original failure β write down WHY in a comment on the catch. The comment has to give the reason: a note that only restates the swallow ("ignored", "do nothing") is read as no explanation at all and leaves this row in place. Any of the three makes the decision reviewable; all three clear this row.
EmptyCatchBlock KeitaiWorldLauncher/Managers/VibrationManager.vb:87β empty catch block β the error is discarded with nothing recorded, so a failure here leaves no trace anywhere. Narrow the catch to the exception you actually expect, record it through whatever this codebase already uses to report problems, or β where swallowing really is correct, as it often is on a teardown/dispose path where throwing would mask the original failure β write down WHY in a comment on the catch. The comment has to give the reason: a note that only restates the swallow ("ignored", "do nothing") is read as no explanation at all and leaves this row in place. Any of the three makes the decision reviewable; all three clear this row.
EmptyCatchBlock KeitaiWorldLauncher/Managers/VibrationManager.vb:95β empty catch block β the error is discarded with nothing recorded, so a failure here leaves no trace anywhere. Narrow the catch to the exception you actually expect, record it through whatever this codebase already uses to report problems, or β where swallowing really is correct, as it often is on a teardown/dispose path where throwing would mask the original failure β write down WHY in a comment on the catch. The comment has to give the reason: a note that only restates the swallow ("ignored", "do nothing") is read as no explanation at all and leaves this row in place. Any of the three makes the decision reviewable; all three clear this row.
EmptyCatchBlock KeitaiWorldLauncher/managers/AppLoadManager.vb:203β empty catch block β the error is discarded with nothing recorded, so a failure here leaves no trace anywhere. Narrow the catch to the exception you actually expect, record it through whatever this codebase already uses to report problems, or β where swallowing really is correct, as it often is on a teardown/dispose path where throwing would mask the original failure β write down WHY in a comment on the catch. The comment has to give the reason: a note that only restates the swallow ("ignored", "do nothing") is read as no explanation at all and leaves this row in place. Any of the three makes the decision reviewable; all three clear this row.
EmptyCatchBlock KeitaiWorldLauncher/managers/UtilManager.vb:551β empty catch block β the error is discarded with nothing recorded, so a failure here leaves no trace anywhere. Narrow the catch to the exception you actually expect, record it through whatever this codebase already uses to report problems, or β where swallowing really is correct, as it often is on a teardown/dispose path where throwing would mask the original failure β write down WHY in a comment on the catch. The comment has to give the reason: a note that only restates the swallow ("ignored", "do nothing") is read as no explanation at all and leaves this row in place. Any of the three makes the decision reviewable; all three clear this row.
EmptyCatchBlock KeitaiWorldLauncher/managers/UtilManager.vb:622β empty catch block β the error is discarded with nothing recorded, so a failure here leaves no trace anywhere. Narrow the catch to the exception you actually expect, record it through whatever this codebase already uses to report problems, or β where swallowing really is correct, as it often is on a teardown/dispose path where throwing would mask the original failure β write down WHY in a comment on the catch. The comment has to give the reason: a note that only restates the swallow ("ignored", "do nothing") is read as no explanation at all and leaves this row in place. Any of the three makes the decision reviewable; all three clear this row.
EmptyCatchBlock KeitaiWorldLauncher/managers/UtilManager.vb:631β empty catch block β the error is discarded with nothing recorded, so a failure here leaves no trace anywhere. Narrow the catch to the exception you actually expect, record it through whatever this codebase already uses to report problems, or β where swallowing really is correct, as it often is on a teardown/dispose path where throwing would mask the original failure β write down WHY in a comment on the catch. The comment has to give the reason: a note that only restates the swallow ("ignored", "do nothing") is read as no explanation at all and leaves this row in place. Any of the three makes the decision reviewable; all three clear this row.
EmptyCatchBlock KeitaiWorldLauncher/managers/UtilManager.vb:2512β empty catch block β the error is discarded with nothing recorded, so a failure here leaves no trace anywhere. Narrow the catch to the exception you actually expect, record it through whatever this codebase already uses to report problems, or β where swallowing really is correct, as it often is on a teardown/dispose path where throwing would mask the original failure β write down WHY in a comment on the catch. The comment has to give the reason: a note that only restates the swallow ("ignored", "do nothing") is read as no explanation at all and leaves this row in place. Any of the three makes the decision reviewable; all three clear this row.
EmptyCatchBlock KeitaiWorldLauncher/managers/UtilManager.vb:2550β empty catch block β the error is discarded with nothing recorded, so a failure here leaves no trace anywhere. Narrow the catch to the exception you actually expect, record it through whatever this codebase already uses to report problems, or β where swallowing really is correct, as it often is on a teardown/dispose path where throwing would mask the original failure β write down WHY in a comment on the catch. The comment has to give the reason: a note that only restates the swallow ("ignored", "do nothing") is read as no explanation at all and leaves this row in place. Any of the three makes the decision reviewable; all three clear this row.
EmptyCatchBlock KeitaiWorldLauncher/managers/UtilManager.vb:2629β empty catch block β the error is discarded with nothing recorded, so a failure here leaves no trace anywhere. Narrow the catch to the exception you actually expect, record it through whatever this codebase already uses to report problems, or β where swallowing really is correct, as it often is on a teardown/dispose path where throwing would mask the original failure β write down WHY in a comment on the catch. The comment has to give the reason: a note that only restates the swallow ("ignored", "do nothing") is read as no explanation at all and leaves this row in place. Any of the three makes the decision reviewable; all three clear this row.
No automated tests β No automated tests β no test code was found in this repository. Untested code is the largest single risk to changing it safely. Start with the code you change most often: add a suite in a framework a runner can collect (xUnit, NUnit or MSTest), and run it in CI so the gap cannot reopen.
MethodTooLong: MainForm.btnLaunchGame_Click KeitaiWorldLauncher/MainForm.vb:2329β MethodTooLong β btnLaunchGame_Click runs 208 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 108 over it, 2.08× the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body β the runs of statements that work on the same values and would earn the same name β into its own named unit, and have this one call them in order.
MethodTooLong: MainForm.StyleActivityView KeitaiWorldLauncher/MainForm.LibraryLayout.vb:111β MethodTooLong β StyleActivityView runs 183 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 83 over it, 1.83× the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body β the runs of statements that work on the same values and would earn the same name β into its own named unit, and have this one call them in order.
MethodTooLong: UtilManager.GenerateDynamicControlsFromLines KeitaiWorldLauncher/managers/UtilManager.vb:805β MethodTooLong β GenerateDynamicControlsFromLines runs 171 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 71 over it, 1.71× the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body β the runs of statements that work on the same values and would earn the same name β into its own named unit, and have this one call them in order.
MethodTooLong: MainForm.MainForm_Load KeitaiWorldLauncher/MainForm.vb:135β MethodTooLong β MainForm_Load runs 151 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 51 over it, 1.51× the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body β the runs of statements that work on the same values and would earn the same name β into its own named unit, and have this one call them in order.
MethodTooLong: MainForm.btnAddCustomApps_Click KeitaiWorldLauncher/MainForm.vb:2701β MethodTooLong β btnAddCustomApps_Click runs 144 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 44 over it, 1.44× the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body β the runs of statements that work on the same values and would earn the same name β into its own named unit, and have this one call them in order.
MethodTooLong: UIDialogManager.CompactDialogForm.New(β¦) KeitaiWorldLauncher/Managers/UIDialogManager.vb:911β MethodTooLong β New(β¦) runs 141 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 41 over it, 1.41× the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body β the runs of statements that work on the same values and would earn the same name β into its own named unit, and have this one call them in order.
MethodTooLong: MainForm.DownloadGames KeitaiWorldLauncher/MainForm.vb:966β MethodTooLong β DownloadGames runs 130 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 30 over it, 1.30× the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body β the runs of statements that work on the same values and would earn the same name β into its own named unit, and have this one call them in order.
MethodTooLong: MainForm.StyleSettingsView KeitaiWorldLauncher/MainForm.LibraryLayout.vb:451β MethodTooLong β StyleSettingsView runs 125 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 25 over it, 1.25× the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body β the runs of statements that work on the same values and would earn the same name β into its own named unit, and have this one call them in order.
MethodTooLong: UtilManager.PrepareJamFileForLaunchAsync KeitaiWorldLauncher/managers/UtilManager.vb:2885β MethodTooLong β PrepareJamFileForLaunchAsync runs 123 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 23 over it, 1.23× the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body β the runs of statements that work on the same values and would earn the same name β into its own named unit, and have this one call them in order.
MethodTooLong: MainForm.DeleteGamesAsync KeitaiWorldLauncher/MainForm.vb:1197β MethodTooLong β DeleteGamesAsync runs 122 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 22 over it, 1.22× the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body β the runs of statements that work on the same values and would earn the same name β into its own named unit, and have this one call them in order.
MethodTooLong: UtilManager.EnsureJava1_8IsConfiguredAsync KeitaiWorldLauncher/managers/UtilManager.vb:127β MethodTooLong β EnsureJava1_8IsConfiguredAsync runs 122 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 22 over it, 1.22× the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body β the runs of statements that work on the same values and would earn the same name β into its own named unit, and have this one call them in order.
MethodTooLong: MainForm.ShowKeitaiWikiMetadataAsync KeitaiWorldLauncher/MainForm.LibraryLayout.vb:2382β MethodTooLong β ShowKeitaiWikiMetadataAsync runs 111 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 11 over it, 1.11× the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body β the runs of statements that work on the same values and would earn the same name β into its own named unit, and have this one call them in order.
MethodTooLong: UtilManager.DetectJava24PlusAsync KeitaiWorldLauncher/managers/UtilManager.vb:301β MethodTooLong β DetectJava24PlusAsync runs 111 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 11 over it, 1.11× the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body β the runs of statements that work on the same values and would earn the same name β into its own named unit, and have this one call them in order.
MethodTooLong: MainForm.AttachKeitaiWikiToCurrentDetails KeitaiWorldLauncher/MainForm.LibraryLayout.vb:2162β MethodTooLong β AttachKeitaiWikiToCurrentDetails runs 105 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 5 over it, 1.05× the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body β the runs of statements that work on the same values and would earn the same name β into its own named unit, and have this one call them in order.
FileTooLong: managers/UtilManager.vb KeitaiWorldLauncher/managers/UtilManager.vbβ FileTooLong β 2854 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 2354 over it, 5.71× the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them.
FileTooLong: KeitaiWorldLauncher/MainForm.LibraryLayout.vb KeitaiWorldLauncher/MainForm.LibraryLayout.vbβ FileTooLong β 2703 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 2203 over it, 5.41× the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them.
FileTooLong: KeitaiWorldLauncher/MainForm.vb KeitaiWorldLauncher/MainForm.vbβ FileTooLong β 2417 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 1917 over it, 4.83× the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them.
FileTooLong: Managers/UIDialogManager.vb KeitaiWorldLauncher/Managers/UIDialogManager.vbβ FileTooLong β 972 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 472 over it, 1.94× the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them.
Hotspot: KeitaiWorldLauncher/MainForm.vb KeitaiWorldLauncher/MainForm.vb:2329β KeitaiWorldLauncher/MainForm.vb changed 12 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 50 in MainForm.btnLaunchGame_Click at line 2329. 2 of those changes were fix/bug commits, and the other 10 changed it for other reasons β this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one β a file this often edited pays the complexity back every time. Counted over 2026-06-25..2026-09-23, the 90 days ending at the analysed commit. Reproduce with `git log --since='2026-06-25 10:10:03 -04:00' --until='2026-09-23 10:10:03 -04:00' --full-history --no-merges -- KeitaiWorldLauncher/MainForm.vb`: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each β a difference of several commits on a file whose history was re-landed or reverted inside the window.
Hotspot: KeitaiWorldLauncher/MainForm.LibraryLayout.vb KeitaiWorldLauncher/MainForm.LibraryLayout.vb:2881β KeitaiWorldLauncher/MainForm.LibraryLayout.vb changed 10 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 17 in MainForm.UpdateMachiCharaSelectionState at line 2881. 5 of those changes were fix/bug commits, and the other 5 changed it for other reasons β this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one β a file this often edited pays the complexity back every time. Counted over 2026-06-25..2026-09-23, the 90 days ending at the analysed commit. Reproduce with `git log --since='2026-06-25 10:10:03 -04:00' --until='2026-09-23 10:10:03 -04:00' --full-history --no-merges -- KeitaiWorldLauncher/MainForm.LibraryLayout.vb`: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each β a difference of several commits on a file whose history was re-landed or reverted inside the window.
TooManyMethods: MainForm KeitaiWorldLauncher/MainForm.Accessibility.vbβ TooManyMethods β 5783 significant lines (blank, comment-only and punctuation-only lines excluded), 246 methods. The bar is 30 methods; this is 216 over it, 8.20× the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility.
TooManyMethods: UtilManager KeitaiWorldLauncher/managers/UtilManager.vbβ TooManyMethods β 2836 significant lines (blank, comment-only and punctuation-only lines excluded), 75 methods. The bar is 30 methods; this is 45 over it, 2.50× the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility.
Duplicated block (21β22 lines × 3) KeitaiWorldLauncher/managers/UtilManager.vb:1722β KeitaiWorldLauncher/managers/UtilManager.vb:1722-1742 | KeitaiWorldLauncher/managers/UtilManager.vb:1911-1932 | KeitaiWorldLauncher/managers/UtilManager.vb:2074-2095 β all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites β resolving only two of them leaves the rest to drift apart the first time one is edited.
Duplicated block (21β22 lines × 3) KeitaiWorldLauncher/managers/UtilManager.vb:2316β KeitaiWorldLauncher/managers/UtilManager.vb:2316-2337 | KeitaiWorldLauncher/managers/UtilManager.vb:2378-2398 | KeitaiWorldLauncher/managers/UtilManager.vb:2446-2466 β all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites β resolving only two of them leaves the rest to drift apart the first time one is edited.
Duplicated block (18 lines × 2) KeitaiWorldLauncher/MainForm.LibraryLayout.vb:250β KeitaiWorldLauncher/MainForm.LibraryLayout.vb:250-267 | KeitaiWorldLauncher/MainForm.LibraryLayout.vb:638-657 β both copies are in the same file, so extract the block into one function there and call it from each site β the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at `KeitaiWorldLauncher/MainForm.LibraryLayout.vb:250` it does not close everything it opens, so those exact lines cannot be lifted as they stand β widen the region to the smallest complete statement or declaration that contains it, and extract that.
Duplicated block (18 lines × 2) KeitaiWorldLauncher/managers/UtilManager.vb:1375β KeitaiWorldLauncher/managers/UtilManager.vb:1375-1392 | KeitaiWorldLauncher/managers/UtilManager.vb:1811-1828 β both copies are in the same file, so extract the block into one function there and call it from each site β the copies drift apart the first time only one of them is edited.
Duplicated block (13 lines × 3) KeitaiWorldLauncher/MainForm.LibraryLayout.vb:115β KeitaiWorldLauncher/MainForm.LibraryLayout.vb:115-128 | KeitaiWorldLauncher/Managers/UIDialogManager.vb:362-374 | KeitaiWorldLauncher/Managers/UIDialogManager.vb:463-475 β there are 3 copies across 2 file(s) β more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 3 sites; resolving a subset leaves the remainder to drift apart. β These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, `KeitaiWorldLauncher/Managers/UIDialogManager.vb:375` calls `Add`, `RowStyle` and `KeitaiWorldLauncher/MainForm.LibraryLayout.vb:130` does not β after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live.
Duplicated block (13 lines × 3) KeitaiWorldLauncher/managers/UtilManager.vb:1515β KeitaiWorldLauncher/managers/UtilManager.vb:1515-1527 | KeitaiWorldLauncher/managers/UtilManager.vb:1587-1599 | KeitaiWorldLauncher/managers/UtilManager.vb:1661-1673 β all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites β resolving only two of them leaves the rest to drift apart the first time one is edited.
Duplicated block (13 lines × 2) KeitaiWorldLauncher/MainForm.LibraryLayout.vb:115β KeitaiWorldLauncher/MainForm.LibraryLayout.vb:115-127 | KeitaiWorldLauncher/MainForm.LibraryLayout.vb:455-467 β both copies are in the same file, so extract the block into one function there and call it from each site β the copies drift apart the first time only one of them is edited. β These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, `KeitaiWorldLauncher/MainForm.LibraryLayout.vb:128` calls `Add`, `RowStyle` and `KeitaiWorldLauncher/MainForm.LibraryLayout.vb:469` does not β after which the two agree again for 4 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live.
Duplicated block (13 lines × 2) KeitaiWorldLauncher/Managers/UIDialogManager.vb:194β KeitaiWorldLauncher/Managers/UIDialogManager.vb:194-207 | KeitaiWorldLauncher/Managers/UIDialogManager.vb:584-596 β both copies are in the same file, so extract the block into one function there and call it from each site β the copies drift apart the first time only one of them is edited.
Duplicated block (12 lines × 2) KeitaiWorldLauncher/MainForm.LibraryLayout.vb:117β KeitaiWorldLauncher/MainForm.LibraryLayout.vb:117-128 | KeitaiWorldLauncher/MainForm.LibraryLayout.vb:206-217 β both copies are in the same file, so extract the block into one function there and call it from each site β the copies drift apart the first time only one of them is edited. β These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, `KeitaiWorldLauncher/MainForm.LibraryLayout.vb:218` calls `Add` and `KeitaiWorldLauncher/MainForm.LibraryLayout.vb:130` does not β after which the two agree again for 3 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live.
Duplicated block (12 lines × 2) KeitaiWorldLauncher/MainForm.LibraryLayout.vb:500β KeitaiWorldLauncher/MainForm.LibraryLayout.vb:500-511 | KeitaiWorldLauncher/MainForm.LibraryLayout.vb:1166-1177 β both copies are in the same file, so extract the block into one function there and call it from each site β the copies drift apart the first time only one of them is edited.
Duplicated block (7 lines × 2) KeitaiWorldLauncher/MainForm.vb:1148β KeitaiWorldLauncher/MainForm.vb:1148-1154 | KeitaiWorldLauncher/MainForm.vb:1185-1191 β both copies are in the same file, so extract the block into one function there and call it from each site β the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at `KeitaiWorldLauncher/MainForm.vb:1148` it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand β widen the region to the smallest complete statement or declaration that contains it, and extract that.
Duplicated block (7 lines × 2) KeitaiWorldLauncher/MainForm.vb:2201β KeitaiWorldLauncher/MainForm.vb:2201-2207 | KeitaiWorldLauncher/MainForm.vb:2214-2220 β both copies are in the same file, so extract the block into one function there and call it from each site β the copies drift apart the first time only one of them is edited.
Duplicated block (5 lines × 2) KeitaiWorldLauncher/MainForm.LibraryLayout.vb:309β KeitaiWorldLauncher/MainForm.LibraryLayout.vb:309-314 | KeitaiWorldLauncher/MainForm.LibraryLayout.vb:587-591 β both copies are in the same file, so extract the block into one function there and call it from each site β the copies drift apart the first time only one of them is edited.
Duplicated block (5 lines × 2) KeitaiWorldLauncher/Managers/UIDialogManager.vb:312β KeitaiWorldLauncher/Managers/UIDialogManager.vb:312-316 | KeitaiWorldLauncher/Managers/UIDialogManager.vb:1086-1091 β both copies are in the same file, so extract the block into one function there and call it from each site β the copies drift apart the first time only one of them is edited.
Low cohesion: UtilManager (LCOM4 10) KeitaiWorldLauncher/managers/UtilManager.vb:19β UtilManager's methods fall into 10 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable β your repository's bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 10 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected β and which would otherwise dominate this list β are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting.
Low cohesion: MainForm (LCOM4 4) KeitaiWorldLauncher/MainForm.Accessibility.vb:4β MainForm's methods fall into 4 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable β your repository's bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 4 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected β and which would otherwise dominate this list β are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting.
MainForm.btnLaunchGame_Click (cyclomatic 50) KeitaiWorldLauncher/MainForm.vb:2329β MainForm.btnLaunchGame_Click has cyclomatic complexity 50 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function, or replace a long branch ladder over a single value with a data-driven lookup or dispatch table. This file is where this pass's cyclomatic complexity CONCENTRATES: KeitaiWorldLauncher/MainForm.vb holds 5 of the 11 methods over the threshold β including the worst β and 72 of the 103 points over it (70%), 3.8× the next-largest file (KeitaiWorldLauncher/managers/UtilManager.vb at 19). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository.
MainForm.btnAddCustomApps_Click (cyclomatic 36) KeitaiWorldLauncher/MainForm.vb:2701β MainForm.btnAddCustomApps_Click has cyclomatic complexity 36 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function, or replace a long branch ladder over a single value with a data-driven lookup or dispatch table. This file is where this pass's cyclomatic complexity CONCENTRATES: KeitaiWorldLauncher/MainForm.vb holds 5 of the 11 methods over the threshold β including the worst β and 72 of the 103 points over it (70%), 3.8× the next-largest file (KeitaiWorldLauncher/managers/UtilManager.vb at 19). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository.
UtilManager.PrepareJamFileForLaunchAsync (cyclomatic 31) KeitaiWorldLauncher/managers/UtilManager.vb:2885β UtilManager.PrepareJamFileForLaunchAsync has cyclomatic complexity 31 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function, or replace a long branch ladder over a single value with a data-driven lookup or dispatch table.
MainForm.DownloadGames (cyclomatic 25) KeitaiWorldLauncher/MainForm.vb:966β MainForm.DownloadGames has cyclomatic complexity 25 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function, or replace a long branch ladder over a single value with a data-driven lookup or dispatch table. This file is where this pass's cyclomatic complexity CONCENTRATES: KeitaiWorldLauncher/MainForm.vb holds 5 of the 11 methods over the threshold β including the worst β and 72 of the 103 points over it (70%), 3.8× the next-largest file (KeitaiWorldLauncher/managers/UtilManager.vb at 19). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository.
KeitaiWikiManager.LookupAsync (cyclomatic 23) KeitaiWorldLauncher/Managers/KeitaiWikiManager.vb:39β KeitaiWikiManager.LookupAsync has cyclomatic complexity 23 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function, or replace a long branch ladder over a single value with a data-driven lookup or dispatch table.
MainForm.MainForm_Load (cyclomatic 20) KeitaiWorldLauncher/MainForm.vb:135β MainForm.MainForm_Load has cyclomatic complexity 20 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function, or replace a long branch ladder over a single value with a data-driven lookup or dispatch table. This file is where this pass's cyclomatic complexity CONCENTRATES: KeitaiWorldLauncher/MainForm.vb holds 5 of the 11 methods over the threshold β including the worst β and 72 of the 103 points over it (70%), 3.8× the next-largest file (KeitaiWorldLauncher/managers/UtilManager.vb at 19). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository.
MainForm.UpdateMachiCharaSelectionState (cyclomatic 17) KeitaiWorldLauncher/MainForm.LibraryLayout.vb:2881β MainForm.UpdateMachiCharaSelectionState has cyclomatic complexity 17 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function, or replace a long branch ladder over a single value with a data-driven lookup or dispatch table. This shape REPEATS in the file: one other method here (MainForm.UpdateCharaDenSelectionState) has the same decision points, in the same order, at the same nesting depths β so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared.
MainForm.UpdateCharaDenSelectionState (cyclomatic 17) KeitaiWorldLauncher/MainForm.LibraryLayout.vb:2951β MainForm.UpdateCharaDenSelectionState has cyclomatic complexity 17 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function, or replace a long branch ladder over a single value with a data-driven lookup or dispatch table. This shape REPEATS in the file: one other method here (MainForm.UpdateMachiCharaSelectionState) has the same decision points, in the same order, at the same nesting depths β so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared.
UtilManager.UpdateShaderGlassConfig (cyclomatic 17) KeitaiWorldLauncher/managers/UtilManager.vb:3607β UtilManager.UpdateShaderGlassConfig has cyclomatic complexity 17 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function, or replace a long branch ladder over a single value with a data-driven lookup or dispatch table. This is NOT this file's highest cyclomatic complexity: UtilManager.GetFriendlyMetadataLabel (cyclomatic 26) is higher and carries no row of its own β it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded method is counted neither in this dimension's figures nor in its score.
MainForm.DeleteGamesAsync (cyclomatic 16) KeitaiWorldLauncher/MainForm.vb:1197β MainForm.DeleteGamesAsync has cyclomatic complexity 16 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function, or replace a long branch ladder over a single value with a data-driven lookup or dispatch table. This file is where this pass's cyclomatic complexity CONCENTRATES: KeitaiWorldLauncher/MainForm.vb holds 5 of the 11 methods over the threshold β including the worst β and 72 of the 103 points over it (70%), 3.8× the next-largest file (KeitaiWorldLauncher/managers/UtilManager.vb at 19). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository.
UtilManager.CheckforPreReqAsync (cyclomatic 16) KeitaiWorldLauncher/managers/UtilManager.vb:27β UtilManager.CheckforPreReqAsync has cyclomatic complexity 16 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function, or replace a long branch ladder over a single value with a data-driven lookup or dispatch table. This is NOT this file's highest cyclomatic complexity: UtilManager.GetFriendlyMetadataLabel (cyclomatic 26) is higher and carries no row of its own β it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded method is counted neither in this dimension's figures nor in its score.
Repeated repair: KeitaiWorldLauncher/Managers/NotificationManager.vb KeitaiWorldLauncher/Managers/NotificationManager.vb:81β KeitaiWorldLauncher/Managers/NotificationManager.vb changed 4 times in last 90 days and 4 of those changes were fix/bug commits, so repair is the majority of this file's churn. Its max cyclomatic complexity is 8 (its worst body is NotificationManager.ResolveOwner at line 81), UNDER the 15 threshold, so this is deliberately not filed as a churn × complexity hotspot β the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: βAttempting to fix the unwanted DPI scaling, causing controls to be all overlapped.β; βAdd double buffering for toast, and then fixed button sizing.β; βV1.0 Prep Added accessibility tags and fixed crash bugβ; βv1.0 Prep fixed DPI Scalingβ. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-06-25..2026-09-23, the 90 days ending at the analysed commit. Reproduce with `git log --since='2026-06-25 10:10:03 -04:00' --until='2026-09-23 10:10:03 -04:00' --full-history --no-merges -- KeitaiWorldLauncher/Managers/NotificationManager.vb`: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each β a difference of several commits on a file whose history was re-landed or reverted inside the window.
UtilManager.PrepareJamFileForLaunchAsync (cognitive 68) KeitaiWorldLauncher/managers/UtilManager.vb:2885β UtilManager.PrepareJamFileForLaunchAsync has cognitive complexity 68 (threshold 15). To reduce it, flatten the nesting: invert conditions into early returns or guard clauses so the happy path stays at one level, and lift the deepest nested block into its own named function.
MainForm.btnLaunchGame_Click (cognitive 56) KeitaiWorldLauncher/MainForm.vb:2329β MainForm.btnLaunchGame_Click has cognitive complexity 56 (threshold 15). To reduce it, flatten the nesting: invert conditions into early returns or guard clauses so the happy path stays at one level, and lift the deepest nested block into its own named function.
MainForm.btnAddCustomApps_Click (cognitive 47) KeitaiWorldLauncher/MainForm.vb:2701β MainForm.btnAddCustomApps_Click has cognitive complexity 47 (threshold 15). To reduce it, flatten the nesting: invert conditions into early returns or guard clauses so the happy path stays at one level, and lift the deepest nested block into its own named function.
MainForm.DownloadGames (cognitive 39) KeitaiWorldLauncher/MainForm.vb:966β MainForm.DownloadGames has cognitive complexity 39 (threshold 15). To reduce it, flatten the nesting: invert conditions into early returns or guard clauses so the happy path stays at one level, and lift the deepest nested block into its own named function.
MainForm.MainForm_Load (cognitive 38) KeitaiWorldLauncher/MainForm.vb:135β MainForm.MainForm_Load has cognitive complexity 38 (threshold 15). To reduce it, flatten the nesting: invert conditions into early returns or guard clauses so the happy path stays at one level, and lift the deepest nested block into its own named function.
KeitaiWikiManager.LookupAsync (cognitive 38) KeitaiWorldLauncher/Managers/KeitaiWikiManager.vb:39β KeitaiWikiManager.LookupAsync has cognitive complexity 38 (threshold 15). To reduce it, flatten the nesting: invert conditions into early returns or guard clauses so the happy path stays at one level, and lift the deepest nested block into its own named function.
UtilManager.ExtractKjxMetadata (cognitive 24) KeitaiWorldLauncher/managers/UtilManager.vb:3348β UtilManager.ExtractKjxMetadata has cognitive complexity 24 (threshold 15). To reduce it, flatten the nesting: invert conditions into early returns or guard clauses so the happy path stays at one level, and lift the deepest nested block into its own named function.
ProcessManager.CheckAndCloseAllEmulators (cognitive 22) KeitaiWorldLauncher/managers/ProcessManager.vb:125β ProcessManager.CheckAndCloseAllEmulators has cognitive complexity 22 (threshold 15). To reduce it, flatten the nesting: invert conditions into early returns or guard clauses so the happy path stays at one level, and lift the deepest nested block into its own named function.
UtilManager.LaunchEmulatorWithRetry (cognitive 22) KeitaiWorldLauncher/managers/UtilManager.vb:2470β UtilManager.LaunchEmulatorWithRetry has cognitive complexity 22 (threshold 15). To reduce it, flatten the nesting: invert conditions into early returns or guard clauses so the happy path stays at one level, and lift the deepest nested block into its own named function.
MainForm.DeleteGamesAsync (cognitive 21) KeitaiWorldLauncher/MainForm.vb:1197β MainForm.DeleteGamesAsync has cognitive complexity 21 (threshold 15). To reduce it, flatten the nesting: invert conditions into early returns or guard clauses so the happy path stays at one level, and lift the deepest nested block into its own named function.
UtilManager.EnsureJava1_8IsConfiguredAsync (cognitive 21) KeitaiWorldLauncher/managers/UtilManager.vb:127β UtilManager.EnsureJava1_8IsConfiguredAsync has cognitive complexity 21 (threshold 15). To reduce it, flatten the nesting: invert conditions into early returns or guard clauses so the happy path stays at one level, and lift the deepest nested block into its own named function.
UtilManager.LaunchCustomMachiCharaCommand (cognitive 20) KeitaiWorldLauncher/managers/UtilManager.vb:2153β UtilManager.LaunchCustomMachiCharaCommand has cognitive complexity 20 (threshold 15). To reduce it, flatten the nesting: invert conditions into early returns or guard clauses so the happy path stays at one level, and lift the deepest nested block into its own named function.
UtilManager.EnableDisableHP903iSound (cognitive 20) KeitaiWorldLauncher/managers/UtilManager.vb:3221β UtilManager.EnableDisableHP903iSound has cognitive complexity 20 (threshold 15). To reduce it, flatten the nesting: invert conditions into early returns or guard clauses so the happy path stays at one level, and lift the deepest nested block into its own named function.
MainForm.ApplyGameListItemStatus (cognitive 19) KeitaiWorldLauncher/MainForm.LibraryLayout.vb:2006β MainForm.ApplyGameListItemStatus has cognitive complexity 19 (threshold 15). To reduce it, flatten the nesting: invert conditions into early returns or guard clauses so the happy path stays at one level, and lift the deepest nested block into its own named function.
UtilManager.CheckforPreReqAsync (cognitive 19) KeitaiWorldLauncher/managers/UtilManager.vb:27β UtilManager.CheckforPreReqAsync has cognitive complexity 19 (threshold 15). To reduce it, flatten the nesting: invert conditions into early returns or guard clauses so the happy path stays at one level, and lift the deepest nested block into its own named function.
KeitaiWikiManager.ParsePages (cognitive 18) KeitaiWorldLauncher/Managers/KeitaiWikiManager.vb:257β KeitaiWikiManager.ParsePages has cognitive complexity 18 (threshold 15). To reduce it, flatten the nesting: invert conditions into early returns or guard clauses so the happy path stays at one level, and lift the deepest nested block into its own named function.
UtilManager.GenerateDynamicControlsFromLines (cognitive 18) KeitaiWorldLauncher/managers/UtilManager.vb:805β UtilManager.GenerateDynamicControlsFromLines has cognitive complexity 18 (threshold 15). To reduce it, flatten the nesting: invert conditions into early returns or guard clauses so the happy path stays at one level, and lift the deepest nested block into its own named function.
MainForm.UpdateMachiCharaSelectionState (cognitive 17) KeitaiWorldLauncher/MainForm.LibraryLayout.vb:2881β MainForm.UpdateMachiCharaSelectionState has cognitive complexity 17 (threshold 15). To reduce it, flatten the nesting: invert conditions into early returns or guard clauses so the happy path stays at one level, and lift the deepest nested block into its own named function. This shape REPEATS in the file: one other method here (MainForm.UpdateCharaDenSelectionState) has the same decision points, in the same order, at the same nesting depths β so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared.
MainForm.UpdateCharaDenSelectionState (cognitive 17) KeitaiWorldLauncher/MainForm.LibraryLayout.vb:2951β MainForm.UpdateCharaDenSelectionState has cognitive complexity 17 (threshold 15). To reduce it, flatten the nesting: invert conditions into early returns or guard clauses so the happy path stays at one level, and lift the deepest nested block into its own named function. This shape REPEATS in the file: one other method here (MainForm.UpdateMachiCharaSelectionState) has the same decision points, in the same order, at the same nesting depths β so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared.
MainForm.DownloadMachiChara (cognitive 17) KeitaiWorldLauncher/MainForm.vb:1123β MainForm.DownloadMachiChara has cognitive complexity 17 (threshold 15). To reduce it, flatten the nesting: invert conditions into early returns or guard clauses so the happy path stays at one level, and lift the deepest nested block into its own named function. This shape REPEATS in the file: one other method here (MainForm.DownloadCharaDen) has the same decision points, in the same order, at the same nesting depths β so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared.
MainForm.DownloadCharaDen (cognitive 17) KeitaiWorldLauncher/MainForm.vb:1160β MainForm.DownloadCharaDen has cognitive complexity 17 (threshold 15). To reduce it, flatten the nesting: invert conditions into early returns or guard clauses so the happy path stays at one level, and lift the deepest nested block into its own named function. This shape REPEATS in the file: one other method here (MainForm.DownloadMachiChara) has the same decision points, in the same order, at the same nesting depths β so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared.
MainForm.cbxDojaSDK_SelectedIndexChanged (cognitive 17) KeitaiWorldLauncher/MainForm.vb:1856β MainForm.cbxDojaSDK_SelectedIndexChanged has cognitive complexity 17 (threshold 15). To reduce it, flatten the nesting: invert conditions into early returns or guard clauses so the happy path stays at one level, and lift the deepest nested block into its own named function.
UtilManager.LaunchCustomDOJAGameCommand (cognitive 17) KeitaiWorldLauncher/managers/UtilManager.vb:1270β UtilManager.LaunchCustomDOJAGameCommand has cognitive complexity 17 (threshold 15). To reduce it, flatten the nesting: invert conditions into early returns or guard clauses so the happy path stays at one level, and lift the deepest nested block into its own named function.
UtilManager.LaunchCustom_FreeJ2MEGameCommand (cognitive 17) KeitaiWorldLauncher/managers/UtilManager.vb:1984β UtilManager.LaunchCustom_FreeJ2MEGameCommand has cognitive complexity 17 (threshold 15). To reduce it, flatten the nesting: invert conditions into early returns or guard clauses so the happy path stays at one level, and lift the deepest nested block into its own named function.
MainForm.AppGacha_Click (cognitive 16) KeitaiWorldLauncher/MainForm.LibraryLayout.vb:2793β MainForm.AppGacha_Click has cognitive complexity 16 (threshold 15). To reduce it, flatten the nesting: invert conditions into early returns or guard clauses so the happy path stays at one level, and lift the deepest nested block into its own named function.
MainForm.LoadIconsForNewGames (cognitive 16) KeitaiWorldLauncher/MainForm.vb:639β MainForm.LoadIconsForNewGames has cognitive complexity 16 (threshold 15). To reduce it, flatten the nesting: invert conditions into early returns or guard clauses so the happy path stays at one level, and lift the deepest nested block into its own named function.
MainForm.LoadGameListFirstTimeAsync (cognitive 16) KeitaiWorldLauncher/MainForm.vb:685β MainForm.LoadGameListFirstTimeAsync has cognitive complexity 16 (threshold 15). To reduce it, flatten the nesting: invert conditions into early returns or guard clauses so the happy path stays at one level, and lift the deepest nested block into its own named function.
Program.Main (cognitive 16) KWL-Updater/Program.vb:7β Program.Main has cognitive complexity 16 (threshold 15). To reduce it, flatten the nesting: invert conditions into early returns or guard clauses so the happy path stays at one level, and lift the deepest nested block into its own named function.
ClassTooLong: UIDialogManager KeitaiWorldLauncher/Managers/UIDialogManager.vbβ ClassTooLong β 957 significant lines (blank, comment-only and punctuation-only lines excluded), 13 methods. The bar is 400 significant lines; this is 557 over it, 2.39× the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility.
D4 Β· Code DuplicationΒ· Members sharing a duplicated core (13 members, 50+ identical tokens) Β· Γ1
Members sharing a duplicated core (13 members, 50+ identical tokens) KeitaiWorldLauncher/MainForm.LibraryLayout.vb:112β KeitaiWorldLauncher/MainForm.LibraryLayout.vb:112-322 | KeitaiWorldLauncher/MainForm.LibraryLayout.vb:344-400 | KeitaiWorldLauncher/MainForm.LibraryLayout.vb:452-595 | KeitaiWorldLauncher/MainForm.LibraryLayout.vb:638-696 | KeitaiWorldLauncher/MainForm.LibraryLayout.vb:706-757 | KeitaiWorldLauncher/MainForm.LibraryLayout.vb:1153-1213 | KeitaiWorldLauncher/MainForm.LibraryLayout.vb:2284-2317 | KeitaiWorldLauncher/MainForm.LibraryLayout.vb:2390-2508 | KeitaiWorldLauncher/MainForm.LibraryLayout.vb:2518-2596 | KeitaiWorldLauncher/Managers/UIDialogManager.vb:181-266 | KeitaiWorldLauncher/Managers/UIDialogManager.vb:362-408 | KeitaiWorldLauncher/Managers/UIDialogManager.vb:463-520 | KeitaiWorldLauncher/Managers/UIDialogManager.vb:579-647 β These 13 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below β it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 13 times. The repair is at the members' grain β factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 13 times.
D4 Β· Code DuplicationΒ· Members sharing a duplicated core (8 members, 50+ identical tokens) Β· Γ1
Members sharing a duplicated core (8 members, 50+ identical tokens) KeitaiWorldLauncher/managers/UtilManager.vb:1497β KeitaiWorldLauncher/managers/UtilManager.vb:1497-1566 | KeitaiWorldLauncher/managers/UtilManager.vb:1569-1640 | KeitaiWorldLauncher/managers/UtilManager.vb:1643-1718 | KeitaiWorldLauncher/managers/UtilManager.vb:1721-1835 | KeitaiWorldLauncher/managers/UtilManager.vb:1838-1907 | KeitaiWorldLauncher/managers/UtilManager.vb:1910-1982 | KeitaiWorldLauncher/managers/UtilManager.vb:1985-2070 | KeitaiWorldLauncher/managers/UtilManager.vb:2073-2151 β These 8 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below β it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 8 times. The repair is at the members' grain β factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 8 times.
D4 Β· Code DuplicationΒ· Members sharing a duplicated core (7 members, 50+ identical tokens) Β· Γ1
Members sharing a duplicated core (7 members, 50+ identical tokens) KeitaiWorldLauncher/managers/UtilManager.vb:1271β KeitaiWorldLauncher/managers/UtilManager.vb:1271-1395 | KeitaiWorldLauncher/managers/UtilManager.vb:1643-1718 | KeitaiWorldLauncher/managers/UtilManager.vb:1721-1835 | KeitaiWorldLauncher/managers/UtilManager.vb:1838-1907 | KeitaiWorldLauncher/managers/UtilManager.vb:1910-1982 | KeitaiWorldLauncher/managers/UtilManager.vb:1985-2070 | KeitaiWorldLauncher/managers/UtilManager.vb:2073-2151 β These 7 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below β it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 7 times. The repair is at the members' grain β factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 7 times.
D4 Β· Code DuplicationΒ· Members sharing a duplicated core (5 members, 50+ identical tokens) Β· Γ1
Members sharing a duplicated core (5 members, 50+ identical tokens) KeitaiWorldLauncher/managers/UtilManager.vb:2314β KeitaiWorldLauncher/managers/UtilManager.vb:2314-2337 | KeitaiWorldLauncher/managers/UtilManager.vb:2340-2373 | KeitaiWorldLauncher/managers/UtilManager.vb:2376-2398 | KeitaiWorldLauncher/managers/UtilManager.vb:2401-2441 | KeitaiWorldLauncher/managers/UtilManager.vb:2444-2466 β These 5 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below β it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 5 times. The repair is at the members' grain β factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 5 times.
Duplicated block (36β37 lines × 2) KeitaiWorldLauncher/MainForm.LibraryLayout.vb:457β KeitaiWorldLauncher/MainForm.LibraryLayout.vb:457-492 | KeitaiWorldLauncher/MainForm.LibraryLayout.vb:645-681 β both copies are in the same file, so extract the block into one function there and call it from each site β the copies drift apart the first time only one of them is edited.
Duplicated block (28β29 lines × 2) KeitaiWorldLauncher/SaveDataManagerForm.vb:49β KeitaiWorldLauncher/SaveDataManagerForm.vb:49-76 | KeitaiWorldLauncher/managers/SaveDataManager.vb:52-80 β the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach β a location they all depend on today, or a new shared one if there is none β and call it from each site; until then, every change has to be made twice.
Duplicated block (27 lines × 2) KeitaiWorldLauncher/MainForm.vb:2233β KeitaiWorldLauncher/MainForm.vb:2233-2259 | KeitaiWorldLauncher/MainForm.vb:2270-2296 β both copies are in the same file, so extract the block into one function there and call it from each site β the copies drift apart the first time only one of them is edited. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names β the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately.
Duplicated block (22β26 lines × 2) KeitaiWorldLauncher/Managers/UIDialogManager.vb:362β KeitaiWorldLauncher/Managers/UIDialogManager.vb:362-387 | KeitaiWorldLauncher/Managers/UIDialogManager.vb:463-484 β both copies are in the same file, so extract the block into one function there and call it from each site β the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at `KeitaiWorldLauncher/Managers/UIDialogManager.vb:463` it does not close everything it opens, so those exact lines cannot be lifted as they stand β widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names β the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately.
Duplicated block (24 lines × 2) KeitaiWorldLauncher/managers/UtilManager.vb:2350β KeitaiWorldLauncher/managers/UtilManager.vb:2350-2373 | KeitaiWorldLauncher/managers/UtilManager.vb:2418-2441 β both copies are in the same file, so extract the block into one function there and call it from each site β the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at `KeitaiWorldLauncher/managers/UtilManager.vb:2350` it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand β widen the region to the smallest complete statement or declaration that contains it, and extract that.
Duplicated block (23 lines × 2) KeitaiWorldLauncher/managers/UtilManager.vb:1498β KeitaiWorldLauncher/managers/UtilManager.vb:1498-1520 | KeitaiWorldLauncher/managers/UtilManager.vb:1570-1592 β both copies are in the same file, so extract the block into one function there and call it from each site β the copies drift apart the first time only one of them is edited.
Duplicated block (19β21 lines × 2) KeitaiWorldLauncher/Managers/FileDownloader.vb:18β KeitaiWorldLauncher/Managers/FileDownloader.vb:18-38 | KeitaiWorldLauncher/managers/GameDownloader.vb:200-218 β the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach β a location they all depend on today, or a new shared one if there is none β and call it from each site; until then, every change has to be made twice. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names β the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately.
Duplicated block (20 lines × 3) KeitaiWorldLauncher/managers/UtilManager.vb:1644β KeitaiWorldLauncher/managers/UtilManager.vb:1644-1663 | KeitaiWorldLauncher/managers/UtilManager.vb:1839-1858 | KeitaiWorldLauncher/managers/UtilManager.vb:1986-2005 β all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites β resolving only two of them leaves the rest to drift apart the first time one is edited. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names β the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately. β These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, `KeitaiWorldLauncher/managers/UtilManager.vb:1664` calls `Combine`, `GetDirectoryName`, `GetFileNameWithoutExtension` and `KeitaiWorldLauncher/managers/UtilManager.vb:1860` does not β after which the two agree again for 4 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live.
Duplicated block (19 lines × 5) KeitaiWorldLauncher/managers/UtilManager.vb:2318β KeitaiWorldLauncher/managers/UtilManager.vb:2318-2337 | KeitaiWorldLauncher/managers/UtilManager.vb:2353-2373 | KeitaiWorldLauncher/managers/UtilManager.vb:2380-2398 | KeitaiWorldLauncher/managers/UtilManager.vb:2421-2441 | KeitaiWorldLauncher/managers/UtilManager.vb:2448-2466 β all 5 copies are in the same file, so extract the block into one function there and call it from every one of those sites β resolving only two of them leaves the rest to drift apart the first time one is edited.
Duplicated block (19 lines × 2) KeitaiWorldLauncher/MainForm.LibraryLayout.vb:245β KeitaiWorldLauncher/MainForm.LibraryLayout.vb:245-265 | KeitaiWorldLauncher/MainForm.LibraryLayout.vb:349-367 β both copies are in the same file, so extract the block into one function there and call it from each site β the copies drift apart the first time only one of them is edited.
Duplicated block (18β19 lines × 2) KeitaiWorldLauncher/managers/UtilManager.vb:148β KeitaiWorldLauncher/managers/UtilManager.vb:148-165 | KeitaiWorldLauncher/managers/UtilManager.vb:176-194 β both copies are in the same file, so extract the block into one function there and call it from each site β the copies drift apart the first time only one of them is edited.
Duplicated block (17β18 lines × 2) KeitaiWorldLauncher/managers/UtilManager.vb:1549β KeitaiWorldLauncher/managers/UtilManager.vb:1549-1566 | KeitaiWorldLauncher/managers/UtilManager.vb:1624-1640 β both copies are in the same file, so extract the block into one function there and call it from each site β the copies drift apart the first time only one of them is edited.
Duplicated block (15β17 lines × 2) KeitaiWorldLauncher/managers/UtilManager.vb:1160β KeitaiWorldLauncher/managers/UtilManager.vb:1160-1176 | KeitaiWorldLauncher/managers/UtilManager.vb:1200-1214 β both copies are in the same file, so extract the block into one function there and call it from each site β the copies drift apart the first time only one of them is edited.
Duplicated block (16 lines × 3) KeitaiWorldLauncher/MainForm.LibraryLayout.vb:200β KeitaiWorldLauncher/MainForm.LibraryLayout.vb:200-217 | KeitaiWorldLauncher/MainForm.LibraryLayout.vb:713-729 | KeitaiWorldLauncher/MainForm.LibraryLayout.vb:2525-2540 β all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites β resolving only two of them leaves the rest to drift apart the first time one is edited.
Duplicated block (16 lines × 2) KeitaiWorldLauncher/managers/UtilManager.vb:1271β KeitaiWorldLauncher/managers/UtilManager.vb:1271-1287 | KeitaiWorldLauncher/managers/UtilManager.vb:1398-1413 β both copies are in the same file, so extract the block into one function there and call it from each site β the copies drift apart the first time only one of them is edited.
Duplicated block (14 lines × 2) KeitaiWorldLauncher/managers/UtilManager.vb:1600β KeitaiWorldLauncher/managers/UtilManager.vb:1600-1613 | KeitaiWorldLauncher/managers/UtilManager.vb:1674-1687 β both copies are in the same file, so extract the block into one function there and call it from each site β the copies drift apart the first time only one of them is edited. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names β the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately.
Duplicated block (12β13 lines × 5) KeitaiWorldLauncher/managers/UtilManager.vb:1705β KeitaiWorldLauncher/managers/UtilManager.vb:1705-1716 | KeitaiWorldLauncher/managers/UtilManager.vb:1893-1905 | KeitaiWorldLauncher/managers/UtilManager.vb:1968-1980 | KeitaiWorldLauncher/managers/UtilManager.vb:2057-2068 | KeitaiWorldLauncher/managers/UtilManager.vb:2137-2149 β all 5 copies are in the same file, so extract the block into one function there and call it from every one of those sites β resolving only two of them leaves the rest to drift apart the first time one is edited.
Duplicated block (12 lines × 3) KeitaiWorldLauncher/MainForm.LibraryLayout.vb:726β KeitaiWorldLauncher/MainForm.LibraryLayout.vb:726-738 | KeitaiWorldLauncher/MainForm.LibraryLayout.vb:2537-2549 | KeitaiWorldLauncher/Managers/UIDialogManager.vb:473-484 β there are 3 copies across 2 file(s) β more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 3 sites; resolving a subset leaves the remainder to drift apart. Read the line range as the matched WINDOW rather than a finished unit: at `KeitaiWorldLauncher/MainForm.LibraryLayout.vb:726` it does not close everything it opens, so those exact lines cannot be lifted as they stand β widen the region to the smallest complete statement or declaration that contains it, and extract that. β These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, `KeitaiWorldLauncher/MainForm.LibraryLayout.vb:723` calls `Padding` and `KeitaiWorldLauncher/MainForm.LibraryLayout.vb:2534` does not β after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live.
Duplicated block (11 lines × 9) KeitaiWorldLauncher/MainForm.LibraryLayout.vb:117β KeitaiWorldLauncher/MainForm.LibraryLayout.vb:117-128 | KeitaiWorldLauncher/MainForm.LibraryLayout.vb:206-217 | KeitaiWorldLauncher/MainForm.LibraryLayout.vb:718-729 | KeitaiWorldLauncher/MainForm.LibraryLayout.vb:2284-2294 | KeitaiWorldLauncher/MainForm.LibraryLayout.vb:2530-2540 | KeitaiWorldLauncher/Managers/UIDialogManager.vb:196-207 | KeitaiWorldLauncher/Managers/UIDialogManager.vb:364-374 | KeitaiWorldLauncher/Managers/UIDialogManager.vb:465-475 | KeitaiWorldLauncher/Managers/UIDialogManager.vb:586-596 β there are 9 copies across 2 file(s) β more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 9 sites; resolving a subset leaves the remainder to drift apart. β These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, `KeitaiWorldLauncher/MainForm.LibraryLayout.vb:218` calls `Add` and `KeitaiWorldLauncher/MainForm.LibraryLayout.vb:130` does not β after which the two agree again for 3 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live.
Duplicated block (11 lines × 4) KeitaiWorldLauncher/managers/UtilManager.vb:1518β KeitaiWorldLauncher/managers/UtilManager.vb:1518-1528 | KeitaiWorldLauncher/managers/UtilManager.vb:1590-1600 | KeitaiWorldLauncher/managers/UtilManager.vb:1664-1674 | KeitaiWorldLauncher/managers/UtilManager.vb:1858-1868 β all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites β resolving only two of them leaves the rest to drift apart the first time one is edited. β These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, `KeitaiWorldLauncher/managers/UtilManager.vb:1518` calls `Combine`, `GetDirectoryName`, `GetFileNameWithoutExtension` and `KeitaiWorldLauncher/managers/UtilManager.vb:1858` does not β after which the two agree again for 5 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live.
Duplicated block (11 lines × 3) KeitaiWorldLauncher/managers/UtilManager.vb:1857β KeitaiWorldLauncher/managers/UtilManager.vb:1857-1867 | KeitaiWorldLauncher/managers/UtilManager.vb:1928-1938 | KeitaiWorldLauncher/managers/UtilManager.vb:2091-2101 β all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites β resolving only two of them leaves the rest to drift apart the first time one is edited. β These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, `KeitaiWorldLauncher/managers/UtilManager.vb:1856` calls `Combine` and `KeitaiWorldLauncher/managers/UtilManager.vb:1927` does not β after which the two agree again for 4 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live.
Duplicated block (11 lines × 2) KeitaiWorldLauncher/MainForm.LibraryLayout.vb:2408β KeitaiWorldLauncher/MainForm.LibraryLayout.vb:2408-2419 | KeitaiWorldLauncher/Managers/UIDialogManager.vb:205-215 β the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach β a location they all depend on today, or a new shared one if there is none β and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at `KeitaiWorldLauncher/MainForm.LibraryLayout.vb:2408` it does not close everything it opens, so those exact lines cannot be lifted as they stand β widen the region to the smallest complete statement or declaration that contains it, and extract that.
Duplicated block (9 lines × 6) KeitaiWorldLauncher/managers/UtilManager.vb:1710β KeitaiWorldLauncher/managers/UtilManager.vb:1710-1718 | KeitaiWorldLauncher/managers/UtilManager.vb:1827-1835 | KeitaiWorldLauncher/managers/UtilManager.vb:1899-1907 | KeitaiWorldLauncher/managers/UtilManager.vb:1974-1982 | KeitaiWorldLauncher/managers/UtilManager.vb:2062-2070 | KeitaiWorldLauncher/managers/UtilManager.vb:2143-2151 β all 6 copies are in the same file, so extract the block into one function there and call it from every one of those sites β resolving only two of them leaves the rest to drift apart the first time one is edited. β These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, `KeitaiWorldLauncher/managers/UtilManager.vb:1710` calls `HideLaunchOverlay` and `KeitaiWorldLauncher/managers/UtilManager.vb:1827` does not β after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live.
Duplicated block (9 lines × 2) KeitaiWorldLauncher/MainForm.LibraryLayout.vb:2034β KeitaiWorldLauncher/MainForm.LibraryLayout.vb:2034-2042 | KeitaiWorldLauncher/MainForm.LibraryLayout.vb:2063-2071 β both copies are in the same file, so extract the block into one function there and call it from each site β the copies drift apart the first time only one of them is edited.
Duplicated block (8 lines × 2) KeitaiWorldLauncher/managers/UtilManager.vb:2340β KeitaiWorldLauncher/managers/UtilManager.vb:2340-2347 | KeitaiWorldLauncher/managers/UtilManager.vb:2401-2408 β both copies are in the same file, so extract the block into one function there and call it from each site β the copies drift apart the first time only one of them is edited. β These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, `KeitaiWorldLauncher/managers/UtilManager.vb:2409` calls `ToString`, `Trim`, `ToLower` and `KeitaiWorldLauncher/managers/UtilManager.vb:2348` does not β after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live.
Duplicated block (6 lines × 2) KeitaiWorldLauncher/MainForm.LibraryLayout.vb:365β KeitaiWorldLauncher/MainForm.LibraryLayout.vb:365-370 | KeitaiWorldLauncher/MainForm.LibraryLayout.vb:2408-2413 β both copies are in the same file, so extract the block into one function there and call it from each site β the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at `KeitaiWorldLauncher/MainForm.LibraryLayout.vb:365` it does not close everything it opens, so those exact lines cannot be lifted as they stand β widen the region to the smallest complete statement or declaration that contains it, and extract that. β These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, `KeitaiWorldLauncher/MainForm.LibraryLayout.vb:2407` calls `Add`, `ColumnStyle` and `KeitaiWorldLauncher/MainForm.LibraryLayout.vb:364` does not β after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live.
Duplicated block (5 lines × 4) KeitaiWorldLauncher/MainForm.LibraryLayout.vb:1176β KeitaiWorldLauncher/MainForm.LibraryLayout.vb:1176-1180 | KeitaiWorldLauncher/Managers/UIDialogManager.vb:371-375 | KeitaiWorldLauncher/Managers/UIDialogManager.vb:472-476 | KeitaiWorldLauncher/Managers/UIDialogManager.vb:593-597 β there are 4 copies across 2 file(s) β more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 4 sites; resolving a subset leaves the remainder to drift apart. β These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, `KeitaiWorldLauncher/MainForm.LibraryLayout.vb:1174` calls `Add`, `ColumnStyle` and `KeitaiWorldLauncher/Managers/UIDialogManager.vb:370` does not β after which the two agree again for 3 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live.
M1 Β· Documentation (README)Β· README may be stale Β· Γ1
README may be stale β 32 code files changed in the last 6 months but the README was not touched β it may no longer reflect the system.
No CI pipeline β No CI workflow found (.github/workflows, azure-pipelines.yml, .gitlab-ci.yml, β¦) β changes aren't gated by an automated build/test.
SC1 Β· Supply-chain hygieneΒ· NuGet dependencies are not locked Β· Γ1
NuGet dependencies are not locked β No packages.lock.json and no central package management β restores aren't reproducible or pinned (SSDF PW.4.4). Enable <RestorePackagesWithLockFile>true</RestorePackagesWithLockFile> (commit the lockfile) or adopt Directory.Packages.props. Advisory β never scored.
Documentation: no project overview README.mdβ The document begins with '## What it does' and ends with '### WIP', but there is no single paragraph stating what the project is or what it does for readers who skim past the overview. Add a one-paragraph description of Keitai World Launcher's purpose (universal launcher, server-centric access to Games, Apps, Chara-Den, Machi-Chara) so an outsider can grasp the project without reading through the WIP.
Documentation: no installation or build instructions README.mdβ Setup is described but there are no install/build or configuration steps for a new user. Add installation instructions (how to get the launcher, where to place files) and build/usage commands from the shell block.
README/code drift β README omits the KWL-Updater project entirely β reported by the model that read the README against this repository; no term search was run for this one, so nothing here has been checked against the tree. Treat it as a reading to confirm, not as a measured contradiction: verify it against the code before acting on it, and if the footprint it describes does exist, this row is wrong.
README/code drift β README omits SD Card data handling (SVC0000{GAME JAM} folder) β reported by the model that read the README against this repository; no term search was run for this one, so nothing here has been checked against the tree. Treat it as a reading to confirm, not as a measured contradiction: verify it against the code before acting on it, and if the footprint it describes does exist, this row is wrong.
No ADRs found β No ADRs found. No recognised ADR directory (`docs/adr/`, `docs/decisions/`, `adr/`, `docs/rfcs/`, an `ADR0001/` folder, or their siblings) exists anywhere in this tree. What was searched, so you can tell an empty log from a search that missed one: every directory under the tree (build output, dependencies and VCS metadata excepted), for a document that is either any non-index page inside a recognised ADR directory, whatever its name and however deeply nested (`docs/adr/use-postgres.md`, `docs/adr/2024/0001-x.md`); or a file anywhere whose name is ADR-shaped (`0001-use-postgres.md`, `adr-012-caching.md`); or, when neither turned anything up, a document carrying the decision-record signature (an "Architecture Decision Record" heading, or Status / Context / Decision / Consequences as section headings). A decision log that clears none of these β unnumbered files outside any recognised directory, without those headings β is not seen by this check and this row is then wrong. If that is your case, say so rather than renaming anything; otherwise, consider recording architectural decisions in `docs/adr/`.
No tests found β No test suite could be collected β no discoverable tests to count. If this repository does test, wiring the suite to a framework a runner can collect (xUnit, NUnit or MSTest) is what makes it countable here; a pipeline step that invokes a runner is not evidence on its own, because a runner over an empty suite passes. Tests written as plain executables or shell/PowerShell harnesses are not collectible this way and are not scored here.
No ADRs β No Architecture Decision Records found β no conventional ADR directory, no numbered `NNNN-title` documents in any markup this check reads, and nothing ADR-shaped by content. Design rationale recorded elsewhere (a design-notes tree, a mailing list, pull-request discussion) is not visible to this check and is not re-findable per decision, so a future maintainer cannot ask why one choice was made and get an answer.
M2 Β· Architecture documentationΒ· No architecture diagram/doc Β· Γ1
No architecture diagram/doc β No C4/Structurizr/PlantUML/Mermaid/Graphviz/D2 diagram, no drawn diagram named for the architecture, no file named `architecture` or `design` in any markup this check reads, and nothing in the README, docs or contributor guides that announces the shape β no `## Architecture` heading, no "architecture overview"/"high-level design" phrasing, no "the architecture is β¦" introduction, no guided code tour. A shape laid out in prose that never names itself as the architecture is not visible to this check, and neither is one kept outside the repository, so this row reports the absence of a re-findable shape document β not evidence that nobody wrote the shape down.
P3 Β· Security & performance toolingΒ· No SAST Β· Γ1
No SAST β No static application security testing detected. For this repository's stack, add a Roslyn security analyzer package referenced from the project (the analyzer packages do analyse VB.NET), plus gitleaks for committed secrets β CodeQL has no VB.NET extractor, so its csharp pack would extract nothing from this tree and then report it clean β this repository has no CI pipeline yet, so run it locally to clear the existing findings, then make it a step of the first workflow you add so a regression fails the build. What was searched, so you can tell an absence from a miss: the 0 CI workflow file(s) in this repository, and the scanner and linter configuration checked in beside them. A scan that runs outside CI, one configured in your forge's web UI rather than in a committed file, or a tool whose name is none of those this check carries, is not seen β if that is your case the row is wrong, and saying so is more useful than adding a second scanner.
Outdated: Microsoft.Web.WebView2 β Microsoft.Web.WebView2 1.0.3650.58 β 1.0.4258.31 available (referenced by KeitaiWorldLauncher).
Outdated: ReaLTaiizor β ReaLTaiizor 3.8.1.4 β 3.8.2.1 available (referenced by KeitaiWorldLauncher).
Outdated: System.Text.Encoding.CodePages β System.Text.Encoding.CodePages 10.0.1 β 10.0.12 available (referenced by KeitaiWorldLauncher).
Appendix B β Reproduction & audit trail
Every external tool invocation behind a deep-scan dimension β the tool, its captured version, the exact command, how many findings it yielded, and a link to the retained raw output. To reproduce any finding: check out the same commit and run the command shown (repo-relative β never an absolute scratch path). The complete raw scanner output is retained verbatim under artifacts/raw/ (indexed in artifacts/raw/index.json); per-invocation exit codes and wall-clock durations are in sidecar.json β kept out of this table so the rendered report stays byte-identical across runs of the same commit.
nuget: not applicable β nuget: the solution did not restore on the analyzer's .NET SDK (an SDK/target-framework/restore mismatch, common for an older codebase), so there was no restored dependency graph to scan
trivy: not applicable β No Infrastructure-as-Code or container manifests found (Dockerfile, Docker Compose, Terraform, Kubernetes/Helm, CloudFormation, ARM, Bicep, Ansible); nothing to scan.
semgrep: not applicable β No personal data was found crossing a boundary the PII/GDPR ruleset checks β nothing written to a log or console sink, placed in a URL or query string, or persisted to browser storage. That is a clean result for the LEAK surface only: this ruleset detects personal data escaping, it does not inventory the personal data a repository holds, so it is not evidence that this repository has no personal-data surface. The personal-data map (Appendix C) and the C1-C5 compliance cards are what speak to that.
provenance: not applicable β No CI/build pipeline found (.github/.forgejo/.gitea workflows, .circleci, .buildkite, .woodpecker, .teamcity, .gitlab-ci.yml, .travis.yml, bitbucket-pipelines.yml, .drone.yml, .cirrus.yml, .woodpecker.yml, appveyor.yml, azure-pipelines*.yml, .pipelines/, .vsts-ci/, .azuredevops/, Jenkinsfile); there is no build to attest provenance for.
disclosure: not applicable β No vulnerability-disclosure policy file found (SECURITY.md/.markdown/.rst/.txt at root or under .github/.forgejo/.gitea/docs, .well-known/security.txt). A coordinated-disclosure policy may live off-repo, so this is not evidenced rather than failed.
runtime-hardening: not applicable β No Kubernetes/orchestration workloads found in the repository manifests; network egress policy is a cluster-native control that may live at the platform/firewall layer, so there is nothing to assess here.
runtime-hardening: not applicable β No Kubernetes/orchestration workloads found in the repository manifests; seccomp/AppArmor/SELinux confinement is a workload-level control, so there is nothing to assess here.
runtime-hardening: not applicable β No Kubernetes/orchestration workloads found in the repository manifests; runtime threat-detection and admission-control policy are cluster-level controls, so there is nothing to assess here.
none (no readable dependency manifest): not applicable β Not scored β no dependency manifest in a supported ecosystem was read for this repository. A gap in the analyzer's language coverage, NOT a finding that the repository is free of vulnerable dependencies (a Python pyproject.toml/requirements.txt (pip/uv/Poetry), a Swift Package.swift/Package.resolved, a Cargo manifest, a Go module (go.mod/go.sum), a Gradle version catalogue, a Maven POM, an sbt build (build.sbt), composer.json, package.json, a Dart pubspec.yaml, an Elixir mix.exs/mix.lock (Hex), a rebar.config / erlang.mk DEPS (Hex), a Ruby Gemfile/Gemfile.lock or .gemspec (Bundler/RubyGems) β not scanned yet).
0
β
Run 01a0f7bb-ba9c-7dc6-9cd7-497232c0eca2 Β· every finding is also locatable in findings.md, and the complete scoring record (with exit codes + durations) in sidecar.json.
Issues: 20 Β· Warnings: 113 Β· Recommendations: 9 Β· Info: 3 β Appendix A Β· all findings Β· full markdown report.
Generated by Watchdog β deterministic code-health analysis. 01-10-2026 @ 13:51 UTC.
Downloadable artifacts
Machine-readable and reproducible from this commit + frozen rubric β drop them straight into a contract appendix, a CRA dossier, or a downstream SCA / VEX tool.