Public report of red-gezi/TouhouMachineLearning2023, published 17 November 2026. It has the same score, grades and number of
findings as the full report. The details of security findings (where they are in the code, which known
vulnerabilities and which passwords or keys were found) are left out, so nobody can use them against the project.
Public
Executive reportMeasured under the Code Assurance Index, an open standard for code quality, using its published scoring rules (rubric version 2026.11.4). Assert signed this survey and filed it in the standard's public register, where anyone can look it up by its survey ID. Check this survey →
Signed and filed in the standard's public register, 17 November 2026, 19:53 UTC · Survey ID cd_93853dd6b84e42f2a637d791eda61301
red-gezi/TouhouMachineLearning2023
Measured 17 November 2026, 19:52 UTC, at code version 8776ec8
Code coverage is not measured: The repo's test suite did not build.
Test reliability is not measured: No test run produced results.
Boundary Type-Coupling is not measured: Bounded contexts not declared.
CAI scoreProvisional
The score is built from these lenses. Each lens grades one area of the code, such as how easy it is to change or how well it is protected. The weakest lens counts most, so one weak area pulls the score down instead of being averaged away.
A medium codebase: 63,664 lines of product code in 15 projects, tests not counted · Estimated rebuild effort: about 0.4 person-years · Weakest lens: Security and Compliance, 20.0
Findings by how serious they are
28 critical413 serious98 minor
9 dimensions are left out of the score. For each one, we either couldn't measure it in this code, or found no evidence of the safeguard we look for, such as a tested backup restore. They count neither for nor against the score, and Limitations lists each one with its reason.
This survey was produced by
Canine Code Analyzer
Producer
Canine Development
Analyzer
Canine Code Analyzer engine 1.0.0
Measured
17 November 2026, 19:52 UTC
A measurement, not a certificate. The Code Assurance Index records a number
together with the evidence it was worked out from, so anyone can recalculate it, but it doesn't certify or guarantee
the code. The standard was written by Canine Development, which also builds the Canine Code Analyzer. It is open to any tool that
implements it, and today the Canine Code Analyzer is the only one that does.
The code didn't build, so the score is provisional
We couldn't build the code: the build stopped with 20 errors. The dimensions that need a working build, such as complexity, duplication and dead code, were measured on an incomplete picture of the code, so their grades and the score are provisional. Fix the build errors and run the survey again for a final score. The first errors: CS0006: Metadata file 'D:/VisualStudio/Common7/IDE/Extensions/Microsoft/Visual Studio Tools for Unity/Analyzers/Microsoft.Unity.Analyzers.dll' could not be found; CS0006: Metadata file 'D:/Unity3D/2022.3.14f1/Editor/Data/Tools/Unity.SourceGenerators/Unity.SourceGenerators.dll' could not be found; CS0006: Metadata file 'D:/Unity3D/2022.3.14f1/Editor/Data/Tools/Unity.SourceGenerators/Unity.Properties.SourceGenerator.dll' could not be found
The score is deterministic, which means the same code always gets the same score. We work it out with tools that follow published rules, and an AI model never decides it, so anyone who applies the same rules to the same code gets the same number. How it is done is explained under Methodology ▸
65of 65 dimensions measured by tools.
528of 539 findings point to an exact file and line, so you can open each one in the code. The other 11 concern the repository as a whole, such as missing documentation.
65dimensions across 7 lenses, read from 63,664 lines of product code in 15 projects.
red-gezi/TouhouMachineLearning2023 has a provisional result, because the code didn't build. Its score is held back because we found no access checks on the code's endpoints or handlers and it has places where passwords are scrambled with a fast general-purpose hash. It scores 30.8 out of 100, and the ratings may change once the code builds. 12 of its 28 critical findings are security problems.
Security and Compliance, at 20.0, is the weakest lens and counts most in the score. The best first step for the work it takes is updating the nine dependencies with a known vulnerability, worth about 3.8 points. Adding access checks would lift Security and Compliance itself, worth about 6.4 points. Raising Security and Compliance to 70 would lift the score to about 40.0.
Nine known security holes in the packages the code depends on can be used by attackers. Updating the vulnerable packages would close this risk. Hashing passwords with a password-hashing function such as Argon2, bcrypt or PBKDF2 would fix the three places where passwords are scrambled with a fast general-purpose hash. The five loops of parts of the code that depend on each other need breaking by moving the shared parts into a project of their own.
The product code is 63,664 lines, about €54,000 to rebuild.
A lens is capped at Adequate while one of its dimensions scores below 4 out of 10, however well the rest of the lens does. That way a serious problem in one place always shows in the lens's rating.
How the score is built: what each lens counts forThe lenses don't count equally. The weakest lens counts most, the next weakest a little less, and so on, so a weak area pulls the score down instead of being averaged away. In the bar below, each part's width shows how much that lens counts and its colour shows its rating. Improving the widest part moves the score most, and as that lens improves, it counts for less, because another lens becomes the weakest.
If Security and Compliance rose from 20.0 to 70, the lowest score rated Strong, the score would rise from 30.8 to about 40.0.
Code composition: what the lines of code are
Business logic 25%Supporting code 75%Tests 1%
Rebuild cost: about €54,000 · Estimate
Cost to rebuild
€18,000 to €91,000, for 301 to 954 hours of work, about 0.4 person-years for one engineer
Difficulty of the problem
Standard, judged from the kind of software and how it is built. Code that solves a harder problem, such as payments or medical bookings, costs more per line to write.
Quality factor
×0.7 at a score of 31. Better code takes more work to write, so the factor is ×1.0 at a score of 70, lower below it and higher above it.
Size
Medium: 63,664 lines of product code
Comment lines
The estimate prices 45,959 lines. Comment lines count towards the size of 63,664 lines but aren't priced as work.
What it is not
Not a quotation: nobody has offered to build it for that. Not a valuation: it says nothing about what the business is worth. Not a certified figure: no professional has signed it as one.
How the estimate is made: We price the hours a team would need to write this code again, at €60 to €95 an hour. Declarations and boilerplate are priced at a fast rate and logic at a slower one, and the logic is then multiplied by the difficulty of the problem and by the quality factor. The estimate can be about 30% off either way, and it moves most with the hourly rate and the difficulty.
Top priorities
The three actions that raise the score most for the work they take. The full ranked list is in the Roadmap.
1
Resolve the 9 High CVE finding(s) in Dependency Vulnerabilities — start with REDACTED (5), REDACTED (2), REDACTED.
Protect endpoints by default-deny: [Authorize] + role/policy authorization, or imperative guard methods (throw-on-violation) called from every handler.
Raises the score by about 6.4 points · Medium effort · Access Controls
Diagnosis: what the measurements show together
Each conclusion below combines several dimensions into one point that no single dimension shows, and lists the measurements it rests on.
If you do one thing first · First action
Fix the build. The code didn't build, so the dimensions that need a working build were measured on an incomplete picture of the code, and every grade in this report is provisional. Once the build works, the next survey gives a final score. The compiler's first errors: CS0006: Metadata file 'D:/VisualStudio/Common7/IDE/Extensions/Microsoft/Visual Studio Tools for Unity/Analyzers/Microsoft.Unity.Analyzers.dll' could not be found; CS0006: Metadata file 'D:/Unity3D/2022.3.14f1/Editor/Data/Tools/Unity.SourceGenerators/Unity.SourceGenerators.dll' could not be found; CS0006: Metadata file 'D:/Unity3D/2022.3.14f1/Editor/Data/Tools/Unity.SourceGenerators/Unity.Properties.SourceGenerator.dll' could not be found
Based on: Solution Shape
Where the investment is most exposed · Value at risk
This code would cost about €54,000 to build again, about 0.4 person-years of work. Its weakest lens is Security and Compliance, at 20.0 (Critical). Security and Compliance is about how well the product is protected, and how it handles personal data. Because the weakest lens counts most in the score, work on Security and Compliance also moves the score most.
Based on: the rebuild estimate · the Security and Compliance grade · how much each lens counts
What to do: Start with the Security and Compliance actions in Top priorities.
Architecture — module dependency graph
Project dependencies, layered top-to-bottom; arrows show direction. Any dashed red edge points upward or sideways, which only happens where the projects form a dependency cycle. A graph without cycles has none.
Architecture: which parts of the code depend on which
The code is divided into modules, groups of code that each handle one part of the product, and a module depends on another when it uses code from it. The table lists the modules both down the side and across the top, in an order where each module should only use modules listed above it. A number in a cell means the module on that row uses the module in that column, and it counts the pairs of building blocks (types) that connect them. The one thing to look for is a mark above the diagonal line. It means two or more modules use each other in a loop (a dependency cycle), so none of them can be changed, tested or released on its own.
79 modules, with 61 dependencies between them. 5 loops run through 11 of the modules, marked above the diagonal.
The table shows the 40 modules with the most connections; 39 more are left out to keep it readable.
Which modules use which. The module on each row uses the module in each column, and the number counts the pairs of types that connect them. A cell above the diagonal is part of a loop.
Live2D.Cubism.Framework uses Live2D.Cubism.Core, so a change to Live2D.Cubism.Core can break Live2D.Cubism.Framework, while a change to Live2D.Cubism.Framework can't break Live2D.Cubism.Core.
Position
Above the diagonal, so it is part of a loop. Neither module can be changed, tested or released on its own until one of these dependencies is removed.
15→12 Server uses TouhouMachineLearningSummary.GameEnum✕
Connections
7 pairs of types, where a type in Server uses a type in TouhouMachineLearningSummary.GameEnum.
Server uses TouhouMachineLearningSummary.GameEnum, so a change to TouhouMachineLearningSummary.GameEnum can break Server, while a change to Server can't break TouhouMachineLearningSummary.GameEnum.
Position
Below the diagonal: Server uses a module listed above it, which is the healthy direction.
TouhouMachineLearningSummary.Control uses TouhouMachineLearningSummary.GameEnum, so a change to TouhouMachineLearningSummary.GameEnum can break TouhouMachineLearningSummary.Control, while a change to TouhouMachineLearningSummary.Control can't break TouhouMachineLearningSummary.GameEnum.
Position
Below the diagonal: TouhouMachineLearningSummary.Control uses a module listed above it, which is the healthy direction.
TouhouMachineLearningSummary.Test uses TouhouMachineLearningSummary.GameEnum, so a change to TouhouMachineLearningSummary.GameEnum can break TouhouMachineLearningSummary.Test, while a change to TouhouMachineLearningSummary.Test can't break TouhouMachineLearningSummary.GameEnum.
Position
Below the diagonal: TouhouMachineLearningSummary.Test uses a module listed above it, which is the healthy direction.
(global) uses TouhouMachineLearningSummary.GameEnum, so a change to TouhouMachineLearningSummary.GameEnum can break (global), while a change to (global) can't break TouhouMachineLearningSummary.GameEnum.
Position
Below the diagonal: (global) uses a module listed above it, which is the healthy direction.
Live2D.Cubism.Core uses Live2D.Cubism.Framework, so a change to Live2D.Cubism.Framework can break Live2D.Cubism.Core, while a change to Live2D.Cubism.Core can't break Live2D.Cubism.Framework.
Position
Below the diagonal: Live2D.Cubism.Core uses a module listed above it, which is the healthy direction.
Live2D.Cubism.Framework.HarmonicMotion uses Live2D.Cubism.Framework, so a change to Live2D.Cubism.Framework can break Live2D.Cubism.Framework.HarmonicMotion, while a change to Live2D.Cubism.Framework.HarmonicMotion can't break Live2D.Cubism.Framework.
Position
Below the diagonal: Live2D.Cubism.Framework.HarmonicMotion uses a module listed above it, which is the healthy direction.
Live2D.Cubism.Framework.HarmonicMotion uses Live2D.Cubism.Core, so a change to Live2D.Cubism.Core can break Live2D.Cubism.Framework.HarmonicMotion, while a change to Live2D.Cubism.Framework.HarmonicMotion can't break Live2D.Cubism.Core.
Position
Below the diagonal: Live2D.Cubism.Framework.HarmonicMotion uses a module listed above it, which is the healthy direction.
Live2D.Cubism.Framework.LookAt uses Live2D.Cubism.Framework, so a change to Live2D.Cubism.Framework can break Live2D.Cubism.Framework.LookAt, while a change to Live2D.Cubism.Framework.LookAt can't break Live2D.Cubism.Framework.
Position
Below the diagonal: Live2D.Cubism.Framework.LookAt uses a module listed above it, which is the healthy direction.
Live2D.Cubism.Framework.LookAt uses Live2D.Cubism.Core, so a change to Live2D.Cubism.Core can break Live2D.Cubism.Framework.LookAt, while a change to Live2D.Cubism.Framework.LookAt can't break Live2D.Cubism.Core.
Position
Below the diagonal: Live2D.Cubism.Framework.LookAt uses a module listed above it, which is the healthy direction.
Live2D.Cubism.Framework.MouthMovement uses Live2D.Cubism.Framework, so a change to Live2D.Cubism.Framework can break Live2D.Cubism.Framework.MouthMovement, while a change to Live2D.Cubism.Framework.MouthMovement can't break Live2D.Cubism.Framework.
Position
Below the diagonal: Live2D.Cubism.Framework.MouthMovement uses a module listed above it, which is the healthy direction.
Live2D.Cubism.Framework.MouthMovement uses Live2D.Cubism.Core, so a change to Live2D.Cubism.Core can break Live2D.Cubism.Framework.MouthMovement, while a change to Live2D.Cubism.Framework.MouthMovement can't break Live2D.Cubism.Core.
Position
Below the diagonal: Live2D.Cubism.Framework.MouthMovement uses a module listed above it, which is the healthy direction.
Live2D.Cubism.Framework.Physics uses Live2D.Cubism.Framework, so a change to Live2D.Cubism.Framework can break Live2D.Cubism.Framework.Physics, while a change to Live2D.Cubism.Framework.Physics can't break Live2D.Cubism.Framework.
Position
Below the diagonal: Live2D.Cubism.Framework.Physics uses a module listed above it, which is the healthy direction.
Live2D.Cubism.Framework.Physics uses Live2D.Cubism.Core, so a change to Live2D.Cubism.Core can break Live2D.Cubism.Framework.Physics, while a change to Live2D.Cubism.Framework.Physics can't break Live2D.Cubism.Core.
Position
Below the diagonal: Live2D.Cubism.Framework.Physics uses a module listed above it, which is the healthy direction.
Live2D.Cubism.Framework.Pose uses Live2D.Cubism.Framework, so a change to Live2D.Cubism.Framework can break Live2D.Cubism.Framework.Pose, while a change to Live2D.Cubism.Framework.Pose can't break Live2D.Cubism.Framework.
Position
Below the diagonal: Live2D.Cubism.Framework.Pose uses a module listed above it, which is the healthy direction.
Live2D.Cubism.Framework.Pose uses Live2D.Cubism.Core, so a change to Live2D.Cubism.Core can break Live2D.Cubism.Framework.Pose, while a change to Live2D.Cubism.Framework.Pose can't break Live2D.Cubism.Core.
Position
Below the diagonal: Live2D.Cubism.Framework.Pose uses a module listed above it, which is the healthy direction.
Live2D.Cubism.Framework.Tasking uses Live2D.Cubism.Core, so a change to Live2D.Cubism.Core can break Live2D.Cubism.Framework.Tasking, while a change to Live2D.Cubism.Framework.Tasking can't break Live2D.Cubism.Core.
Position
Below the diagonal: Live2D.Cubism.Framework.Tasking uses a module listed above it, which is the healthy direction.
Live2D.Cubism.Rendering.Masking uses Live2D.Cubism.Framework, so a change to Live2D.Cubism.Framework can break Live2D.Cubism.Rendering.Masking, while a change to Live2D.Cubism.Rendering.Masking can't break Live2D.Cubism.Framework.
Position
Below the diagonal: Live2D.Cubism.Rendering.Masking uses a module listed above it, which is the healthy direction.
Live2D.Cubism.Rendering.Masking uses Live2D.Cubism.Core, so a change to Live2D.Cubism.Core can break Live2D.Cubism.Rendering.Masking, while a change to Live2D.Cubism.Rendering.Masking can't break Live2D.Cubism.Core.
Position
Below the diagonal: Live2D.Cubism.Rendering.Masking uses a module listed above it, which is the healthy direction.
26→30 Live2D.Cubism.Rendering.Masking uses Live2D.Cubism.Renderingpart of a loop✕
Connections
3 pairs of types, where a type in Live2D.Cubism.Rendering.Masking uses a type in Live2D.Cubism.Rendering.
Live2D.Cubism.Rendering.Masking uses Live2D.Cubism.Rendering, so a change to Live2D.Cubism.Rendering can break Live2D.Cubism.Rendering.Masking, while a change to Live2D.Cubism.Rendering.Masking can't break Live2D.Cubism.Rendering.
Position
Above the diagonal, so it is part of a loop. Neither module can be changed, tested or released on its own until one of these dependencies is removed.
TouhouMachineLearningSummary.Dialogue uses Live2D.Cubism.Core, so a change to Live2D.Cubism.Core can break TouhouMachineLearningSummary.Dialogue, while a change to TouhouMachineLearningSummary.Dialogue can't break Live2D.Cubism.Core.
Position
Below the diagonal: TouhouMachineLearningSummary.Dialogue uses a module listed above it, which is the healthy direction.
TouhouMachineLearningSummary.Manager uses TouhouMachineLearningSummary.GameEnum, so a change to TouhouMachineLearningSummary.GameEnum can break TouhouMachineLearningSummary.Manager, while a change to TouhouMachineLearningSummary.Manager can't break TouhouMachineLearningSummary.GameEnum.
Position
Below the diagonal: TouhouMachineLearningSummary.Manager uses a module listed above it, which is the healthy direction.
TouhouMachineLearningSummary.Manager uses TouhouMachineLearningSummary.Model, so a change to TouhouMachineLearningSummary.Model can break TouhouMachineLearningSummary.Manager, while a change to TouhouMachineLearningSummary.Manager can't break TouhouMachineLearningSummary.Model.
Position
Below the diagonal: TouhouMachineLearningSummary.Manager uses a module listed above it, which is the healthy direction.
TouhouMachineLearningSummary.Manager uses Live2D.Cubism.Core, so a change to Live2D.Cubism.Core can break TouhouMachineLearningSummary.Manager, while a change to TouhouMachineLearningSummary.Manager can't break Live2D.Cubism.Core.
Position
Below the diagonal: TouhouMachineLearningSummary.Manager uses a module listed above it, which is the healthy direction.
28→35 TouhouMachineLearningSummary.Manager uses TouhouMachineLearningSummarypart of a loop✕
Connections
4 pairs of types, where a type in TouhouMachineLearningSummary.Manager uses a type in TouhouMachineLearningSummary.
TouhouMachineLearningSummary.Manager uses TouhouMachineLearningSummary, so a change to TouhouMachineLearningSummary can break TouhouMachineLearningSummary.Manager, while a change to TouhouMachineLearningSummary.Manager can't break TouhouMachineLearningSummary.
Position
Above the diagonal, so it is part of a loop. Neither module can be changed, tested or released on its own until one of these dependencies is removed.
Live2D.Cubism.Framework.Json uses Live2D.Cubism.Framework.UserData, so a change to Live2D.Cubism.Framework.UserData can break Live2D.Cubism.Framework.Json, while a change to Live2D.Cubism.Framework.Json can't break Live2D.Cubism.Framework.UserData.
Position
Below the diagonal: Live2D.Cubism.Framework.Json uses a module listed above it, which is the healthy direction.
Live2D.Cubism.Framework.Json uses Live2D.Cubism.Core, so a change to Live2D.Cubism.Core can break Live2D.Cubism.Framework.Json, while a change to Live2D.Cubism.Framework.Json can't break Live2D.Cubism.Core.
Position
Below the diagonal: Live2D.Cubism.Framework.Json uses a module listed above it, which is the healthy direction.
Live2D.Cubism.Framework.Json uses Live2D.Cubism.Framework.Physics, so a change to Live2D.Cubism.Framework.Physics can break Live2D.Cubism.Framework.Json, while a change to Live2D.Cubism.Framework.Json can't break Live2D.Cubism.Framework.Physics.
Position
Below the diagonal: Live2D.Cubism.Framework.Json uses a module listed above it, which is the healthy direction.
Live2D.Cubism.Rendering uses Live2D.Cubism.Framework, so a change to Live2D.Cubism.Framework can break Live2D.Cubism.Rendering, while a change to Live2D.Cubism.Rendering can't break Live2D.Cubism.Framework.
Position
Below the diagonal: Live2D.Cubism.Rendering uses a module listed above it, which is the healthy direction.
Live2D.Cubism.Rendering uses Live2D.Cubism.Core, so a change to Live2D.Cubism.Core can break Live2D.Cubism.Rendering, while a change to Live2D.Cubism.Rendering can't break Live2D.Cubism.Core.
Position
Below the diagonal: Live2D.Cubism.Rendering uses a module listed above it, which is the healthy direction.
Live2D.Cubism.Rendering uses Live2D.Cubism.Rendering.Masking, so a change to Live2D.Cubism.Rendering.Masking can break Live2D.Cubism.Rendering, while a change to Live2D.Cubism.Rendering can't break Live2D.Cubism.Rendering.Masking.
Position
Below the diagonal: Live2D.Cubism.Rendering uses a module listed above it, which is the healthy direction.
TouhouMachineLearningSummary.Config uses TouhouMachineLearningSummary.GameEnum, so a change to TouhouMachineLearningSummary.GameEnum can break TouhouMachineLearningSummary.Config, while a change to TouhouMachineLearningSummary.Config can't break TouhouMachineLearningSummary.GameEnum.
Position
Below the diagonal: TouhouMachineLearningSummary.Config uses a module listed above it, which is the healthy direction.
TouhouMachineLearningSummary.Config uses TouhouMachineLearningSummary.Manager, so a change to TouhouMachineLearningSummary.Manager can break TouhouMachineLearningSummary.Config, while a change to TouhouMachineLearningSummary.Config can't break TouhouMachineLearningSummary.Manager.
Position
Below the diagonal: TouhouMachineLearningSummary.Config uses a module listed above it, which is the healthy direction.
31→35 TouhouMachineLearningSummary.Config uses TouhouMachineLearningSummarypart of a loop✕
Connections
3 pairs of types, where a type in TouhouMachineLearningSummary.Config uses a type in TouhouMachineLearningSummary.
TouhouMachineLearningSummary.Config uses TouhouMachineLearningSummary, so a change to TouhouMachineLearningSummary can break TouhouMachineLearningSummary.Config, while a change to TouhouMachineLearningSummary.Config can't break TouhouMachineLearningSummary.
Position
Above the diagonal, so it is part of a loop. Neither module can be changed, tested or released on its own until one of these dependencies is removed.
Live2D.Cubism.Framework.Expression uses Live2D.Cubism.Framework, so a change to Live2D.Cubism.Framework can break Live2D.Cubism.Framework.Expression, while a change to Live2D.Cubism.Framework.Expression can't break Live2D.Cubism.Framework.
Position
Below the diagonal: Live2D.Cubism.Framework.Expression uses a module listed above it, which is the healthy direction.
Live2D.Cubism.Framework.Expression uses Live2D.Cubism.Core, so a change to Live2D.Cubism.Core can break Live2D.Cubism.Framework.Expression, while a change to Live2D.Cubism.Framework.Expression can't break Live2D.Cubism.Core.
Position
Below the diagonal: Live2D.Cubism.Framework.Expression uses a module listed above it, which is the healthy direction.
Live2D.Cubism.Framework.Expression uses Live2D.Cubism.Framework.Json, so a change to Live2D.Cubism.Framework.Json can break Live2D.Cubism.Framework.Expression, while a change to Live2D.Cubism.Framework.Expression can't break Live2D.Cubism.Framework.Json.
Position
Below the diagonal: Live2D.Cubism.Framework.Expression uses a module listed above it, which is the healthy direction.
Live2D.Cubism.Framework.MotionFade uses Live2D.Cubism.Framework, so a change to Live2D.Cubism.Framework can break Live2D.Cubism.Framework.MotionFade, while a change to Live2D.Cubism.Framework.MotionFade can't break Live2D.Cubism.Framework.
Position
Below the diagonal: Live2D.Cubism.Framework.MotionFade uses a module listed above it, which is the healthy direction.
Live2D.Cubism.Framework.MotionFade uses Live2D.Cubism.Core, so a change to Live2D.Cubism.Core can break Live2D.Cubism.Framework.MotionFade, while a change to Live2D.Cubism.Framework.MotionFade can't break Live2D.Cubism.Core.
Position
Below the diagonal: Live2D.Cubism.Framework.MotionFade uses a module listed above it, which is the healthy direction.
Live2D.Cubism.Framework.MotionFade uses Live2D.Cubism.Framework.Json, so a change to Live2D.Cubism.Framework.Json can break Live2D.Cubism.Framework.MotionFade, while a change to Live2D.Cubism.Framework.MotionFade can't break Live2D.Cubism.Framework.Json.
Position
Below the diagonal: Live2D.Cubism.Framework.MotionFade uses a module listed above it, which is the healthy direction.
33→36 Live2D.Cubism.Framework.MotionFade uses Live2D.Cubism.Framework.Motionpart of a loop✕
Connections
1 pair of types, where a type in Live2D.Cubism.Framework.MotionFade uses a type in Live2D.Cubism.Framework.Motion.
Live2D.Cubism.Framework.MotionFade uses Live2D.Cubism.Framework.Motion, so a change to Live2D.Cubism.Framework.Motion can break Live2D.Cubism.Framework.MotionFade, while a change to Live2D.Cubism.Framework.MotionFade can't break Live2D.Cubism.Framework.Motion.
Position
Above the diagonal, so it is part of a loop. Neither module can be changed, tested or released on its own until one of these dependencies is removed.
Live2D.Cubism.Framework.Raycasting uses Live2D.Cubism.Core, so a change to Live2D.Cubism.Core can break Live2D.Cubism.Framework.Raycasting, while a change to Live2D.Cubism.Framework.Raycasting can't break Live2D.Cubism.Core.
Position
Below the diagonal: Live2D.Cubism.Framework.Raycasting uses a module listed above it, which is the healthy direction.
Live2D.Cubism.Framework.Raycasting uses Live2D.Cubism.Rendering, so a change to Live2D.Cubism.Rendering can break Live2D.Cubism.Framework.Raycasting, while a change to Live2D.Cubism.Framework.Raycasting can't break Live2D.Cubism.Rendering.
Position
Below the diagonal: Live2D.Cubism.Framework.Raycasting uses a module listed above it, which is the healthy direction.
TouhouMachineLearningSummary uses TouhouMachineLearningSummary.GameEnum, so a change to TouhouMachineLearningSummary.GameEnum can break TouhouMachineLearningSummary, while a change to TouhouMachineLearningSummary can't break TouhouMachineLearningSummary.GameEnum.
Position
Below the diagonal: TouhouMachineLearningSummary uses a module listed above it, which is the healthy direction.
TouhouMachineLearningSummary uses TouhouMachineLearningSummary.Config, so a change to TouhouMachineLearningSummary.Config can break TouhouMachineLearningSummary, while a change to TouhouMachineLearningSummary can't break TouhouMachineLearningSummary.Config.
Position
Below the diagonal: TouhouMachineLearningSummary uses a module listed above it, which is the healthy direction.
Live2D.Cubism.Framework.Motion uses Live2D.Cubism.Framework.MotionFade, so a change to Live2D.Cubism.Framework.MotionFade can break Live2D.Cubism.Framework.Motion, while a change to Live2D.Cubism.Framework.Motion can't break Live2D.Cubism.Framework.MotionFade.
Position
Below the diagonal: Live2D.Cubism.Framework.Motion uses a module listed above it, which is the healthy direction.
TouhouMachineLearningSummary.Command uses TouhouMachineLearningSummary.GameEnum, so a change to TouhouMachineLearningSummary.GameEnum can break TouhouMachineLearningSummary.Command, while a change to TouhouMachineLearningSummary.Command can't break TouhouMachineLearningSummary.GameEnum.
Position
Below the diagonal: TouhouMachineLearningSummary.Command uses a module listed above it, which is the healthy direction.
TouhouMachineLearningSummary.Command uses TouhouMachineLearningSummary.Model, so a change to TouhouMachineLearningSummary.Model can break TouhouMachineLearningSummary.Command, while a change to TouhouMachineLearningSummary.Command can't break TouhouMachineLearningSummary.Model.
Position
Below the diagonal: TouhouMachineLearningSummary.Command uses a module listed above it, which is the healthy direction.
TouhouMachineLearningSummary.Command uses TouhouMachineLearningSummary.Manager, so a change to TouhouMachineLearningSummary.Manager can break TouhouMachineLearningSummary.Command, while a change to TouhouMachineLearningSummary.Command can't break TouhouMachineLearningSummary.Manager.
Position
Below the diagonal: TouhouMachineLearningSummary.Command uses a module listed above it, which is the healthy direction.
TouhouMachineLearningSummary.Command uses TouhouMachineLearningSummary, so a change to TouhouMachineLearningSummary can break TouhouMachineLearningSummary.Command, while a change to TouhouMachineLearningSummary.Command can't break TouhouMachineLearningSummary.
Position
Below the diagonal: TouhouMachineLearningSummary.Command uses a module listed above it, which is the healthy direction.
TouhouMachineLearningSummary.GameSystem uses TouhouMachineLearningSummary.GameEnum, so a change to TouhouMachineLearningSummary.GameEnum can break TouhouMachineLearningSummary.GameSystem, while a change to TouhouMachineLearningSummary.GameSystem can't break TouhouMachineLearningSummary.GameEnum.
Position
Below the diagonal: TouhouMachineLearningSummary.GameSystem uses a module listed above it, which is the healthy direction.
TouhouMachineLearningSummary.GameSystem uses TouhouMachineLearningSummary, so a change to TouhouMachineLearningSummary can break TouhouMachineLearningSummary.GameSystem, while a change to TouhouMachineLearningSummary.GameSystem can't break TouhouMachineLearningSummary.
Position
Below the diagonal: TouhouMachineLearningSummary.GameSystem uses a module listed above it, which is the healthy direction.
TouhouMachineLearningSummary.Info uses TouhouMachineLearningSummary.GameEnum, so a change to TouhouMachineLearningSummary.GameEnum can break TouhouMachineLearningSummary.Info, while a change to TouhouMachineLearningSummary.Info can't break TouhouMachineLearningSummary.GameEnum.
Position
Below the diagonal: TouhouMachineLearningSummary.Info uses a module listed above it, which is the healthy direction.
TouhouMachineLearningSummary.Info uses TouhouMachineLearningSummary.Model, so a change to TouhouMachineLearningSummary.Model can break TouhouMachineLearningSummary.Info, while a change to TouhouMachineLearningSummary.Info can't break TouhouMachineLearningSummary.Model.
Position
Below the diagonal: TouhouMachineLearningSummary.Info uses a module listed above it, which is the healthy direction.
TouhouMachineLearningSummary.Info uses (global), so a change to (global) can break TouhouMachineLearningSummary.Info, while a change to TouhouMachineLearningSummary.Info can't break (global).
Position
Below the diagonal: TouhouMachineLearningSummary.Info uses a module listed above it, which is the healthy direction.
TouhouMachineLearningSummary.Info uses TouhouMachineLearningSummary.Manager, so a change to TouhouMachineLearningSummary.Manager can break TouhouMachineLearningSummary.Info, while a change to TouhouMachineLearningSummary.Info can't break TouhouMachineLearningSummary.Manager.
Position
Below the diagonal: TouhouMachineLearningSummary.Info uses a module listed above it, which is the healthy direction.
TouhouMachineLearningSummary.Info uses TouhouMachineLearningSummary, so a change to TouhouMachineLearningSummary can break TouhouMachineLearningSummary.Info, while a change to TouhouMachineLearningSummary.Info can't break TouhouMachineLearningSummary.
Position
Below the diagonal: TouhouMachineLearningSummary.Info uses a module listed above it, which is the healthy direction.
TouhouMachineLearningSummary.Other uses TouhouMachineLearningSummary, so a change to TouhouMachineLearningSummary can break TouhouMachineLearningSummary.Other, while a change to TouhouMachineLearningSummary.Other can't break TouhouMachineLearningSummary.
Position
Below the diagonal: TouhouMachineLearningSummary.Other uses a module listed above it, which is the healthy direction.
At a glance — Code Health · 61.9 · Adequate · gated by D18 ·
Findings mapped to OWASP categories; the specific CVEs/secrets are in the Security dimension cards below and findings.md (redacted only on the public version of this report).
OWASP category
Findings
Severity
A03:2025 — Software Supply Chain Failures
13
High / Critical
A05:2025 — Injection
8
Medium
Roadmap
Top priorities: Protect endpoints by default-deny: [Authorize] + role/policy authorization, or imperative guard methods (throw-on-violation) called from every handler; Store passwords with a salted KDF — `Microsoft.AspNetCore.Identity.PasswordHasher<T>`, `Rfc2898DeriveBytes` (PBKDF2), or BCrypt/Argon2 — and compare with `CryptographicOperations.FixedTimeEquals`. (A fast/plain hash, or a client-hashed value stored and compared verbatim, is not password storage.) Start in `OtherSolution/Server/Server/Extension.cs:15`; Encrypt sensitive data at rest (ASP.NET Core Data Protection / column encryption) and manage keys in a vault. Skip if delegated to infra (Postgres TDE, KMS, etc.).
Ranked by impact ÷ effort. "Helps" is the estimated gain on the 0–100 health score.
Do this
Helps
Effort
Dimension
Resolve the 9 High CVE finding(s) in Dependency Vulnerabilities — start with REDACTED (5), REDACTED (2), REDACTED.
Protect endpoints by default-deny: [Authorize] + role/policy authorization, or imperative guard methods (throw-on-violation) called from every handler.
Store passwords with a salted KDF — `Microsoft.AspNetCore.Identity.PasswordHasher<T>`, `Rfc2898DeriveBytes` (PBKDF2), or BCrypt/Argon2 — and compare with `CryptographicOperations.FixedTimeEquals`. (A fast/plain hash, or a client-hashed value stored and compared verbatim, is not password storage.) Start in `OtherSolution/Server/Server/Extension.cs:15`.
Encrypt sensitive data at rest (ASP.NET Core Data Protection / column encryption) and manage keys in a vault. Skip if delegated to infra (Postgres TDE, KMS, etc.).
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 — 28
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 — 413
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 — 98
Recorded, with no effect on how the codebase functions.
Present so the survey is complete, not because it needs doing.
Could not be resolved — 9
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
This survey 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. All 65 evaluated dimensions are computed by tools and static analysis; no language model sets or judges any of them. Overall confidence is 0.9, the weighted average across measured dimensions.
Every figure here is one of two 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. 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.
What we checked — 65 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, 528 of 539 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 or a scanner, 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.
D11 Test Reliability — not measured this run — We 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. Test reliability NOT MEASURED: the test run produced no results for any test tier, so no test ever ran and flakiness could not be exercised. The cause could not be attributed, so it is excluded from the score rather than read as an absence of tests.
D12 Dependency Hygiene — not measured this run — We 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. `dotnet list package` did not return usable output (restore or query failed); no outdated/vulnerable/deprecated data to assess. The tool said: `dotnet list package` exited 1 with no output.
D14 License Compliance — measured, with a gap in what it reached — We measured this, but not all of it. What we did not reach is a gap on our side — a collector, parser or image we have not built yet — so the numbers on that dimension cover less than the repository, and the part left out is not evidence that it would have passed. This repository declares a Unity UPM manifest (Packages/manifest.json or a package's package.json), but the licence verdict published here was taken over its NuGet package dependencies. Nothing was read about its Upm dependencies' licensing in either direction, and a clean score on this card must not be read as covering them.
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 84 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.
D17 Explicit Debt — measured, with a gap in what it reached — We measured this, but not all of it. What we did not reach is a gap on our side — a collector, parser or image we have not built yet — so the numbers on that dimension cover less than the repository, and the part left out is not evidence that it would have passed. The C# workspace loaded this repository's projects but reported a load failure, and the dead-code reference search is unreliable over a graph that did not load cleanly, so it was skipped. The other debt markers on this row were read; dead symbols were not, and their absence from the score is not a finding that the code has none. First load diagnostic: Failure: Msbuild failed when processing the file 'Sirenix.OdinInspector.Modules.UnityMathematics.csproj' with message: The referenced project Unity.Mathematics.csproj does not exist.
D19 Documentation Quality — not measured this run — We 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 kind did not reach the 95 % precision gate in three adjudicated runs (docs/plans/deterministic-engine/adjudication/D19-sample3-v3.md), so by the pre-registered fallback it publishes no row until a re-measurement shows it does. The candidates are counted here, not reported as findings, and the score does not include them.
D21 Naming Consistency — measured, with a gap in what it reached — We measured this, but not all of it. What we did not reach is a gap on our side — a collector, parser or image we have not built yet — so the numbers on that dimension cover less than the repository, and the part left out is not evidence that it would have passed. D21's naming rules read C# through Roslyn and every other language through its sidecar model; these languages are left out (PHP's reading is its own change, a Roslyn-loaded VB or F# project has no population builder yet). Their declarations carry no naming verdict this run — this says nothing about whether their names are consistent.
D21 Naming Consistency — measured, with a gap in what it reached — We measured this, but not all of it. What we did not reach is a gap on our side — a collector, parser or image we have not built yet — so the numbers on that dimension cover less than the repository, and the part left out is not evidence that it would have passed. PREREGISTRATION version 20's fallback (adjudication D21-sample3-v3): this rule kind was adjudicated below the 95 % precision gate, so its candidates are counted here and not published, and the score covers only the acronym-spelling and awaitable-suffix rules. The kind returns as rows only after it shows a measured precision; this says nothing about whether these names are consistent.
D21 Naming Consistency — measured, with a gap in what it reached — We measured this, but not all of it. What we did not reach is a gap on our side — a collector, parser or image we have not built yet — so the numbers on that dimension cover less than the repository, and the part left out is not evidence that it would have passed. PREREGISTRATION version 20's fallback (adjudication D21-sample3-v3): this rule kind was adjudicated below the 95 % precision gate, so its candidates are counted here and not published, and the score covers only the acronym-spelling and awaitable-suffix rules. The kind returns as rows only after it shows a measured precision; this says nothing about whether these names are consistent.
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.
D23 Boundary Type-Coupling — not measured this run — We 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. Large codebase (61,069 production LoC in the .NET projects) with no declared bounded contexts — cross-boundary type coupling is unassessed Bounded contexts cannot be inferred from a codebase that is not physically organised by them (D-321), so with none declared there are no boundaries for the coupling pass to measure across. You can widen what we reach: name this codebase's bounded contexts (≥2 module groups, e.g. per subsystem) so cross-boundary type coupling can 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 — measured, with a gap in what it reached — We measured this, but not all of it. What we did not reach is a gap on our side — a collector, parser or image we have not built yet — so the numbers on that dimension cover less than the repository, and the part left out is not evidence that it would have passed. D24 compares a comment's words with the identifiers, literals and constructs of the code it annotates, using English function-word and rationale lexicons. Comments in another script or language were left unread rather than counted as clean.
D28 Secrets (history) — not measured this run — We 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. `gitleaks` TIMED OUT after 90.6s against a 90.6s budget, so we killed its process tree. The budget is ours; the work may simply be larger than it allows. Nothing about this repository is asserted by the absence of a result; the budget is ours to raise, and raising it is our backlog item, not an action for this repository's owner.
D32 Data Compliance (PII/GDPR) — not measured this run — We 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. `Assets/Plugins/Live2D/Cubism/Framework/Json/CubismMotion3Json.cs`, `Assets/Script/2_BattleScene/State/StateCommand.cs`, `Assets/Script/9_MixedScene/Against/AgainstInfo.cs`, `Assets/Script/9_MixedScene/Music/MusicType.cs`, `OtherSolution/Server/Server/room/Room.cs` produced a parse error, so every rule in this engine's `gdpr.yml` was absent there. That absence is NOT a clean result: these rules detect personal data crossing a boundary into a log sink, a URL or browser storage, and a file that was never parsed cannot report any of the three. The rest of the tree analysed normally and its rows above stand; only these files are unaccounted for. You can widen what we reach: fix the syntax error (or exclude the file deliberately) and re-scan to cover it.
AC6 Visual & motion safety — measured, with a gap in what it reached — We measured this, but not all of it. What we did not reach is a gap on our side — a collector, parser or image we have not built yet — so the numbers on that dimension cover less than the repository, and the part left out is not evidence that it would have passed. 832 further occurrence(s) are not listed individually; the score already reflects all 872.
AX2 Stateful singletons — measured, with a gap in what it reached — We measured this, but not all of it. What we did not reach is a gap on our side — a collector, parser or image we have not built yet — so the numbers on that dimension cover less than the repository, and the part left out is not evidence that it would have passed. 16 further occurrence(s) are not listed individually; the score already reflects all 56.
AXR1 Runtime accessibility — not measured this run — We 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. Render strategy: boot via ToolchainServer (OtherSolution/Server). the service exited before it opened a port — `ASPNETCORE_URLS=http://127.0.0.1:0 ASPNETCORE_ENVIRONMENT=Development dotnet run --no-build --no-launch-profile --project 'REDACTED'`: userId, UInt32 groupId, UInt32[] groups, Int32& stdinFd, Int32& stdoutFd, Int32& stderrFd, Boolean usesTerminal, Boolean throwOnNoExec)
at System.Diagnostics.Process.StartCore(ProcessStartInfo star…; runtime evidence skipped (launch chosen because REDACTED is a Microsoft.NET.Sdk.Web project).
ED5 Idempotency — not measured this run — We 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 a handler's ENTRY METHODS to decide whether its mutation is safe to re-run. On these types it walked none of them, yet the same write oracle finds a persistent write in the type — so the mutation is there and the limit is in our entry-point recognition, not in the repository. Known shapes: a handler contract method implemented as an EXPLICIT INTERFACE IMPLEMENTATION, and a STATIC handler method (the Wolverine default).
IC1 Incompleteness & stubs — measured, with a gap in what it reached — We measured this, but not all of it. What we did not reach is a gap on our side — a collector, parser or image we have not built yet — so the numbers on that dimension cover less than the repository, and the part left out is not evidence that it would have passed. 149 further occurrence(s) are not listed individually; the score already reflects all 189.
X2 Cancellation propagation — measured, with a gap in what it reached — We measured this, but not all of it. What we did not reach is a gap on our side — a collector, parser or image we have not built yet — so the numbers on that dimension cover less than the repository, and the part left out is not evidence that it would have passed. 83 further occurrence(s) are not listed individually; the score already reflects all 123.
Repo exclusion declarations (.gitattributes linguist-generated/vendored, .editorconfig generated_code): none declared — every source file was scored.
Limitations & what we did not check
We assess the repository exactly as committed, and only the repository. By design we do 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.
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.
D20 ADR Quality: ADR quality checks the structure of the decision records present: it cannot know about decisions made and never recorded, and it does not judge how well a record argues its case. Records in a language the section lexicon does not cover are not evaluated.
D21 Naming Consistency: Naming consistency compares each name with the convention its structural peers follow in this repository: it cannot tell whether a consistently used name is a good one, and languages other than C# and TypeScript are not measured.
D24 Comment Value: Comment value is measured as redundancy only: a comment that repeats its code's words is found, but a paraphrase in other words, a vague comment, or one the code contradicts is not, and whether a comment is valuable is not claimed. Comments in other scripts or languages, and outside C#, are not judged.
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.
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").
D30 Dependency Vulnerabilities: CVE matching depends on accurate package/version metadata and on the advisory databases — a vulnerability with no published advisory, or in code not declared as a dependency, is not seen. Coverage needs a RESOLVED graph: an unpinned requirements.txt, or a pom without a resolved build, yields partial coverage rather than a clean verdict. An ecosystem the analyzer cannot scan is reported as unmeasured, never as clean.
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.
D43 Malicious Dependencies: Only packages some vulnerability database has already NAMED as malicious are seen — a compromise published in the last hours, or never reported at all, is invisible here, and this dimension reading 10 is not evidence that a dependency is trustworthy. There is no typosquat or dependency-confusion analysis: a package nobody has reported is simply absent from the feeds. Coverage is the dependency scan's: an ecosystem that could not be scanned is disclosed as unmeasured, never as clean.
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.
AC1 Text alternatives: Alt-text is detected structurally — the scan sees that an alternative EXISTS, not whether it meaningfully describes the image, and decorative-vs-missing is judged by attribute shape; runtime-injected images and a non-role=img decorative svg are out of scope. This is accessibility readiness, never a WCAG conformance claim.
AC2 Forms & labels: Label association is read from static markup — a label wired up at runtime (JS-set aria-labelledby, framework-injected ids) reads as missing, a present label says nothing about whether its text is correct. A known UI-library field component (e.g. a JSX <TextField>) is now checked conservatively — flagged only when it carries NO label/aria-label/aria-labelledby/id/name — but wrapper/context-labelled libraries (Chakra/Radix FormControl+FormLabel) aren't statically visible (possible false positive) and non-JSX lowercased components are still skipped. A click handler on a plain element is now asked for a name too (it is a control the author declared), but the subtree test that answers it is deliberately generous: any DYNAMIC text expression in the subtree counts as a name, so an icon chosen by a ternary ({cond ? <IconA/> : <IconB/>}) reads as named, and a glyph component from a library the icon-import list does not know still names its parent. A clean result is "no unlabelled control found", not a labelling proof.
AC3 Page structure: Page structure is read from the static markup tree — landmarks, headings and lang injected at runtime aren't seen, heading ORDER is checked structurally (not against the rendered visual hierarchy), and lang/title/main fire only on full documents, never partials, and the data-table check sees header-cell presence (a <th> exists), not whether each header correctly associates with its cells. Static readiness, not conformance.
AC4 Keyboard semantics: Keyboard semantics are inferred from markup attributes — interactivity wired purely in script, focus managed at runtime, and component-level handlers are invisible. A clean result means "no static keyboard-trap shape", not a keyboard-operability proof.
AC5 ARIA correctness: ARIA correctness is checked against the static role/attribute shape — roles/attributes set dynamically aren't seen, a valid role says nothing about whether it matches the element's real behaviour, and required-state checks are suppressed when a JSX spread could supply them. The two-branch toggle check (a control whose state is conveyed only by which of two mutually exclusive branches renders) reads CONDITIONALS THAT ARE ATTRIBUTES — Vue v-if/v-else/v-show and Alpine x-if/x-show — so the same toggle written as a Svelte {#if} block or a JSX ternary is control flow the markup model never projects as a branch and is not seen at all.
AC6 Visual & motion safety: Contrast and motion safety are PARTIAL by construction — literal colours (hex/rgb/hsl/named) in inline styles, in-repo <style> blocks, in-repo .css files, var() tokens, Tailwind neutral utilities and CSS-in-JS top-level declarations are read (same-rule/same-element colour+background pairs only); computed/runtime/theme colour, external-CDN stylesheets, CSS-in-JS dynamic (${…}) and nested-selector colours, cross-element pairs and image contrast stay out of reach, so a clean result is bounded by what the static CSS itself shows.
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: Documentation accuracy checks links, versions and artefact counts against the tree: other claims (paths, commands, settings, routes) are read but not checked, and it cannot run the onboarding or measure how long a real new joiner takes.
P6 Release Hygiene: Rollback/observability controls are inferred from repo artefacts (pipelines, dashboards-as-code) — controls configured in external tooling, with no in-repo trace, cannot be credited.
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.
14 method(s) exceeded the cyclomatic complexity threshold of 15; the worst was CubismJsonParser.ParseValue at 29. A further 11 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 MenuStateCommand.RefreshCurrentState at 20 — they are counted neither in the figure above nor in this dimension's score. 7 files carry no cyclomatic complexity row at all for this reason — every one of their over-threshold methods was excluded, so the exclusion is disclosed nowhere in the file itself: Assets/Script/1_LoginScene/PageState/MenuStateCommand.cs (MenuStateCommand.RefreshCurrentState at 20), OtherSolution/ServerVersions/Server/wwwroot/_content/AntDesign/js/split/modules/components/overlay.js (setVerticalCalculation at 17), OtherSolution/Server/bin/Release/net6.0/publish/wwwroot/_content/AntDesign/js/split/modules/components/overlay.js (Overlay.setVerticalCalculation at 17), OtherSolution/ServerVersions/Server/wwwroot/_content/AntDesign/js/split/modules/components/overlay.js (Overlay.setVerticalCalculation at 17), Assets/Script/1_LoginScene/Book/BookCommand.cs (BookCommand.ActiveCompment at 16), and 2 more not listed here. They are named here because the per-file figures other dimensions report are taken BEFORE this exclusion, so such a file can show a high maximum complexity elsewhere in this report and nothing here, with nothing to reconcile the two.
+ 9 more group(s) — more in Appendix A; the complete list is findings.md.
What to do
Bring the 14 bodies over 15 down to 15 or less in Cyclomatic Complexity — start with CubismJsonParser.ParseValue (cyclomatic 29), CubismModel3Json.ToModel (cyclomatic 28), CubismJsonParser.strToDouble (cyclomatic 27). — This score is capped by its worst body, so a finding fixed alone moves it by almost nothing — the next one down takes its place. Refactoring these 14 together lifts Cyclomatic Complexity from 8.2 to about 10.0/10, projected with the scoring formula itself and assuming each lands exactly at 15.
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.
+ 26 more group(s) — more in Appendix A; the complete list is findings.md.
What to do
Bring the 32 bodies over 15 down to 15 or less in Cognitive Complexity — start with DialogueCommand.RunOperationsAsync (cognitive 59), CubismModel3Json.ToModel (cognitive 52), CubismPoseMotionImporter.OnModelImport (cognitive 49). — This score is capped by its worst body, so a finding fixed alone moves it by almost nothing — the next one down takes its place. Refactoring these 32 together lifts Cognitive Complexity from 6.6 to about 10.0/10, projected with the scoring formula itself and assuming each lands exactly at 15.
Detailed fixes: d2_recommendation.md · top locations in Appendix A, every location in findings.md.
Do you agree with this assessment?
D3 · God Classes9.7 / 10Stronggated by 6 serious findings✓ 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 4 TooManyMethods finding(s) in God Classes — start with REDACTED, overlay.js, CubismRenderer.cs. — One of this dimension's main actionable groups (4 warning-level).
Resolve the 1 ClassTooLong finding(s) in God Classes — start with overlay.js. — One of this dimension's main actionable groups (1 warning-level).
Resolve the 1 FileTooLong finding(s) in God Classes — start with overlay.js. — One of this dimension's main actionable groups (1 warning-level).
Detailed fixes: d3_recommendation.md · top locations in Appendix A, every location in findings.md.
What it measures: How much of the production code is copy-pasted: the share of production lines inside a reported copy (every copy of a duplicated block or of an edited member, each line once), 10 at none and 0 at a quarter of the lines.
Method: Code duplication via token-stream sliding windows with type-aware normalization (locals masked, type names preserved), scored on the share of production lines inside a reported copy (each line once; 10 at none, 0 at a quarter). Deterministic.
39 duplicated block group(s) detected. 5.3 % of the production lines (3,207 of 61,069) are in a reported copy. A further 34 rows report members as variants of one another; the share counts each copied line once, however many rows cite it.
Edited copies of one member (4 members, 18+ corresponding lines) · ×2Assets/Script/9_MixedScene/CardSpace/CardM_N1_0L_001.cs:14
+ 47 more group(s) — more in Appendix A; the complete list is findings.md.
What to do
Resolve the 5 Duplicated block (6 lines × 2) finding(s) in Code Duplication — start with CardM_S0_3C_004.cs, AgainstSummaryManager.cs, ConfigManager.cs. — One of this dimension's main actionable groups (5 warning-level).
Resolve the 4 Edited copy of a member (20 corresponding lines) finding(s) in Code Duplication — start with CardM_T0_3C_005.cs, CardM_T0_3C_004.cs, CardM_T0_1G_003.cs. — One of this dimension's main actionable groups (4 warning-level).
Resolve the 3 Edited copy of a member (17 corresponding lines) finding(s) in Code Duplication — start with CardM_N0_2S_005.cs, CardM_S0_3C_002.cs, CardM_N8_1G_001.cs. — One of this dimension's main actionable groups (3 warning-level).
Detailed fixes: d4_recommendation.md · top locations in Appendix A, every location in findings.md.
Do you agree with this assessment?
D5 · Coupling6.0 / 10Adequate✓ 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.
Resolve the 5 Off the main sequence finding(s) in Coupling — start with Sirenix.OdinInspector.CompatibilityLayer.csproj, Sirenix.OdinInspector.Modules.UnityMathematics.csproj, Steam.csproj. — One of this dimension's main actionable groups (5 warning-level).
Resolve the 1 Unstable project Assembly-CSharp finding(s) in Coupling — start with Assembly-CSharp.csproj. — One of this dimension's main actionable groups (1 warning-level).
Resolve the 1 Unstable project Assembly-CSharp-Editor-firstpass finding(s) in Coupling — start with Assembly-CSharp-Editor-firstpass.csproj. — One of this dimension's main actionable groups (1 warning-level).
Detailed fixes: d5_recommendation.md · top locations in Appendix A, every location in findings.md.
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.
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 163 packages use a banned license. ★ DEPTH: this repository's MSBuild projects declare 11 direct `PackageReference`(s), and 141 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. ★ COVERAGE OF THIS VERDICT: it grades this repository's NuGet package dependencies and nothing else. The repository also declares a Unity UPM manifest (Packages/manifest.json or a package's package.json), and the licences of those dependencies were NOT read by this pass — a gap in this engine's coverage, not a statement about them. So this result says the graded closure carries no banned licence; it does NOT say this repository's licensing is clear.
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.
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.
62 deducted debt markers + unmeasured dead symbols across 61069 LoC in the .NET projects (0.6/KLoC) → score 8.9. Dead code not measured: the solution did not load cleanly, so the reference search was skipped.
+ 2 more group(s) — more in Appendix A; the complete list is findings.md.
What to do
Resolve the 4 WriteOnlyPrivateField finding(s) in Explicit Debt — start with Live2dModelManager.cs, CardAssemblyManager.cs, Error.cshtml.cs. — One of this dimension's main actionable groups (4 issue-level).
Resolve the 1 DiscardedPureResult finding(s) in Explicit Debt — start with HttpServer.cs. — One of this dimension's main actionable groups (1 issue-level).
Resolve the 1 NoWarnInCsproj repeated across 11 files finding(s) in Explicit Debt — start with Assembly-CSharp-Editor-firstpass.csproj. — One of this dimension's main actionable groups (1 issue-level).
Detailed fixes: d17_recommendation.md · top locations in Appendix A, every location in findings.md.
Do you agree with this assessment?
D18 · Solution Shape3.0 / 10Weak✓ Tool-verified
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.
15 projects, 593 source files, 61316 hand-written lines of code (61069 production / 247 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), 26 inter-project edges (build failed). Measured across 5 solutions loaded as one workspace: `TouhouMachineLearning.sln`, `TouhouMachineLearning2022.sln`, `OtherSolution/Server/Server.sln`, `OtherSolution/xls检测更新/xls检测更新.sln`, `OtherSolution/对局序列图生成/对局序列图生成.sln`.
Build failed
Thin analysable surface across projects: Assembly-CSharp-firstpassAssembly-CSharp-firstpass.csproj
What to do
Resolve the 1 Build failed finding(s) in Solution Shape. — One of this dimension's main actionable groups (1 warning-level).
Resolve the 1 Thin analysable surface across projects finding(s) in Solution Shape — start with Assembly-CSharp-firstpass.csproj. — One of this dimension's main actionable groups (1 recommendation-level).
Detailed fixes: d18_recommendation.md · top locations in Appendix A, every location in findings.md.
Do you agree with this assessment?
D20 · ADR Quality0.0 / 10Critical✓ Tool-verified
What it measures: Whether architecture decisions are recorded well (context, decision, consequences).
Method: Every ADR read by its section structure: nine located rules (a missing Decision, Context or Consequences section, a stale status, two records deciding the same question, a dangling supersede link, a number-only title, a single option, no named cost, no status where the log uses one, no enforcement field where the log adopted one), each a fixed deduction from 10; the score is the mean over evaluated records. Deterministic, no model. Advisory.
Resolve the 1 No ADRs found finding(s) in ADR Quality — start with REDACTED. — One of this dimension's main actionable groups (1 recommendation-level).
Detailed fixes: d20_recommendation.md · top locations in Appendix A, every location in findings.md.
What it measures: Whether names — types, methods, variables — are clear and consistent.
Method: Seven vocabulary-free rules (N1-N7) mine each naming convention from the repository and flag a name that breaks a convention its structural peers in the same unit follow; production C# and TypeScript, each its own population. Deterministic, no model, no sample. Advisory.
1 naming inconsistencies among 4 declarations measured against a convention their peers follow.
`SteamworksNETVersion` spells `NET` where 12 names in the project spell it `Net`Assets/Plugins/Steamworks.NET/Version.cs:16
What to do
Resolve the 1 `SteamworksNETVersion` spells `NET` where 12 names in the project spell… finding(s) in Naming Consistency — start with Version.cs. — One of this dimension's main actionable groups (1 recommendation-level).
Detailed fixes: d21_recommendation.md · top locations in Appendix A, every location in findings.md.
What it measures: Whether comments are worth it — explaining WHY (valuable) rather than WHAT (redundant).
Method: Every inline C# comment compared word by word with the identifiers, literals and constructs of the code it annotates (taken from the syntax); a comment whose words that code already contains is redundant, as are closing-brace labels and generator template text. Comments giving a reason or a reference are kept; other scripts and languages are not judged. Deterministic, exhaustive, advisory.
doc comments repeat the names · ×6Assets/Plugins/Live2D/Cubism/Editor/CubismAssetProcessor.cs:43
What to do
Resolve the 45 redundant comment finding(s) in Comment Value — start with CubismMotionController.cs (4), TestVFX.cs (2), CubismMotionLayer.cs (2). — One of this dimension's main actionable groups (45 recommendation-level).
Detailed fixes: d24_recommendation.md · top locations in Appendix A, every location in findings.md.
3 of 15 projects flagged as possibly oversized/incoherent.
Projects may be oversized for their cohesion · ×3Steam.csproj:1
What to do
Resolve the 3 Projects may be oversized for their cohesion finding(s) in Project Cohesion — start with Steam.csproj, Live2D.csproj, TouHouMachineLearning.csproj. — One of this dimension's main actionable groups (3 recommendation-level).
Detailed fixes: d26_recommendation.md · top locations in Appendix A, every location in findings.md.
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).
8 finding(s): 0 critical, 0 high, 8 medium, 0 low. semgrep hit a parse error in 8 file(s) — `Assets/Assemblies/Sirenix/Odin Inspector/Scripts/Editor/AssemblyImportSettingsAutomation.cs` (line 26), `Assets/Assemblies/Sirenix/Odin Inspector/Scripts/Editor/BuildAOTAutomation.cs` (lines 24–26, lines 51–53), `Assets/Plugins/Live2D/Cubism/Framework/Json/CubismMotion3Json.cs` (lines 220–222), `Assets/Script/2_BattleScene/State/StateCommand.cs` (line 207), `Assets/Script/9_MixedScene/Against/AgainstInfo.cs` (line 147, line 152, line 157, …), … (+3 more) — so no absence of findings in the named regions is evidence of anything; rows reported elsewhere in those files are real. Fix the syntax error (or exclude the file deliberately) and re-scan to cover them. In 2 of those file(s) — `Assets/Script/2_BattleScene/State/StateCommand.cs`, `OtherSolution/Server/Server/room/Room.cs` — the break is at a TYPE DECLARATION (a C# primary constructor semgrep's grammar cannot parse), so the loss is wider than the named lines: rules scoped to that type see no type to scope to and are blind over its whole body, while rules matching statements keep working there. Absence of a type-scoped finding in those types is not evidence of anything.
REDACTED
What to do
Resolve the 8 REDACTED finding(s) in Static Analysis (SAST) — start with REDACTED (4), REDACTED, REDACTED. — One of this dimension's main actionable groups (8 warning-level).
Detailed fixes: d29_recommendation.md · top locations in Appendix A, every location in findings.md.
What it measures: Whether any dependency has a known published vulnerability (CVE), direct or transitive, in ANY ecosystem the repository declares — Dart pub, Elixir and Erlang via Hex, Go modules, Java and Kotlin via Maven/Gradle, JavaScript/npm, .NET/NuGet, PHP/Composer, Python/PyPI, RubyGems, Rust/Cargo and Swift.
Method: Dependency-CVE scan across every ecosystem the repository declares, scored ONCE. Three sources are unioned and deduplicated by advisory identity (rule id + alias closure, CVE<->GHSA) scoped to package+version, keeping the worst severity: `osv-scanner --recursive` over osv.dev for Dart pub, Elixir/Hex (and Erlang, whose `rebar.lock` syft first converts to a CycloneDX SBOM the scanner reads, with rows attributed back to the lock), Go, Java and Kotlin via Maven/Gradle (and Scala, whose sbt build's pinned direct declarations are written into a CycloneDX SBOM the scanner reads, with rows attributed back to the build file), npm, PHP/Composer, Python/PyPI, RubyGems, Rust/Cargo and Swift; `trivy fs --scanners vuln` for npm lockfiles; and `dotnet list package --vulnerable --include-transitive` for NuGet (with per-advisory collapse of the project x target-framework fan-out), plus a DECLARED-dependency arm that resolves a published gem's gemspec against rubygems.org where no Gemfile.lock is committed. `SeverityScore(c,h,m,l, normalizer 8.0)`. NotApplicable only when NO ecosystem is readable; if any applicable ecosystem could not be scanned the findings are REPORTED and the score is withheld. Supersedes the npm and OSV arms, retired 2026-09-05. Advisory since rubric-2026.11.2 (CAI decision 0006): every row is a match against a vulnerability database that changes daily, so the reading is shown and never moves a scored dimension, lens or the headline.
Resolve the 9 High CVE finding(s) in Dependency Vulnerabilities — start with REDACTED (5), REDACTED (2), REDACTED. — One of this dimension's main actionable groups (9 issue-level).
Resolve the 4 Medium CVE finding(s) in Dependency Vulnerabilities — start with REDACTED (2), REDACTED, REDACTED. — One of this dimension's main actionable groups (4 warning-level).
Detailed fixes: d30_recommendation.md · top locations in Appendix A, every location in findings.md.
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 78 of the 182 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 any dependency the repository declares is published as MALICIOUS rather than merely vulnerable — a package that is an attacker's work, in any ecosystem osv-scanner reads. Reported apart from D30 because the answer is binary: there is no safe version to upgrade to, and the fix is to remove the package and rotate every credential it could have read.
Method: The same dependency scan D30 reads, partitioned on the scanner's own classification rather than rescanned: a row is MALICIOUS when its id is in the `MAL-` space (the ossf/malicious-packages feed) OR its `database_specific.cwe_ids` carries `CWE-506` ("Embedded Malicious Code"). Both channels are structural; the summary text is deliberately NOT read, because a malicious-package record whose summary says only "Critical severity vulnerability" is a real shape ([GHSA redacted]) and a text matcher misses it. Scored BINARY: any surviving row is 0, whatever its severity and however many CVEs sit beside it — a hostile dependency is not a quantity. Applicability and degradation are D30's: NotApplicable only when no ecosystem is readable, and an unscannable ecosystem degrades rather than reading clean. Advisory since rubric-2026.11.2 (CAI decision 0006): the malicious-package feed is a database that changes daily, so the reading is shown and never moves a scored dimension, lens or the headline.
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.
1 end-of-life runtime(s) and 0 end-of-life framework(s), read from 15 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.
End-of-life runtime: .NET net6.0 · ×4REDACTED:4
What to do
Resolve the 4 End-of-life runtime finding(s) in Platform End-of-Life — start with REDACTED, ServerVersions.csproj, REDACTED. — One of this dimension's main actionable groups (4 warning-level).
Detailed fixes: d44_recommendation.md · top locations in Appendix A, every location in findings.md.
Do you agree with this assessment?
Frontend & cross-cutting dimensions
R = React/JS · M = Maturity · P = Readiness.
AC1 · Text alternatives10.0 / 10Exemplary○ Nothing flagged
Other · Accessibility — Whether non-text content carries a text alternative — img/area/input[type=image] have alt, a meaningful svg has a title or aria-label, video has a captions track, and object/embed/canvas have a name or fallback content. Static markup readiness, not a WCAG conformance claim.
Method: Static markup-model scan: every img/area/input[type=image] checked for alt, svg[role=img] for a title/aria-label, video for a captions <track>. Components skipped, spreads suppressed. Deterministic, hard fact per element.
Coverage: Population: image/media elements — img, area, input[type=image], svg, video, object, embed, canvas — across the PARSED MARKUP files only (.html/.htm/.cshtml/.razor/.vue/.svelte/.jsx/.tsx); components, hidden subtrees and dynamic-attribute elements are skipped. Markup built in script — tagged-template (html`…`) UIs and hyperscript DOM factories — is NOT read by any producer, so it contributes no element to this population; where such a frontend is present the card discloses it as an analyzer gap rather than scoring around it.
Do you agree with this assessment?
AC2 · Forms & labels7.2 / 10Strong✓ Tool-verified
Other · Accessibility — Whether form controls have a programmatic label (an associated label, aria-label or aria-labelledby), buttons have text, links have an accessible name, a click handler on a plain element names the control it declares, fieldsets have a non-empty legend, known UI-library field components carry a label prop, and a placeholder isn't used as the only label. Static markup readiness, not a WCAG conformance claim.
Method: Static markup-model scan: inputs/selects/textareas checked for an associated label[for]/wrapping label/aria-label/aria-labelledby (per document), buttons for accessible text, fieldsets for a legend; placeholder-only labelling flagged. Deterministic, hard fact per control.
Coverage: Population: form controls, buttons, links, fieldsets and known UI-library field components in the PARSED MARKUP files only (.html/.htm/.cshtml/.razor/.vue/.svelte/.jsx/.tsx); components, hidden subtrees and spread/dynamic-attribute elements are skipped, so a control whose label arrives through a spread or a runtime expression is deliberately not judged. Markup built in script — tagged-template (html`…`) UIs and hyperscript DOM factories — is not read at all.
This control has no associated label. Add a <label for> / wrapping <label> / aria-label / aria-labelledby so assistive tech can name it. — OtherSolution/Server/Pages/Diy.razor:215
What to do
Give every control a programmatic label (a <label for> / wrapping <label> / aria-label) and every button text — a placeholder is not a label.
Other · Accessibility — Whether pages declare a language (well-formed BCP-47) and a non-empty title, expose exactly one main landmark and a sane heading order with non-empty headings, keep zoom enabled, title their iframes, give data tables header cells, and avoid meta-refresh. Static markup readiness, not a WCAG conformance claim.
Method: Static markup-model scan: html lang, document <title>, a main landmark and heading order on full documents only, plus zoom-disabling viewports, untitled iframes and meta-refresh anywhere. Deterministic, per structural checkpoint.
Coverage: Population: the PARSED MARKUP documents (.html/.htm/.cshtml/.razor/.vue/.svelte/.jsx/.tsx). The page-level checks — lang, title, single main landmark — fire ONCE PER FULL DOCUMENT (an <html> root) and never on a partial or component fragment, so a repo of fragments is assessed only on the per-element checks (heading order, table headers, iframe titles, meta-refresh, zoom). Markup built in script — tagged-template (html`…`) UIs and hyperscript DOM factories — is not read at all.
A route with no <PageTitle> gives no name in the tab, history or screen-reader page list — the host's <HeadOutlet /> projects whatever title the routed component supplies, and this one supplies none. Add a <PageTitle> to this component (a literal <title> in the host document would be overwritten by the outlet). (×3) — OtherSolution/Server/Pages/Counter.razor:6, OtherSolution/Server/Pages/Diy - 复制.razor:4, OtherSolution/Server/Pages/Diy.razor:75
No <main> (or role="main") means no "skip to content" target and a weaker landmark map. Wrap the primary content in <main>. — OtherSolution/Server/Pages/Error.cshtml:5
user-scalable=no/0 or a maximum-scale below 2 stops low-vision users zooming to 200%. Remove the zoom restriction from the viewport meta. — OtherSolution/Server/Pages/Error.cshtml:9
What to do
Declare <html lang>, a document <title> and a <main> landmark, keep headings in order, leave zoom enabled, title iframes and drop meta-refresh.
Other · Accessibility — Whether interactive behaviour is keyboard-reachable — no click handler on a non-interactive element lacking a role, tabindex and key handler, no element the repo's own CSS styles `cursor: pointer` without giving it any of the three, no unfocusable element whose only binding is a mouse enter/leave pair or a double-click, no positive tabindex, no href-less anchor, no placeholder-href (#/javascript) link acting as a button. Static markup readiness, not a WCAG conformance claim.
Method: Static markup-model scan: click handlers on non-interactive elements lacking role+tabindex+key handler, positive tabindex values, and href-less anchors. Components skipped, spreads suppressed. Deterministic, hard fact per element.
Coverage: Population: elements that pose a keyboard-semantics question, in the PARSED MARKUP files only (.html/.htm/.cshtml/.razor/.vue/.svelte/.jsx/.tsx) — a non-natively-interactive element carrying a click handler, a double-click or hover enter/leave binding, a pointer-only gesture on a tabindex="0" element, or `cursor: pointer` from the repo's own CSS; an href-less or placeholder-href (#, javascript:) anchor; and any element with a positive tabindex. Natively interactive elements used correctly (<button>, <a href>, form controls) are NOT in the population — there is nothing to judge — so a page of nothing but correct controls gives AC4 nothing to measure. Keyboard reachability is judged from the markup, never from a rendered page. ★ An interactive element declared in a tagged-template (html`…`) or hyperscript frontend is NOT in this population — no producer reads either — so an empty population is reported as an analyzer gap, never as "this repository has no interactive elements".
An <a> with no href, role or tabindex isn't focusable or keyboard-activatable. Give it a real href, or use a <button> for an action. — OtherSolution/Server/Pages/_Layout.cshtml:27
What to do
Make custom controls keyboard-operable (role + tabindex + key handler), drop positive tabindex, and give anchors a real href.
Other · Accessibility — Whether ARIA is used correctly — valid non-abstract roles, the ARIA state a role requires, valid (non-misspelled) aria-* attribute names, in-enum values for token-typed aria-* attributes, and no aria-hidden on (or wrapping) a focusable element. Static markup readiness, not a WCAG conformance claim.
Method: Static markup-model scan: role values checked against the WAI-ARIA role set (abstract/invalid flagged), required ARIA state for a role, and aria-hidden on a focusable element. Deterministic, role/attribute level.
Coverage: Population: elements in the PARSED MARKUP files (.html/.htm/.cshtml/.razor/.vue/.svelte/.jsx/.tsx) that carry a role or an aria-* attribute; roles and token values are checked against the ARIA enums exhaustively within that set. An expression-valued (dynamic) role or aria-* value is skipped rather than guessed, and markup built in script — tagged-template (html`…`) UIs and hyperscript DOM factories — is not read at all.
Other · Accessibility — Whether focus outlines aren't removed without a replacement, motion respects prefers-reduced-motion, and literal CSS colour pairs meet contrast — PARTIAL: inline styles, in-repo <style> blocks, in-repo .css files, var() tokens, Tailwind neutral utilities and CSS-in-JS literals are read (hex/rgb/hsl/named), never computed/runtime/external-CDN colour. Static markup readiness, not a WCAG conformance claim.
Method: Static markup/CSS scan: inline outline:none/0, literal inline colour/background contrast against the 4.5:1 AA floor, and <style>-block animation without a prefers-reduced-motion guard. Deterministic but PARTIAL — only inline styles and in-repo CSS literals are visible.
Coverage: Population: styled elements in the PARSED MARKUP files (.html/.htm/.cshtml/.razor/.vue/.svelte/.jsx/.tsx), plus in-repo <style> blocks, in-repo .css files and CSS-in-JS literals. Colour contrast is computed from LITERAL colour pairs only (hex/rgb/hsl/named, including var() tokens and Tailwind neutral utilities) — computed, runtime-themed and external-CDN colour is never resolved, so this is a partial read of contrast by construction. Markup built in script — tagged-template (html`…`) UIs and hyperscript DOM factories — is not read at all.
`::selection` sets color: #fff on background-color: #1890ff — 3.2:1, below the 4.5:1 WCAG AA minimum for normal text. This is a MINIFIED, build-generated sheet — editing the literal here is undone by the next vendor drop or rebuild, so override the rule in your own stylesheet (or fix it upstream / in the source the bundle is built from). (×2) — OtherSolution/ServerVersions/Server/wwwroot/_content/AntDesign/css/ant-design-blazor.compact.css:1, OtherSolution/ServerVersions/Server/wwwroot/_content/AntDesign/css/ant-design-blazor.css:1
`.ant-dropdown-menu-dark .ant-dropdown-menu-item-selected,.ant-dropdown-menu-dark .ant-dropdown-menu-item-selected:hover,.ant-dropdown-menu-dark .ant-dropdown-menu-item-selected>a` sets color: #fff on background-color: #1890ff — 3.2:1, below the 4.5:1 WCAG AA minimum for normal text. This is a MINIFIED, build-generated sheet — editing the literal here is undone by the next vendor drop or rebuild, so override the rule in your own stylesheet (or fix it upstream / in the source the bundle is built from). (×2) — OtherSolution/ServerVersions/Server/wwwroot/_content/AntDesign/css/ant-design-blazor.compact.css:1, OtherSolution/ServerVersions/Server/wwwroot/_content/AntDesign/css/ant-design-blazor.css:1
`.ant-tabs-card>.ant-tabs-nav .ant-tabs-tab-active,.ant-tabs-card>div>.ant-tabs-nav .ant-tabs-tab-active` sets color: #1890ff on background-color: #fff — 3.2:1, below the 4.5:1 WCAG AA minimum for normal text. This is a MINIFIED, build-generated sheet — editing the literal here is undone by the next vendor drop or rebuild, so override the rule in your own stylesheet (or fix it upstream / in the source the bundle is built from). (×2) — OtherSolution/ServerVersions/Server/wwwroot/_content/AntDesign/css/ant-design-blazor.compact.css:1, OtherSolution/ServerVersions/Server/wwwroot/_content/AntDesign/css/ant-design-blazor.css:1
`::selection` sets color: #fff on background-color: #177ddc — 4.2:1, below the 4.5:1 WCAG AA minimum for normal text. This is a MINIFIED, build-generated sheet — editing the literal here is undone by the next vendor drop or rebuild, so override the rule in your own stylesheet (or fix it upstream / in the source the bundle is built from). — OtherSolution/ServerVersions/Server/wwwroot/_content/AntDesign/css/ant-design-blazor.dark.css:1
`.ant-dropdown-menu-dark .ant-dropdown-menu-item-selected,.ant-dropdown-menu-dark .ant-dropdown-menu-item-selected:hover,.ant-dropdown-menu-dark .ant-dropdown-menu-item-selected>a` sets color: #fff on background-color: #177ddc — 4.2:1, below the 4.5:1 WCAG AA minimum for normal text. This is a MINIFIED, build-generated sheet — editing the literal here is undone by the next vendor drop or rebuild, so override the rule in your own stylesheet (or fix it upstream / in the source the bundle is built from). — OtherSolution/ServerVersions/Server/wwwroot/_content/AntDesign/css/ant-design-blazor.dark.css:1
`.ant-tabs-card>.ant-tabs-nav .ant-tabs-tab-active,.ant-tabs-card>div>.ant-tabs-nav .ant-tabs-tab-active` sets color: #177ddc on background-color: #141414 — 4.4:1, below the 4.5:1 WCAG AA minimum for normal text. This is a MINIFIED, build-generated sheet — editing the literal here is undone by the next vendor drop or rebuild, so override the rule in your own stylesheet (or fix it upstream / in the source the bundle is built from). — OtherSolution/ServerVersions/Server/wwwroot/_content/AntDesign/css/ant-design-blazor.dark.css:1
`.-btn` sets the outline to none/0 and no visible :focus / :focus-visible style for that element replaces it in this stylesheet, so a keyboard user cannot see where focus is. Draw a focus ring (outline, box-shadow or border) under :focus-visible. — OtherSolution/ServerVersions/Server/wwwroot/_content/AntDesign/less/upload/style/index.less:21
`.` sets the outline to none/0 and no visible :focus / :focus-visible style for that element replaces it in this stylesheet, so a keyboard user cannot see where focus is. Draw a focus ring (outline, box-shadow or border) under :focus-visible. (×4) — OtherSolution/ServerVersions/Server/wwwroot/_content/AntDesign/less/upload/style/index.less:12, OtherSolution/ServerVersions/Server/wwwroot/_content/AntDesign/less/rate/style/index.less:16, OtherSolution/ServerVersions/Server/wwwroot/_content/AntDesign/less/radio/style/index.less:49, …
`.antTreeFn(@custom-tree-prefix-cls) .` sets the outline to none/0 and no visible :focus / :focus-visible style for that element replaces it in this stylesheet, so a keyboard user cannot see where focus is. Draw a focus ring (outline, box-shadow or border) under :focus-visible. — OtherSolution/ServerVersions/Server/wwwroot/_content/AntDesign/less/tree/style/mixin.less:77
`. -dropdown-menu` sets the outline to none/0 and no visible :focus / :focus-visible style for that element replaces it in this stylesheet, so a keyboard user cannot see where focus is. Draw a focus ring (outline, box-shadow or border) under :focus-visible. — OtherSolution/ServerVersions/Server/wwwroot/_content/AntDesign/less/tabs/style/dropdown.less:29
`. > . -nav . -nav-add` sets the outline to none/0 and no visible :focus / :focus-visible style for that element replaces it in this stylesheet, so a keyboard user cannot see where focus is. Draw a focus ring (outline, box-shadow or border) under :focus-visible. — OtherSolution/ServerVersions/Server/wwwroot/_content/AntDesign/less/tabs/style/index.less:89
`.-tab-btn` sets the outline to none/0 and no visible :focus / :focus-visible style for that element replaces it in this stylesheet, so a keyboard user cannot see where focus is. Draw a focus ring (outline, box-shadow or border) under :focus-visible. — OtherSolution/ServerVersions/Server/wwwroot/_content/AntDesign/less/tabs/style/index.less:147
`.-tab-remove` sets the outline to none/0 and no visible :focus / :focus-visible style for that element replaces it in this stylesheet, so a keyboard user cannot see where focus is. Draw a focus ring (outline, box-shadow or border) under :focus-visible. — OtherSolution/ServerVersions/Server/wwwroot/_content/AntDesign/less/tabs/style/index.less:159
`.-tab` sets the outline to none/0 and no visible :focus / :focus-visible style for that element replaces it in this stylesheet, so a keyboard user cannot see where focus is. Draw a focus ring (outline, box-shadow or border) under :focus-visible. — OtherSolution/ServerVersions/Server/wwwroot/_content/AntDesign/less/tabs/style/index.less:135
`.-tabpane` sets the outline to none/0 and no visible :focus / :focus-visible style for that element replaces it in this stylesheet, so a keyboard user cannot see where focus is. Draw a focus ring (outline, box-shadow or border) under :focus-visible. — OtherSolution/ServerVersions/Server/wwwroot/_content/AntDesign/less/tabs/style/index.less:222
`.modal-mask()-wrap` sets the outline to none/0 and no visible :focus / :focus-visible style for that element replaces it in this stylesheet, so a keyboard user cannot see where focus is. Draw a focus ring (outline, box-shadow or border) under :focus-visible. — OtherSolution/ServerVersions/Server/wwwroot/_content/AntDesign/less/style/mixins/modal-mask.less:28
`.operation-unit()` sets the outline to none/0 and no visible :focus / :focus-visible style for that element replaces it in this stylesheet, so a keyboard user cannot see where focus is. Draw a focus ring (outline, box-shadow or border) under :focus-visible. — OtherSolution/ServerVersions/Server/wwwroot/_content/AntDesign/less/style/mixins/operation-unit.less:6
`. -item-container` sets the outline to none/0 and no visible :focus / :focus-visible style for that element replaces it in this stylesheet, so a keyboard user cannot see where focus is. Draw a focus ring (outline, box-shadow or border) under :focus-visible. — OtherSolution/ServerVersions/Server/wwwroot/_content/AntDesign/less/steps/style/index.less:40
`.select-search-input-without-border() . -selection-search-input` sets the outline to none/0 and no visible :focus / :focus-visible style for that element replaces it in this stylesheet, so a keyboard user cannot see where focus is. Draw a focus ring (outline, box-shadow or border) under :focus-visible. — OtherSolution/ServerVersions/Server/wwwroot/_content/AntDesign/less/select/style/index.less:57
`.-dropdown` sets the outline to none/0 and no visible :focus / :focus-visible style for that element replaces it in this stylesheet, so a keyboard user cannot see where focus is. Draw a focus ring (outline, box-shadow or border) under :focus-visible. (×2) — OtherSolution/ServerVersions/Server/wwwroot/_content/AntDesign/less/select/style/index.less:199, OtherSolution/ServerVersions/Server/wwwroot/_content/AntDesign/less/mentions/style/index.less:99
`.-jump-prev` sets the outline to none/0 and no visible :focus / :focus-visible style for that element replaces it in this stylesheet, so a keyboard user cannot see where focus is. Draw a focus ring (outline, box-shadow or border) under :focus-visible. — OtherSolution/ServerVersions/Server/wwwroot/_content/AntDesign/less/pagination/style/index.less:94
`.-prev . -item-link` sets the outline to none/0 and no visible :focus / :focus-visible style for that element replaces it in this stylesheet, so a keyboard user cannot see where focus is. Draw a focus ring (outline, box-shadow or border) under :focus-visible. — OtherSolution/ServerVersions/Server/wwwroot/_content/AntDesign/less/pagination/style/index.less:190
`.-simple .-simple-pager input` sets the outline to none/0 and no visible :focus / :focus-visible style for that element replaces it in this stylesheet, so a keyboard user cannot see where focus is. Draw a focus ring (outline, box-shadow or border) under :focus-visible. — OtherSolution/ServerVersions/Server/wwwroot/_content/AntDesign/less/pagination/style/index.less:283
`.-notice-close` sets the outline to none/0 and no visible :focus / :focus-visible style for that element replaces it in this stylesheet, so a keyboard user cannot see where focus is. Draw a focus ring (outline, box-shadow or border) under :focus-visible. — OtherSolution/ServerVersions/Server/wwwroot/_content/AntDesign/less/notification/style/index.less:127
`.-close` sets the outline to none/0 and no visible :focus / :focus-visible style for that element replaces it in this stylesheet, so a keyboard user cannot see where focus is. Draw a focus ring (outline, box-shadow or border) under :focus-visible. — OtherSolution/ServerVersions/Server/wwwroot/_content/AntDesign/less/modal/style/modal.less:49
`. > textarea` sets the outline to none/0 and no visible :focus / :focus-visible style for that element replaces it in this stylesheet, so a keyboard user cannot see where focus is. Draw a focus ring (outline, box-shadow or border) under :focus-visible. — OtherSolution/ServerVersions/Server/wwwroot/_content/AntDesign/less/mentions/style/index.less:61
`.-dropdown-menu` sets the outline to none/0 and no visible :focus / :focus-visible style for that element replaces it in this stylesheet, so a keyboard user cannot see where focus is. Draw a focus ring (outline, box-shadow or border) under :focus-visible. — OtherSolution/ServerVersions/Server/wwwroot/_content/AntDesign/less/mentions/style/index.less:112
`. *` sets the outline to none/0 and no visible :focus / :focus-visible style for that element replaces it in this stylesheet, so a keyboard user cannot see where focus is. Draw a focus ring (outline, box-shadow or border) under :focus-visible. — OtherSolution/ServerVersions/Server/wwwroot/_content/AntDesign/less/list/style/index.less:13
`.-input` sets the outline to none/0 and no visible :focus / :focus-visible style for that element replaces it in this stylesheet, so a keyboard user cannot see where focus is. Draw a focus ring (outline, box-shadow or border) under :focus-visible. — OtherSolution/ServerVersions/Server/wwwroot/_content/AntDesign/less/input-number/style/index.less:90
`. -input-affix-wrapper > input. -input` sets the outline to none/0 and no visible :focus / :focus-visible style for that element replaces it in this stylesheet, so a keyboard user cannot see where focus is. Draw a focus ring (outline, box-shadow or border) under :focus-visible. — OtherSolution/ServerVersions/Server/wwwroot/_content/AntDesign/less/input/style/affix.less:33
`.active(@color: @outline-color)` sets the outline to none/0 and no visible :focus / :focus-visible style for that element replaces it in this stylesheet, so a keyboard user cannot see where focus is. Draw a focus ring (outline, box-shadow or border) under :focus-visible. — OtherSolution/ServerVersions/Server/wwwroot/_content/AntDesign/less/input/style/mixin.less:26
`. -input-affix-wrapper. -input-affix-wrapper-rtl > input. -input` sets the outline to none/0 and no visible :focus / :focus-visible style for that element replaces it in this stylesheet, so a keyboard user cannot see where focus is. Draw a focus ring (outline, box-shadow or border) under :focus-visible. — OtherSolution/ServerVersions/Server/wwwroot/_content/AntDesign/less/input/style/rtl.less:23
`.-menu` sets the outline to none/0 and no visible :focus / :focus-visible style for that element replaces it in this stylesheet, so a keyboard user cannot see where focus is. Draw a focus ring (outline, box-shadow or border) under :focus-visible. — OtherSolution/ServerVersions/Server/wwwroot/_content/AntDesign/less/dropdown/style/index.less:130
What to do
Keep a visible focus style (don't remove the outline without a replacement), guard animation with prefers-reduced-motion, and raise low-contrast colour pairs to at least 4.5:1.
Other · Architecture — Whether any singleton service captures a scoped/transient dependency — a silent lifetime/threading bug.
Method: Roslyn scan: DI registrations parsed from AddSingleton/Scoped/Transient; each singleton checked for captured shorter-lifetime dependencies. Exhaustive, deterministic.
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.
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.
Other · Architecture — Whether singleton services avoid mutable shared instance state that concurrent callers would race on.
Method: Roslyn scan: singleton field mutations unguarded by lock or Interlocked, per type; syntax-based guard detection. Deterministic, traceable per field.
`AgainstSummaryManager` is not registered, but `AgainstInfo` creates it and keeps it in the static `summary`, so that one instance serves the whole process and is shared by every thread that reaches it — and it mutates instance state outside any lock (TargetJumpTurn; e.g. `TargetJumpTurn` at line 284). — Assets/Script/9_MixedScene/Against/AgainstSummaryManager.cs:31
`Room` is not registered, but `RoomManager` creates it and keeps it in the static `Rooms`, so that one instance serves the whole process and is shared by every thread that reaches it — and it mutates instance state outside any lock (P1, P2, Player1Info, Player2Info; e.g. `P1` at line 27). — OtherSolution/Server/Server/room/Room.cs:8
`AgainstSummary` is not registered, but the singleton `Room` creates it and keeps it in `Summary`, so one instance outlives every request and is shared by every caller that reaches it — and it mutates instance state outside any lock (UpdateTime, Winner; e.g. `UpdateTime` at line 260). — OtherSolution/Server/Server/InfoModel.cs:153
`CubismLogging` keeps mutable `static` state — one slot for the whole process, shared by every thread that reaches the type however its instances are created — and mutates it outside any lock (LogDelegate; e.g. `LogDelegate` at line 48). Concurrent callers lose updates, and a collection that is not built for concurrent writers can corrupt. — Assets/Plugins/Live2D/Cubism/Core/CubismLogging.cs:21
`CubismMoc` keeps mutable `static` state — one slot for the whole process, shared by every thread that reaches the type however its instances are created — and mutates it outside any lock (CoreNotFoundCallCount; e.g. `CoreNotFoundCallCount` at line 116). Concurrent callers lose updates, and a collection that is not built for concurrent writers can corrupt. — Assets/Plugins/Live2D/Cubism/Core/CubismMoc.cs:23
`CubismModel` keeps mutable `static` state — one slot for the whole process, shared by every thread that reaches the type however its instances are created — and mutates it outside any lock (_modelUpdateFunctions; e.g. `_modelUpdateFunctions` at line 392). Concurrent callers lose updates, and a collection that is not built for concurrent writers can corrupt. — Assets/Plugins/Live2D/Cubism/Core/CubismModel.cs:25
`CubismUnmanagedMemory` keeps mutable `static` state — one slot for the whole process, shared by every thread that reaches the type however its instances are created — and mutates it outside any lock (Allocations; e.g. `Allocations` at line 67). Concurrent callers lose updates, and a collection that is not built for concurrent writers can corrupt. — Assets/Plugins/Live2D/Cubism/Core/Unmanaged/CubismUnmanagedMemory.cs:21
`CubismRenderer` keeps mutable `static` state — one slot for the whole process, shared by every thread that reaches the type however its instances are created — and mutates it outside any lock (_sharedPropertyBlock; e.g. `_sharedPropertyBlock` at line 554). Concurrent callers lose updates, and a collection that is not built for concurrent writers can corrupt. — Assets/Plugins/Live2D/Cubism/Rendering/CubismRenderer.cs:21
`CubismMaskCommandBuffer` keeps mutable `static` state — one slot for the whole process, shared by every thread that reaches the type however its instances are created — and mutates it outside any lock (Sources, Buffer; e.g. `Sources` at line 50). Concurrent callers lose updates, and a collection that is not built for concurrent writers can corrupt. — Assets/Plugins/Live2D/Cubism/Rendering/Masking/CubismMaskCommandBuffer.cs:19
`CubismMaskTransform` keeps mutable `static` state — one slot for the whole process, shared by every thread that reaches the type however its instances are created — and mutates it outside any lock (_uniqueId; e.g. `_uniqueId` at line 42). Concurrent callers lose updates, and a collection that is not built for concurrent writers can corrupt. — Assets/Plugins/Live2D/Cubism/Rendering/Masking/CubismMaskTransform.cs:17
`CubismBuiltinAsyncTaskHandler` keeps mutable `static` state — one slot for the whole process, shared by every thread that reaches the type however its instances are created — and mutates it outside any lock (Tasks, Worker, Lock, Signal; e.g. `Tasks` at line 88). Concurrent callers lose updates, and a collection that is not built for concurrent writers can corrupt. — Assets/Plugins/Live2D/Cubism/Framework/Tasking/CubismBuiltinAsyncTaskHandler.cs:20
`TheWorldEffect` keeps mutable `static` state — one slot for the whole process, shared by every thread that reaches the type however its instances are created — and mutates it outside any lock (num; e.g. `num` at line 25). Concurrent callers lose updates, and a collection that is not built for concurrent writers can corrupt. — Assets/Script/2_BattleScene/ParticleSystem-废弃/TheWorldEffect.cs:3
`PageComponentInfo` keeps mutable `static` state — one slot for the whole process, shared by every thread that reaches the type however its instances are created — and mutates it outside any lock (Instance, cardDeckNameModel, cardDeckContent, cardDeckCardModel, cardLeaderImageModel, cardLibraryContent; e.g. `Instance` at line 170). Concurrent callers lose updates, and a collection that is not built for concurrent writers can corrupt. — Assets/Script/1_LoginScene/PageComponents/PageInfo/PageComponentInfo.cs:14
`ParticleInfo` keeps mutable `static` state — one slot for the whole process, shared by every thread that reaches the type however its instances are created — and mutates it outside any lock (Instance; e.g. `Instance` at line 9). Concurrent callers lose updates, and a collection that is not built for concurrent writers can corrupt. — Assets/Script/2_BattleScene/ParticleSystem-废弃/ParticleInfo.cs:5
`SceneEffectInfo` keeps mutable `static` state — one slot for the whole process, shared by every thread that reaches the type however its instances are created — and mutates it outside any lock (theWorldEffect; e.g. `theWorldEffect` at line 8). Concurrent callers lose updates, and a collection that is not built for concurrent writers can corrupt. — Assets/Script/2_BattleScene/ParticleSystem-废弃/SceneEffectInfo.cs:4
`SoundEffectInfo` keeps mutable `static` state — one slot for the whole process, shared by every thread that reaches the type however its instances are created — and mutates it outside any lock (Instance; e.g. `Instance` at line 10). Concurrent callers lose updates, and a collection that is not built for concurrent writers can corrupt. — Assets/Script/9_MixedScene/SoundEffect/SoundEffectInfo.cs:7
`UiInfo` keeps mutable `static` state — one slot for the whole process, shared by every thread that reaches the type however its instances are created — and mutates it outside any lock (Instance; e.g. `Instance` at line 27). Concurrent callers lose updates, and a collection that is not built for concurrent writers can corrupt. — Assets/Script/9_MixedScene/UI/UiInfo.cs:7
`DialogueInfo` keeps mutable `static` state — one slot for the whole process, shared by every thread that reaches the type however its instances are created — and mutates it outside any lock (instance; e.g. `instance` at line 13). Concurrent callers lose updates, and a collection that is not built for concurrent writers can corrupt. — Assets/Script/1_LoginScene/Dialogue/DialogueInfo.cs:10
`BookInfo` keeps mutable `static` state — one slot for the whole process, shared by every thread that reaches the type however its instances are created — and mutates it outside any lock (instance; e.g. `instance` at line 38). Concurrent callers lose updates, and a collection that is not built for concurrent writers can corrupt. — Assets/Script/1_LoginScene/Book/BookInfo.cs:4
`CardAbilityPopupManager` keeps mutable `static` state — one slot for the whole process, shared by every thread that reaches the type however its instances are created — and mutates it outside any lock (Manager; e.g. `Manager` at line 27). Concurrent callers lose updates, and a collection that is not built for concurrent writers can corrupt. — Assets/Script/9_MixedScene/UI/CardAbilityPopup/CardAbilityPopupManager.cs:9
`ArrowEndPointManager` keeps mutable `static` state — one slot for the whole process, shared by every thread that reaches the type however its instances are created — and mutates it outside any lock (SceneRay; e.g. `SceneRay` at line 12). Concurrent callers lose updates, and a collection that is not built for concurrent writers can corrupt. — Assets/Script/2_BattleScene/UI/Arrow/ArrowEndPointManager.cs:4
`CardAbilityBoardManager` keeps mutable `static` state — one slot for the whole process, shared by every thread that reaches the type however its instances are created — and mutates it outside any lock (Manager; e.g. `Manager` at line 16). Concurrent callers lose updates, and a collection that is not built for concurrent writers can corrupt. — Assets/Script/9_MixedScene/UI/CardAbilityBoard/CardAbilityBoardManager.cs:10
`KeyWordManager` keeps mutable `static` state — one slot for the whole process, shared by every thread that reaches the type however its instances are created — and mutates it outside any lock (manager, words, IsCheckHover; e.g. `manager` at line 15). Concurrent callers lose updates, and a collection that is not built for concurrent writers can corrupt. — Assets/Script/9_MixedScene/UI/KeyWordPopup/KeyWordManager.cs:10
`CameraViewManager` keeps mutable `static` state — one slot for the whole process, shared by every thread that reaches the type however its instances are created — and mutates it outside any lock (manager, targetPos, targetEuler, IsCameraWaggle, IsOpenWaggle; e.g. `manager` at line 22). Concurrent callers lose updates, and a collection that is not built for concurrent writers can corrupt. — Assets/Script/1_LoginScene/Other/CameraViewManager.cs:7
`LoadingManager` keeps mutable `static` state — one slot for the whole process, shared by every thread that reaches the type however its instances are created — and mutates it outside any lock (manager; e.g. `manager` at line 13). Concurrent callers lose updates, and a collection that is not built for concurrent writers can corrupt. — Assets/Script/1_LoginScene/PageComponents/LoadingComponent/LoadingManager.cs:8
`ChatManager` keeps mutable `static` state — one slot for the whole process, shared by every thread that reaches the type however its instances are created — and mutates it outside any lock (MainChat; e.g. `MainChat` at line 23). Concurrent callers lose updates, and a collection that is not built for concurrent writers can corrupt. — Assets/Script/1_LoginScene/PageComponents/ChatComponent/ChatManager.cs:8
`ChainManager` keeps mutable `static` state — one slot for the whole process, shared by every thread that reaches the type however its instances are created — and mutates it outside any lock (chain; e.g. `chain` at line 14). Concurrent callers lose updates, and a collection that is not built for concurrent writers can corrupt. — Assets/Script/2_BattleScene/UI/Chain/ChainManager.cs:10
`CoinManager` keeps mutable `static` state — one slot for the whole process, shared by every thread that reaches the type however its instances are created — and mutates it outside any lock (time, isTimerStart, limitTime, scalePos_start, scalePos_end, center_end; e.g. `time` at line 53). Concurrent callers lose updates, and a collection that is not built for concurrent writers can corrupt. — Assets/Script/2_BattleScene/UI/Coin/CoinManager.cs:9
`UserInfoManager` keeps mutable `static` state — one slot for the whole process, shared by every thread that reaches the type however its instances are created — and mutates it outside any lock (Instance; e.g. `Instance` at line 18). Concurrent callers lose updates, and a collection that is not built for concurrent writers can corrupt. — Assets/Script/1_LoginScene/LoginCanves/UserInfoManager.cs:5
`TranslateManager` keeps mutable `static` state — one slot for the whole process, shared by every thread that reaches the type however its instances are created — and mutates it outside any lock (gameTextTranslateDatas, stageTranslateDatas; e.g. `gameTextTranslateDatas` at line 27). Concurrent callers lose updates, and a collection that is not built for concurrent writers can corrupt. — Assets/Script/9_MixedScene/Translate/TranslateManager.cs:12
`CameraManager` keeps mutable `static` state — one slot for the whole process, shared by every thread that reaches the type however its instances are created — and mutates it outside any lock (manager; e.g. `manager` at line 16). Concurrent callers lose updates, and a collection that is not built for concurrent writers can corrupt. — Assets/Script/2_BattleScene/Camera/CameraManager.cs:7
`CardAssemblyManager` keeps mutable `static` state — one slot for the whole process, shared by every thread that reaches the type however its instances are created — and mutates it outside any lock (currentConfig, cardConfigs, currenttSingleCardInfos, currentMultiCardInfos, currentCardScripts, lastSingleCardInfos; e.g. `currentConfig` at line 65). Concurrent callers lose updates, and a collection that is not built for concurrent writers can corrupt. — Assets/Script/9_MixedScene/Card/CardAssemblyManager.cs:15
`FigureManager` keeps mutable `static` state — one slot for the whole process, shared by every thread that reaches the type however its instances are created — and mutates it outside any lock (Instance; e.g. `Instance` at line 16). Concurrent callers lose updates, and a collection that is not built for concurrent writers can corrupt. — Assets/Script/2_BattleScene/UI/Figure/FigureManager.cs:8
`TempCardIntroductionManager` keeps mutable `static` state — one slot for the whole process, shared by every thread that reaches the type however its instances are created — and mutates it outside any lock (manager; e.g. `manager` at line 20). Concurrent callers lose updates, and a collection that is not built for concurrent writers can corrupt. — Assets/Script/2_BattleScene/UI/TempCardIntroductionManager.cs:13
`CollectionManager` keeps mutable `static` state — one slot for the whole process, shared by every thread that reaches the type however its instances are created — and mutates it outside any lock (Manager; e.g. `Manager` at line 16). Concurrent callers lose updates, and a collection that is not built for concurrent writers can corrupt. — Assets/Script/1_LoginScene/PageComponents/CollectionComponent/CollectionManager.cs:6
`MenuStateCommand` keeps mutable `static` state — one slot for the whole process, shared by every thread that reaches the type however its instances are created — and mutates it outside any lock (currentState; e.g. `currentState` at line 23). Concurrent callers lose updates, and a collection that is not built for concurrent writers can corrupt. — Assets/Script/1_LoginScene/PageState/MenuStateCommand.cs:9
`NetCommand` keeps mutable `static` state — one slot for the whole process, shared by every thread that reaches the type however its instances are created — and mutates it outside any lock (TouHouHub; e.g. `TouHouHub` at line 26). Concurrent callers lose updates, and a collection that is not built for concurrent writers can corrupt. — REDACTED:16
`TaskThrowCommand` keeps mutable `static` state — one slot for the whole process, shared by every thread that reaches the type however its instances are created — and mutates it outside any lock (Token; e.g. `Token` at line 8). Concurrent callers lose updates, and a collection that is not built for concurrent writers can corrupt. — Assets/Script/9_MixedScene/Thread/TaskThrowCommand.cs:5
`NoticeCommand` keeps mutable `static` state — one slot for the whole process, shared by every thread that reaches the type however its instances are created — and mutates it outside any lock (isShowOver, okAction, cancelAction, inputAction; e.g. `isShowOver` at line 37). Concurrent callers lose updates, and a collection that is not built for concurrent writers can corrupt. — Assets/Script/9_MixedScene/UI/NotifyBoard/NoticeCommand.cs:12
`AiCommand` keeps mutable `static` state — one slot for the whole process, shared by every thread that reaches the type however its instances are created — and mutates it outside any lock (rand; e.g. `rand` at line 12). Concurrent callers lose updates, and a collection that is not built for concurrent writers can corrupt. — Assets/Script/2_BattleScene/Ai/AiCommand.cs:9
What to do
Keep singletons stateless or back their state with thread-safe types (Concurrent*/Immutable*); otherwise concurrent callers race.
A `static` field is one slot for the whole process, however its type is created: back it with a thread-safe type (ConcurrentDictionary, Interlocked), take a lock around every write, or move it into a registered singleton that does.
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.
The namespaces (global) ↔ Server depend on each other. The lightest dependency in the cycle is Server → (global) (Server.DiyCommand → DiyCardInfo, 2 type pair(s)); cut that one first, e.g. by moving the shared type to a namespace both can use or inverting it behind an interface. — OtherSolution/Server/Server/Diy/DiyCommand.cs:10
The namespaces Live2D.Cubism.Core ↔ Live2D.Cubism.Framework depend on each other. The lightest dependency in the cycle is Live2D.Cubism.Core → Live2D.Cubism.Framework (Live2D.Cubism.Core.CubismModel → Live2D.Cubism.Framework.CubismParameterStore, 1 type pair(s)); cut that one first, e.g. by moving the shared type to a namespace both can use or inverting it behind an interface. — Assets/Plugins/Live2D/Cubism/Core/CubismModel.cs:9
The namespaces Live2D.Cubism.Framework.Motion ↔ Live2D.Cubism.Framework.MotionFade depend on each other. The lightest dependency in the cycle is Live2D.Cubism.Framework.MotionFade → Live2D.Cubism.Framework.Motion (Live2D.Cubism.Framework.MotionFade.CubismFadeController → Live2D.Cubism.Framework.Motion.CubismMotionController, 1 type pair(s)); cut that one first, e.g. by moving the shared type to a namespace both can use or inverting it behind an interface. — Assets/Plugins/Live2D/Cubism/Framework/MotionFade/CubismFadeController.cs:10
The namespaces Live2D.Cubism.Rendering ↔ Live2D.Cubism.Rendering.Masking depend on each other. The lightest dependency in the cycle is Live2D.Cubism.Rendering → Live2D.Cubism.Rendering.Masking (Live2D.Cubism.Rendering.CubismRenderer → Live2D.Cubism.Rendering.Masking.CubismMaskProperties, 1 type pair(s)); cut that one first, e.g. by moving the shared type to a namespace both can use or inverting it behind an interface. — Assets/Plugins/Live2D/Cubism/Rendering/CubismRenderer.cs:10
The namespaces TouhouMachineLearningSummary ↔ TouhouMachineLearningSummary.Config ↔ TouhouMachineLearningSummary.Manager depend on each other. The lightest dependency in the cycle is TouhouMachineLearningSummary → TouhouMachineLearningSummary.Config (TouhouMachineLearningSummary.Card → TouhouMachineLearningSummary.Config.CardAbilityConfig, 1 type pair(s)); cut that one first, e.g. by moving the shared type to a namespace both can use or inverting it behind an interface. — Assets/Script/9_MixedScene/Card/Card.cs:7
What to do
Break namespace cycles inside a project by moving the shared type to a namespace both sides can use, or by inverting the back edge behind an interface.
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 · Architecture — Whether interfaces stay focused rather than fat — the Interface-Segregation principle (SOLID 'I').
Method: Roslyn scan: public interface declared-member counts (accessors fold into their property/event); fat-interface threshold (over 15 declared members) flagged per type. Each finding also reports the distinct-OPERATION count — members counted by name, so an overload group counts once — which decides whether it states the caller-side ISP harm or the implementer-side burden of an overload set. TypeScript: exported interfaces that declare behaviour, counted over their REQUIRED operations (method signatures and function-typed properties with no `?`, once per signature) — data-shape interfaces and ambient .d.ts declarations are outside the population; JavaScript declares no interfaces and is not applicable. Deterministic, type-level.
Do you agree with this assessment?
C1 · Data Protection3.0 / 10Weak✓ Tool-verified
Other · Security — Whether sensitive data is encrypted at rest and in transit and keys are vaulted.
Method: Roslyn plus filesystem scan: encryption presence (EF ColumnEncryption, key-vault references, HTTPS enforcement) and key-derivation KDF detection. Deterministic.
No data-protection or encryption usage (ASP.NET Data Protection, AES, column encryption, PBKDF2) was found — sensitive data at rest may be unprotected. If TDE/KMS/vault is delegated to infrastructure, ignore.
What to do
Encrypt sensitive data at rest (ASP.NET Core Data Protection / column encryption) and manage keys in a vault. Skip if delegated to infra (Postgres TDE, KMS, etc.).
Other · Security — Whether access is authorized by default — a framework authorization attribute/decorator or policy, or imperative guard methods (throw-on-violation) called from handlers.
Method: Roslyn scan: [Authorize] usage and authorization policies, plus imperative throw-on-violation guard methods detected via syntax. Deterministic.
No [Authorize]/policies and no imperative guard methods (throw-on-violation) were found — endpoints may be unprotected.
`CubismEyeBlinkController.Refresh` serves requests and nothing authorizes it: no [Authorize] or RequireAuthorization on it or its controller/group, no fallback policy, no auth-gate middleware and no imperative guard in this codebase. — Assets/Plugins/Live2D/Cubism/Framework/CubismEyeBlinkController.cs:49
`CubismEyeBlinkController.OnLateUpdate` serves requests and nothing authorizes it: no [Authorize] or RequireAuthorization on it or its controller/group, no fallback policy, no auth-gate middleware and no imperative guard in this codebase. — Assets/Plugins/Live2D/Cubism/Framework/CubismEyeBlinkController.cs:98
`CubismUpdateController.Refresh` serves requests and nothing authorizes it: no [Authorize] or RequireAuthorization on it or its controller/group, no fallback policy, no auth-gate middleware and no imperative guard in this codebase. — Assets/Plugins/Live2D/Cubism/Framework/CubismUpdateController.cs:31
`CubismExpressionController.OnLateUpdate` serves requests and nothing authorizes it: no [Authorize] or RequireAuthorization on it or its controller/group, no fallback policy, no auth-gate middleware and no imperative guard in this codebase. — Assets/Plugins/Live2D/Cubism/Framework/Expression/CubismExpressionController.cs:117
`CubismHarmonicMotionController.Refresh` serves requests and nothing authorizes it: no [Authorize] or RequireAuthorization on it or its controller/group, no fallback policy, no auth-gate middleware and no imperative guard in this codebase. — Assets/Plugins/Live2D/Cubism/Framework/HarmonicMotion/CubismHarmonicMotionController.cs:60
`CubismHarmonicMotionController.OnLateUpdate` serves requests and nothing authorizes it: no [Authorize] or RequireAuthorization on it or its controller/group, no fallback policy, no auth-gate middleware and no imperative guard in this codebase. — Assets/Plugins/Live2D/Cubism/Framework/HarmonicMotion/CubismHarmonicMotionController.cs:100
`CubismLookController.Refresh` serves requests and nothing authorizes it: no [Authorize] or RequireAuthorization on it or its controller/group, no fallback policy, no auth-gate middleware and no imperative guard in this codebase. — Assets/Plugins/Live2D/Cubism/Framework/LookAt/CubismLookController.cs:116
`CubismLookController.OnLateUpdate` serves requests and nothing authorizes it: no [Authorize] or RequireAuthorization on it or its controller/group, no fallback policy, no auth-gate middleware and no imperative guard in this codebase. — Assets/Plugins/Live2D/Cubism/Framework/LookAt/CubismLookController.cs:156
`CubismMotionController.PlayAnimation` serves requests and nothing authorizes it: no [Authorize] or RequireAuthorization on it or its controller/group, no fallback policy, no auth-gate middleware and no imperative guard in this codebase. — Assets/Plugins/Live2D/Cubism/Framework/Motion/CubismMotionController.cs:102
`CubismMotionController.StopAnimation` serves requests and nothing authorizes it: no [Authorize] or RequireAuthorization on it or its controller/group, no fallback policy, no auth-gate middleware and no imperative guard in this codebase. — Assets/Plugins/Live2D/Cubism/Framework/Motion/CubismMotionController.cs:128
`CubismMotionController.StopAllAnimation` serves requests and nothing authorizes it: no [Authorize] or RequireAuthorization on it or its controller/group, no fallback policy, no auth-gate middleware and no imperative guard in this codebase. — Assets/Plugins/Live2D/Cubism/Framework/Motion/CubismMotionController.cs:142
`CubismMotionController.IsPlayingAnimation` serves requests and nothing authorizes it: no [Authorize] or RequireAuthorization on it or its controller/group, no fallback policy, no auth-gate middleware and no imperative guard in this codebase. — Assets/Plugins/Live2D/Cubism/Framework/Motion/CubismMotionController.cs:154
`CubismMotionController.SetLayerWeight` serves requests and nothing authorizes it: no [Authorize] or RequireAuthorization on it or its controller/group, no fallback policy, no auth-gate middleware and no imperative guard in this codebase. — Assets/Plugins/Live2D/Cubism/Framework/Motion/CubismMotionController.cs:170
`CubismMotionController.SetLayerAdditive` serves requests and nothing authorizes it: no [Authorize] or RequireAuthorization on it or its controller/group, no fallback policy, no auth-gate middleware and no imperative guard in this codebase. — Assets/Plugins/Live2D/Cubism/Framework/Motion/CubismMotionController.cs:187
`CubismMotionController.SetAnimationSpeed` serves requests and nothing authorizes it: no [Authorize] or RequireAuthorization on it or its controller/group, no fallback policy, no auth-gate middleware and no imperative guard in this codebase. — Assets/Plugins/Live2D/Cubism/Framework/Motion/CubismMotionController.cs:204
`CubismMotionController.SetAnimationIsLoop` serves requests and nothing authorizes it: no [Authorize] or RequireAuthorization on it or its controller/group, no fallback policy, no auth-gate middleware and no imperative guard in this codebase. — Assets/Plugins/Live2D/Cubism/Framework/Motion/CubismMotionController.cs:221
`CubismMotionController.GetFadeStates` serves requests and nothing authorizes it: no [Authorize] or RequireAuthorization on it or its controller/group, no fallback policy, no auth-gate middleware and no imperative guard in this codebase. — Assets/Plugins/Live2D/Cubism/Framework/Motion/CubismMotionController.cs:235
`CubismFadeController.Refresh` serves requests and nothing authorizes it: no [Authorize] or RequireAuthorization on it or its controller/group, no fallback policy, no auth-gate middleware and no imperative guard in this codebase. — Assets/Plugins/Live2D/Cubism/Framework/MotionFade/CubismFadeController.cs:68
`CubismFadeController.OnLateUpdate` serves requests and nothing authorizes it: no [Authorize] or RequireAuthorization on it or its controller/group, no fallback policy, no auth-gate middleware and no imperative guard in this codebase. — Assets/Plugins/Live2D/Cubism/Framework/MotionFade/CubismFadeController.cs:115
`CubismFadeController.Evaluate` serves requests and nothing authorizes it: no [Authorize] or RequireAuthorization on it or its controller/group, no fallback policy, no auth-gate middleware and no imperative guard in this codebase. — Assets/Plugins/Live2D/Cubism/Framework/MotionFade/CubismFadeController.cs:276
`CubismMouthController.Refresh` serves requests and nothing authorizes it: no [Authorize] or RequireAuthorization on it or its controller/group, no fallback policy, no auth-gate middleware and no imperative guard in this codebase. — Assets/Plugins/Live2D/Cubism/Framework/MouthMovement/CubismMouthController.cs:50
`CubismMouthController.OnLateUpdate` serves requests and nothing authorizes it: no [Authorize] or RequireAuthorization on it or its controller/group, no fallback policy, no auth-gate middleware and no imperative guard in this codebase. — Assets/Plugins/Live2D/Cubism/Framework/MouthMovement/CubismMouthController.cs:102
`CubismPhysicsController.OnLateUpdate` serves requests and nothing authorizes it: no [Authorize] or RequireAuthorization on it or its controller/group, no fallback policy, no auth-gate middleware and no imperative guard in this codebase. — Assets/Plugins/Live2D/Cubism/Framework/Physics/CubismPhysicsController.cs:57
`CubismPhysicsController.Initialize` serves requests and nothing authorizes it: no [Authorize] or RequireAuthorization on it or its controller/group, no fallback policy, no auth-gate middleware and no imperative guard in this codebase. — Assets/Plugins/Live2D/Cubism/Framework/Physics/CubismPhysicsController.cs:77
`CubismPhysicsController.Awake` serves requests and nothing authorizes it: no [Authorize] or RequireAuthorization on it or its controller/group, no fallback policy, no auth-gate middleware and no imperative guard in this codebase. — Assets/Plugins/Live2D/Cubism/Framework/Physics/CubismPhysicsController.cs:89
`CubismPhysicsController.Start` serves requests and nothing authorizes it: no [Authorize] or RequireAuthorization on it or its controller/group, no fallback policy, no auth-gate middleware and no imperative guard in this codebase. — Assets/Plugins/Live2D/Cubism/Framework/Physics/CubismPhysicsController.cs:116
`CubismPoseController.Refresh` serves requests and nothing authorizes it: no [Authorize] or RequireAuthorization on it or its controller/group, no fallback policy, no auth-gate middleware and no imperative guard in this codebase. — Assets/Plugins/Live2D/Cubism/Framework/Pose/CubismPoseController.cs:56
`CubismPoseController.OnLateUpdate` serves requests and nothing authorizes it: no [Authorize] or RequireAuthorization on it or its controller/group, no fallback policy, no auth-gate middleware and no imperative guard in this codebase. — Assets/Plugins/Live2D/Cubism/Framework/Pose/CubismPoseController.cs:235
`CubismRenderController.OnLateUpdate` serves requests and nothing authorizes it: no [Authorize] or RequireAuthorization on it or its controller/group, no fallback policy, no auth-gate middleware and no imperative guard in this codebase. — Assets/Plugins/Live2D/Cubism/Rendering/CubismRenderController.cs:472
`CubismMaskController.OnLateUpdate` serves requests and nothing authorizes it: no [Authorize] or RequireAuthorization on it or its controller/group, no fallback policy, no auth-gate middleware and no imperative guard in this codebase. — Assets/Plugins/Live2D/Cubism/Rendering/Masking/CubismMaskController.cs:170
`Api.Get` serves requests and nothing authorizes it: no [Authorize] or RequireAuthorization on it or its controller/group, no fallback policy, no auth-gate middleware and no imperative guard in this codebase. (×3) — OtherSolution/Server/Server/FileDownload/Api.cs:10, OtherSolution/Server/Server/FileDownload/Api.cs:16, OtherSolution/Server/Server/FileDownload/Api.cs:41
`MapGet("/")` serves requests and nothing authorizes it: no [Authorize] or RequireAuthorization on it or its controller/group, no fallback policy, no auth-gate middleware and no imperative guard in this codebase. — OtherSolution/ServerVersions/Program.cs:9
What to do
Protect endpoints by default-deny: [Authorize] + role/policy authorization, or imperative guard methods (throw-on-violation) called from every handler.
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.
A shipped member still throws NotImplementedException — generated scaffolding that was never completed. Implement it or remove the dead surface. (×2) — Assets/Plugins/Steamworks.NET/types/SteamNetworkingtypes/SteamNetworkingIdentity.cs:85, Assets/Plugins/Steamworks.NET/types/SteamNetworkingtypes/SteamNetworkingIdentity.cs:120
What to do
Finish or delete NotImplementedException stubs and replace placeholder literals before shipping.
Other · Code Health — Unfinished work detected by code SHAPE, not keywords: members that only throw a "not implemented" exception, methods that take inputs and return a constant, async methods that never await, dead `if (false)` / `#if false` branches, and skeleton types most of whose members are holes. A real, objective slice of technical debt.
Method: Roslyn syntax scan: incompleteness by code shape (constant-returning methods, async-never-await, #if false branches, guards that return what the code already falls through to, tests an earlier guard already decided, comparisons against NaN, skeleton types), not keyword-gated. Deterministic, code-shape heuristic.
The first 3 statements of the `if` and of the `else` are identical, so they run on both paths regardless of the condition. Lift them above the `if` — leaving them duplicated inside makes the branches read as though they handled this differently. (×2) — Assets/Plugins/Live2D/Cubism/Editor/CubismPoseMotionImporter.cs:196, Assets/Plugins/Live2D/Cubism/Framework/Json/CubismMotion3Json.cs:170
`GetIPAddr` is a shipped member whose whole body throws NotImplementedException — scaffolding that was never completed. Implement it or remove the dead surface. — Assets/Plugins/Steamworks.NET/types/SteamNetworkingtypes/SteamNetworkingIdentity.cs:85
`GetGenericBytes` is a shipped member whose whole body throws NotImplementedException — scaffolding that was never completed. Implement it or remove the dead surface. — Assets/Plugins/Steamworks.NET/types/SteamNetworkingtypes/SteamNetworkingIdentity.cs:120
`InitAsync` is declared `async` but never awaits anything, so it runs synchronously while pretending to be asynchronous. Drop `async` or do the real async work. — Assets/Script/1_LoginScene/Book/BookCommand.cs:17
`LastDialogue` is declared `async` but never awaits anything, so it runs synchronously while pretending to be asynchronous. Drop `async` or do the real async work. — Assets/Script/1_LoginScene/Dialogue/DialogueCommand.cs:142
`NextDialogue` is declared `async` but never awaits anything, so it runs synchronously while pretending to be asynchronous. Drop `async` or do the real async work. — Assets/Script/1_LoginScene/Dialogue/DialogueCommand.cs:152
`SummaryOperationsAsync` is declared `async` but never awaits anything, so it runs synchronously while pretending to be asynchronous. Drop `async` or do the real async work. — Assets/Script/1_LoginScene/Dialogue/DialogueCommand.cs:162
`Replay` is declared `async` but never awaits anything, so it runs synchronously while pretending to be asynchronous. Drop `async` or do the real async work. — Assets/Script/1_LoginScene/PageComponents/CollectionComponent/AgainstSummaryItemManager.cs:21
`TempPlayOperation` is declared `async` but never awaits anything, so it runs synchronously while pretending to be asynchronous. Drop `async` or do the real async work. — Assets/Script/2_BattleScene/Ai/AiCommand.cs:45
`SetVariation` is declared `async` but never awaits anything, so it runs synchronously while pretending to be asynchronous. Drop `async` or do the real async work. — Assets/Script/2_BattleScene/GameSystem/GameSystem.cs:195
`ClearVariation` is declared `async` but never awaits anything, so it runs synchronously while pretending to be asynchronous. Drop `async` or do the real async work. — Assets/Script/2_BattleScene/GameSystem/GameSystem.cs:199
The arm `PracticeLeader.Mononobe_no_Futo` throws `NotImplementedException` while the member's other paths do the work — the branch was never written, so every input that reaches it fails at run time. Implement the branch, or reject the input where it enters with an exception that says it is not supported. — Assets/Script/9_MixedScene/Config/DeckConfig.cs:153
The arm `PracticeLeader.Kaku_Seiga` throws `NotImplementedException` while the member's other paths do the work — the branch was never written, so every input that reaches it fails at run time. Implement the branch, or reject the input where it enters with an exception that says it is not supported. — Assets/Script/9_MixedScene/Config/DeckConfig.cs:154
The arm `PracticeLeader.Hijiri_Byakuren` throws `NotImplementedException` while the member's other paths do the work — the branch was never written, so every input that reaches it fails at run time. Implement the branch, or reject the input where it enters with an exception that says it is not supported. — Assets/Script/9_MixedScene/Config/DeckConfig.cs:155
The arm `PracticeLeader.Koishi_Komeiji` throws `NotImplementedException` while the member's other paths do the work — the branch was never written, so every input that reaches it fails at run time. Implement the branch, or reject the input where it enters with an exception that says it is not supported. — Assets/Script/9_MixedScene/Config/DeckConfig.cs:156
The arm `PracticeLeader.Kaguya_Houraisan` throws `NotImplementedException` while the member's other paths do the work — the branch was never written, so every input that reaches it fails at run time. Implement the branch, or reject the input where it enters with an exception that says it is not supported. — Assets/Script/9_MixedScene/Config/DeckConfig.cs:171
The arm `PracticeLeader.Remilia_Scarlet` throws `NotImplementedException` while the member's other paths do the work — the branch was never written, so every input that reaches it fails at run time. Implement the branch, or reject the input where it enters with an exception that says it is not supported. — Assets/Script/9_MixedScene/Config/DeckConfig.cs:186
A line of code has been commented out rather than removed — dead weight that rots and confuses. Delete it (version control remembers). (×21) — Assets/Assemblies/Sirenix/Odin Inspector/Scripts/Editor/EnsureOdinInspectorDefine.cs:75, Assets/Assemblies/Sirenix/Odin Inspector/Scripts/Editor/EnsureOdinInspectorDefine.cs:78, Assets/Assemblies/Sirenix/Odin Inspector/Scripts/Editor/EnsureOdinInspectorDefine.cs:80, …
A `#pragma warning disable` with no error codes silences every warning for the rest of the file — hidden debt. Suppress specific codes with a justification instead. — Assets/Assemblies/Sirenix/Odin Inspector/Scripts/Editor/FixBrokenUnityObjectWrapperDrawer.cs:8
What to do
Finish or delete the unfinished stubs (NotImplementedException / empty / constant-returning bodies) — they are dead surface that looks live.
Clear the softer debt: remove commented-out code and dead branches, re-enable or delete skipped tests, and replace blanket warning suppressions with targeted ones.
Maturity · Maturity — Whether the repository and its projects have a README, and whether it is substantive.
Method: Filesystem scan: README presence, word count, and headings for depth; git history for staleness. Exhaustive across root and project dirs, deterministic.
The root README is 55 words, against a bar of 120. Of the three newcomer-critical sections this check looks for by heading, in the README and in the repository documents it links, it found no a build/run or getting-started section, no a testing section, no an architecture or project-map section. Sections are matched on HEADING text only, so material written under a heading this check does not recognise — or with no heading at all — is not seen and this row may understate what the document covers. — README.md:1
What to do
Expand the README with getting-started, architecture overview and a project map.
Add a build/run (quick start) section to the root README — the first thing a newcomer needs.
Explain in the README how to run the tests. Add a section called Testing to the README in the repository's top folder, saying how to run the test suite.
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 your significant design decisions. Write one short document per decision, giving its date, the situation, the decision and its consequences, and keep them together with your other design documents. A docs/adr folder with each file named by number and title is the easiest place to find them.
Add a C4 context/container diagram (Structurizr, PlantUML or Mermaid) or an architecture.md overview.
Maturity · Maturity — Whether the repository is organised deliberately: production code and tests are set apart in a way its ecosystem or the repository itself declares.
Method: Filesystem scan: src/test folder separation and namespace-prefix consistency (majority RootNamespace agreement). Exhaustive across projects, deterministic.
Maturity · Maturity — Whether the project's current-state documentation describes the code that exists.
Method: Every current-state document's checkable claims looked up in the tree (links, versions, and artefact counts an order of magnitude off), plus two README checks: an advertised infrastructure product with no footprint, and a module the CHANGELOG records as removed. Deterministic, no model. Advisory.
Do you agree with this assessment?
P1 · CI/CD gates0.0 / 10Critical✓ Tool-verified
Readiness · Readiness — Whether an automated pipeline builds and tests every change.
Method: Filesystem scan: CI workflow files (.github/workflows, .gitlab-ci.yml, etc.) for build and test stages. Exhaustive, deterministic.
No CI workflow found (.github/workflows, azure-pipelines.yml, .gitlab-ci.yml, …) — changes aren't gated by an automated build/test.
What to do
Add a CI workflow that builds and runs the test suite on every push/PR.
Do you agree with this assessment?
P2 · Observability6.6 / 10Adequate✓ Tool-verified
Readiness · Readiness — Whether the code is diagnosable in production — structured logging, tracing/metrics, health checks.
Only 7/8 service-like projects use logging (pure contract/DTO projects are excluded — they have nothing to log). Of those 8, 2 ship a process this repository operates; the rest are libraries their consumer hosts, where the logging decision belongs to the host.
`OtherSolution/Server/Program.cs` reports through `Console.Write…` at line 53 although other files in its project log through a logger. Console lines carry no level, category or structured properties and never reach the log pipeline or its exporters. — OtherSolution/Server/Program.cs:53
`OtherSolution/Server/Program.cs` reports through `Console.Write…` at line 54 although other files in its project log through a logger. Console lines carry no level, category or structured properties and never reach the log pipeline or its exporters. — OtherSolution/Server/Program.cs:54
`OtherSolution/Server/Program.cs` reports through `Console.Write…` at line 60 although other files in its project log through a logger. Console lines carry no level, category or structured properties and never reach the log pipeline or its exporters. — OtherSolution/Server/Program.cs:60
What to do
Extend structured logging across the projects you operate, and give the library ones a diagnostics seam instead — an `EventSource`/`ActivitySource` the host can subscribe to, or an optional logger on your options object — rather than taking a logging dependency on your consumers' behalf.
Replace `Console.Write…` in service code with the project's injected `ILogger<T>` (message templates with named properties), so delivery outcomes and failures reach the log pipeline with a level and a category.
Add a health-check endpoint (AddHealthChecks/MapHealthChecks) so orchestrators and load balancers can probe liveness/readiness.
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 CodeQL's csharp pack, or a .NET security analyzer package (or `semgrep --config=auto`, which runs on any language) — 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.
`REDACTED` declares packages, and nothing in the repository keeps them current: no Dependabot or Renovate configuration that schedules updates, and no dependency-review gate on pull requests. A pinned dependency stays at the version it was added at until someone notices — including after an advisory is published against it. Add a `.github/dependabot.yml` with one `package-ecosystem` entry per ecosystem the tree uses (or an enabled `renovate.json`), and gate pull requests with `actions/dependency-review-action`. — REDACTED:10
What to do
Run what this repository's stack ships: CodeQL's csharp pack, or a .NET security analyzer package — or `semgrep --config=auto`, which runs on any language — 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.
Readiness · Readiness — Whether outbound HTTP calls are wrapped in resilience (retry/timeout/circuit-breaker) so a failing dependency doesn't cascade.
Method: Source scan: outbound HTTP clients and what bounds them — resilience handlers (Polly, AddStandardResilienceHandler) on .NET; on Go, the JVM, Python, JavaScript/TypeScript, Ruby, PHP, Rust, Elixir, Swift, Dart and Erlang, a timeout, deadline, retry or breaker beside each call, or a process-wide client default (a framework-wide deadline such as Drupal core's, Laravel's or actix's awc counts). Exhaustive, deterministic.
`new HttpClient()` builds an outbound HTTP client and nothing bounds it: no timeout is set on it and no retry or resilience policy wraps its calls in the type that owns it. A slow or failing dependency will hold this service's request, thread or connection — and cascade — until the call gives up on its own (100 s for HttpClient's default). — REDACTED:65
What to do
Add `AddStandardResilienceHandler()` (or a Polly policy and an explicit timeout) to each client registration flagged here, so a flaky dependency can't take the app down.
Readiness · Performance — Whether asynchronous code stays responsive — it avoids sync-over-async blocking (a .NET .Wait()/.GetAwaiter().GetResult(), a time.sleep or blocking HTTP call inside a Python coroutine, a *Sync call inside an async JavaScript function, block_on inside a Rust async fn, runBlocking inside a Kotlin suspend function, block() inside a Reactor publisher) that stalls a thread or event loop and risks deadlock, and, where the code is a reusable library on .NET, awaits with ConfigureAwait(false) so it never captures and stalls its caller's context.
Method: Production-source scan: sync-over-async blocking counted everywhere — .Wait()/.GetAwaiter().GetResult() in .NET; off .NET, read from each language's code model, a blocking call inside an async function (Python, TS/JS, Rust, Kotlin, Swift, Dart) or inside a Java method returning a Reactor Mono/Flux or a Scala method returning a Future or effect — and, for a .NET library with ≥5 awaits, the share of awaits using ConfigureAwait(false). Deterministic, syntax/text detection.
Other · Security — Transport security, security headers, secure cookies, input validation, middleware order and crypto hygiene (presence, not runtime).
Method: Roslyn plus filesystem scan: HSTS/security headers, secure cookies, input validation, middleware order, weak crypto (MD5/SHA1/DES); HTTPS-metadata context-aware. On a repository with no .NET source it reads JavaScript/TypeScript, Dart, Ruby, Scala, Rust or Elixir source itself (test, vendored, generated and minified paths not) for the arms that hold whether or not the code serves HTTP: a weak hash or cipher, key material fixed in the source, a TLS client that accepts any certificate, and (JavaScript/TypeScript, Ruby, Scala, Rust and Elixir) an obsolete TLS version; the server controls are not assessed there, and a Dart, Ruby, Scala, Rust or Elixir repository that serves no HTTP of its own is N/A on them. Deterministic.
`.ComputeHash(…)` puts the password `password` through a fast general-purpose digest, so a stolen hash is guessed at billions of candidates a second whether or not it is salted — no key-derivation function (PBKDF2/scrypt/Argon2/bcrypt) stands between the password and the stored value. (×2) — OtherSolution/Server/Server/Extension.cs:15, OtherSolution/ServerVersions/Extension.cs:10
`info.Password == realPassword` checks a password against the stored one in plaintext, so the store holds the password itself and whoever reads it holds every account. Store a salted KDF hash (PBKDF2/scrypt/Argon2/bcrypt) and verify by deriving again. — OtherSolution/Server/Server/mongodb/MongoDbCommand.cs:290
MD5/SHA1 is constructed here, and both are collision-broken. If this digest protects anything — a signature, an integrity or tamper check, a credential, or any value an attacker can influence — that is a real weakness: use SHA-256+ for content integrity, or a KDF (PBKDF2/Argon2/BCrypt) for password storage. If it only derives a non-security identifier (a cache key, a file or mutex name), collision resistance carries no security consequence here; make that intent explicit instead — a non-cryptographic hash such as `System.IO.Hashing.XxHash64`/`Crc32` says it in code — since the algorithm alone cannot distinguish the two uses. (×2) — REDACTED:172, REDACTED:14
`https://unpkg.com/@@antv/g2plot@1.1.28/dist/g2plot.js` is executed by this page with no Subresource Integrity. Whoever can answer that request — the CDN, anyone who compromises it, anyone on the network path — runs arbitrary script in this page's origin, with its session. — OtherSolution/Server/Pages/_Host.cshtml:11
Set: Content-Security-Policy. Missing: Strict-Transport-Security, X-Content-Type-Options, X-Frame-Options — the four headers that carry the points of this card's security-headers term (Content-Security-Policy, Strict-Transport-Security, X-Content-Type-Options, X-Frame-Options), 0.5 each. (−1.5 on this card.) — OtherSolution/Server/Program.cs:49
What to do
Store passwords with a salted KDF — `Microsoft.AspNetCore.Identity.PasswordHasher<T>`, `Rfc2898DeriveBytes` (PBKDF2), or BCrypt/Argon2 — and compare with `CryptographicOperations.FixedTimeEquals`. (A fast/plain hash, or a client-hashed value stored and compared verbatim, is not password storage.) Start in `OtherSolution/Server/Server/Extension.cs:15`.
Review each MD5/SHA1 use by what it protects: replace it with SHA-256+ (or a KDF for passwords) where the digest is security-relevant, and switch it to a non-cryptographic hash (`System.IO.Hashing.XxHash64`/`Crc32`) where it only derives an identifier such as a cache key or a mutex name. This repository constructs a collision-broken hash (MD5/SHA1) at 2 sites, not one: `REDACTED:14` (MD5CryptoServiceProvider), `REDACTED:172` (MD5CryptoServiceProvider). Each is a separate decision — fixing only the line this row cites leaves the others in place.
Pin third-party scripts and verify them: name an exact version in the URL and add an `integrity="sha384-…"` hash alongside `crossorigin="anonymous"` (both are required — an integrity hash on a cross-origin script without `crossorigin` is not evaluated, it blocks the script). Where the vendor ships a continuously-updated loader and publishes no stable hash (tag managers, analytics, chat widgets), Subresource Integrity is not available: constrain it instead with a `Content-Security-Policy` that names the exact origins allowed to execute, and drop the script from the pages that do not need it. Where the page is shipped inside a package that others host, prefer vendoring the asset and serving it from the app’s own origin, so no consumer inherits a third-party dependency they did not choose.
Add Strict-Transport-Security, X-Content-Type-Options, X-Frame-Options beside the headers already set; Content-Security-Policy is the one that pays for itself first, then Strict-Transport-Security, then nosniff and a frame policy.
Other · Code Health — Whether the code avoids sync-over-async (deadlock-prone blocking on tasks) and async void.
Method: Roslyn syntax scan: async methods scanned for .Wait()/.GetAwaiter().GetResult() and async-void outside event handlers. Deterministic, hard fact per invocation.
`async void` can't be awaited and its exceptions crash the process instead of propagating. Return `Task` — or, where the delegate contract requires void (timer/event/callback registrations), make this a thin void shim that awaits a Task-returning inner method inside try/catch so exceptions are contained. (×33) — Assets/Script/1_LoginScene/PageComponents/CardListComponent/CardListCommand.cs:107, Assets/Script/9_MixedScene/Config/AgainstConfig.cs:81, Assets/Script/1_LoginScene/PageComponents/CollectionComponent/AgainstSummaryItemManager.cs:21, …
`File.WriteAllBytes` blocks the thread on I/O while `File.WriteAllBytesAsync` exists to wait without one — inside a method that is already `async`, await the twin. — OtherSolution/Server/Pages/Diy.razor:196
Other · Code Health — Whether any branch is dead by construction — a switch arm whose label can never equal a case-normalised subject, or an `else if` whose predicate the arm above has already swallowed.
Method: Roslyn syntax + semantics: switch labels compared against the subject's own case normaliser, and if/else-if chains checked for a literal an earlier arm's containment test already swallows. Deterministic, provable per finding. Advisory.
`!IsSimulateFilpPage` can never be true where it stands: the enclosing `if` on line 102 (`IsSimulateFilpPage`) holds. No value of `IsSimulateFilpPage` satisfies all of that, so this arm never runs. Reorder the tests, drop the dead branch, or fix the bound that was meant. — Assets/Script/1_LoginScene/Book/BookCommand.cs:107
`!IsSimulateFilpPage` can never be true where it stands: the enclosing `if` on line 102 (`IsSimulateFilpPage`) holds; the guard on line 107 (`!IsSimulateFilpPage`) left this block when it was true. No value of `IsSimulateFilpPage` satisfies all of that, so this arm never runs. Reorder the tests, drop the dead branch, or fix the bound that was meant. — Assets/Script/1_LoginScene/Book/BookCommand.cs:118
`!IsSimulateFilpPage` can never be true where it stands: the enclosing `if` on line 102 (`IsSimulateFilpPage`) holds; the guard on line 107 (`!IsSimulateFilpPage`) left this block when it was true; the guard on line 118 (`!IsSimulateFilpPage`) left this block when it was true. No value of `IsSimulateFilpPage` satisfies all of that, so this arm never runs. Reorder the tests, drop the dead branch, or fix the bound that was meant. — Assets/Script/1_LoginScene/Book/BookCommand.cs:122
`!IsSimulateFilpPage` can never be true where it stands: the enclosing `if` on line 102 (`IsSimulateFilpPage`) holds; the guard on line 107 (`!IsSimulateFilpPage`) left this block when it was true; the guard on line 118 (`!IsSimulateFilpPage`) left this block when it was true; the guard on line 122 (`!IsSimulateFilpPage`) left this block when it was true. No value of `IsSimulateFilpPage` satisfies all of that, so this arm never runs. Reorder the tests, drop the dead branch, or fix the bound that was meant. — Assets/Script/1_LoginScene/Book/BookCommand.cs:126
`!IsSimulateFilpPage` can never be true where it stands: the enclosing `if` on line 102 (`IsSimulateFilpPage`) holds; the guard on line 107 (`!IsSimulateFilpPage`) left this block when it was true; the guard on line 118 (`!IsSimulateFilpPage`) left this block when it was true; the guard on line 122 (`!IsSimulateFilpPage`) left this block when it was true; the guard on line 126 (`!IsSimulateFilpPage`) left this block when it was true. No value of `IsSimulateFilpPage` satisfies all of that, so this arm never runs. Reorder the tests, drop the dead branch, or fix the bound that was meant. — Assets/Script/1_LoginScene/Book/BookCommand.cs:129
What to do
Each finding names the span that makes the branch dead and the span it is dead because of. Confirm from the two, then delete the dead arm or fix the predicate that was meant to be reachable.
Do you agree with this assessment?
X13 · Undrained process stream10.0 / 10Exemplary○ Nothing flagged
Other · Code Health — Whether a child process that has BOTH standard streams redirected drains both — reading one to the end while the other is never read deadlocks once the child fills the unread pipe.
Method: Roslyn syntax + semantics: ProcessStartInfo launches with both streams redirected, checked for a drain of each stream across the enclosing type. On a repository with no .NET source it reads JavaScript/TypeScript off the engine’s own token stream (test, vendored and minified paths not) with the same rule: a `spawn` imported from `child_process` whose stdout and stderr are both pipes (no options, no `stdio`, or `stdio` of `'pipe'`), bound to a local that never leaves its scope, where exactly one of the two streams is read, the other never, and the child’s `close`/`exit` (or the read stream’s end) is awaited; a shell redirect in the call’s arguments or a `kill` of the child suppresses it. The same rule reads Python’s `subprocess.Popen`, Dart’s `Process.start`, Ruby’s `Open3.popen3`, and Scala’s JDK process starts (`new ProcessBuilder(…).start()` with no `redirectErrorStream`/`redirectError`/`redirectOutput`/`inheritIO`, `Runtime.getRuntime.exec`) where one of `getInputStream`/`getErrorStream` is read and the other never while `waitFor()` is called or the read stream is read to its end. Deterministic, provable per finding. Advisory.
Other · Security — Whether a hand-rolled public/private IP check can be walked past — a method that unwraps IPv4-mapped IPv6 but returns the opposite verdict for the same host written as IPv4-compatible, 6to4 or NAT64.
Method: Roslyn syntax + semantics: methods that unwrap IPv4-mapped IPv6 and hand-roll IPv4 range carve-outs, checked for whether the IPv6 branch also accounts for the IPv4-compatible, 6to4 and NAT64 embeddings. Deterministic, provable per finding. Advisory.
Other · Code Health — Whether a loop that shortens a string until it fits a length budget has a floor — one with none grinds the value down to the empty string, or past it into a negative-length `Substring`.
Method: Roslyn syntax + semantics: while/do loops whose body's only effect on a string is to drop its last character, checked for whether anything — a direct comparison on the length, a body guard, a break — bounds that length below. On a repository with no .NET source it reads JavaScript/TypeScript off the engine’s own token stream (test, vendored and minified paths not) with the same rule: a `while`/`do` loop whose body’s one assignment to a value is `x = x.slice(0, -1)` or `x = x.slice|substring|substr(0, x.length - 1)`, driven by a condition that reads `x.length` only as a term of a larger expression — never compared directly, never tested for truthiness, and with no other read of `x` — and whose body has no `break`, `return`, `throw` or `if` naming `x`. Deterministic, provable per finding. Advisory.
Other · Code Health — Whether a type's disposal matches what it OWNS — releasing what it created, leaving alone what it was handed, and not declaring a finalizer for state that has nothing unmanaged to finalize.
Method: Roslyn syntax + semantics: every assignment to a disposable field is read to decide whether the type CREATED the value or was handed it, and the type's disposal is checked against that answer — an injected interface it disposes, a value it constructed and never releases, a finalizer on a type holding nothing unmanaged, and a disposable local whose every reference is a plain member read. A value handed to a container that disposes its contents (a parent control's `Controls` collection, a component `IContainer`) is released by that container and is not reported; generated code is out of population. On a repository with no .NET source the same ownership questions are read in JavaScript/TypeScript off the engine’s own token stream (test, vendored, generated and minified paths not): a class declaring `dispose()`, `[Symbol.dispose]()` or `[Symbol.asyncDispose]()` that disposes a field it was handed through a constructor parameter typed as a repository interface or resolved by a dependency-injection container; that assigns a field only ever from `new X(…)` of a disposable class and neither releases it anywhere in the class nor names it in its disposal member or a method that member calls, nor hands it to anything else; and a `const`/`let` local built from literals only whose every reference opens a statement operating on a non-release member of it. A class is disposable when every repository declaration of its name declares or inherits a disposal member, or when it is a documented library disposable (`vscode` EventEmitter, CancellationTokenSource and Disposable; three.js geometries, materials, textures, render targets, renderers, controls and composers). The finalizer arm has no JavaScript counterpart: a class cannot declare one. Dart is read for the owned-and-never-released arm: a Flutter `State` (or a class declaring `dispose()`/`close()`) whose library-private field is written only with direct creations of a framework controller, `FocusNode`, `StreamController` or periodic `Timer` (or a `.listen(…)` into a field declared `StreamSubscription`), which nothing in the class or its library releases (`dispose`/`close`/`cancel`) and which is never handed on except as a named argument. Ruby is read for the owned-and-never-released arm and the abandoned-local arm: a class declaring an instance `close`, `dispose`, `shutdown`, `stop`, `disconnect` or `terminate` whose instance variable is written only with a blockless core descriptor creation (`File.open`/`new`, `Tempfile`, `Dir.open`, `IO.popen`, the `socket` and `openssl` socket classes) that no method of the class closes and that is never handed on (passed, returned, stored, exposed by `attr_reader`, delegated) — a class whose superclass or mixin lies outside the repository is not judged — and a blockless creation read through and dropped (`File.open(path).read`) or held in a local that is never closed, returned, passed or stored (a `&:read` block-pass, an `autoclose: false` borrow and a `fileno` hand-over are not abandonment). PHP is read for the same two arms: a class (not a trait, and not one using a trait) declaring an instance `close`, `dispose`, `shutdown`, `stop`, `disconnect` or `terminate` whose `private` property (or a `final` class's `protected` one) is written only with a direct core `fopen`, `tmpfile`, `popen`, `proc_open`, `fsockopen`, `stream_socket_client`/`server` or `opendir` that nothing in the class closes (`fclose`, `pclose`, `closedir`, `unset`, a reset to `null`) and that is never handed on, and a handle held in a function's local, or read through as the argument of a reader, that is never closed, returned, passed, captured or stored; a `php://` stream, `curl_init`, `SplFileObject`, `PDO` and a function the repository declares under the core name are not read. Deterministic, provable per finding. Advisory.
`timer` is a `Timer`, which implements `IDisposable`, and it is created here (line 9). Every use of it in `Creat` reads a member through it — it is never returned, never stored, never handed to anything else, and never disposed — so this method both creates the value and is the last thing that can release it, and does not. Nothing announces the leak: the object holds its resource until finalization if its type has a finalizer, and until the process ends if it does not, so the cost accumulates once per CALL rather than showing up as a failure. Declare it with `using` (`using var timer = …;`), which releases it at the end of the scope on every path including a throw. — OtherSolution/Server/Server/Manager/PlanManager.cs:9
`timer` is a `Timer`, which implements `IDisposable`, and it is created here (line 15). Every use of it in `Creat` reads a member through it — it is never returned, never stored, never handed to anything else, and never disposed — so this method both creates the value and is the last thing that can release it, and does not. Nothing announces the leak: the object holds its resource until finalization if its type has a finalizer, and until the process ends if it does not, so the cost accumulates once per CALL rather than showing up as a failure. Declare it with `using` (`using var timer = …;`), which releases it at the end of the scope on every path including a throw. — OtherSolution/Server/Server/Manager/PlanManager.cs:15
`sshClient` is a `SshClient`, which implements `IDisposable`, and it is created here (line 47). Every use of it in `Init` reads a member through it — it is never returned, never stored, never handed to anything else, and never disposed — so this method both creates the value and is the last thing that can release it, and does not. Nothing announces the leak: the object holds its resource until finalization if its type has a finalizer, and until the process ends if it does not, so the cost accumulates once per CALL rather than showing up as a failure. Declare it with `using` (`using var sshClient = …;`), which releases it at the end of the scope on every path including a throw. — OtherSolution/Server/Server/mongodb/MongoDbCommand.cs:47
What to do
Each finding names the value and the span that decides who owns it — the `new` that created it, or the constructor parameter that handed it over. Confirm ownership from that span, then make the disposal match it: release what this type created, leave what it was injected with to whoever created THAT, and drop a finalizer whose type holds nothing unmanaged to release.
Other · Code Health — Whether a method that temporarily changes state belonging to the whole process — the working directory, an environment variable — puts it back on EVERY path: a restore reached only when nothing throws leaks the change to the rest of the process.
Method: Roslyn syntax + semantics: method bodies that write the process working directory or an environment variable and write it back in the same body, checked for whether that restore sits in a `finally`/`catch` or only on the straight-line path. On a repository with no .NET source the same rule reads production JavaScript/TypeScript off the engine’s own token stream (test, vendored and minified paths not): `process.chdir`, `process.env.NAME =`/`["NAME"] =` and `delete process.env.NAME`, and Deno’s `Deno.chdir`/`Deno.env.set`/`Deno.env.delete`, paired per function body (a nested function or arrow is its own body, and module top-level code is none), where the last write puts back a local the body captured from the same global or deletes a variable the first write set, with at least one statement between them; a write in a `catch`/`finally` of that body silences it. Deterministic, provable per finding. Advisory.
Other · Code Health — Whether async methods accept a CancellationToken so work can be cancelled (adoption curve).
Method: Roslyn scan: every async method (excluding framework-fixed overrides/Blazor handlers) checked for CancellationToken parameter presence. Deterministic, adoption percentage. On a repository with no .NET source it reads JavaScript/TypeScript off the engine’s own token stream (test, vendored and minified paths not) with the same question: every named async function that itself makes a request an AbortSignal can cancel (global `fetch`, axios and its file-local instances, ky, ofetch) counts, and it is compliant when its parameters or body name a signal or it hands one of its own parameters to the request as options; signatures a framework fixes (JSX event handlers, route and lifecycle exports, request-first handlers, `override`, `'use server'` modules, TanStack `mutationFn`) are exempt unless they take a signal. Deterministic, adoption percentage.
Only 0/122 async methods accept a CancellationToken, so in-flight work can't be stopped early when the caller gives up — whatever ends it in your host (shutdown signal, timeout, abandoned request, user cancel). Thread a token through the call chain and honour it at each await and loop; where a method genuinely cannot be interrupted, omitting it is a deliberate choice — judge against your hosting model.
No CancellationToken parameter — this work can't be stopped early once started. (×37) — Assets/Script/1_LoginScene/PageComponents/CardListComponent/CardListCommand.cs:107, Assets/Script/2_BattleScene/GameSystem/GameSystem.cs:77, Assets/Script/2_BattleScene/GameSystem/GameSystem.cs:93, …
Queues or hands on an async lambda whose work calls something that takes a CancellationToken, while neither this method nor the delegate supplies one — that work can't be stopped early once started. Take a CancellationToken here and let the lambda capture it, or use a delegate that is handed one (`Func<CancellationToken, Task>`). — Assets/Script/1_LoginScene/PageComponents/CardListComponent/CardListCommand.cs:126
Neither takes a CancellationToken nor reads the one of the function it sits in, while it calls something that takes one — this work can't be stopped early once started. Take the token, or pass on the enclosing one. — Assets/Script/9_MixedScene/UI/KeyWordPopup/KeyWordManager.cs:41
What to do
Thread a CancellationToken through async methods so work stops promptly on cancellation.
Do you agree with this assessment?
X24 · Document value interpolated into markup unescaped5.2 / 10Adequate✓ Tool-verified
Other · Security — Whether text read out of the document being converted is escaped before it is written into generated markup — a value the document's author chose, interpolated into an attribute the surrounding literal delimits, can close that attribute and open another.
Method: Roslyn semantic model over the whole compilation: a string-typed `Value`/`InnerText`/`InnerXml`/`Text` member declared inside `DocumentFormat.OpenXml` or `System.Xml` is a taint SOURCE, propagated through assignments, returns, arguments, tuple elements and string composition to its transitive closure, then read at interpolated-string holes that sit in a markup position the surrounding literal itself delimits. Escaper/encoder calls and enclosing validator conditions cut the flow. Flow- and container-insensitive by construction. A second arm needs no provenance at all and reports a type that CONTRADICTS ITSELF — the same expression escaped at one delimited markup hole and interpolated raw at another hole in the same markup position of the same type, which the type's own escaping proves is a defect without knowing where the value came from. On a repository with no .NET source it reads JavaScript/TypeScript off the token stream with the same rule: a DOM read of raw document text (`getAttribute`, `textContent`, `innerText`, `nodeValue`) is the source, propagated through local bindings and string composition, and judged at template-literal and concatenation holes in the same two delimited markup positions; escapers and validating conditions cut it, and documentation-site, test, vendored and minified scripts are not read. Deterministic, provable per finding. Advisory.
`html` is text this program did not author, and it is written into the text of an element through `innerHTML` with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework's escaping output, or sanitise it if it must stay markup. — OtherSolution/ServerVersions/Server/wwwroot/_content/AntDesign/js/split/modules/components/mentionsHelper.js:73
What to do
Each finding names the expression, the attribute it lands in and the line. Confirm the value's origin from the read this analyzer traced, then escape it at the sink or validate it against the shape the attribute accepts before interpolating.
Do you agree with this assessment?
X27 · Collection changed while being enumerated10.0 / 10Exemplary○ Nothing flagged
Other · Code Health — Whether a `foreach` leaves the collection it is walking alone — a body that adds to or removes from the very collection the loop is enumerating invalidates the enumerator it is holding, so the next `MoveNext` throws `InvalidOperationException` and the remaining items are never seen.
Method: Roslyn syntax + semantics: `foreach` statements whose body calls a structural mutator (`Add`/`Remove`/`Clear`/`Insert`/…) on the very expression the loop is enumerating. Two arms. ARM A — the source is a concrete fragile BCL collection, or a live `Keys`/`Values` view over one, and the mutator resolves to that same collection's own member; concurrent and immutable collections and arrays are outside the population by construction, since their enumerators survive a structural change. ARM B — the source is an argument-less accessor CALL on a receiver whose body is in source: the accessor must return a stored field VERBATIM and a sibling member must structurally change that same field, both read off the implementations rather than from the members' names. A mutation the loop provably exits immediately after (`break`/`return`/`throw`/`goto`), or one written inside a nested loop or a lambda, is counted and never reported. Deterministic, provable per finding. Advisory.
Do you agree with this assessment?
X28 · Index access outside its own emptiness guard4.3 / 10Weak✓ Tool-verified
Other · Code Health — Whether a condition that tests a value for emptiness indexes that same value only where the test holds — an `||` written one parenthesis too far to the left leaves an index access outside the guard beside it, so the empty case the guard exists to anticipate reaches the index and throws.
Method: Roslyn syntax only, no semantic model: the OUTERMOST `&&`/`||` of every boolean condition, read for a symbol the condition tests for emptiness (`string.IsNullOrEmpty`/`IsNullOrWhiteSpace`, a `Length`/`Count` comparison against a literal, `Any()`, a `Length`/`Count` pattern, or a comparison against `""`) and ALSO indexes. Each `symbol[...]` access is placed by a boolean-reachability walk from the access up to the outermost connective: an access is COVERED when some enclosing step has it in the right operand and the left operand, under the truth value that step forces, proves the symbol non-empty — a recursion over `&&`/`||` whose true- and false-directions are asymmetric. A finding needs BOTH an uncovered access and a covered one on the same symbol in the same condition, which is the agreeing twin that separates a misplaced parenthesis from an unrelated length test. Bare index accesses with no emptiness test in the condition are neither counted nor reported; a non-identifier receiver and a lambda nested inside the condition are outside the population. Deterministic, provable per finding. Advisory.
This access `segments[1]` has no test of the length of `segments` on its own path, while this method tests it for that position at line 118 (`segments.Length < 1`): where that test fails, this read throws. Either the test is load-bearing and this read needs it too, or the length of `segments` is fixed here and the test is dead. — Assets/Plugins/Live2D/Cubism/Framework/Json/CubismMotion3Json.cs:124
What to do
Each finding names the index access that escapes the guard and the line of the correctly bracketed access beside it. Compare the two: they differ only in where one parenthesis sits. Move it so the emptiness test brackets every access to that symbol — and if the value provably cannot be empty at this point, delete the test rather than leave a condition that guards one access and not its neighbour.
Do you agree with this assessment?
X29 · Per-element action decided by a fixed element10.0 / 10Exemplary○ Nothing flagged
Other · Code Health — Whether a decision taken once per element is taken ABOUT that element — a test inside a counted loop that reads a fixed subscript of the very collection its guarded statement indexes by the loop variable applies element zero's answer to all of them, so the elements that differ from it are all handled wrongly, and in the same direction.
Method: Roslyn syntax only, no semantic model: every `for` statement declaring exactly ONE loop variable, and every `if` inside its body that is not under a nested loop or a lambda. A site enters the population when the `if`’s condition never mentions the loop variable while the statement it guards indexes some collection by that variable ALONE (`c[i]`; `c[i + 1]` and `c[i, j]` are outside it). A finding additionally needs the AGREEING TWIN at the same-collection grain: the condition must read THAT SAME collection at a subscript that does not move — written into the condition, or reached through a local declared BEFORE the loop, so an alias bound inside the body is not followed. Both collection expressions must be simple identifiers. On a repository with no .NET source the same rule reads JavaScript/TypeScript off the engine’s own token stream (tests included, bundles and vendored paths not): a `for (let|var|const x = …; …; …)` with one declarator and a braced body, an alias followed only when it is declared before the loop in a block that encloses it and never assigned inside the loop. Deterministic, provable per finding. Advisory.
Other · Code Health — Whether exceptions are handled rather than silently swallowed or rethrown with lost stack traces.
Method: Roslyn syntax scan: every catch clause counted; empty catches and bare rethrows flagged. Population is all catch clauses, not estimated. Deterministic, hard fact.
Do you agree with this assessment?
X30 · Support guard that admits what it rejects10.0 / 10Exemplary○ Nothing flagged
Other · Code Health — Whether a guard written as a NEGATED `||` says what its author meant — `!(a || b || x != k)` is `!a && !b && x == k` by De Morgan, so a bail-out that mixes capabilities the code needs with a fault it refuses turns inside out: it fires only where the capabilities are ABSENT, and lets every value the fault term names walk straight into the body that cannot handle it.
Method: Roslyn syntax only, no semantic model: every logical-not whose operand is a parenthesised `||` chain of two or more disjuncts, flattened (a left-nested `a || b || c` read once would see `(a || b)` as one disjunct). A site enters the population on that shape alone. A finding additionally needs the disjuncts to DISAGREE in polarity: at least one bare boolean read — an identifier or member access, never an invocation, which is a predicate rather than a capability flag — and at least one `x != <constant>`, the only form that negates into an exact-value pin (`== null` negates into a looser requirement and is outside the fault set). Consistently-polarised disjunctions, all-fault or all-capability, are counted and never reported; a negated `&&` is outside the population entirely. No same-receiver gate: it was measured to cost a real defect and remove no false positive. Deterministic, provable per finding. Advisory.
Other · Code Health — Whether log calls use message templates (queryable) rather than interpolated strings.
Method: Roslyn syntax scan: every log call-site counted; interpolated-string first-argument violations flagged. Population is all log calls, not estimated. On a repository with no .NET source it reads JavaScript/TypeScript off the engine’s own token stream (test, vendored and minified paths not) with the same rule: a `trace`/`debug`/`info`/`warn`/`error`/`fatal`/`verbose`/`silly`/`http`/`log` call on a receiver named for a logger, in a package whose own or an enclosing `package.json` declares a logger that carries values as fields (pino, pino-http, nestjs-pino, Fastify, winston, bunyan, tslog, LogTape, roarr), whose first deciding argument is a template literal with substitutions; an object-literal fields argument is stepped over, a plain string message clears the call. Python is read the same way: a `debug`/`info`/`warning`/`error`/`exception`/`critical`/`log` call on a logger in a file that imports the standard library’s `logging` or structlog (loguru, which formats at the call, is not judged), whose message is a whole f-string with a non-constant field; a `%`-formatted, `.format()`-ed or concatenated message is not convicted, as in C#. PHP is read the same way: a PSR-3 level call (`emergency`…`debug`, `log`) on a logger (`$logger`, `$this->logger`, Laravel’s `Log::`, `logger()`, `\Drupal::logger()`) in a package whose `composer.json` requires a PSR-3 logger or a framework that hands one out (psr/log, Monolog, Laravel, Symfony, Drupal, CakePHP), or a file that imports one, whose message is a double-quoted string interpolating a variable; a single-quoted message clears the call, and `sprintf` or `.` concatenation is not convicted, as in C#. Dart is read the same way: a `trace`/`debug`/`info`/`warn`/`error`/`fatal` call on Sentry’s structured logger (`Sentry.logger`) whose message is a whole string literal interpolating a value (`$name`, `${…}`); the `Sentry.logger.fmt` template API clears the call. Dart that logs only through loggers with one message and no fields (package:logging, package:logger, talker, dart:developer) is not applicable rather than a reach gap. Ruby is read the same way: a `trace`/`debug`/`info`/`warn`/`error`/`fatal` call on the console gem’s `Console` (declared by a Gemfile, gemspec or Gemfile.lock, or required) or, where SemanticLogger, Ougai or dry-logger is declared or required, on a receiver named for a logger (`logger`, `@logger`, `Rails.logger`, `log`), whose first deciding argument is, as the whole argument, a double-quoted string interpolating a non-constant value (`#{…}`, `#@ivar`); a plain literal clears the call, keyword arguments are the fields, and a block, `%`-format or `+` concatenation is not convicted. Ruby that logs only through the standard Logger (Rails.logger) is not applicable rather than a reach gap. Deterministic.
Other · Code Health — Whether nullable reference types are enabled and not undermined by heavy `!` suppression.
Method: Roslyn compiler-options scan: NullableContextOptions per project; null-forgiving (!) suppression density per 1k syntax nodes. Deterministic, adoption plus suppression penalty.
This method contradicts itself about `animatorController`: line 58 assigns it with `as AnimatorController`, which hands back null rather than throwing when the value is not a `AnimatorController`, but line 59 then dereferences it directly as `animatorController.parameters` with no null test between them and no guard around it. If the `as` is right, that dereference throws NullReferenceException on the input it was written for — and the NullReferenceException names neither the cast nor the type that failed. Settle it one way — test `animatorController` once before the first use and handle the null case, or cast with `(AnimatorController)` so the failure is reported where it happens — rather than leaving the two readings side by side. — Assets/Script/1_LoginScene/Dialogue/Live2d/Live2dManager.cs:59
This method contradicts itself about `textureImporter`: line 220 assigns it with `as TextureImporter`, which hands back null rather than throwing when the value is not a `TextureImporter`, but line 224 then dereferences it directly as `textureImporter.alphaIsTransparency` with no null test between them and no guard around it. If the `as` is right, that dereference throws NullReferenceException on the input it was written for — and the NullReferenceException names neither the cast nor the type that failed. Settle it one way — test `textureImporter` once before the first use and handle the null case, or cast with `(TextureImporter)` so the failure is reported where it happens — rather than leaving the two readings side by side. — Assets/Plugins/Live2D/Cubism/Editor/Importers/CubismImporter.cs:224
This method contradicts itself about `userInfo`: line 203 tests it for null before doing anything with it — the author's own statement that null is an input this code expects — but that `if` scopes only the block beneath it, and line 215 then dereferences `userInfo` as `userInfo.Faiths` AFTER the block has closed, where the guard no longer applies. A null `userInfo` skips the guarded body and reaches that line anyway, throwing NullReferenceException on exactly the input the guard was written for. If the dereference belongs to the guarded work, move it inside the block; if `userInfo` truly cannot be null by then, the guard above is misleading and should go. — OtherSolution/Server/Server/mongodb/MongoDbCommand.cs:215
3/4 NRT-eligible project(s) enable <Nullable>enable</Nullable> (projects targeting a pre-C#-8 framework are excluded — NRTs aren't available there). NRTs catch a whole class of null-deref bugs at compile time.
What to do
Where a method uses `?.` on a symbol and then dereferences it directly, settle the question once: test it before the first use and handle null, or drop the `?.`.
Where a method null-tests a symbol and then uses it after the guarded block closes, move the trailing work inside the block — the guard skips its body on null, it does not stop the method.
Enable <Nullable>enable</Nullable> across all projects and resolve warnings rather than suppressing with `!`.
Do you agree with this assessment?
WCAG coverage — what static analysis assessed
Statically assessed 15 of 55 WCAG 2.2 Level A/AA success criteria (27%; ≈30% of the 50 WCAG 2.1 AA criteria for EN 301 549). The other 40 require runtime or manual evaluation. Partial signal only (a clean result is necessary, not sufficient; static analysis fully verifies none). This is accessibility readiness, not a conformance claim — a WCAG conformance claim requires manual evaluation (WCAG-EM 1.0).
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 — 2 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 — 4 observation(s) recorded · Advisory — this card reports evidence and never carries a score.
X10 Duplicated predicate — 7 observation(s) recorded · Advisory — this card reports evidence and never carries a score.
Not evidenced — 5 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 — Repo shows no audit-logging mechanism (IAuditable, an immutable audit log, an EF SaveChanges interceptor) for sensitive changes — absence of evidence is not evidence of a working control. Record an audit trail in code (or document where it lives) so this dimension can be scored.
C4 Data Retention — Repo shows no data-retention / TTL / cleanup mechanism for personal data — absence of evidence is not evidence of a working control. Define retention periods and a purge/cleanup job (or TTL) in code, or document where retention is enforced, so this dimension can be scored.
C5 Data-Subject Rights — Repo shows no corroborated data-subject-rights mechanism (erasure / export-portability / consent) tied to a subject id or GDPR vocabulary — absence of evidence is not evidence of a working control. Implement erasure, data export/portability and consent tracking over the subject's records.
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
Not included — 45 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.
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
AXB2 Runtime readiness — Advisory — this card reports evidence and never carries a score, so there is nothing missing here.
AXR1 Runtime accessibility — the service exited before it opened a port — `ASPNETCORE_URLS=http://127.0.0.1:0 ASPNETCORE_ENVIRONMENT=Development dotnet run --no-build --no-launch-profile --project 'REDACTED'`: userId, UInt32 groupId, UInt32[] groups, Int32& stdinFd, Int32& stdoutFd, Int32& stderrFd, Boolean usesTerminal, Boolean throwOnNoExec)
at System.Diagnostics.Process.StartCore(ProcessStartInfo star…; runtime evidence skipped (launch chosen because REDACTED is a Microsoft.NET.Sdk.Web project) This is a statement about this run, not a statement about your application: nothing here says the surface is inaccessible, only that it was never rendered.
D10 Test Quality — ~262 lines of test code exist on disk but weren't loaded from the analyzed solution (excluded from the .sln, or co-located/using a test attribute not loaded here), so test quality couldn't be assessed. Include the tests in the analyzed solution to enable this check.
D11 Test Reliability — Test reliability not measured — no test run produced results
D12 Dependency Hygiene — Dependency hygiene not measured
D16 Bus Factor — single-contributor repository — bus factor is not applicable
D19 Documentation Quality — D19 withholds "XML-doc coverage": 12 candidate(s) (0 of them low-coverage Warnings on library projects) were measured and not published.
D22 Internal API Consistency — No intentionally-exposed public API to evaluate for consistency.
D23 Boundary Type-Coupling — Cross-context type coupling could not be assessed — this codebase's bounded contexts are neither declared nor inferable.
D25 ADR Conformance — no ADRs to check
D27 Navigability — symbol resolution incomplete — navigability not assessed
D28 Secrets (history) — gitleaks killed before it finished — this repository's working tree not scanned
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) — 5 file(s) were not parsed by semgrep — the PII/GDPR ruleset never ran over them
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.
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.
D7 Architectural Integrity — no checkable ADRs and no dependency cycles — architectural integrity not assessed
D8 Code Coverage — Coverage NOT MEASURED: this repository did not build in our analyzer environment (a C#/MSBuild compiler error), so no coverage could be collected. It is excluded from the score rather than counted as a near-zero defect. We did not read WHERE the failing diagnostic is, so this does not claim the fault is in your test code — a repository written for an older SDK band can compile for you and not for us. Run `dotnet build` on this commit; if it succeeds, the gap is ours. Committing the Cobertura/OpenCover/lcov report your CI already produces also lets us measure real coverage without building anything.
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 only 1 of the 3 signals this lens looks for (a message-bus package)
ED5 Idempotency — Not assessed, and this one is on us: 1 of the 1 handler(s) found here write to persistent state through an entry point this check does not yet recognise (an explicitly-implemented interface method, or a static handler method). Idempotency was neither confirmed nor ruled out for them — this is a limit of the analyzer, not a finding about your code.
ES1 Event Sourcing — not scored — this repository shows none of the 3 signals this lens looks for
P12 CI test-gate honesty — no CI workflow found
P8 Schema migrations — no EF Core usage detected
P9 Domain vs controller coverage — coverage not measured: this check compares the coverage of the analyzer's own test run across the domain and web layers, and that run measured none here — Test coverage (D8) says why
PF1 Benchmark discipline — Performance is assessed only for perf-relevant repos — a packaged library, one that ships benchmarks, or one already using allocation-aware APIs. This repo isn't one, so the Performance lens is not applicable and is excluded from the score.
PF2 Allocation hygiene — Not scored: this check counted allocation-aware idioms (Span, pools, stackalloc) per line, which describes what kind of code a repository is rather than whether it has an allocation problem, so it was withdrawn. Nothing here is a finding about your code.
X15 Unvalidated length from an untrusted reader — not applicable — the code was read and holds no site of this kind, so there is nothing for this check to judge
X17 Uncapped recursion over a caller-supplied document — not applicable — the code was read and holds no site of this kind, so there is nothing for this check to judge
X20 Mistyped argument guard — not applicable — the code was read and holds no site of this kind, so there is nothing for this check to judge
X21 Side-effecting pattern guard — not applicable — the code was read and holds no site of this kind, so there is nothing for this check to judge
X22 Contradicted release guard — not applicable — the code was read and holds no site of this kind, so there is nothing for this check to judge
X23 Unguarded diagnostic materialisation — not applicable — the code was read and holds no site of this kind, so there is nothing for this check to judge
X25 Inert configuration knob — not applicable — the code was read and holds no site of this kind, so there is nothing for this check to judge
X26 Unsynchronised callback handoff — not applicable — the code was read and holds no site of this kind, so there is nothing for this check to judge
X32 Type resolved by simple name across every loaded assembly — not applicable — the code was read and holds no site of this kind, so there is nothing for this check to judge
X6 Hand-rolled structured-format parsing — Advisory — this card reports evidence and never carries a score, so there is nothing missing here.
X7 Silent fallback defaults — Advisory — this card reports evidence and never carries a score, so there is nothing missing here.
X9 Subsumed condition operand — Advisory — this card reports evidence and never carries a score, so there is nothing missing here.
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.
Namespace dependency cycle OtherSolution/Server/Server/Diy/DiyCommand.cs:10— The namespaces (global) ↔ Server depend on each other. The lightest dependency in the cycle is Server → (global) (Server.DiyCommand → DiyCardInfo, 2 type pair(s)); cut that one first, e.g. by moving the shared type to a namespace both can use or inverting it behind an interface.
Namespace dependency cycle Assets/Plugins/Live2D/Cubism/Core/CubismModel.cs:9— The namespaces Live2D.Cubism.Core ↔ Live2D.Cubism.Framework depend on each other. The lightest dependency in the cycle is Live2D.Cubism.Core → Live2D.Cubism.Framework (Live2D.Cubism.Core.CubismModel → Live2D.Cubism.Framework.CubismParameterStore, 1 type pair(s)); cut that one first, e.g. by moving the shared type to a namespace both can use or inverting it behind an interface.
Namespace dependency cycle Assets/Plugins/Live2D/Cubism/Framework/MotionFade/CubismFadeController.cs:10— The namespaces Live2D.Cubism.Framework.Motion ↔ Live2D.Cubism.Framework.MotionFade depend on each other. The lightest dependency in the cycle is Live2D.Cubism.Framework.MotionFade → Live2D.Cubism.Framework.Motion (Live2D.Cubism.Framework.MotionFade.CubismFadeController → Live2D.Cubism.Framework.Motion.CubismMotionController, 1 type pair(s)); cut that one first, e.g. by moving the shared type to a namespace both can use or inverting it behind an interface.
Namespace dependency cycle Assets/Plugins/Live2D/Cubism/Rendering/CubismRenderer.cs:10— The namespaces Live2D.Cubism.Rendering ↔ Live2D.Cubism.Rendering.Masking depend on each other. The lightest dependency in the cycle is Live2D.Cubism.Rendering → Live2D.Cubism.Rendering.Masking (Live2D.Cubism.Rendering.CubismRenderer → Live2D.Cubism.Rendering.Masking.CubismMaskProperties, 1 type pair(s)); cut that one first, e.g. by moving the shared type to a namespace both can use or inverting it behind an interface.
Namespace dependency cycle Assets/Script/9_MixedScene/Card/Card.cs:7— The namespaces TouhouMachineLearningSummary ↔ TouhouMachineLearningSummary.Config ↔ TouhouMachineLearningSummary.Manager depend on each other. The lightest dependency in the cycle is TouhouMachineLearningSummary → TouhouMachineLearningSummary.Config (TouhouMachineLearningSummary.Card → TouhouMachineLearningSummary.Config.CardAbilityConfig, 1 type pair(s)); cut that one first, e.g. by moving the shared type to a namespace both can use or inverting it behind an interface.
WriteOnlyPrivateField Assets/Script/1_LoginScene/Dialogue/Live2d/Live2dModelManager.cs:35— private float targetValue — assigned 1 time(s), read never — this field is written and never read anywhere its type can be reached from, so the state it keeps answers no question: every assignment to it computes a value that nothing observes, on every instance, for the lifetime of each one. It reads as a flag the code branches on, and nothing branches on it. Delete the field and its assignments — or, if the value was MEANT to be consulted, the missing read is the defect this row is pointing at, and the branch that should have depended on it is not there.
WriteOnlyPrivateField Assets/Script/9_MixedScene/Card/CardAssemblyManager.cs:18— private bool isUseLocalAssembly — assigned 1 time(s), read never — this field is written and never read anywhere its type can be reached from, so the state it keeps answers no question: every assignment to it computes a value that nothing observes, on every instance, for the lifetime of each one. It reads as a flag the code branches on, and nothing branches on it. Delete the field and its assignments — or, if the value was MEANT to be consulted, the missing read is the defect this row is pointing at, and the branch that should have depended on it is not there.
WriteOnlyPrivateField OtherSolution/Server/Pages/Error.cshtml.cs:15— private ILogger<ErrorModel> _logger — assigned 1 time(s), read never — this field is written and never read anywhere its type can be reached from, so the state it keeps answers no question: every assignment to it computes a value that nothing observes, on every instance, for the lifetime of each one. It reads as a flag the code branches on, and nothing branches on it. Delete the field and its assignments — or, if the value was MEANT to be consulted, the missing read is the defect this row is pointing at, and the branch that should have depended on it is not there.
WriteOnlyPrivateField OtherSolution/Server/Server/Manager/HoldListManager.cs:10— private List<PlayerInfo> playerInfos — assigned 1 time(s), read never — this field is written and never read anywhere its type can be reached from, so the state it keeps answers no question: every assignment to it computes a value that nothing observes, on every instance, for the lifetime of each one. It reads as a flag the code branches on, and nothing branches on it. Delete the field and its assignments — or, if the value was MEANT to be consulted, the missing read is the defect this row is pointing at, and the branch that should have depended on it is not there.
AC3 · Page structure· Routed page without a <PageTitle> · ×3
Routed page without a <PageTitle> OtherSolution/Server/Pages/Counter.razor:6— A route with no <PageTitle> gives no name in the tab, history or screen-reader page list — the host's <HeadOutlet /> projects whatever title the routed component supplies, and this one supplies none. Add a <PageTitle> to this component (a literal <title> in the host document would be overwritten by the outlet).
Routed page without a <PageTitle> OtherSolution/Server/Pages/Diy - 复制.razor:4— A route with no <PageTitle> gives no name in the tab, history or screen-reader page list — the host's <HeadOutlet /> projects whatever title the routed component supplies, and this one supplies none. Add a <PageTitle> to this component (a literal <title> in the host document would be overwritten by the outlet).
Routed page without a <PageTitle> OtherSolution/Server/Pages/Diy.razor:75— A route with no <PageTitle> gives no name in the tab, history or screen-reader page list — the host's <HeadOutlet /> projects whatever title the routed component supplies, and this one supplies none. Add a <PageTitle> to this component (a literal <title> in the host document would be overwritten by the outlet).
S1 · Web-Security Posture· Password hashing without a KDF · ×3
Password hashing without a KDF OtherSolution/Server/Server/Extension.cs:15— `.ComputeHash(…)` puts the password `password` through a fast general-purpose digest, so a stolen hash is guessed at billions of candidates a second whether or not it is salted — no key-derivation function (PBKDF2/scrypt/Argon2/bcrypt) stands between the password and the stored value.
Password hashing without a KDF OtherSolution/Server/Server/mongodb/MongoDbCommand.cs:290— `info.Password == realPassword` checks a password against the stored one in plaintext, so the store holds the password itself and whoever reads it holds every account. Store a salted KDF hash (PBKDF2/scrypt/Argon2/bcrypt) and verify by deriving again.
Password hashing without a KDF OtherSolution/ServerVersions/Extension.cs:10— `.ComputeHash(…)` puts the password `password` through a fast general-purpose digest, so a stolen hash is guessed at billions of candidates a second whether or not it is salted — no key-derivation function (PBKDF2/scrypt/Argon2/bcrypt) stands between the password and the stored value.
AC2 · Forms & labels· <InputFile> without a programmatic label · ×1
<InputFile> without a programmatic label OtherSolution/Server/Pages/Diy.razor:215— This control has no associated label. Add a <label for> / wrapping <label> / aria-label / aria-labelledby so assistive tech can name it.
Viewport restricts zoom OtherSolution/Server/Pages/Error.cshtml:9— user-scalable=no/0 or a maximum-scale below 2 stops low-vision users zooming to 200%. Remove the zoom restriction from the viewport meta.
DiscardedPureResult OtherSolution/Server/Server/HttpServer/HttpServer.cs:42— request.Replace("\\", "/"); — strings are immutable, so this call cannot change the text it was called on: it computes a new string and the statement throws it away, leaving the original exactly as it was. The line reads as the transformation it names, and the value that comes out of this method later is the untransformed one. Assign the result — to the same variable, or to the field or property the transformed text was meant to reach — or, if the call really was pointless, delete the line rather than leaving something that looks like it works.
NoWarnInCsproj repeated across 11 files Assembly-CSharp-Editor-firstpass.csproj:28— The identical NoWarnInCsproj (`0169`) appears in 11 files (22 occurrences) — a single repo-wide policy (e.g. a Directory.Build.props decision or an idiomatic suppression), not 22 independent debts. Decide it once centrally rather than file-by-file. (Every occurrence still counts toward the score and metrics.)
Serious — 413 finding(s)
AX2 · Stateful singletons· Process-global static state · ×37
Process-global static state: CubismLogging Assets/Plugins/Live2D/Cubism/Core/CubismLogging.cs:21— `CubismLogging` keeps mutable `static` state — one slot for the whole process, shared by every thread that reaches the type however its instances are created — and mutates it outside any lock (LogDelegate; e.g. `LogDelegate` at line 48). Concurrent callers lose updates, and a collection that is not built for concurrent writers can corrupt.
Process-global static state: CubismMoc Assets/Plugins/Live2D/Cubism/Core/CubismMoc.cs:23— `CubismMoc` keeps mutable `static` state — one slot for the whole process, shared by every thread that reaches the type however its instances are created — and mutates it outside any lock (CoreNotFoundCallCount; e.g. `CoreNotFoundCallCount` at line 116). Concurrent callers lose updates, and a collection that is not built for concurrent writers can corrupt.
Process-global static state: CubismModel Assets/Plugins/Live2D/Cubism/Core/CubismModel.cs:25— `CubismModel` keeps mutable `static` state — one slot for the whole process, shared by every thread that reaches the type however its instances are created — and mutates it outside any lock (_modelUpdateFunctions; e.g. `_modelUpdateFunctions` at line 392). Concurrent callers lose updates, and a collection that is not built for concurrent writers can corrupt.
Process-global static state: CubismUnmanagedMemory Assets/Plugins/Live2D/Cubism/Core/Unmanaged/CubismUnmanagedMemory.cs:21— `CubismUnmanagedMemory` keeps mutable `static` state — one slot for the whole process, shared by every thread that reaches the type however its instances are created — and mutates it outside any lock (Allocations; e.g. `Allocations` at line 67). Concurrent callers lose updates, and a collection that is not built for concurrent writers can corrupt.
Process-global static state: CubismRenderer Assets/Plugins/Live2D/Cubism/Rendering/CubismRenderer.cs:21— `CubismRenderer` keeps mutable `static` state — one slot for the whole process, shared by every thread that reaches the type however its instances are created — and mutates it outside any lock (_sharedPropertyBlock; e.g. `_sharedPropertyBlock` at line 554). Concurrent callers lose updates, and a collection that is not built for concurrent writers can corrupt.
Process-global static state: CubismMaskCommandBuffer Assets/Plugins/Live2D/Cubism/Rendering/Masking/CubismMaskCommandBuffer.cs:19— `CubismMaskCommandBuffer` keeps mutable `static` state — one slot for the whole process, shared by every thread that reaches the type however its instances are created — and mutates it outside any lock (Sources, Buffer; e.g. `Sources` at line 50). Concurrent callers lose updates, and a collection that is not built for concurrent writers can corrupt.
Process-global static state: CubismMaskTransform Assets/Plugins/Live2D/Cubism/Rendering/Masking/CubismMaskTransform.cs:17— `CubismMaskTransform` keeps mutable `static` state — one slot for the whole process, shared by every thread that reaches the type however its instances are created — and mutates it outside any lock (_uniqueId; e.g. `_uniqueId` at line 42). Concurrent callers lose updates, and a collection that is not built for concurrent writers can corrupt.
Process-global static state: CubismBuiltinAsyncTaskHandler Assets/Plugins/Live2D/Cubism/Framework/Tasking/CubismBuiltinAsyncTaskHandler.cs:20— `CubismBuiltinAsyncTaskHandler` keeps mutable `static` state — one slot for the whole process, shared by every thread that reaches the type however its instances are created — and mutates it outside any lock (Tasks, Worker, Lock, Signal; e.g. `Tasks` at line 88). Concurrent callers lose updates, and a collection that is not built for concurrent writers can corrupt.
Process-global static state: TheWorldEffect Assets/Script/2_BattleScene/ParticleSystem-废弃/TheWorldEffect.cs:3— `TheWorldEffect` keeps mutable `static` state — one slot for the whole process, shared by every thread that reaches the type however its instances are created — and mutates it outside any lock (num; e.g. `num` at line 25). Concurrent callers lose updates, and a collection that is not built for concurrent writers can corrupt.
Process-global static state: PageComponentInfo Assets/Script/1_LoginScene/PageComponents/PageInfo/PageComponentInfo.cs:14— `PageComponentInfo` keeps mutable `static` state — one slot for the whole process, shared by every thread that reaches the type however its instances are created — and mutates it outside any lock (Instance, cardDeckNameModel, cardDeckContent, cardDeckCardModel, cardLeaderImageModel, cardLibraryContent; e.g. `Instance` at line 170). Concurrent callers lose updates, and a collection that is not built for concurrent writers can corrupt.
Process-global static state: ParticleInfo Assets/Script/2_BattleScene/ParticleSystem-废弃/ParticleInfo.cs:5— `ParticleInfo` keeps mutable `static` state — one slot for the whole process, shared by every thread that reaches the type however its instances are created — and mutates it outside any lock (Instance; e.g. `Instance` at line 9). Concurrent callers lose updates, and a collection that is not built for concurrent writers can corrupt.
Process-global static state: SceneEffectInfo Assets/Script/2_BattleScene/ParticleSystem-废弃/SceneEffectInfo.cs:4— `SceneEffectInfo` keeps mutable `static` state — one slot for the whole process, shared by every thread that reaches the type however its instances are created — and mutates it outside any lock (theWorldEffect; e.g. `theWorldEffect` at line 8). Concurrent callers lose updates, and a collection that is not built for concurrent writers can corrupt.
Process-global static state: SoundEffectInfo Assets/Script/9_MixedScene/SoundEffect/SoundEffectInfo.cs:7— `SoundEffectInfo` keeps mutable `static` state — one slot for the whole process, shared by every thread that reaches the type however its instances are created — and mutates it outside any lock (Instance; e.g. `Instance` at line 10). Concurrent callers lose updates, and a collection that is not built for concurrent writers can corrupt.
Process-global static state: UiInfo Assets/Script/9_MixedScene/UI/UiInfo.cs:7— `UiInfo` keeps mutable `static` state — one slot for the whole process, shared by every thread that reaches the type however its instances are created — and mutates it outside any lock (Instance; e.g. `Instance` at line 27). Concurrent callers lose updates, and a collection that is not built for concurrent writers can corrupt.
Process-global static state: DialogueInfo Assets/Script/1_LoginScene/Dialogue/DialogueInfo.cs:10— `DialogueInfo` keeps mutable `static` state — one slot for the whole process, shared by every thread that reaches the type however its instances are created — and mutates it outside any lock (instance; e.g. `instance` at line 13). Concurrent callers lose updates, and a collection that is not built for concurrent writers can corrupt.
Process-global static state: BookInfo Assets/Script/1_LoginScene/Book/BookInfo.cs:4— `BookInfo` keeps mutable `static` state — one slot for the whole process, shared by every thread that reaches the type however its instances are created — and mutates it outside any lock (instance; e.g. `instance` at line 38). Concurrent callers lose updates, and a collection that is not built for concurrent writers can corrupt.
Process-global static state: CardAbilityPopupManager Assets/Script/9_MixedScene/UI/CardAbilityPopup/CardAbilityPopupManager.cs:9— `CardAbilityPopupManager` keeps mutable `static` state — one slot for the whole process, shared by every thread that reaches the type however its instances are created — and mutates it outside any lock (Manager; e.g. `Manager` at line 27). Concurrent callers lose updates, and a collection that is not built for concurrent writers can corrupt.
Process-global static state: ArrowEndPointManager Assets/Script/2_BattleScene/UI/Arrow/ArrowEndPointManager.cs:4— `ArrowEndPointManager` keeps mutable `static` state — one slot for the whole process, shared by every thread that reaches the type however its instances are created — and mutates it outside any lock (SceneRay; e.g. `SceneRay` at line 12). Concurrent callers lose updates, and a collection that is not built for concurrent writers can corrupt.
Process-global static state: CardAbilityBoardManager Assets/Script/9_MixedScene/UI/CardAbilityBoard/CardAbilityBoardManager.cs:10— `CardAbilityBoardManager` keeps mutable `static` state — one slot for the whole process, shared by every thread that reaches the type however its instances are created — and mutates it outside any lock (Manager; e.g. `Manager` at line 16). Concurrent callers lose updates, and a collection that is not built for concurrent writers can corrupt.
Process-global static state: KeyWordManager Assets/Script/9_MixedScene/UI/KeyWordPopup/KeyWordManager.cs:10— `KeyWordManager` keeps mutable `static` state — one slot for the whole process, shared by every thread that reaches the type however its instances are created — and mutates it outside any lock (manager, words, IsCheckHover; e.g. `manager` at line 15). Concurrent callers lose updates, and a collection that is not built for concurrent writers can corrupt.
Process-global static state: CameraViewManager Assets/Script/1_LoginScene/Other/CameraViewManager.cs:7— `CameraViewManager` keeps mutable `static` state — one slot for the whole process, shared by every thread that reaches the type however its instances are created — and mutates it outside any lock (manager, targetPos, targetEuler, IsCameraWaggle, IsOpenWaggle; e.g. `manager` at line 22). Concurrent callers lose updates, and a collection that is not built for concurrent writers can corrupt.
Process-global static state: LoadingManager Assets/Script/1_LoginScene/PageComponents/LoadingComponent/LoadingManager.cs:8— `LoadingManager` keeps mutable `static` state — one slot for the whole process, shared by every thread that reaches the type however its instances are created — and mutates it outside any lock (manager; e.g. `manager` at line 13). Concurrent callers lose updates, and a collection that is not built for concurrent writers can corrupt.
Process-global static state: ChatManager Assets/Script/1_LoginScene/PageComponents/ChatComponent/ChatManager.cs:8— `ChatManager` keeps mutable `static` state — one slot for the whole process, shared by every thread that reaches the type however its instances are created — and mutates it outside any lock (MainChat; e.g. `MainChat` at line 23). Concurrent callers lose updates, and a collection that is not built for concurrent writers can corrupt.
Process-global static state: ChainManager Assets/Script/2_BattleScene/UI/Chain/ChainManager.cs:10— `ChainManager` keeps mutable `static` state — one slot for the whole process, shared by every thread that reaches the type however its instances are created — and mutates it outside any lock (chain; e.g. `chain` at line 14). Concurrent callers lose updates, and a collection that is not built for concurrent writers can corrupt.
Process-global static state: CoinManager Assets/Script/2_BattleScene/UI/Coin/CoinManager.cs:9— `CoinManager` keeps mutable `static` state — one slot for the whole process, shared by every thread that reaches the type however its instances are created — and mutates it outside any lock (time, isTimerStart, limitTime, scalePos_start, scalePos_end, center_end; e.g. `time` at line 53). Concurrent callers lose updates, and a collection that is not built for concurrent writers can corrupt.
+ 12 more in this group — see findings.md.
X2 · Cancellation propagation· Async method without CancellationToken · ×37
Async method without CancellationToken: SaveDeck Assets/Script/1_LoginScene/PageComponents/CardListComponent/CardListCommand.cs:107— No CancellationToken parameter — this work can't be stopped early once started.
Async method without CancellationToken: PlayCard Assets/Script/2_BattleScene/GameSystem/GameSystem.cs:77— No CancellationToken parameter — this work can't be stopped early once started.
Async method without CancellationToken: DeployCard Assets/Script/2_BattleScene/GameSystem/GameSystem.cs:93— No CancellationToken parameter — this work can't be stopped early once started.
Async method without CancellationToken: TransferCard Assets/Script/2_BattleScene/GameSystem/GameSystem.cs:141— No CancellationToken parameter — this work can't be stopped early once started.
Async method without CancellationToken: TransferToBelongGrave Assets/Script/2_BattleScene/GameSystem/GameSystem.cs:142— No CancellationToken parameter — this work can't be stopped early once started.
Async method without CancellationToken: SelectProperty Assets/Script/2_BattleScene/GameSystem/GameSystem.cs:206— No CancellationToken parameter — this work can't be stopped early once started.
Async method without CancellationToken: SelectLocation Assets/Script/2_BattleScene/GameSystem/GameSystem.cs:207— No CancellationToken parameter — this work can't be stopped early once started.
Async method without CancellationToken: SelectBoardCard Assets/Script/2_BattleScene/GameSystem/GameSystem.cs:216— No CancellationToken parameter — this work can't be stopped early once started.
Async method without CancellationToken: SelectBoardCard Assets/Script/2_BattleScene/GameSystem/GameSystem.cs:225— No CancellationToken parameter — this work can't be stopped early once started.
Async method without CancellationToken: SelectUnit Assets/Script/2_BattleScene/GameSystem/GameSystem.cs:235— No CancellationToken parameter — this work can't be stopped early once started.
Async method without CancellationToken: SelectRegion Assets/Script/2_BattleScene/GameSystem/GameSystem.cs:237— No CancellationToken parameter — this work can't be stopped early once started.
Async method without CancellationToken: ShowTips Assets/Script/2_BattleScene/GameSystem/GameSystem.cs:331— No CancellationToken parameter — this work can't be stopped early once started.
Async method without CancellationToken: ShowIcon Assets/Script/2_BattleScene/GameSystem/GameSystem.cs:335— No CancellationToken parameter — this work can't be stopped early once started.
Async method without CancellationToken: ShowIcon Assets/Script/2_BattleScene/GameSystem/GameSystem.cs:339— No CancellationToken parameter — this work can't be stopped early once started.
Async method without CancellationToken: ShowIconBreak Assets/Script/2_BattleScene/GameSystem/GameSystem.cs:343— No CancellationToken parameter — this work can't be stopped early once started.
Async method without CancellationToken: ShowIconBreak Assets/Script/2_BattleScene/GameSystem/GameSystem.cs:347— No CancellationToken parameter — this work can't be stopped early once started.
Async method without CancellationToken: ShowDialog Assets/Script/2_BattleScene/GameSystem/GameSystem.cs:351— No CancellationToken parameter — this work can't be stopped early once started.
Async method without CancellationToken: OnlineStart Assets/Script/9_MixedScene/Config/AgainstConfig.cs:66— No CancellationToken parameter — this work can't be stopped early once started.
Async method without CancellationToken: ReplayStart Assets/Script/9_MixedScene/Config/AgainstConfig.cs:81— No CancellationToken parameter — this work can't be stopped early once started.
Async method without CancellationToken: UploadPlayerOperationAsync Assets/Script/9_MixedScene/Against/AgainstSummaryManager.cs:119— No CancellationToken parameter — this work can't be stopped early once started.
Async method without CancellationToken: UploadSelectOperation Assets/Script/9_MixedScene/Against/AgainstSummaryManager.cs:129— No CancellationToken parameter — this work can't be stopped early once started.
Async method without CancellationToken: UploadRound Assets/Script/9_MixedScene/Against/AgainstSummaryManager.cs:178— No CancellationToken parameter — this work can't be stopped early once started.
Async method without CancellationToken: UploadTurn Assets/Script/9_MixedScene/Against/AgainstSummaryManager.cs:196— No CancellationToken parameter — this work can't be stopped early once started.
Async method without CancellationToken: UploadStartPoint Assets/Script/9_MixedScene/Against/AgainstSummaryManager.cs:222— No CancellationToken parameter — this work can't be stopped early once started.
Async method without CancellationToken: UploadEndPoint Assets/Script/9_MixedScene/Against/AgainstSummaryManager.cs:232— No CancellationToken parameter — this work can't be stopped early once started.
No authorization — No [Authorize]/policies and no imperative guard methods (throw-on-violation) were found — endpoints may be unprotected.
No authorization Assets/Plugins/Live2D/Cubism/Framework/CubismEyeBlinkController.cs:49— `CubismEyeBlinkController.Refresh` serves requests and nothing authorizes it: no [Authorize] or RequireAuthorization on it or its controller/group, no fallback policy, no auth-gate middleware and no imperative guard in this codebase.
No authorization Assets/Plugins/Live2D/Cubism/Framework/CubismEyeBlinkController.cs:98— `CubismEyeBlinkController.OnLateUpdate` serves requests and nothing authorizes it: no [Authorize] or RequireAuthorization on it or its controller/group, no fallback policy, no auth-gate middleware and no imperative guard in this codebase.
No authorization Assets/Plugins/Live2D/Cubism/Framework/CubismUpdateController.cs:31— `CubismUpdateController.Refresh` serves requests and nothing authorizes it: no [Authorize] or RequireAuthorization on it or its controller/group, no fallback policy, no auth-gate middleware and no imperative guard in this codebase.
No authorization Assets/Plugins/Live2D/Cubism/Framework/Expression/CubismExpressionController.cs:117— `CubismExpressionController.OnLateUpdate` serves requests and nothing authorizes it: no [Authorize] or RequireAuthorization on it or its controller/group, no fallback policy, no auth-gate middleware and no imperative guard in this codebase.
No authorization Assets/Plugins/Live2D/Cubism/Framework/HarmonicMotion/CubismHarmonicMotionController.cs:60— `CubismHarmonicMotionController.Refresh` serves requests and nothing authorizes it: no [Authorize] or RequireAuthorization on it or its controller/group, no fallback policy, no auth-gate middleware and no imperative guard in this codebase.
No authorization Assets/Plugins/Live2D/Cubism/Framework/HarmonicMotion/CubismHarmonicMotionController.cs:100— `CubismHarmonicMotionController.OnLateUpdate` serves requests and nothing authorizes it: no [Authorize] or RequireAuthorization on it or its controller/group, no fallback policy, no auth-gate middleware and no imperative guard in this codebase.
No authorization Assets/Plugins/Live2D/Cubism/Framework/LookAt/CubismLookController.cs:116— `CubismLookController.Refresh` serves requests and nothing authorizes it: no [Authorize] or RequireAuthorization on it or its controller/group, no fallback policy, no auth-gate middleware and no imperative guard in this codebase.
No authorization Assets/Plugins/Live2D/Cubism/Framework/LookAt/CubismLookController.cs:156— `CubismLookController.OnLateUpdate` serves requests and nothing authorizes it: no [Authorize] or RequireAuthorization on it or its controller/group, no fallback policy, no auth-gate middleware and no imperative guard in this codebase.
No authorization Assets/Plugins/Live2D/Cubism/Framework/Motion/CubismMotionController.cs:102— `CubismMotionController.PlayAnimation` serves requests and nothing authorizes it: no [Authorize] or RequireAuthorization on it or its controller/group, no fallback policy, no auth-gate middleware and no imperative guard in this codebase.
No authorization Assets/Plugins/Live2D/Cubism/Framework/Motion/CubismMotionController.cs:128— `CubismMotionController.StopAnimation` serves requests and nothing authorizes it: no [Authorize] or RequireAuthorization on it or its controller/group, no fallback policy, no auth-gate middleware and no imperative guard in this codebase.
No authorization Assets/Plugins/Live2D/Cubism/Framework/Motion/CubismMotionController.cs:142— `CubismMotionController.StopAllAnimation` serves requests and nothing authorizes it: no [Authorize] or RequireAuthorization on it or its controller/group, no fallback policy, no auth-gate middleware and no imperative guard in this codebase.
No authorization Assets/Plugins/Live2D/Cubism/Framework/Motion/CubismMotionController.cs:154— `CubismMotionController.IsPlayingAnimation` serves requests and nothing authorizes it: no [Authorize] or RequireAuthorization on it or its controller/group, no fallback policy, no auth-gate middleware and no imperative guard in this codebase.
No authorization Assets/Plugins/Live2D/Cubism/Framework/Motion/CubismMotionController.cs:170— `CubismMotionController.SetLayerWeight` serves requests and nothing authorizes it: no [Authorize] or RequireAuthorization on it or its controller/group, no fallback policy, no auth-gate middleware and no imperative guard in this codebase.
No authorization Assets/Plugins/Live2D/Cubism/Framework/Motion/CubismMotionController.cs:187— `CubismMotionController.SetLayerAdditive` serves requests and nothing authorizes it: no [Authorize] or RequireAuthorization on it or its controller/group, no fallback policy, no auth-gate middleware and no imperative guard in this codebase.
No authorization Assets/Plugins/Live2D/Cubism/Framework/Motion/CubismMotionController.cs:204— `CubismMotionController.SetAnimationSpeed` serves requests and nothing authorizes it: no [Authorize] or RequireAuthorization on it or its controller/group, no fallback policy, no auth-gate middleware and no imperative guard in this codebase.
No authorization Assets/Plugins/Live2D/Cubism/Framework/Motion/CubismMotionController.cs:221— `CubismMotionController.SetAnimationIsLoop` serves requests and nothing authorizes it: no [Authorize] or RequireAuthorization on it or its controller/group, no fallback policy, no auth-gate middleware and no imperative guard in this codebase.
No authorization Assets/Plugins/Live2D/Cubism/Framework/Motion/CubismMotionController.cs:235— `CubismMotionController.GetFadeStates` serves requests and nothing authorizes it: no [Authorize] or RequireAuthorization on it or its controller/group, no fallback policy, no auth-gate middleware and no imperative guard in this codebase.
No authorization Assets/Plugins/Live2D/Cubism/Framework/MotionFade/CubismFadeController.cs:68— `CubismFadeController.Refresh` serves requests and nothing authorizes it: no [Authorize] or RequireAuthorization on it or its controller/group, no fallback policy, no auth-gate middleware and no imperative guard in this codebase.
No authorization Assets/Plugins/Live2D/Cubism/Framework/MotionFade/CubismFadeController.cs:115— `CubismFadeController.OnLateUpdate` serves requests and nothing authorizes it: no [Authorize] or RequireAuthorization on it or its controller/group, no fallback policy, no auth-gate middleware and no imperative guard in this codebase.
No authorization Assets/Plugins/Live2D/Cubism/Framework/MotionFade/CubismFadeController.cs:276— `CubismFadeController.Evaluate` serves requests and nothing authorizes it: no [Authorize] or RequireAuthorization on it or its controller/group, no fallback policy, no auth-gate middleware and no imperative guard in this codebase.
No authorization Assets/Plugins/Live2D/Cubism/Framework/MouthMovement/CubismMouthController.cs:50— `CubismMouthController.Refresh` serves requests and nothing authorizes it: no [Authorize] or RequireAuthorization on it or its controller/group, no fallback policy, no auth-gate middleware and no imperative guard in this codebase.
No authorization Assets/Plugins/Live2D/Cubism/Framework/MouthMovement/CubismMouthController.cs:102— `CubismMouthController.OnLateUpdate` serves requests and nothing authorizes it: no [Authorize] or RequireAuthorization on it or its controller/group, no fallback policy, no auth-gate middleware and no imperative guard in this codebase.
No authorization Assets/Plugins/Live2D/Cubism/Framework/Physics/CubismPhysicsController.cs:57— `CubismPhysicsController.OnLateUpdate` serves requests and nothing authorizes it: no [Authorize] or RequireAuthorization on it or its controller/group, no fallback policy, no auth-gate middleware and no imperative guard in this codebase.
No authorization Assets/Plugins/Live2D/Cubism/Framework/Physics/CubismPhysicsController.cs:77— `CubismPhysicsController.Initialize` serves requests and nothing authorizes it: no [Authorize] or RequireAuthorization on it or its controller/group, no fallback policy, no auth-gate middleware and no imperative guard in this codebase.
async void method: SaveDeck Assets/Script/1_LoginScene/PageComponents/CardListComponent/CardListCommand.cs:107— `async void` can't be awaited and its exceptions crash the process instead of propagating. Return `Task` — or, where the delegate contract requires void (timer/event/callback registrations), make this a thin void shim that awaits a Task-returning inner method inside try/catch so exceptions are contained.
async void method: ReplayStart Assets/Script/9_MixedScene/Config/AgainstConfig.cs:81— `async void` can't be awaited and its exceptions crash the process instead of propagating. Return `Task` — or, where the delegate contract requires void (timer/event/callback registrations), make this a thin void shim that awaits a Task-returning inner method inside try/catch so exceptions are contained.
async void method: Replay Assets/Script/1_LoginScene/PageComponents/CollectionComponent/AgainstSummaryItemManager.cs:21— `async void` can't be awaited and its exceptions crash the process instead of propagating. Return `Task` — or, where the delegate contract requires void (timer/event/callback registrations), make this a thin void shim that awaits a Task-returning inner method inside try/catch so exceptions are contained.
async void method: SendMessage Assets/Script/1_LoginScene/PageComponents/ChatComponent/ChatManager.cs:29— `async void` can't be awaited and its exceptions crash the process instead of propagating. Return `Task` — or, where the delegate contract requires void (timer/event/callback registrations), make this a thin void shim that awaits a Task-returning inner method inside try/catch so exceptions are contained.
async void method: UploadSelectOperation Assets/Script/9_MixedScene/Against/AgainstSummaryManager.cs:129— `async void` can't be awaited and its exceptions crash the process instead of propagating. Return `Task` — or, where the delegate contract requires void (timer/event/callback registrations), make this a thin void shim that awaits a Task-returning inner method inside try/catch so exceptions are contained.
async void method: UploadRound Assets/Script/9_MixedScene/Against/AgainstSummaryManager.cs:178— `async void` can't be awaited and its exceptions crash the process instead of propagating. Return `Task` — or, where the delegate contract requires void (timer/event/callback registrations), make this a thin void shim that awaits a Task-returning inner method inside try/catch so exceptions are contained.
async void method: UploadTurn Assets/Script/9_MixedScene/Against/AgainstSummaryManager.cs:196— `async void` can't be awaited and its exceptions crash the process instead of propagating. Return `Task` — or, where the delegate contract requires void (timer/event/callback registrations), make this a thin void shim that awaits a Task-returning inner method inside try/catch so exceptions are contained.
async void method: UploadStartPoint Assets/Script/9_MixedScene/Against/AgainstSummaryManager.cs:222— `async void` can't be awaited and its exceptions crash the process instead of propagating. Return `Task` — or, where the delegate contract requires void (timer/event/callback registrations), make this a thin void shim that awaits a Task-returning inner method inside try/catch so exceptions are contained.
async void method: UploadEndPoint Assets/Script/9_MixedScene/Against/AgainstSummaryManager.cs:232— `async void` can't be awaited and its exceptions crash the process instead of propagating. Return `Task` — or, where the delegate contract requires void (timer/event/callback registrations), make this a thin void shim that awaits a Task-returning inner method inside try/catch so exceptions are contained.
async void method: UploadSurrender Assets/Script/9_MixedScene/Against/AgainstSummaryManager.cs:242— `async void` can't be awaited and its exceptions crash the process instead of propagating. Return `Task` — or, where the delegate contract requires void (timer/event/callback registrations), make this a thin void shim that awaits a Task-returning inner method inside try/catch so exceptions are contained.
async void method: ShowLastText Assets/Script/1_LoginScene/Dialogue/DialogueControl.cs:14— `async void` can't be awaited and its exceptions crash the process instead of propagating. Return `Task` — or, where the delegate contract requires void (timer/event/callback registrations), make this a thin void shim that awaits a Task-returning inner method inside try/catch so exceptions are contained.
async void method: ShowNextText Assets/Script/1_LoginScene/Dialogue/DialogueControl.cs:15— `async void` can't be awaited and its exceptions crash the process instead of propagating. Return `Task` — or, where the delegate contract requires void (timer/event/callback registrations), make this a thin void shim that awaits a Task-returning inner method inside try/catch so exceptions are contained.
async void method: Play Assets/Script/1_LoginScene/Dialogue/DialogueControl.cs:16— `async void` can't be awaited and its exceptions crash the process instead of propagating. Return `Task` — or, where the delegate contract requires void (timer/event/callback registrations), make this a thin void shim that awaits a Task-returning inner method inside try/catch so exceptions are contained.
async void method: OnMouseDown Assets/Script/1_LoginScene/Book/BookTagControl.cs:17— `async void` can't be awaited and its exceptions crash the process instead of propagating. Return `Task` — or, where the delegate contract requires void (timer/event/callback registrations), make this a thin void shim that awaits a Task-returning inner method inside try/catch so exceptions are contained.
async void method: Dispose REDACTED:181— `async void` can't be awaited and its exceptions crash the process instead of propagating. Return `Task` — or, where the delegate contract requires void (timer/event/callback registrations), make this a thin void shim that awaits a Task-returning inner method inside try/catch so exceptions are contained.
async void method: DeleteFriend REDACTED:362— `async void` can't be awaited and its exceptions crash the process instead of propagating. Return `Task` — or, where the delegate contract requires void (timer/event/callback registrations), make this a thin void shim that awaits a Task-returning inner method inside try/catch so exceptions are contained.
async void method: AsyncInfo REDACTED:437— `async void` can't be awaited and its exceptions crash the process instead of propagating. Return `Task` — or, where the delegate contract requires void (timer/event/callback registrations), make this a thin void shim that awaits a Task-returning inner method inside try/catch so exceptions are contained.
async void method: ActiveCompment Assets/Script/1_LoginScene/Book/BookCommand.cs:50— `async void` can't be awaited and its exceptions crash the process instead of propagating. Return `Task` — or, where the delegate contract requires void (timer/event/callback registrations), make this a thin void shim that awaits a Task-returning inner method inside try/catch so exceptions are contained.
async void method: SimulateFilpPage Assets/Script/1_LoginScene/Book/BookCommand.cs:99— `async void` can't be awaited and its exceptions crash the process instead of propagating. Return `Task` — or, where the delegate contract requires void (timer/event/callback registrations), make this a thin void shim that awaits a Task-returning inner method inside try/catch so exceptions are contained.
async void method: UpdateServer REDACTED:78— `async void` can't be awaited and its exceptions crash the process instead of propagating. Return `Task` — or, where the delegate contract requires void (timer/event/callback registrations), make this a thin void shim that awaits a Task-returning inner method inside try/catch so exceptions are contained.
async void method: BuildAssetBundles REDACTED:147— `async void` can't be awaited and its exceptions crash the process instead of propagating. Return `Task` — or, where the delegate contract requires void (timer/event/callback registrations), make this a thin void shim that awaits a Task-returning inner method inside try/catch so exceptions are contained.
async void method: SetPoint Assets/Script/1_LoginScene/PageComponents/StageComponent/MapLineManager.cs:18— `async void` can't be awaited and its exceptions crash the process instead of propagating. Return `Task` — or, where the delegate contract requires void (timer/event/callback registrations), make this a thin void shim that awaits a Task-returning inner method inside try/catch so exceptions are contained.
async void method: OnDeckClick Assets/Script/1_LoginScene/PageComponents/DeckListComponent/DeckBoardCommand.cs:52— `async void` can't be awaited and its exceptions crash the process instead of propagating. Return `Task` — or, where the delegate contract requires void (timer/event/callback registrations), make this a thin void shim that awaits a Task-returning inner method inside try/catch so exceptions are contained.
async void method: CreatDeck Assets/Script/1_LoginScene/PageComponents/DeckListComponent/DeckBoardCommand.cs:101— `async void` can't be awaited and its exceptions crash the process instead of propagating. Return `Task` — or, where the delegate contract requires void (timer/event/callback registrations), make this a thin void shim that awaits a Task-returning inner method inside try/catch so exceptions are contained.
async void method: SetCurrentPass Assets/Script/2_BattleScene/State/StateCommand.cs:204— `async void` can't be awaited and its exceptions crash the process instead of propagating. Return `Task` — or, where the delegate contract requires void (timer/event/callback registrations), make this a thin void shim that awaits a Task-returning inner method inside try/catch so exceptions are contained.
+ 8 more in this group — see findings.md.
AC6 · Visual & motion safety· Focus outline removed in CSS without a · ×31
Focus outline removed in CSS without a :focus replacement OtherSolution/ServerVersions/Server/wwwroot/_content/AntDesign/less/upload/style/index.less:21— `.-btn` sets the outline to none/0 and no visible :focus / :focus-visible style for that element replaces it in this stylesheet, so a keyboard user cannot see where focus is. Draw a focus ring (outline, box-shadow or border) under :focus-visible.
Focus outline removed in CSS without a :focus replacement OtherSolution/ServerVersions/Server/wwwroot/_content/AntDesign/less/upload/style/index.less:12— `.` sets the outline to none/0 and no visible :focus / :focus-visible style for that element replaces it in this stylesheet, so a keyboard user cannot see where focus is. Draw a focus ring (outline, box-shadow or border) under :focus-visible.
Focus outline removed in CSS without a :focus replacement OtherSolution/ServerVersions/Server/wwwroot/_content/AntDesign/less/tree/style/mixin.less:77— `.antTreeFn(@custom-tree-prefix-cls) .` sets the outline to none/0 and no visible :focus / :focus-visible style for that element replaces it in this stylesheet, so a keyboard user cannot see where focus is. Draw a focus ring (outline, box-shadow or border) under :focus-visible.
Focus outline removed in CSS without a :focus replacement OtherSolution/ServerVersions/Server/wwwroot/_content/AntDesign/less/tabs/style/dropdown.less:29— `. -dropdown-menu` sets the outline to none/0 and no visible :focus / :focus-visible style for that element replaces it in this stylesheet, so a keyboard user cannot see where focus is. Draw a focus ring (outline, box-shadow or border) under :focus-visible.
Focus outline removed in CSS without a :focus replacement OtherSolution/ServerVersions/Server/wwwroot/_content/AntDesign/less/tabs/style/index.less:89— `. > . -nav . -nav-add` sets the outline to none/0 and no visible :focus / :focus-visible style for that element replaces it in this stylesheet, so a keyboard user cannot see where focus is. Draw a focus ring (outline, box-shadow or border) under :focus-visible.
Focus outline removed in CSS without a :focus replacement OtherSolution/ServerVersions/Server/wwwroot/_content/AntDesign/less/tabs/style/index.less:147— `.-tab-btn` sets the outline to none/0 and no visible :focus / :focus-visible style for that element replaces it in this stylesheet, so a keyboard user cannot see where focus is. Draw a focus ring (outline, box-shadow or border) under :focus-visible.
Focus outline removed in CSS without a :focus replacement OtherSolution/ServerVersions/Server/wwwroot/_content/AntDesign/less/tabs/style/index.less:159— `.-tab-remove` sets the outline to none/0 and no visible :focus / :focus-visible style for that element replaces it in this stylesheet, so a keyboard user cannot see where focus is. Draw a focus ring (outline, box-shadow or border) under :focus-visible.
Focus outline removed in CSS without a :focus replacement OtherSolution/ServerVersions/Server/wwwroot/_content/AntDesign/less/tabs/style/index.less:135— `.-tab` sets the outline to none/0 and no visible :focus / :focus-visible style for that element replaces it in this stylesheet, so a keyboard user cannot see where focus is. Draw a focus ring (outline, box-shadow or border) under :focus-visible.
Focus outline removed in CSS without a :focus replacement OtherSolution/ServerVersions/Server/wwwroot/_content/AntDesign/less/tabs/style/index.less:222— `.-tabpane` sets the outline to none/0 and no visible :focus / :focus-visible style for that element replaces it in this stylesheet, so a keyboard user cannot see where focus is. Draw a focus ring (outline, box-shadow or border) under :focus-visible.
Focus outline removed in CSS without a :focus replacement OtherSolution/ServerVersions/Server/wwwroot/_content/AntDesign/less/style/mixins/modal-mask.less:28— `.modal-mask()-wrap` sets the outline to none/0 and no visible :focus / :focus-visible style for that element replaces it in this stylesheet, so a keyboard user cannot see where focus is. Draw a focus ring (outline, box-shadow or border) under :focus-visible.
Focus outline removed in CSS without a :focus replacement OtherSolution/ServerVersions/Server/wwwroot/_content/AntDesign/less/style/mixins/operation-unit.less:6— `.operation-unit()` sets the outline to none/0 and no visible :focus / :focus-visible style for that element replaces it in this stylesheet, so a keyboard user cannot see where focus is. Draw a focus ring (outline, box-shadow or border) under :focus-visible.
Focus outline removed in CSS without a :focus replacement OtherSolution/ServerVersions/Server/wwwroot/_content/AntDesign/less/steps/style/index.less:40— `. -item-container` sets the outline to none/0 and no visible :focus / :focus-visible style for that element replaces it in this stylesheet, so a keyboard user cannot see where focus is. Draw a focus ring (outline, box-shadow or border) under :focus-visible.
Focus outline removed in CSS without a :focus replacement OtherSolution/ServerVersions/Server/wwwroot/_content/AntDesign/less/select/style/index.less:57— `.select-search-input-without-border() . -selection-search-input` sets the outline to none/0 and no visible :focus / :focus-visible style for that element replaces it in this stylesheet, so a keyboard user cannot see where focus is. Draw a focus ring (outline, box-shadow or border) under :focus-visible.
Focus outline removed in CSS without a :focus replacement OtherSolution/ServerVersions/Server/wwwroot/_content/AntDesign/less/select/style/index.less:199— `.-dropdown` sets the outline to none/0 and no visible :focus / :focus-visible style for that element replaces it in this stylesheet, so a keyboard user cannot see where focus is. Draw a focus ring (outline, box-shadow or border) under :focus-visible.
Focus outline removed in CSS without a :focus replacement OtherSolution/ServerVersions/Server/wwwroot/_content/AntDesign/less/rate/style/index.less:16— `.` sets the outline to none/0 and no visible :focus / :focus-visible style for that element replaces it in this stylesheet, so a keyboard user cannot see where focus is. Draw a focus ring (outline, box-shadow or border) under :focus-visible.
Focus outline removed in CSS without a :focus replacement OtherSolution/ServerVersions/Server/wwwroot/_content/AntDesign/less/radio/style/index.less:49— `.` sets the outline to none/0 and no visible :focus / :focus-visible style for that element replaces it in this stylesheet, so a keyboard user cannot see where focus is. Draw a focus ring (outline, box-shadow or border) under :focus-visible.
Focus outline removed in CSS without a :focus replacement OtherSolution/ServerVersions/Server/wwwroot/_content/AntDesign/less/pagination/style/index.less:94— `.-jump-prev` sets the outline to none/0 and no visible :focus / :focus-visible style for that element replaces it in this stylesheet, so a keyboard user cannot see where focus is. Draw a focus ring (outline, box-shadow or border) under :focus-visible.
Focus outline removed in CSS without a :focus replacement OtherSolution/ServerVersions/Server/wwwroot/_content/AntDesign/less/pagination/style/index.less:190— `.-prev . -item-link` sets the outline to none/0 and no visible :focus / :focus-visible style for that element replaces it in this stylesheet, so a keyboard user cannot see where focus is. Draw a focus ring (outline, box-shadow or border) under :focus-visible.
Focus outline removed in CSS without a :focus replacement OtherSolution/ServerVersions/Server/wwwroot/_content/AntDesign/less/pagination/style/index.less:283— `.-simple .-simple-pager input` sets the outline to none/0 and no visible :focus / :focus-visible style for that element replaces it in this stylesheet, so a keyboard user cannot see where focus is. Draw a focus ring (outline, box-shadow or border) under :focus-visible.
Focus outline removed in CSS without a :focus replacement OtherSolution/ServerVersions/Server/wwwroot/_content/AntDesign/less/notification/style/index.less:127— `.-notice-close` sets the outline to none/0 and no visible :focus / :focus-visible style for that element replaces it in this stylesheet, so a keyboard user cannot see where focus is. Draw a focus ring (outline, box-shadow or border) under :focus-visible.
Focus outline removed in CSS without a :focus replacement OtherSolution/ServerVersions/Server/wwwroot/_content/AntDesign/less/modal/style/modal.less:49— `.-close` sets the outline to none/0 and no visible :focus / :focus-visible style for that element replaces it in this stylesheet, so a keyboard user cannot see where focus is. Draw a focus ring (outline, box-shadow or border) under :focus-visible.
Focus outline removed in CSS without a :focus replacement OtherSolution/ServerVersions/Server/wwwroot/_content/AntDesign/less/menu/style/index.less:26— `.` sets the outline to none/0 and no visible :focus / :focus-visible style for that element replaces it in this stylesheet, so a keyboard user cannot see where focus is. Draw a focus ring (outline, box-shadow or border) under :focus-visible.
Focus outline removed in CSS without a :focus replacement OtherSolution/ServerVersions/Server/wwwroot/_content/AntDesign/less/mentions/style/index.less:61— `. > textarea` sets the outline to none/0 and no visible :focus / :focus-visible style for that element replaces it in this stylesheet, so a keyboard user cannot see where focus is. Draw a focus ring (outline, box-shadow or border) under :focus-visible.
Focus outline removed in CSS without a :focus replacement OtherSolution/ServerVersions/Server/wwwroot/_content/AntDesign/less/mentions/style/index.less:112— `.-dropdown-menu` sets the outline to none/0 and no visible :focus / :focus-visible style for that element replaces it in this stylesheet, so a keyboard user cannot see where focus is. Draw a focus ring (outline, box-shadow or border) under :focus-visible.
Focus outline removed in CSS without a :focus replacement OtherSolution/ServerVersions/Server/wwwroot/_content/AntDesign/less/mentions/style/index.less:99— `.-dropdown` sets the outline to none/0 and no visible :focus / :focus-visible style for that element replaces it in this stylesheet, so a keyboard user cannot see where focus is. Draw a focus ring (outline, box-shadow or border) under :focus-visible.
Fake-async — async method never awaits Assets/Script/1_LoginScene/Book/BookCommand.cs:17— `InitAsync` is declared `async` but never awaits anything, so it runs synchronously while pretending to be asynchronous. Drop `async` or do the real async work.
Fake-async — async method never awaits Assets/Script/1_LoginScene/Dialogue/DialogueCommand.cs:142— `LastDialogue` is declared `async` but never awaits anything, so it runs synchronously while pretending to be asynchronous. Drop `async` or do the real async work.
Fake-async — async method never awaits Assets/Script/1_LoginScene/Dialogue/DialogueCommand.cs:152— `NextDialogue` is declared `async` but never awaits anything, so it runs synchronously while pretending to be asynchronous. Drop `async` or do the real async work.
Fake-async — async method never awaits Assets/Script/1_LoginScene/Dialogue/DialogueCommand.cs:162— `SummaryOperationsAsync` is declared `async` but never awaits anything, so it runs synchronously while pretending to be asynchronous. Drop `async` or do the real async work.
Fake-async — async method never awaits Assets/Script/1_LoginScene/PageComponents/CollectionComponent/AgainstSummaryItemManager.cs:21— `Replay` is declared `async` but never awaits anything, so it runs synchronously while pretending to be asynchronous. Drop `async` or do the real async work.
Fake-async — async method never awaits Assets/Script/2_BattleScene/Ai/AiCommand.cs:45— `TempPlayOperation` is declared `async` but never awaits anything, so it runs synchronously while pretending to be asynchronous. Drop `async` or do the real async work.
Fake-async — async method never awaits Assets/Script/2_BattleScene/GameSystem/GameSystem.cs:195— `SetVariation` is declared `async` but never awaits anything, so it runs synchronously while pretending to be asynchronous. Drop `async` or do the real async work.
Fake-async — async method never awaits Assets/Script/2_BattleScene/GameSystem/GameSystem.cs:199— `ClearVariation` is declared `async` but never awaits anything, so it runs synchronously while pretending to be asynchronous. Drop `async` or do the real async work.
Low contrast colour pair in CSS (3.2:1) OtherSolution/ServerVersions/Server/wwwroot/_content/AntDesign/css/ant-design-blazor.compact.css:1— `::selection` sets color: #fff on background-color: #1890ff — 3.2:1, below the 4.5:1 WCAG AA minimum for normal text. This is a MINIFIED, build-generated sheet — editing the literal here is undone by the next vendor drop or rebuild, so override the rule in your own stylesheet (or fix it upstream / in the source the bundle is built from).
Low contrast colour pair in CSS (3.2:1) OtherSolution/ServerVersions/Server/wwwroot/_content/AntDesign/css/ant-design-blazor.compact.css:1— `.ant-dropdown-menu-dark .ant-dropdown-menu-item-selected,.ant-dropdown-menu-dark .ant-dropdown-menu-item-selected:hover,.ant-dropdown-menu-dark .ant-dropdown-menu-item-selected>a` sets color: #fff on background-color: #1890ff — 3.2:1, below the 4.5:1 WCAG AA minimum for normal text. This is a MINIFIED, build-generated sheet — editing the literal here is undone by the next vendor drop or rebuild, so override the rule in your own stylesheet (or fix it upstream / in the source the bundle is built from).
Low contrast colour pair in CSS (3.2:1) OtherSolution/ServerVersions/Server/wwwroot/_content/AntDesign/css/ant-design-blazor.compact.css:1— `.ant-tabs-card>.ant-tabs-nav .ant-tabs-tab-active,.ant-tabs-card>div>.ant-tabs-nav .ant-tabs-tab-active` sets color: #1890ff on background-color: #fff — 3.2:1, below the 4.5:1 WCAG AA minimum for normal text. This is a MINIFIED, build-generated sheet — editing the literal here is undone by the next vendor drop or rebuild, so override the rule in your own stylesheet (or fix it upstream / in the source the bundle is built from).
Low contrast colour pair in CSS (3.2:1) OtherSolution/ServerVersions/Server/wwwroot/_content/AntDesign/css/ant-design-blazor.css:1— `::selection` sets color: #fff on background-color: #1890ff — 3.2:1, below the 4.5:1 WCAG AA minimum for normal text. This is a MINIFIED, build-generated sheet — editing the literal here is undone by the next vendor drop or rebuild, so override the rule in your own stylesheet (or fix it upstream / in the source the bundle is built from).
Low contrast colour pair in CSS (3.2:1) OtherSolution/ServerVersions/Server/wwwroot/_content/AntDesign/css/ant-design-blazor.css:1— `.ant-dropdown-menu-dark .ant-dropdown-menu-item-selected,.ant-dropdown-menu-dark .ant-dropdown-menu-item-selected:hover,.ant-dropdown-menu-dark .ant-dropdown-menu-item-selected>a` sets color: #fff on background-color: #1890ff — 3.2:1, below the 4.5:1 WCAG AA minimum for normal text. This is a MINIFIED, build-generated sheet — editing the literal here is undone by the next vendor drop or rebuild, so override the rule in your own stylesheet (or fix it upstream / in the source the bundle is built from).
Low contrast colour pair in CSS (3.2:1) OtherSolution/ServerVersions/Server/wwwroot/_content/AntDesign/css/ant-design-blazor.css:1— `.ant-tabs-card>.ant-tabs-nav .ant-tabs-tab-active,.ant-tabs-card>div>.ant-tabs-nav .ant-tabs-tab-active` sets color: #1890ff on background-color: #fff — 3.2:1, below the 4.5:1 WCAG AA minimum for normal text. This is a MINIFIED, build-generated sheet — editing the literal here is undone by the next vendor drop or rebuild, so override the rule in your own stylesheet (or fix it upstream / in the source the bundle is built from).
Unfinished branch — throws NotImplementedException Assets/Script/9_MixedScene/Config/DeckConfig.cs:153— The arm `PracticeLeader.Mononobe_no_Futo` throws `NotImplementedException` while the member's other paths do the work — the branch was never written, so every input that reaches it fails at run time. Implement the branch, or reject the input where it enters with an exception that says it is not supported.
Unfinished branch — throws NotImplementedException Assets/Script/9_MixedScene/Config/DeckConfig.cs:154— The arm `PracticeLeader.Kaku_Seiga` throws `NotImplementedException` while the member's other paths do the work — the branch was never written, so every input that reaches it fails at run time. Implement the branch, or reject the input where it enters with an exception that says it is not supported.
Unfinished branch — throws NotImplementedException Assets/Script/9_MixedScene/Config/DeckConfig.cs:155— The arm `PracticeLeader.Hijiri_Byakuren` throws `NotImplementedException` while the member's other paths do the work — the branch was never written, so every input that reaches it fails at run time. Implement the branch, or reject the input where it enters with an exception that says it is not supported.
Unfinished branch — throws NotImplementedException Assets/Script/9_MixedScene/Config/DeckConfig.cs:156— The arm `PracticeLeader.Koishi_Komeiji` throws `NotImplementedException` while the member's other paths do the work — the branch was never written, so every input that reaches it fails at run time. Implement the branch, or reject the input where it enters with an exception that says it is not supported.
Unfinished branch — throws NotImplementedException Assets/Script/9_MixedScene/Config/DeckConfig.cs:171— The arm `PracticeLeader.Kaguya_Houraisan` throws `NotImplementedException` while the member's other paths do the work — the branch was never written, so every input that reaches it fails at run time. Implement the branch, or reject the input where it enters with an exception that says it is not supported.
Unfinished branch — throws NotImplementedException Assets/Script/9_MixedScene/Config/DeckConfig.cs:186— The arm `PracticeLeader.Remilia_Scarlet` throws `NotImplementedException` while the member's other paths do the work — the branch was never written, so every input that reaches it fails at run time. Implement the branch, or reject the input where it enters with an exception that says it is not supported.
Duplicated block (6 lines × 2) Assets/Script/9_MixedScene/CardSpace/CardM_S0_3C_004.cs:15— Assets/Script/9_MixedScene/CardSpace/CardM_S0_3C_004.cs:15-20 | Assets/Script/9_MixedScene/CardSpace/CardM_S0_3C_005.cs:15-20 — the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach — a file they already depend on, or a new one alongside them — and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at `Assets/Script/9_MixedScene/CardSpace/CardM_S0_3C_004.cs:15` 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 (6 lines × 2) Assets/Script/9_MixedScene/Against/AgainstSummaryManager.cs:33— Assets/Script/9_MixedScene/Against/AgainstSummaryManager.cs:33-38 | OtherSolution/Server/Server/InfoModel.cs:156-161 — 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 (6 lines × 2) Assets/Script/1_LoginScene/PageComponents/ConfigComponent/ConfigManager.cs:60— Assets/Script/1_LoginScene/PageComponents/ConfigComponent/ConfigManager.cs:60-65 | Assets/Script/1_LoginScene/PageComponents/ConfigComponent/ConfigManager.cs:69-74 — 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 `Assets/Script/1_LoginScene/PageComponents/ConfigComponent/ConfigManager.cs:69` it runs out through the closing brace of the declaration holding it — the window is that declaration's tail, not a fragment that begins part-way through something, 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 (6 lines × 2) Assets/Script/1_LoginScene/PageComponents/CardDetailComponent/CardDetailCommand.cs:17— Assets/Script/1_LoginScene/PageComponents/CardDetailComponent/CardDetailCommand.cs:17-22 | Assets/Script/1_LoginScene/PageComponents/CardDetailComponent/CardDetailCommand.cs:34-39 — 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. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any `return` inside it is the body's own exit and keeps its meaning in the moved unit.
Duplicated block (6 lines × 2) OtherSolution/Server/Server/Extension.cs:12— OtherSolution/Server/Server/Extension.cs:12-17 | OtherSolution/ServerVersions/Extension.cs:7-12 — 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. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it.
Off the main sequence: Sirenix.OdinInspector.CompatibilityLayer Sirenix.OdinInspector.CompatibilityLayer.csproj:1— Sirenix.OdinInspector.CompatibilityLayer: abstractness 0.00, instability 0.00, distance 1.00 — zone of pain — concrete and depended on by 5 project(s), so it's rigid to change.
Off the main sequence: Sirenix.OdinInspector.Modules.UnityMathematics Sirenix.OdinInspector.Modules.UnityMathematics.csproj:1— Sirenix.OdinInspector.Modules.UnityMathematics: abstractness 0.02, instability 0.00, distance 0.98 — zone of pain — concrete and depended on by 4 project(s), so it's rigid to change.
Off the main sequence: Steam Steam.csproj:1— Steam: abstractness 0.03, instability 0.00, distance 0.97 — zone of pain — concrete and depended on by 4 project(s), so it's rigid to change.
Off the main sequence: Live2D Live2D.csproj:1— Live2D: abstractness 0.08, instability 0.00, distance 0.92 — zone of pain — concrete and depended on by 5 project(s), so it's rigid to change.
Off the main sequence: Sirenix.OdinInspector.CompatibilityLayer.Editor Sirenix.OdinInspector.CompatibilityLayer.Editor.csproj:1— Sirenix.OdinInspector.CompatibilityLayer.Editor: abstractness 0.00, instability 0.20, distance 0.80 — zone of pain — concrete and depended on by 4 project(s), so it's rigid to change.
X12 · Unreachable branch· Branch is unreachable · ×5
Branch is unreachable — its condition cannot hold here Assets/Script/1_LoginScene/Book/BookCommand.cs:107— `!IsSimulateFilpPage` can never be true where it stands: the enclosing `if` on line 102 (`IsSimulateFilpPage`) holds. No value of `IsSimulateFilpPage` satisfies all of that, so this arm never runs. Reorder the tests, drop the dead branch, or fix the bound that was meant.
Branch is unreachable — its condition cannot hold here Assets/Script/1_LoginScene/Book/BookCommand.cs:118— `!IsSimulateFilpPage` can never be true where it stands: the enclosing `if` on line 102 (`IsSimulateFilpPage`) holds; the guard on line 107 (`!IsSimulateFilpPage`) left this block when it was true. No value of `IsSimulateFilpPage` satisfies all of that, so this arm never runs. Reorder the tests, drop the dead branch, or fix the bound that was meant.
Branch is unreachable — its condition cannot hold here Assets/Script/1_LoginScene/Book/BookCommand.cs:122— `!IsSimulateFilpPage` can never be true where it stands: the enclosing `if` on line 102 (`IsSimulateFilpPage`) holds; the guard on line 107 (`!IsSimulateFilpPage`) left this block when it was true; the guard on line 118 (`!IsSimulateFilpPage`) left this block when it was true. No value of `IsSimulateFilpPage` satisfies all of that, so this arm never runs. Reorder the tests, drop the dead branch, or fix the bound that was meant.
Branch is unreachable — its condition cannot hold here Assets/Script/1_LoginScene/Book/BookCommand.cs:126— `!IsSimulateFilpPage` can never be true where it stands: the enclosing `if` on line 102 (`IsSimulateFilpPage`) holds; the guard on line 107 (`!IsSimulateFilpPage`) left this block when it was true; the guard on line 118 (`!IsSimulateFilpPage`) left this block when it was true; the guard on line 122 (`!IsSimulateFilpPage`) left this block when it was true. No value of `IsSimulateFilpPage` satisfies all of that, so this arm never runs. Reorder the tests, drop the dead branch, or fix the bound that was meant.
Branch is unreachable — its condition cannot hold here Assets/Script/1_LoginScene/Book/BookCommand.cs:129— `!IsSimulateFilpPage` can never be true where it stands: the enclosing `if` on line 102 (`IsSimulateFilpPage`) holds; the guard on line 107 (`!IsSimulateFilpPage`) left this block when it was true; the guard on line 118 (`!IsSimulateFilpPage`) left this block when it was true; the guard on line 122 (`!IsSimulateFilpPage`) left this block when it was true; the guard on line 126 (`!IsSimulateFilpPage`) left this block when it was true. No value of `IsSimulateFilpPage` satisfies all of that, so this arm never runs. Reorder the tests, drop the dead branch, or fix the bound that was meant.
TooManyMethods: NetCommand REDACTED— TooManyMethods — 300 significant lines (blank, comment-only and punctuation-only lines excluded), 34 methods. The bar is 30 methods; this is 4 over it, 1.13× the bar. The type holds no instance state, so there is no shared data to group its members by. To reduce it, split it by area instead: give each cohesive family of members its own smaller type, so no one type has to be read whole to change one of them.
TooManyMethods: Overlay OtherSolution/ServerVersions/Server/wwwroot/_content/AntDesign/js/split/modules/components/overlay.js:29— TooManyMethods — 34 methods. The bar is 30 methods; this is 4 over it, 1.13× 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: CubismRenderer Assets/Plugins/Live2D/Cubism/Rendering/CubismRenderer.cs— TooManyMethods — 260 significant lines (blank, comment-only and punctuation-only lines excluded), 31 methods. The bar is 30 methods; this is 1 over it, 1.03× 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: TouHouHub OtherSolution/Server/Server/TouHouHub.cs— TooManyMethods — 120 significant lines (blank, comment-only and punctuation-only lines excluded), 31 methods. The bar is 30 methods; this is 1 over it, 1.03× the bar. The type holds no instance state, so there is no shared data to group its members by. To reduce it, split it by area instead: give each cohesive family of members its own smaller type, so no one type has to be read whole to change one of them.
D4 · Code Duplication· Edited copy of a member (20 corresponding lines) · ×4
Edited copy of a member (20 corresponding lines) Assets/Script/9_MixedScene/CardSpace/CardM_T0_3C_005.cs:14— Assets/Script/9_MixedScene/CardSpace/CardM_T0_3C_005.cs:14-33 | Assets/Script/9_MixedScene/CardSpace/CardM_N0_1G_001.cs:16-43 — These two members are one piece of code written twice and then edited apart: 20 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below — the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members' grain — factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart.
Edited copy of a member (20 corresponding lines) Assets/Script/9_MixedScene/CardSpace/CardM_T0_3C_004.cs:14— Assets/Script/9_MixedScene/CardSpace/CardM_T0_3C_004.cs:14-35 | Assets/Script/9_MixedScene/CardSpace/CardM_N0_3C_001.cs:15-34 — These two members are one piece of code written twice and then edited apart: 20 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below — the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members' grain — factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart.
Edited copy of a member (20 corresponding lines) Assets/Script/9_MixedScene/CardSpace/CardM_T0_1G_003.cs:14— Assets/Script/9_MixedScene/CardSpace/CardM_T0_1G_003.cs:14-33 | Assets/Script/9_MixedScene/CardSpace/CardM_T0_2S_005.cs:14-33 — These two members are one piece of code written twice and then edited apart: 20 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below — the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members' grain — factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart.
Edited copy of a member (20 corresponding lines) Assets/Script/9_MixedScene/CardSpace/CardM_S0_1G_001.cs:15— Assets/Script/9_MixedScene/CardSpace/CardM_S0_1G_001.cs:15-38 | Assets/Script/9_MixedScene/CardSpace/CardM_F1_2S_005.cs:14-33 — These two members are one piece of code written twice and then edited apart: 20 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below — the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members' grain — factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart.
End-of-life runtime: .NET net6.0 REDACTED:4— REDACTED declares .NET net6.0 as this project's target framework, and .NET 6 LTS, support ended 2024-11-12. An unsupported runtime receives no security patches, so every vulnerability disclosed in it since 2024-11-12 is present and unfixable without moving off it. This is a migration rather than an upgrade: there is no newer release of a runtime that has ended.
End-of-life runtime: .NET net6.0 OtherSolution/ServerVersions/ServerVersions.csproj:4— OtherSolution/ServerVersions/ServerVersions.csproj declares .NET net6.0 as this project's target framework, and .NET 6 LTS, support ended 2024-11-12. An unsupported runtime receives no security patches, so every vulnerability disclosed in it since 2024-11-12 is present and unfixable without moving off it. This is a migration rather than an upgrade: there is no newer release of a runtime that has ended.
End-of-life runtime: .NET net6.0 REDACTED:5— REDACTED declares .NET net6.0 as this project's target framework, and .NET 6 LTS, support ended 2024-11-12. An unsupported runtime receives no security patches, so every vulnerability disclosed in it since 2024-11-12 is present and unfixable without moving off it. This is a migration rather than an upgrade: there is no newer release of a runtime that has ended.
End-of-life runtime: .NET net6.0 OtherSolution/对局序列图生成/对局序列图生成.csproj:5— OtherSolution/对局序列图生成/对局序列图生成.csproj declares .NET net6.0 as this project's target framework, and .NET 6 LTS, support ended 2024-11-12. An unsupported runtime receives no security patches, so every vulnerability disclosed in it since 2024-11-12 is present and unfixable without moving off it. This is a migration rather than an upgrade: there is no newer release of a runtime that has ended.
SC1 · Supply-chain hygiene· NuGet dependencies are not locked · ×4
NuGet dependencies are not locked REDACTED:10— REDACTED declares NuGet packages that no committed packages.lock.json resolves and no central package management pins — 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.
NuGet dependencies are not locked REDACTED:9— REDACTED declares NuGet packages that no committed packages.lock.json resolves and no central package management pins — 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.
NuGet dependencies are not locked OtherSolution/对局序列图生成/对局序列图生成.csproj:11— OtherSolution/对局序列图生成/对局序列图生成.csproj declares NuGet packages that no committed packages.lock.json resolves and no central package management pins — 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.
NuGet dependencies are not locked REDACTED:3— REDACTED declares NuGet packages that no committed packages.lock.json resolves and no central package management pins — 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.
Stateful shared instance: AgainstSummaryManager Assets/Script/9_MixedScene/Against/AgainstSummaryManager.cs:31— `AgainstSummaryManager` is not registered, but `AgainstInfo` creates it and keeps it in the static `summary`, so that one instance serves the whole process and is shared by every thread that reaches it — and it mutates instance state outside any lock (TargetJumpTurn; e.g. `TargetJumpTurn` at line 284).
Stateful shared instance: Room OtherSolution/Server/Server/room/Room.cs:8— `Room` is not registered, but `RoomManager` creates it and keeps it in the static `Rooms`, so that one instance serves the whole process and is shared by every thread that reaches it — and it mutates instance state outside any lock (P1, P2, Player1Info, Player2Info; e.g. `P1` at line 27).
Stateful shared instance: AgainstSummary OtherSolution/Server/Server/InfoModel.cs:153— `AgainstSummary` is not registered, but the singleton `Room` creates it and keeps it in `Summary`, so one instance outlives every request and is shared by every caller that reaches it — and it mutates instance state outside any lock (UpdateTime, Winner; e.g. `UpdateTime` at line 260).
D4 · Code Duplication· Edited copy of a member (17 corresponding lines) · ×3
Edited copy of a member (17 corresponding lines) Assets/Script/9_MixedScene/CardSpace/CardM_N0_2S_005.cs:14— Assets/Script/9_MixedScene/CardSpace/CardM_N0_2S_005.cs:14-31 | Assets/Script/9_MixedScene/CardSpace/CardM_T0_2S_001.cs:14-30 — These two members are one piece of code written twice and then edited apart: 17 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below — the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members' grain — factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart.
Edited copy of a member (17 corresponding lines) Assets/Script/9_MixedScene/CardSpace/CardM_S0_3C_002.cs:14— Assets/Script/9_MixedScene/CardSpace/CardM_S0_3C_002.cs:14-31 | Assets/Script/9_MixedScene/CardSpace/CardM_S0_3C_001.cs:14-30 — These two members are one piece of code written twice and then edited apart: 17 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below — the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members' grain — factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart.
Edited copy of a member (17 corresponding lines) Assets/Script/9_MixedScene/CardSpace/CardM_N8_1G_001.cs:14— Assets/Script/9_MixedScene/CardSpace/CardM_N8_1G_001.cs:14-30 | Assets/Script/9_MixedScene/CardSpace/CardM_T0_1G_004.cs:14-55 — These two members are one piece of code written twice and then edited apart: 17 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below — the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members' grain — factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart.
Duplicated block (11 lines × 2) Assets/Plugins/Live2D/Cubism/Framework/CubismEyeBlinkController.cs:67— Assets/Plugins/Live2D/Cubism/Framework/CubismEyeBlinkController.cs:67-77 | Assets/Plugins/Live2D/Cubism/Framework/MouthMovement/CubismMouthController.cs:68-78 — 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 `Assets/Plugins/Live2D/Cubism/Framework/CubismEyeBlinkController.cs:67` it runs out through the closing brace of the declaration holding it — the window is that declaration's tail, not a fragment that begins part-way through something, 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 (11 lines × 2) Assets/Plugins/Live2D/Cubism/Framework/HarmonicMotion/CubismHarmonicMotionController.cs:69— Assets/Plugins/Live2D/Cubism/Framework/HarmonicMotion/CubismHarmonicMotionController.cs:69-79 | Assets/Plugins/Live2D/Cubism/Framework/LookAt/CubismLookController.cs:125-135 — 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 `Assets/Plugins/Live2D/Cubism/Framework/HarmonicMotion/CubismHarmonicMotionController.cs:69` it runs out through the closing brace of the declaration holding it — the window is that declaration's tail, not a fragment that begins part-way through something, 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 (11 lines × 2) Assets/Script/9_MixedScene/CardSpace/CardM_T0_3C_001.cs:29— Assets/Script/9_MixedScene/CardSpace/CardM_T0_3C_001.cs:29-39 | Assets/Script/9_MixedScene/CardSpace/CardM_T0_3C_002.cs:31-41 — the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach — a file they already depend on, or a new one alongside them — and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at `Assets/Script/9_MixedScene/CardSpace/CardM_T0_3C_001.cs:29` it runs out through the closing brace of the declaration holding it — the window is that declaration's tail, not a fragment that begins part-way through something, 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.
X18 · Disposal-pattern correctness· Disposable created and abandoned in the method that made it · ×3
Disposable created and abandoned in the method that made it OtherSolution/Server/Server/Manager/PlanManager.cs:9— `timer` is a `Timer`, which implements `IDisposable`, and it is created here (line 9). Every use of it in `Creat` reads a member through it — it is never returned, never stored, never handed to anything else, and never disposed — so this method both creates the value and is the last thing that can release it, and does not. Nothing announces the leak: the object holds its resource until finalization if its type has a finalizer, and until the process ends if it does not, so the cost accumulates once per CALL rather than showing up as a failure. Declare it with `using` (`using var timer = …;`), which releases it at the end of the scope on every path including a throw.
Disposable created and abandoned in the method that made it OtherSolution/Server/Server/Manager/PlanManager.cs:15— `timer` is a `Timer`, which implements `IDisposable`, and it is created here (line 15). Every use of it in `Creat` reads a member through it — it is never returned, never stored, never handed to anything else, and never disposed — so this method both creates the value and is the last thing that can release it, and does not. Nothing announces the leak: the object holds its resource until finalization if its type has a finalizer, and until the process ends if it does not, so the cost accumulates once per CALL rather than showing up as a failure. Declare it with `using` (`using var timer = …;`), which releases it at the end of the scope on every path including a throw.
Disposable created and abandoned in the method that made it OtherSolution/Server/Server/mongodb/MongoDbCommand.cs:47— `sshClient` is a `SshClient`, which implements `IDisposable`, and it is created here (line 47). Every use of it in `Init` reads a member through it — it is never returned, never stored, never handed to anything else, and never disposed — so this method both creates the value and is the last thing that can release it, and does not. Nothing announces the leak: the object holds its resource until finalization if its type has a finalizer, and until the process ends if it does not, so the cost accumulates once per CALL rather than showing up as a failure. Declare it with `using` (`using var sshClient = …;`), which releases it at the end of the scope on every path including a throw.
Low contrast colour pair in CSS (4.2:1) OtherSolution/ServerVersions/Server/wwwroot/_content/AntDesign/css/ant-design-blazor.dark.css:1— `::selection` sets color: #fff on background-color: #177ddc — 4.2:1, below the 4.5:1 WCAG AA minimum for normal text. This is a MINIFIED, build-generated sheet — editing the literal here is undone by the next vendor drop or rebuild, so override the rule in your own stylesheet (or fix it upstream / in the source the bundle is built from).
Low contrast colour pair in CSS (4.2:1) OtherSolution/ServerVersions/Server/wwwroot/_content/AntDesign/css/ant-design-blazor.dark.css:1— `.ant-dropdown-menu-dark .ant-dropdown-menu-item-selected,.ant-dropdown-menu-dark .ant-dropdown-menu-item-selected:hover,.ant-dropdown-menu-dark .ant-dropdown-menu-item-selected>a` sets color: #fff on background-color: #177ddc — 4.2:1, below the 4.5:1 WCAG AA minimum for normal text. This is a MINIFIED, build-generated sheet — editing the literal here is undone by the next vendor drop or rebuild, so override the rule in your own stylesheet (or fix it upstream / in the source the bundle is built from).
HackComment Assets/Plugins/Live2D/Cubism/Editor/Inspectors/CubismRenderControllerInspector.cs:85— // HACK Get mesh renderer directly. — a workaround marked in source: record what it is compensating for and what would allow its removal (the upstream fix, the API it is waiting on, the invariant it restores), so the next reader can judge whether it is still needed rather than rediscovering why it is there.
HackComment Assets/Plugins/Live2D/Cubism/Rendering/CubismRenderer.cs:680— // HACK 'Mesh.vertex > 0' makes sure mesh is recreated in case of runtime instantiation. — a workaround marked in source: record what it is compensating for and what would allow its removal (the upstream fix, the API it is waiting on, the invariant it restores), so the next reader can judge whether it is still needed rather than rediscovering why it is there.
styleHelper.css (cognitive 16) OtherSolution/Server/bin/Release/net6.0/publish/wwwroot/_content/AntDesign/js/split/modules/styleHelper.js:47— styleHelper.css has cognitive complexity 16 (threshold 15). Drivers by points: if/else 5 (11 pts), loops 2 (5 pts) (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body.
styleHelper.css (cognitive 16) OtherSolution/ServerVersions/Server/wwwroot/_content/AntDesign/js/split/modules/styleHelper.js:47— styleHelper.css has cognitive complexity 16 (threshold 15). Drivers by points: if/else 5 (11 pts), loops 2 (5 pts) (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body.
D4 · Code Duplication· Edited copies of one member (4 members, 18+ corresponding lines) · ×2
Edited copies of one member (4 members, 18+ corresponding lines) Assets/Script/9_MixedScene/CardSpace/CardM_N1_0L_001.cs:14— Assets/Script/9_MixedScene/CardSpace/CardM_N1_0L_001.cs:14-34 | Assets/Script/9_MixedScene/CardSpace/CardM_N1_1G_001.cs:14-31 | Assets/Script/9_MixedScene/CardSpace/CardM_N1_1G_002.cs:14-32 | Assets/Script/9_MixedScene/CardSpace/CardM_T0_3C_003.cs:14-35 — These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 18 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. 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. Left alone, the next edit has to be made 4 times and the copies will drift further apart.
Edited copies of one member (4 members, 18+ corresponding lines) Assets/Script/9_MixedScene/CardSpace/CardM_N1_1G_004.cs:14— Assets/Script/9_MixedScene/CardSpace/CardM_N1_1G_004.cs:14-38 | Assets/Script/9_MixedScene/CardSpace/CardM_T0_0L_001.cs:14-33 | Assets/Script/9_MixedScene/CardSpace/CardM_T0_2S_004.cs:14-33 | Assets/Script/9_MixedScene/CardSpace/CardM_T1_1G_002.cs:14-31 — These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 18 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. 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. Left alone, the next edit has to be made 4 times and the copies will drift further apart.
D4 · Code Duplication· Edited copy of a member (18 corresponding lines) · ×2
Edited copy of a member (18 corresponding lines) Assets/Script/9_MixedScene/CardSpace/CardM_F1_1G_004.cs:14— Assets/Script/9_MixedScene/CardSpace/CardM_F1_1G_004.cs:14-31 | Assets/Script/9_MixedScene/CardSpace/CardM_S0_1G_002.cs:15-36 — These two members are one piece of code written twice and then edited apart: 18 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below — the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members' grain — factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart.
Edited copy of a member (18 corresponding lines) Assets/Script/9_MixedScene/CardSpace/CardM_F1_3C_007.cs:14— Assets/Script/9_MixedScene/CardSpace/CardM_F1_3C_007.cs:14-32 | Assets/Script/9_MixedScene/CardSpace/CardM_F1_3C_008.cs:14-31 — These two members are one piece of code written twice and then edited apart: 18 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below — the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members' grain — factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart.
D4 · Code Duplication· Edited copies of one member (3 members, 18+ corresponding lines) · ×2
Edited copies of one member (3 members, 18+ corresponding lines) Assets/Script/9_MixedScene/CardSpace/CardM_N1_3C_006.cs:14— Assets/Script/9_MixedScene/CardSpace/CardM_N1_3C_006.cs:14-31 | Assets/Script/9_MixedScene/CardSpace/CardM_N1_3C_007.cs:14-31 | Assets/Script/9_MixedScene/CardSpace/CardM_T0_3C_001.cs:15-39 — These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 18 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. 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. Left alone, the next edit has to be made 3 times and the copies will drift further apart.
Edited copies of one member (3 members, 18+ corresponding lines) Assets/Script/9_MixedScene/CardSpace/CardM_N1_2S_006.cs:14— Assets/Script/9_MixedScene/CardSpace/CardM_N1_2S_006.cs:14-31 | Assets/Script/9_MixedScene/CardSpace/CardM_S0_3C_006.cs:14-37 | Assets/Script/9_MixedScene/CardSpace/CardM_T0_2S_002.cs:14-33 — These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 18 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. 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. Left alone, the next edit has to be made 3 times and the copies will drift further apart.
D4 · Code Duplication· Edited copy of a member (7 corresponding lines) · ×2
Edited copy of a member (7 corresponding lines) Assets/Script/1_LoginScene/PageComponents/ConfigComponent/ConfigManager.cs:59— Assets/Script/1_LoginScene/PageComponents/ConfigComponent/ConfigManager.cs:59-65 | Assets/Script/1_LoginScene/PageComponents/ConfigComponent/ConfigManager.cs:67-74 — These two members are one piece of code written twice and then edited apart: 7 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below — the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members' grain — factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart.
Edited copy of a member (7 corresponding lines) Assets/Script/2_BattleScene/ParticleSystem-废弃/EffectCommand.cs:18— Assets/Script/2_BattleScene/ParticleSystem-废弃/EffectCommand.cs:18-24 | Assets/Script/2_BattleScene/ParticleSystem-废弃/EffectCommand.cs:26-32 — These two members are one piece of code written twice and then edited apart: 7 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below — the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members' grain — factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart.
D4 · Code Duplication· Edited copy of a member (12 corresponding lines) · ×2
Edited copy of a member (12 corresponding lines) Assets/Script/9_MixedScene/Card/CardInLibraryManager.cs:11— Assets/Script/9_MixedScene/Card/CardInLibraryManager.cs:11-23 | Assets/Script/9_MixedScene/UI/UIEvent.cs:29-40 — These two members are one piece of code written twice and then edited apart: 12 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below — the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members' grain — factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart.
Edited copy of a member (12 corresponding lines) Assets/Plugins/Live2D/Cubism/Framework/Json/CubismPhysics3Json.cs:74— Assets/Plugins/Live2D/Cubism/Framework/Json/CubismPhysics3Json.cs:74-95 | Assets/Plugins/Live2D/Cubism/Framework/ComponentExtensionMethods.cs:58-69 — These two members are one piece of code written twice and then edited apart: 12 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below — the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members' grain — factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart.
Duplicated block (12–13 lines × 2) Assets/Script/9_MixedScene/CardSpace/CardM_F1_1G_001.cs:18— Assets/Script/9_MixedScene/CardSpace/CardM_F1_1G_001.cs:18-30 | Assets/Script/9_MixedScene/CardSpace/CardM_T0_1G_004.cs:18-29 — the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach — a file they already depend on, or a new one alongside them — and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at `Assets/Script/9_MixedScene/CardSpace/CardM_F1_1G_001.cs:18` 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. 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 × 2) Assets/Script/9_MixedScene/Against/AgainstSummaryManager.cs:45— Assets/Script/9_MixedScene/Against/AgainstSummaryManager.cs:45-56 | OtherSolution/Server/Server/InfoModel.cs:163-175 — 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 `Assets/Script/9_MixedScene/Against/AgainstSummaryManager.cs:45` 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 (7 lines × 2) Assets/Plugins/Live2D/Cubism/Editor/CubismFadeMotionImporter.cs:156— Assets/Plugins/Live2D/Cubism/Editor/CubismFadeMotionImporter.cs:156-162 | Assets/Plugins/Live2D/Cubism/Editor/CubismPoseMotionImporter.cs:132-138 — the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach — a file they already depend on, or a new one alongside them — and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at `Assets/Plugins/Live2D/Cubism/Editor/CubismFadeMotionImporter.cs:156` it runs out through the closing brace of the declaration holding it — the window is that declaration's tail, not a fragment that begins part-way through something, 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) OtherSolution/xls检测更新/Program.cs:64— OtherSolution/xls检测更新/Program.cs:64-70 | OtherSolution/xls检测更新/Program.cs:110-116 — 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 `OtherSolution/xls检测更新/Program.cs:64` 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 (10 lines × 2) Assets/Script/2_BattleScene/State/StateCommand.cs:382— Assets/Script/2_BattleScene/State/StateCommand.cs:382-391 | Assets/Script/2_BattleScene/State/StateCommand.cs:417-426 — 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 `Assets/Script/2_BattleScene/State/StateCommand.cs:382` 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 (10 lines × 2) Assets/Plugins/Live2D/Cubism/Editor/CubismFadeMotionImporter.cs:82— Assets/Plugins/Live2D/Cubism/Editor/CubismFadeMotionImporter.cs:82-91 | Assets/Plugins/Live2D/Cubism/Editor/CubismPoseMotionImporter.cs:159-168 — the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach — a file they already depend on, or a new one alongside them — and call it from both call sites, so a change lands once.
Duplicated block (8–9 lines × 2) Assets/Plugins/Live2D/Cubism/Editor/CubismExpression3JsonImporter.cs:88— Assets/Plugins/Live2D/Cubism/Editor/CubismExpression3JsonImporter.cs:88-96 | Assets/Plugins/Live2D/Cubism/Editor/Deleters/CubismExpressionAssetDeleter.cs:46-53 — 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 `Assets/Plugins/Live2D/Cubism/Editor/CubismExpression3JsonImporter.cs:88` 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 (8–9 lines × 2) Assets/Plugins/Live2D/Cubism/Editor/CubismPoseMotionImporter.cs:155— Assets/Plugins/Live2D/Cubism/Editor/CubismPoseMotionImporter.cs:155-163 | Assets/Plugins/Live2D/Cubism/Editor/Deleters/CubismFadeAssetDeleter.cs:46-53 — 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 `Assets/Plugins/Live2D/Cubism/Editor/CubismPoseMotionImporter.cs:155` 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 (5 lines × 2) Assets/Script/1_LoginScene/PageComponents/PlayerDataComponent/PlayerDataCommand.cs:122— Assets/Script/1_LoginScene/PageComponents/PlayerDataComponent/PlayerDataCommand.cs:122-126 | Assets/Script/1_LoginScene/PageComponents/PlayerDataComponent/PlayerDataCommand.cs:128-132 — 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 `Assets/Script/1_LoginScene/PageComponents/PlayerDataComponent/PlayerDataCommand.cs:122` 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 (5 lines × 2) Assets/Plugins/Live2D/Cubism/Editor/Deleters/CubismExpressionAssetDeleter.cs:45— Assets/Plugins/Live2D/Cubism/Editor/Deleters/CubismExpressionAssetDeleter.cs:45-49 | Assets/Plugins/Live2D/Cubism/Editor/Deleters/CubismFadeAssetDeleter.cs:45-49 — the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach — a file they already depend on, or a new one alongside them — and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at `Assets/Plugins/Live2D/Cubism/Editor/Deleters/CubismExpressionAssetDeleter.cs:45` 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.
Unfinished stub — throws NotImplementedException Assets/Plugins/Steamworks.NET/types/SteamNetworkingtypes/SteamNetworkingIdentity.cs:85— A shipped member still throws NotImplementedException — generated scaffolding that was never completed. Implement it or remove the dead surface.
Unfinished stub — throws NotImplementedException Assets/Plugins/Steamworks.NET/types/SteamNetworkingtypes/SteamNetworkingIdentity.cs:120— A shipped member still throws NotImplementedException — generated scaffolding that was never completed. Implement it or remove the dead surface.
IC1 · Incompleteness & stubs· Both branches open with the same statements · ×2
Both branches open with the same statements — the condition does not decide them Assets/Plugins/Live2D/Cubism/Editor/CubismPoseMotionImporter.cs:196— The first 3 statements of the `if` and of the `else` are identical, so they run on both paths regardless of the condition. Lift them above the `if` — leaving them duplicated inside makes the branches read as though they handled this differently.
Both branches open with the same statements — the condition does not decide them Assets/Plugins/Live2D/Cubism/Framework/Json/CubismMotion3Json.cs:170— The first 3 statements of the `if` and of the `else` are identical, so they run on both paths regardless of the condition. Lift them above the `if` — leaving them duplicated inside makes the branches read as though they handled this differently.
Unfinished stub — throws NotImplementedException Assets/Plugins/Steamworks.NET/types/SteamNetworkingtypes/SteamNetworkingIdentity.cs:85— `GetIPAddr` is a shipped member whose whole body throws NotImplementedException — scaffolding that was never completed. Implement it or remove the dead surface.
Unfinished stub — throws NotImplementedException Assets/Plugins/Steamworks.NET/types/SteamNetworkingtypes/SteamNetworkingIdentity.cs:120— `GetGenericBytes` is a shipped member whose whole body throws NotImplementedException — scaffolding that was never completed. Implement it or remove the dead surface.
Weak hash algorithm REDACTED:172— MD5/SHA1 is constructed here, and both are collision-broken. If this digest protects anything — a signature, an integrity or tamper check, a credential, or any value an attacker can influence — that is a real weakness: use SHA-256+ for content integrity, or a KDF (PBKDF2/Argon2/BCrypt) for password storage. If it only derives a non-security identifier (a cache key, a file or mutex name), collision resistance carries no security consequence here; make that intent explicit instead — a non-cryptographic hash such as `System.IO.Hashing.XxHash64`/`Crc32` says it in code — since the algorithm alone cannot distinguish the two uses.
Weak hash algorithm REDACTED:14— MD5/SHA1 is constructed here, and both are collision-broken. If this digest protects anything — a signature, an integrity or tamper check, a credential, or any value an attacker can influence — that is a real weakness: use SHA-256+ for content integrity, or a KDF (PBKDF2/Argon2/BCrypt) for password storage. If it only derives a non-security identifier (a cache key, a file or mutex name), collision resistance carries no security consequence here; make that intent explicit instead — a non-cryptographic hash such as `System.IO.Hashing.XxHash64`/`Crc32` says it in code — since the algorithm alone cannot distinguish the two uses.
X5 · Nullable reference types· Symbol treated as nullable, then dereferenced unguarded · ×2
Symbol treated as nullable, then dereferenced unguarded Assets/Script/1_LoginScene/Dialogue/Live2d/Live2dManager.cs:59— This method contradicts itself about `animatorController`: line 58 assigns it with `as AnimatorController`, which hands back null rather than throwing when the value is not a `AnimatorController`, but line 59 then dereferences it directly as `animatorController.parameters` with no null test between them and no guard around it. If the `as` is right, that dereference throws NullReferenceException on the input it was written for — and the NullReferenceException names neither the cast nor the type that failed. Settle it one way — test `animatorController` once before the first use and handle the null case, or cast with `(AnimatorController)` so the failure is reported where it happens — rather than leaving the two readings side by side.
Symbol treated as nullable, then dereferenced unguarded Assets/Plugins/Live2D/Cubism/Editor/Importers/CubismImporter.cs:224— This method contradicts itself about `textureImporter`: line 220 assigns it with `as TextureImporter`, which hands back null rather than throwing when the value is not a `TextureImporter`, but line 224 then dereferences it directly as `textureImporter.alphaIsTransparency` with no null test between them and no guard around it. If the `as` is right, that dereference throws NullReferenceException on the input it was written for — and the NullReferenceException names neither the cast nor the type that failed. Settle it one way — test `textureImporter` once before the first use and handle the null case, or cast with `(TextureImporter)` so the failure is reported where it happens — rather than leaving the two readings side by side.
AC3 · Page structure· Page without a main landmark · ×1
Page without a main landmark OtherSolution/Server/Pages/Error.cshtml:5— No <main> (or role="main") means no "skip to content" target and a weaker landmark map. Wrap the primary content in <main>.
AC4 · Keyboard semantics· Anchor without href · ×1
Anchor without href OtherSolution/Server/Pages/_Layout.cshtml:27— An <a> with no href, role or tabindex isn't focusable or keyboard-activatable. Give it a real href, or use a <button> for an action.
Low contrast colour pair in CSS (4.4:1) OtherSolution/ServerVersions/Server/wwwroot/_content/AntDesign/css/ant-design-blazor.dark.css:1— `.ant-tabs-card>.ant-tabs-nav .ant-tabs-tab-active,.ant-tabs-card>div>.ant-tabs-nav .ant-tabs-tab-active` sets color: #177ddc on background-color: #141414 — 4.4:1, below the 4.5:1 WCAG AA minimum for normal text. This is a MINIFIED, build-generated sheet — editing the literal here is undone by the next vendor drop or rebuild, so override the rule in your own stylesheet (or fix it upstream / in the source the bundle is built from).
C1 · Data Protection· No data-protection/encryption · ×1
No data-protection/encryption — No data-protection or encryption usage (ASP.NET Data Protection, AES, column encryption, PBKDF2) was found — sensitive data at rest may be unprotected. If TDE/KMS/vault is delegated to infrastructure, ignore.
CubismJsonParser.ParseValue (cyclomatic 29) Assets/Plugins/Live2D/Cubism/Framework/Json/CubismJsonParser.cs:428— CubismJsonParser.ParseValue has cyclomatic complexity 29 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform — the same kind of value, with no behaviour of its own — a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing. This file is where this pass's cyclomatic complexity CONCENTRATES: Assets/Plugins/Live2D/Cubism/Framework/Json/CubismJsonParser.cs holds 4 of the 14 methods over the threshold — including the worst — and 30 of the 88 points over it (34%), 2.3× the next-largest file (Assets/Plugins/Live2D/Cubism/Framework/Json/CubismModel3Json.cs at 13). 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.
CubismModel3Json.ToModel (cyclomatic 28) Assets/Plugins/Live2D/Cubism/Framework/Json/CubismModel3Json.cs:351— CubismModel3Json.ToModel has cyclomatic complexity 28 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top.
CubismJsonParser.strToDouble (cyclomatic 27) Assets/Plugins/Live2D/Cubism/Framework/Json/CubismJsonParser.cs:334— CubismJsonParser.strToDouble has cyclomatic complexity 27 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform — the same kind of value, with no behaviour of its own — a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing. This file is where this pass's cyclomatic complexity CONCENTRATES: Assets/Plugins/Live2D/Cubism/Framework/Json/CubismJsonParser.cs holds 4 of the 14 methods over the threshold — including the worst — and 30 of the 88 points over it (34%), 2.3× the next-largest file (Assets/Plugins/Live2D/Cubism/Framework/Json/CubismModel3Json.cs at 13). 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.
DialogueCommand.RunOperationsAsync (cyclomatic 26) Assets/Script/1_LoginScene/Dialogue/DialogueCommand.cs:166— DialogueCommand.RunOperationsAsync has cyclomatic complexity 26 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top.
CardBoardCommand.ShowCardBoard (cyclomatic 24) Assets/Script/2_BattleScene/UI/CardBoard/CardBoardCommand.cs:15— CardBoardCommand.ShowCardBoard has cyclomatic complexity 24 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top.
CubismMotion3Json.ToAnimationClip (cyclomatic 21) Assets/Plugins/Live2D/Cubism/Framework/Json/CubismMotion3Json.cs:245— CubismMotion3Json.ToAnimationClip has cyclomatic complexity 21 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top.
StateCommand.WaitForSelectBoardCard (cyclomatic 20) Assets/Script/2_BattleScene/State/StateCommand.cs:494— StateCommand.WaitForSelectBoardCard has cyclomatic complexity 20 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top.
CubismPoseMotionImporter.OnModelImport (cyclomatic 20) Assets/Plugins/Live2D/Cubism/Editor/CubismPoseMotionImporter.cs:47— CubismPoseMotionImporter.OnModelImport has cyclomatic complexity 20 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top.
CubismFadeController.UpdateFade (cyclomatic 19) Assets/Plugins/Live2D/Cubism/Framework/MotionFade/CubismFadeController.cs:141— CubismFadeController.UpdateFade has cyclomatic complexity 19 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top.
CubismJsonParser.ParseString (cyclomatic 18) Assets/Plugins/Live2D/Cubism/Framework/Json/CubismJsonParser.cs:121— CubismJsonParser.ParseString has cyclomatic complexity 18 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This file is where this pass's cyclomatic complexity CONCENTRATES: Assets/Plugins/Live2D/Cubism/Framework/Json/CubismJsonParser.cs holds 4 of the 14 methods over the threshold — including the worst — and 30 of the 88 points over it (34%), 2.3× the next-largest file (Assets/Plugins/Live2D/Cubism/Framework/Json/CubismModel3Json.cs at 13). 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.
NetCommand.Init (cyclomatic 18) REDACTED:20— NetCommand.Init has cyclomatic complexity 18 (threshold 15). Most of this is not in the body itself: 4 of the 18 points are its own statements and the rest belongs to 2 function literals inside it that branch (lines 61, 34). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals' work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest. This is NOT this file's highest cyclomatic complexity: NetCommand.AsyncInfo (cyclomatic 20) 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.
CubismJsonParser.ParseObject (cyclomatic 16) Assets/Plugins/Live2D/Cubism/Framework/Json/CubismJsonParser.cs:192— CubismJsonParser.ParseObject has cyclomatic complexity 16 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform — the same kind of value, with no behaviour of its own — a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing. This file is where this pass's cyclomatic complexity CONCENTRATES: Assets/Plugins/Live2D/Cubism/Framework/Json/CubismJsonParser.cs holds 4 of the 14 methods over the threshold — including the worst — and 30 of the 88 points over it (34%), 2.3× the next-largest file (Assets/Plugins/Live2D/Cubism/Framework/Json/CubismModel3Json.cs at 13). 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.
Program.XlsToJson (cyclomatic 16) OtherSolution/xls检测更新/Program.cs:52— Program.XlsToJson has cyclomatic complexity 16 (threshold 15). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline.
constructor (cyclomatic 16) OtherSolution/ServerVersions/Server/wwwroot/_content/AntDesign/js/split/modules/dom/dragHelper.js:27— constructor has cyclomatic complexity 16 (threshold 15). Most of this is not in the body itself: 1 of the 16 points is its own statement and the rest belongs to 4 function items inside it that branch (a function literal at line 65, a function literal at line 92, onMousedown, …). The named helpers are already separate functions; the literals' work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal's work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest.
D17 · Explicit Debt· Whole file has no live code · ×1
Whole file has no live code — 6 debt markers inside it OtherSolution/Server/Server/GameEnum1.cs:9— Every line in this file is a comment or blank — it declares no type, member, using or attribute, so nothing in it reaches the build. Its 6 debt markers (6 CommentedOutCode) all sit inside that dead text: one decision to leave the whole file switched off, not 6 independent debts. It records no note anywhere: the file is switched off with nothing in it saying why, so a reader cannot tell whether it is waiting on something or was simply abandoned — which is the harder of the two to bring back. Decide the FILE rather than its lines — restore it, or delete it and let version control hold the history. (Every occurrence still counts toward the score and metrics.)
FixmeComment Assets/Plugins/Live2D/Cubism/Editor/Inspectors/CubismPartsInspectorInspector.cs:64— // FIXME Force model update in case parameters have changed. — source code is not a task system: move the work to your tracker and leave a reference instead (e.g. `// REF: #123`), so the task is planned where tasks live and the ticket links back to the code.
Build failed — The target solution did not build cleanly (errors: 20), which caps Solution Shape at 3/10 — the most basic shape signal is that it compiles. First errors: CS0006: Metadata file 'D:/VisualStudio/Common7/IDE/Extensions/Microsoft/Visual Studio Tools for Unity/Analyzers/Microsoft.Unity.Analyzers.dll' could not be found; CS0006: Metadata file 'D:/Unity3D/2022.3.14f1/Editor/Data/Tools/Unity.SourceGenerators/Unity.SourceGenerators.dll' could not be found; CS0006: Metadata file 'D:/Unity3D/2022.3.14f1/Editor/Data/Tools/Unity.SourceGenerators/Unity.Properties.SourceGenerator.dll' could not be found.
DialogueCommand.RunOperationsAsync (cognitive 59) Assets/Script/1_LoginScene/Dialogue/DialogueCommand.cs:166— DialogueCommand.RunOperationsAsync has cognitive complexity 59 (threshold 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body.
CubismModel3Json.ToModel (cognitive 52) Assets/Plugins/Live2D/Cubism/Framework/Json/CubismModel3Json.cs:351— CubismModel3Json.ToModel has cognitive complexity 52 (threshold 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body.
CubismPoseMotionImporter.OnModelImport (cognitive 49) Assets/Plugins/Live2D/Cubism/Editor/CubismPoseMotionImporter.cs:47— CubismPoseMotionImporter.OnModelImport has cognitive complexity 49 (threshold 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body.
StateCommand.WaitForSelectBoardCard (cognitive 44) Assets/Script/2_BattleScene/State/StateCommand.cs:494— StateCommand.WaitForSelectBoardCard has cognitive complexity 44 (threshold 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body.
CubismFadeController.UpdateFade (cognitive 39) Assets/Plugins/Live2D/Cubism/Framework/MotionFade/CubismFadeController.cs:141— CubismFadeController.UpdateFade has cognitive complexity 39 (threshold 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body.
StateCommand.WaitForPlayerOperation (cognitive 39) Assets/Script/2_BattleScene/State/StateCommand.cs:234— StateCommand.WaitForPlayerOperation 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.
CardBoardCommand.ShowCardBoard (cognitive 35) Assets/Script/2_BattleScene/UI/CardBoard/CardBoardCommand.cs:15— CardBoardCommand.ShowCardBoard has cognitive complexity 35 (threshold 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body.
LoadHotFixScene.Init (cognitive 28) REDACTED:36— LoadHotFixScene.Init has cognitive complexity 28 (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.
CubismMotion3Json.ToAnimationClip (cognitive 26) Assets/Plugins/Live2D/Cubism/Framework/Json/CubismMotion3Json.cs:245— CubismMotion3Json.ToAnimationClip has cognitive complexity 26 (threshold 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body.
CubismJsonParser.ParseString (cognitive 25) Assets/Plugins/Live2D/Cubism/Framework/Json/CubismJsonParser.cs:121— CubismJsonParser.ParseString has cognitive complexity 25 (threshold 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body.
CubismFadeStateObserver.OnStateEnter (cognitive 25) Assets/Plugins/Live2D/Cubism/Framework/MotionFade/CubismFadeStateObserver.cs:133— CubismFadeStateObserver.OnStateEnter has cognitive complexity 25 (threshold 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body.
Program.XlsToJson (cognitive 25) OtherSolution/xls检测更新/Program.cs:52— Program.XlsToJson has cognitive complexity 25 (threshold 15). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline.
constructor (cognitive 24) OtherSolution/ServerVersions/Server/wwwroot/_content/AntDesign/js/split/modules/dom/dragHelper.js:27— constructor has cognitive complexity 24 (threshold 15). Drivers by points: if/else 11 (18 pts), ternaries 4 (6 pts) (nesting depth added 9). None of this is in the body itself: all 24 points belong to 4 function items inside it that branch (a function literal at line 65, onMousedown, a function literal at line 92, …). The named helpers are already separate functions; the literals' work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal's work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest.
CardAbilityPopupManager.Update (cognitive 23) Assets/Script/9_MixedScene/UI/CardAbilityPopup/CardAbilityPopupManager.cs:29— CardAbilityPopupManager.Update has cognitive complexity 23 (threshold 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body.
BookCommand.SimulateFilpPage (cognitive 23) Assets/Script/1_LoginScene/Book/BookCommand.cs:99— BookCommand.SimulateFilpPage has cognitive complexity 23 (threshold 15). Of this number, 18 points are the body's own statements and 5 belong to 2 function items inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body.
GameSystemCommand.TriggerBroadcast (cognitive 22) Assets/Script/2_BattleScene/GameSystem/GameSystemCommand.cs:43— GameSystemCommand.TriggerBroadcast has cognitive complexity 22 (threshold 15). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline.
CubismJsonParser.ParseObject (cognitive 20) Assets/Plugins/Live2D/Cubism/Framework/Json/CubismJsonParser.cs:192— CubismJsonParser.ParseObject has cognitive complexity 20 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident.
CubismPoseController.DoFade (cognitive 19) Assets/Plugins/Live2D/Cubism/Framework/Pose/CubismPoseController.cs:117— CubismPoseController.DoFade has cognitive complexity 19 (threshold 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body.
CubismRenderController.OnDynamicDrawableData (cognitive 19) Assets/Plugins/Live2D/Cubism/Rendering/CubismRenderController.cs:562— CubismRenderController.OnDynamicDrawableData has cognitive complexity 19 (threshold 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body.
CubismAssetProcessor.AllowUnsafeCode (cognitive 19) Assets/Plugins/Live2D/Cubism/Editor/CubismAssetProcessor.cs:95— CubismAssetProcessor.AllowUnsafeCode has cognitive complexity 19 (threshold 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body.
HoldListManager.Match (cognitive 19) OtherSolution/Server/Server/Manager/HoldListManager.cs:61— HoldListManager.Match has cognitive complexity 19 (threshold 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body.
CubismPose3Json.LoadFrom (cognitive 18) Assets/Plugins/Live2D/Cubism/Framework/Json/CubismPose3Json.cs:25— CubismPose3Json.LoadFrom has cognitive complexity 18 (threshold 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body.
HttpServer.Init (cognitive 18) OtherSolution/Server/Server/HttpServer/HttpServer.cs:9— HttpServer.Init has cognitive complexity 18 (threshold 15). None of this is in the body itself: all 18 points belong to 2 function literals inside it that branch (lines 20, 11). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals' work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest.
CardModelInfo.CardModelInfo.ctor (cognitive 18) OtherSolution/xls检测更新/Program.cs:234— CardModelInfo.CardModelInfo.ctor has cognitive complexity 18 (threshold 15). Of this number, 14 points are the body's own statements and 4 belong to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body.
CubismExpressionController.OnLateUpdate (cognitive 17) Assets/Plugins/Live2D/Cubism/Framework/Expression/CubismExpressionController.cs:117— CubismExpressionController.OnLateUpdate has cognitive complexity 17 (threshold 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body.
CubismPoseController.Refresh (cognitive 17) Assets/Plugins/Live2D/Cubism/Framework/Pose/CubismPoseController.cs:56— CubismPoseController.Refresh has cognitive complexity 17 (threshold 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body.
CardListCommand.Init (cognitive 17) Assets/Script/1_LoginScene/PageComponents/CardListComponent/CardListCommand.cs:14— CardListCommand.Init has cognitive complexity 17 (threshold 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body.
EditorExtension.BuildAssetBundles (cognitive 17) REDACTED:147— EditorExtension.BuildAssetBundles has cognitive complexity 17 (threshold 15). Of this number, 15 points are the body's own statements and 2 belong to one function literal inside it that branches. To reduce it, split the body: most of this score is breadth rather than depth — checks laid out side by side rather than stacked — so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level.
InputManager.MouseEvent (cognitive 17) Assets/Script/9_MixedScene/Input/InputManager.cs:72— InputManager.MouseEvent has cognitive complexity 17 (threshold 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body.
NetCommand.Init (cognitive 16) REDACTED:20— NetCommand.Init has cognitive complexity 16 (threshold 15). Most of this is not in the body itself: 6 of the 16 points are its own statements and the rest belongs to 2 function literals inside it that branch (lines 61, 34). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals' work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest.
ClassTooLong: Overlay OtherSolution/ServerVersions/Server/wwwroot/_content/AntDesign/js/split/modules/components/overlay.js:29— ClassTooLong — 558 significant lines (blank, comment-only and punctuation-only lines excluded), 34 methods. The bar is 400 significant lines; this is 158 over it, 1.40× 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.
FileTooLong: components/overlay.js OtherSolution/ServerVersions/Server/wwwroot/_content/AntDesign/js/split/modules/components/overlay.js— FileTooLong — 644 significant lines (blank, comment-only and punctuation-only lines excluded), about 87% of them inside a single declaration: Overlay (29-911). The bar is 500 significant lines; this is 144 over it, 1.29× the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body — the parts that share the same inputs and are named together — into its own unit in a sibling file, and have the original call them.
D4 · Code Duplication· Edited copy of a member (32 corresponding lines) · ×1
Edited copy of a member (32 corresponding lines) Assets/Script/2_BattleScene/State/StateCommand.cs:368— Assets/Script/2_BattleScene/State/StateCommand.cs:368-399 | Assets/Script/2_BattleScene/State/StateCommand.cs:401-435 — These two members are one piece of code written twice and then edited apart: 32 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below — the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members' grain — factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart.
D4 · Code Duplication· Edited copy of a member (23 corresponding lines) · ×1
Edited copy of a member (23 corresponding lines) Assets/Script/9_MixedScene/CardSpace/CardM_F1_2S_004.cs:14— Assets/Script/9_MixedScene/CardSpace/CardM_F1_2S_004.cs:14-38 | Assets/Script/9_MixedScene/CardSpace/CardM_F1_2S_003.cs:14-36 — These two members are one piece of code written twice and then edited apart: 23 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below — the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members' grain — factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart.
D4 · Code Duplication· Edited copy of a member (39 corresponding lines) · ×1
Edited copy of a member (39 corresponding lines) Assets/Plugins/Live2D/Cubism/Rendering/Masking/CubismMaskRendererExtensionMethods.cs:25— Assets/Plugins/Live2D/Cubism/Rendering/Masking/CubismMaskRendererExtensionMethods.cs:25-63 | Assets/Plugins/Live2D/Cubism/Rendering/ArrayExtensionMethods.cs:25-63 — These two members are one piece of code written twice and then edited apart: 39 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below — the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members' grain — factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart.
D4 · Code Duplication· Edited copies of one member (4 members, 21+ corresponding lines) · ×1
Edited copies of one member (4 members, 21+ corresponding lines) Assets/Script/9_MixedScene/CardSpace/CardM_N0_1G_003.cs:14— Assets/Script/9_MixedScene/CardSpace/CardM_N0_1G_003.cs:14-35 | Assets/Script/9_MixedScene/CardSpace/CardM_N0_2S_004.cs:15-36 | Assets/Script/9_MixedScene/CardSpace/CardM_N0_3C_004.cs:14-35 | Assets/Script/9_MixedScene/CardSpace/CardM_N8_2S_001.cs:14-34 — These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 21 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. 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. Left alone, the next edit has to be made 4 times and the copies will drift further apart.
D4 · Code Duplication· Edited copy of a member (8 corresponding lines) · ×1
Edited copy of a member (8 corresponding lines) Assets/Script/1_LoginScene/Book/BookCommand.cs:41— Assets/Script/1_LoginScene/Book/BookCommand.cs:41-48 | Assets/Script/1_LoginScene/Book/BookCommand.cs:133-149 — These two members are one piece of code written twice and then edited apart: 8 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below — the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members' grain — factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart.
D4 · Code Duplication· Edited copy of a member (31 corresponding lines) · ×1
Edited copy of a member (31 corresponding lines) Assets/Plugins/Live2D/Cubism/Framework/Json/CubismMotion3Json.cs:417— Assets/Plugins/Live2D/Cubism/Framework/Json/CubismMotion3Json.cs:417-449 | Assets/Plugins/Live2D/Cubism/Framework/Json/CubismMotion3Json.cs:458-488 — These two members are one piece of code written twice and then edited apart: 31 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below — the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members' grain — factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart.
D4 · Code Duplication· Edited copies of one member (4 members, 22+ corresponding lines) · ×1
Edited copies of one member (4 members, 22+ corresponding lines) Assets/Script/9_MixedScene/CardSpace/CardM_N0_2S_001.cs:14— Assets/Script/9_MixedScene/CardSpace/CardM_N0_2S_001.cs:14-43 | Assets/Script/9_MixedScene/CardSpace/CardM_N0_2S_002.cs:14-43 | Assets/Script/9_MixedScene/CardSpace/CardM_N0_2S_003.cs:14-43 | Assets/Script/9_MixedScene/CardSpace/CardM_T1_1G_001.cs:14-35 — These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 22 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. 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. Left alone, the next edit has to be made 4 times and the copies will drift further apart.
D4 · Code Duplication· Edited copy of a member (29 corresponding lines) · ×1
Edited copy of a member (29 corresponding lines) Assets/Plugins/Live2D/Cubism/Editor/Deleters/CubismFadeAssetDeleter.cs:45— Assets/Plugins/Live2D/Cubism/Editor/Deleters/CubismFadeAssetDeleter.cs:45-76 | Assets/Plugins/Live2D/Cubism/Editor/Deleters/CubismExpressionAssetDeleter.cs:45-73 — These two members are one piece of code written twice and then edited apart: 29 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below — the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members' grain — factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart.
D4 · Code Duplication· Edited copy of a member (16 corresponding lines) · ×1
Edited copy of a member (16 corresponding lines) Assets/Script/9_MixedScene/CardSpace/CardM_S0_3C_004.cs:14— Assets/Script/9_MixedScene/CardSpace/CardM_S0_3C_004.cs:14-29 | Assets/Script/9_MixedScene/CardSpace/CardM_S0_3C_005.cs:14-29 — These two members are one piece of code written twice and then edited apart: 16 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below — the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members' grain — factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart.
D4 · Code Duplication· Edited copies of one member (3 members, 17+ corresponding lines) · ×1
Edited copies of one member (3 members, 17+ corresponding lines) Assets/Script/9_MixedScene/CardSpace/CardM_S0_1G_004.cs:14— Assets/Script/9_MixedScene/CardSpace/CardM_S0_1G_004.cs:14-30 | Assets/Script/9_MixedScene/CardSpace/CardM_S0_2S_002.cs:14-32 | Assets/Script/9_MixedScene/CardSpace/CardM_S0_3C_003.cs:14-33 — These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 17 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. 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. Left alone, the next edit has to be made 3 times and the copies will drift further apart.
D4 · Code Duplication· Edited copies of one member (3 members, 16+ corresponding lines) · ×1
Edited copies of one member (3 members, 16+ corresponding lines) Assets/Script/9_MixedScene/CardSpace/CardM_N1_3C_001.cs:14— Assets/Script/9_MixedScene/CardSpace/CardM_N1_3C_001.cs:14-30 | Assets/Script/9_MixedScene/CardSpace/CardM_N1_3C_002.cs:14-33 | Assets/Script/9_MixedScene/CardSpace/CardM_N1_3C_003.cs:14-29 — These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 16 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. 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. Left alone, the next edit has to be made 3 times and the copies will drift further apart.
D4 · Code Duplication· Edited copy of a member (19 corresponding lines) · ×1
Edited copy of a member (19 corresponding lines) Assets/Script/9_MixedScene/UI/CardAbilityBoard/CardAbilityBoardManager.cs:93— Assets/Script/9_MixedScene/UI/CardAbilityBoard/CardAbilityBoardManager.cs:93-111 | Assets/Script/9_MixedScene/UI/CardAbilityBoard/CardAbilityBoardManager.cs:113-131 — These two members are one piece of code written twice and then edited apart: 19 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below — the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members' grain — factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart.
D4 · Code Duplication· Edited copies of one member (4 members, 12+ corresponding lines) · ×1
Edited copies of one member (4 members, 12+ corresponding lines) Assets/Script/9_MixedScene/CardSpace/CardM_N0_3C_005.cs:15— Assets/Script/9_MixedScene/CardSpace/CardM_N0_3C_005.cs:15-30 | Assets/Script/9_MixedScene/CardSpace/CardM_N1_2S_007.cs:14-25 | Assets/Script/9_MixedScene/CardSpace/CardM_S0_2S_004.cs:14-29 | Assets/Script/9_MixedScene/CardSpace/CardM_S0_2S_005.cs:14-29 — These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 12 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. 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. Left alone, the next edit has to be made 4 times and the copies will drift further apart.
D4 · Code Duplication· Edited copy of a member (46 corresponding lines) · ×1
Edited copy of a member (46 corresponding lines) Assets/Script/9_MixedScene/Config/DeckConfig.cs:16— Assets/Script/9_MixedScene/Config/DeckConfig.cs:16-73 | Assets/Script/9_MixedScene/Config/DeckConfig.cs:75-120 — These two members are one piece of code written twice and then edited apart: 46 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below — the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members' grain — factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart.
D4 · Code Duplication· Edited copy of a member (21 corresponding lines) · ×1
Edited copy of a member (21 corresponding lines) Assets/Plugins/Live2D/Cubism/Core/CubismDrawable.cs:153— Assets/Plugins/Live2D/Cubism/Core/CubismDrawable.cs:153-173 | Assets/Plugins/Live2D/Cubism/Core/CubismDrawable.cs:182-202 — These two members are one piece of code written twice and then edited apart: 21 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below — the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members' grain — factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart.
D4 · Code Duplication· Edited copies of one member (4 members, 19+ corresponding lines) · ×1
Edited copies of one member (4 members, 19+ corresponding lines) Assets/Plugins/Live2D/Cubism/Framework/CubismEyeBlinkController.cs:50— Assets/Plugins/Live2D/Cubism/Framework/CubismEyeBlinkController.cs:50-77 | Assets/Plugins/Live2D/Cubism/Framework/HarmonicMotion/CubismHarmonicMotionController.cs:61-79 | Assets/Plugins/Live2D/Cubism/Framework/LookAt/CubismLookController.cs:117-135 | Assets/Plugins/Live2D/Cubism/Framework/MouthMovement/CubismMouthController.cs:51-78 — These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 19 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. 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. Left alone, the next edit has to be made 4 times and the copies will drift further apart.
D4 · Code Duplication· Edited copy of a member (9 corresponding lines) · ×1
Edited copy of a member (9 corresponding lines) OtherSolution/Server/Server/TouHouHub.cs:142— OtherSolution/Server/Server/TouHouHub.cs:142-153 | OtherSolution/Server/Server/TouHouHub.cs:200-208 — These two members are one piece of code written twice and then edited apart: 9 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below — the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members' grain — factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart.
Duplicated block (111 lines × 2) Assets/Script/9_MixedScene/Enum/GameEnum.cs:32— Assets/Script/9_MixedScene/Enum/GameEnum.cs:32-142 | OtherSolution/Server/Server/GameEnum.cs:32-142 — before extracting anything, compare `Assets/Script/9_MixedScene/Enum/GameEnum.cs` and `OtherSolution/Server/Server/GameEnum.cs` as WHOLE FILES: 99% of the shorter file's lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 1 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it — treat the file pair as the unit. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at `Assets/Script/9_MixedScene/Enum/GameEnum.cs:32` 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 (40 lines × 2) Assets/Script/9_MixedScene/Config/DeckConfig.cs:34— Assets/Script/9_MixedScene/Config/DeckConfig.cs:34-73 | Assets/Script/9_MixedScene/Config/DeckConfig.cs:81-120 — 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 `Assets/Script/9_MixedScene/Config/DeckConfig.cs:34` it runs out through the closing brace of the declaration holding it — the window is that declaration's tail, not a fragment that begins part-way through something, 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 (28–35 lines × 5) Assets/Script/9_MixedScene/CardSpace/CardM_N1_2S_001.cs:17— Assets/Script/9_MixedScene/CardSpace/CardM_N1_2S_001.cs:17-44 | Assets/Script/9_MixedScene/CardSpace/CardM_N1_2S_002.cs:17-49 | Assets/Script/9_MixedScene/CardSpace/CardM_N1_2S_003.cs:17-51 | Assets/Script/9_MixedScene/CardSpace/CardM_N1_2S_004.cs:17-44 | Assets/Script/9_MixedScene/CardSpace/CardM_N1_2S_005.cs:17-44 — before extracting anything, compare `Assets/Script/9_MixedScene/CardSpace/CardM_N1_2S_004.cs` and `Assets/Script/9_MixedScene/CardSpace/CardM_N1_2S_005.cs` as WHOLE FILES: 87% of the shorter file's lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 2 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it — treat the file pair as the unit. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together — extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at `Assets/Script/9_MixedScene/CardSpace/CardM_N1_2S_001.cs:17` it runs out through the closing brace of the declaration holding it — the window is that declaration's tail, not a fragment that begins part-way through something, 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 (25–26 lines × 2) Assets/Script/9_MixedScene/UI/CardAbilityBoard/CardAbilityBoardManager.cs:141— Assets/Script/9_MixedScene/UI/CardAbilityBoard/CardAbilityBoardManager.cs:141-165 | Assets/Script/9_MixedScene/UI/CardAbilityBoard/CardAbilityBoardManager.cs:169-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. Read the line range as the matched WINDOW rather than a finished unit: at `Assets/Script/9_MixedScene/UI/CardAbilityBoard/CardAbilityBoardManager.cs:141` it runs out through the closing brace of the declaration holding it — the window is that declaration's tail, not a fragment that begins part-way through something, 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 (22 lines × 2) Assets/Plugins/Live2D/Cubism/Framework/Json/CubismMotion3Json.cs:428— Assets/Plugins/Live2D/Cubism/Framework/Json/CubismMotion3Json.cs:428-449 | Assets/Plugins/Live2D/Cubism/Framework/Json/CubismMotion3Json.cs:467-488 — 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 `Assets/Plugins/Live2D/Cubism/Framework/Json/CubismMotion3Json.cs:428` it runs out through the closing brace of the declaration holding it — the window is that declaration's tail, not a fragment that begins part-way through something, 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 (24 lines × 2) Assets/Plugins/Live2D/Cubism/Framework/Motion/CubismMotionLayer.cs:264— Assets/Plugins/Live2D/Cubism/Framework/Motion/CubismMotionLayer.cs:264-287 | Assets/Plugins/Live2D/Cubism/Framework/MotionFade/CubismFadeStateObserver.cs:161-184 — 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 (17–18 lines × 2) Assets/Plugins/Live2D/Cubism/Framework/Json/CubismJsonParser.cs:259— Assets/Plugins/Live2D/Cubism/Framework/Json/CubismJsonParser.cs:259-276 | Assets/Plugins/Live2D/Cubism/Framework/Json/CubismJsonParser.cs:307-323 — 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 `Assets/Plugins/Live2D/Cubism/Framework/Json/CubismJsonParser.cs:259` it runs out through the closing brace of the declaration holding it — the window is that declaration's tail, not a fragment that begins part-way through something, 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 (17 lines × 2) Assets/Script/1_LoginScene/PageComponents/PlayerDataComponent/PlayerDataCommand.cs:36— Assets/Script/1_LoginScene/PageComponents/PlayerDataComponent/PlayerDataCommand.cs:36-52 | Assets/Script/1_LoginScene/PageComponents/PlayerDataComponent/PlayerDataCommand.cs:58-74 — 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 `Assets/Script/1_LoginScene/PageComponents/PlayerDataComponent/PlayerDataCommand.cs:36` it runs out through the closing brace of the declaration holding it — the window is that declaration's tail, not a fragment that begins part-way through something, 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 (15 lines × 2) REDACTED:127— REDACTED:127-141 | REDACTED:149-163 — 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 `REDACTED:127` 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 (16 lines × 2) Assets/Plugins/Live2D/Cubism/Editor/CubismFadeMotionImporter.cs:116— Assets/Plugins/Live2D/Cubism/Editor/CubismFadeMotionImporter.cs:116-131 | Assets/Plugins/Live2D/Cubism/Editor/CubismPoseMotionImporter.cs:172-187 — the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach — a file they already depend on, or a new one alongside them — and call it from both call sites, so a change lands once.
Duplicated block (10–16 lines × 28) Assets/Script/9_MixedScene/CardSpace/CardM_F1_0L_001.cs:18— Assets/Script/9_MixedScene/CardSpace/CardM_F1_0L_001.cs:18-27 | Assets/Script/9_MixedScene/CardSpace/CardM_F1_1G_003.cs:18-27 | Assets/Script/9_MixedScene/CardSpace/CardM_F1_2S_003.cs:18-27 | Assets/Script/9_MixedScene/CardSpace/CardM_F1_2S_004.cs:18-27 | Assets/Script/9_MixedScene/CardSpace/CardM_N0_1G_001.cs:20-29 | Assets/Script/9_MixedScene/CardSpace/CardM_N0_1G_002.cs:19-29 | Assets/Script/9_MixedScene/CardSpace/CardM_N0_1G_004.cs:20-30 | Assets/Script/9_MixedScene/CardSpace/CardM_N0_2S_001.cs:18-29 | Assets/Script/9_MixedScene/CardSpace/CardM_N0_2S_002.cs:18-29 | Assets/Script/9_MixedScene/CardSpace/CardM_N0_2S_003.cs:18-29 | Assets/Script/9_MixedScene/CardSpace/CardM_N0_2S_005.cs:18-28 | Assets/Script/9_MixedScene/CardSpace/CardM_N0_2S_006.cs:18-28 | Assets/Script/9_MixedScene/CardSpace/CardM_N0_3C_001.cs:19-29 | Assets/Script/9_MixedScene/CardSpace/CardM_N0_3C_003.cs:19-30 | Assets/Script/9_MixedScene/CardSpace/CardM_N1_1G_001.cs:18-27 | Assets/Script/9_MixedScene/CardSpace/CardM_N1_1G_004.cs:18-33 | Assets/Script/9_MixedScene/CardSpace/CardM_N1_2S_006.cs:18-27 | Assets/Script/9_MixedScene/CardSpace/CardM_N8_1G_003.cs:18-28 | Assets/Script/9_MixedScene/CardSpace/CardM_S0_0L_001.cs:18-29 | Assets/Script/9_MixedScene/CardSpace/CardM_S0_3C_006.cs:18-28 | Assets/Script/9_MixedScene/CardSpace/CardM_T0_0L_001.cs:19-29 | Assets/Script/9_MixedScene/CardSpace/CardM_T0_2S_002.cs:18-28 | Assets/Script/9_MixedScene/CardSpace/CardM_T0_2S_004.cs:18-27 | Assets/Script/9_MixedScene/CardSpace/CardM_T0_2S_006.cs:18-27 | Assets/Script/9_MixedScene/CardSpace/CardM_T0_3C_005.cs:18-28 | Assets/Script/9_MixedScene/CardSpace/CardM_T0_3C_006.cs:18-28 | Assets/Script/9_MixedScene/CardSpace/CardM_T1_1G_002.cs:18-27 | Assets/Script/9_MixedScene/CardSpace/CardM_T1_1G_003.cs:18-27 — before extracting anything, compare `Assets/Script/9_MixedScene/CardSpace/CardM_N0_2S_001.cs` and `Assets/Script/9_MixedScene/CardSpace/CardM_N0_2S_002.cs` as WHOLE FILES: 87% of the shorter file's lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 2 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it — treat the file pair as the unit. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together — extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at `Assets/Script/9_MixedScene/CardSpace/CardM_F1_0L_001.cs:18` 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. 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 (15–16 lines × 2) Assets/Script/9_MixedScene/CardSpace/CardM_F1_3C_007.cs:17— Assets/Script/9_MixedScene/CardSpace/CardM_F1_3C_007.cs:17-32 | Assets/Script/9_MixedScene/CardSpace/CardM_F1_3C_008.cs:17-31 — the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach — a file they already depend on, or a new one alongside them — and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at `Assets/Script/9_MixedScene/CardSpace/CardM_F1_3C_007.cs:17` it runs out through the closing brace of the declaration holding it — the window is that declaration's tail, not a fragment that begins part-way through something, 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 (14 lines × 2) Assets/Script/9_MixedScene/Against/AgainstSummaryManager.cs:90— Assets/Script/9_MixedScene/Against/AgainstSummaryManager.cs:90-103 | OtherSolution/Server/Server/InfoModel.cs:188-201 — 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 `Assets/Script/9_MixedScene/Against/AgainstSummaryManager.cs:90` 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 (11–13 lines × 3) Assets/Script/9_MixedScene/CardSpace/CardM_T0_1G_003.cs:18— Assets/Script/9_MixedScene/CardSpace/CardM_T0_1G_003.cs:18-30 | Assets/Script/9_MixedScene/CardSpace/CardM_T0_2S_005.cs:18-28 | Assets/Script/9_MixedScene/CardSpace/CardM_T0_3C_002.cs:19-31 — the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach — a file they already depend on, or a new one alongside them — and call it from all 3 call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at `Assets/Script/9_MixedScene/CardSpace/CardM_T0_1G_003.cs:18` 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. 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 (11–13 lines × 2) Assets/Script/9_MixedScene/CardSpace/CardM_S0_1G_001.cs:18— Assets/Script/9_MixedScene/CardSpace/CardM_S0_1G_001.cs:18-30 | Assets/Script/9_MixedScene/CardSpace/CardM_S0_2S_001.cs:17-27 — the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach — a file they already depend on, or a new one alongside them — and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at `Assets/Script/9_MixedScene/CardSpace/CardM_S0_1G_001.cs:18` 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 (12 lines × 2) Assets/Script/2_BattleScene/State/StateCommand.cs:506— Assets/Script/2_BattleScene/State/StateCommand.cs:506-517 | Assets/Script/2_BattleScene/State/StateCommand.cs:596-607 — 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 (10–12 lines × 113) Assets/Script/9_MixedScene/CardSpace/Card0.cs:14— Assets/Script/9_MixedScene/CardSpace/Card0.cs:14-23 | Assets/Script/9_MixedScene/CardSpace/CardM_F0_0L_001.cs:14-23 | Assets/Script/9_MixedScene/CardSpace/CardM_F0_1G_001.cs:14-23 | Assets/Script/9_MixedScene/CardSpace/CardM_F0_1G_002.cs:14-23 | Assets/Script/9_MixedScene/CardSpace/CardM_F0_1G_003.cs:14-23 | Assets/Script/9_MixedScene/CardSpace/CardM_F0_2S_001.cs:14-23 | Assets/Script/9_MixedScene/CardSpace/CardM_F0_2S_002.cs:14-23 | Assets/Script/9_MixedScene/CardSpace/CardM_F0_2S_003.cs:14-23 | Assets/Script/9_MixedScene/CardSpace/CardM_F0_2S_004.cs:14-23 | Assets/Script/9_MixedScene/CardSpace/CardM_F0_2S_005.cs:14-23 | Assets/Script/9_MixedScene/CardSpace/CardM_F0_2S_006.cs:14-23 | Assets/Script/9_MixedScene/CardSpace/CardM_F0_3C_001.cs:14-23 | Assets/Script/9_MixedScene/CardSpace/CardM_F0_3C_002.cs:14-23 | Assets/Script/9_MixedScene/CardSpace/CardM_F1_0L_001.cs:14-23 | Assets/Script/9_MixedScene/CardSpace/CardM_F1_1G_001.cs:14-23 | Assets/Script/9_MixedScene/CardSpace/CardM_F1_1G_003.cs:14-23 | Assets/Script/9_MixedScene/CardSpace/CardM_F1_1G_004.cs:14-23 | Assets/Script/9_MixedScene/CardSpace/CardM_F1_2S_001.cs:14-23 | Assets/Script/9_MixedScene/CardSpace/CardM_F1_2S_002.cs:14-23 | Assets/Script/9_MixedScene/CardSpace/CardM_F1_2S_003.cs:14-23 | Assets/Script/9_MixedScene/CardSpace/CardM_F1_2S_004.cs:14-23 | Assets/Script/9_MixedScene/CardSpace/CardM_F1_2S_005.cs:14-23 | Assets/Script/9_MixedScene/CardSpace/CardM_F1_3C_001.cs:14-23 | Assets/Script/9_MixedScene/CardSpace/CardM_F1_3C_002.cs:14-23 | Assets/Script/9_MixedScene/CardSpace/CardM_F1_3C_003.cs:14-23 | Assets/Script/9_MixedScene/CardSpace/CardM_F1_3C_005.cs:14-23 | Assets/Script/9_MixedScene/CardSpace/CardM_F1_3C_007.cs:14-24 | Assets/Script/9_MixedScene/CardSpace/CardM_F1_3C_008.cs:14-24 | Assets/Script/9_MixedScene/CardSpace/CardM_N0_0L_001.cs:15-24 | Assets/Script/9_MixedScene/CardSpace/CardM_N0_1G_001.cs:16-25 | Assets/Script/9_MixedScene/CardSpace/CardM_N0_1G_002.cs:14-24 | Assets/Script/9_MixedScene/CardSpace/CardM_N0_1G_003.cs:14-23 | Assets/Script/9_MixedScene/CardSpace/CardM_N0_1G_004.cs:15-25 | Assets/Script/9_MixedScene/CardSpace/CardM_N0_2S_001.cs:14-23 | Assets/Script/9_MixedScene/CardSpace/CardM_N0_2S_002.cs:14-23 | Assets/Script/9_MixedScene/CardSpace/CardM_N0_2S_003.cs:14-23 | Assets/Script/9_MixedScene/CardSpace/CardM_N0_2S_004.cs:15-24 | Assets/Script/9_MixedScene/CardSpace/CardM_N0_2S_005.cs:14-23 | Assets/Script/9_MixedScene/CardSpace/CardM_N0_2S_006.cs:14-23 | Assets/Script/9_MixedScene/CardSpace/CardM_N0_3C_001.cs:15-24 | Assets/Script/9_MixedScene/CardSpace/CardM_N0_3C_003.cs:14-24 | Assets/Script/9_MixedScene/CardSpace/CardM_N0_3C_004.cs:14-23 | Assets/Script/9_MixedScene/CardSpace/CardM_N1_1G_001.cs:14-23 | Assets/Script/9_MixedScene/CardSpace/CardM_N1_1G_002.cs:14-23 | Assets/Script/9_MixedScene/CardSpace/CardM_N1_1G_004.cs:14-23 | Assets/Script/9_MixedScene/CardSpace/CardM_N1_2S_001.cs:14-23 | Assets/Script/9_MixedScene/CardSpace/CardM_N1_2S_002.cs:14-23 | Assets/Script/9_MixedScene/CardSpace/CardM_N1_2S_003.cs:14-24 | Assets/Script/9_MixedScene/CardSpace/CardM_N1_2S_004.cs:14-23 | Assets/Script/9_MixedScene/CardSpace/CardM_N1_2S_005.cs:14-23 | Assets/Script/9_MixedScene/CardSpace/CardM_N1_2S_006.cs:14-23 | Assets/Script/9_MixedScene/CardSpace/CardM_N1_3C_006.cs:14-23 | Assets/Script/9_MixedScene/CardSpace/CardM_N1_3C_007.cs:14-23 | Assets/Script/9_MixedScene/CardSpace/CardM_N8_1G_001.cs:14-23 | Assets/Script/9_MixedScene/CardSpace/CardM_N8_1G_002.cs:14-23 | Assets/Script/9_MixedScene/CardSpace/CardM_N8_1G_003.cs:14-23 | Assets/Script/9_MixedScene/CardSpace/CardM_N8_2S_001.cs:14-23 | Assets/Script/9_MixedScene/CardSpace/CardM_N9_0L_001.cs:14-23 | Assets/Script/9_MixedScene/CardSpace/CardM_N9_1G_001.cs:14-23 | Assets/Script/9_MixedScene/CardSpace/CardM_N9_2S_001.cs:14-23 | Assets/Script/9_MixedScene/CardSpace/CardM_N9_3C_001.cs:14-23 | Assets/Script/9_MixedScene/CardSpace/CardM_S0_0L_001.cs:14-23 | Assets/Script/9_MixedScene/CardSpace/CardM_S0_1G_001.cs:15-26 | Assets/Script/9_MixedScene/CardSpace/CardM_S0_1G_002.cs:15-24 | Assets/Script/9_MixedScene/CardSpace/CardM_S0_2S_001.cs:14-23 | Assets/Script/9_MixedScene/CardSpace/CardM_S0_2S_003.cs:14-23 | Assets/Script/9_MixedScene/CardSpace/CardM_S0_2S_006.cs:14-23 | Assets/Script/9_MixedScene/CardSpace/CardM_S0_3C_001.cs:14-23 | Assets/Script/9_MixedScene/CardSpace/CardM_S0_3C_002.cs:14-23 | Assets/Script/9_MixedScene/CardSpace/CardM_S0_3C_006.cs:14-23 | Assets/Script/9_MixedScene/CardSpace/CardM_T0_0L_001.cs:14-24 | Assets/Script/9_MixedScene/CardSpace/CardM_T0_1G_001.cs:14-23 | Assets/Script/9_MixedScene/CardSpace/CardM_T0_1G_003.cs:14-23 | Assets/Script/9_MixedScene/CardSpace/CardM_T0_1G_004.cs:14-23 | Assets/Script/9_MixedScene/CardSpace/CardM_T0_2S_001.cs:14-23 | Assets/Script/9_MixedScene/CardSpace/CardM_T0_2S_002.cs:14-23 | Assets/Script/9_MixedScene/CardSpace/CardM_T0_2S_004.cs:14-23 | Assets/Script/9_MixedScene/CardSpace/CardM_T0_2S_005.cs:14-23 | Assets/Script/9_MixedScene/CardSpace/CardM_T0_2S_006.cs:14-23 | Assets/Script/9_MixedScene/CardSpace/CardM_T0_3C_001.cs:15-24 | Assets/Script/9_MixedScene/CardSpace/CardM_T0_3C_002.cs:15-24 | Assets/Script/9_MixedScene/CardSpace/CardM_T0_3C_003.cs:14-23 | Assets/Script/9_MixedScene/CardSpace/CardM_T0_3C_004.cs:14-23 | Assets/Script/9_MixedScene/CardSpace/CardM_T0_3C_005.cs:14-23 | Assets/Script/9_MixedScene/CardSpace/CardM_T0_3C_006.cs:14-23 | Assets/Script/9_MixedScene/CardSpace/CardM_T1_0L_001.cs:14-23 | Assets/Script/9_MixedScene/CardSpace/CardM_T1_1G_001.cs:14-23 | Assets/Script/9_MixedScene/CardSpace/CardM_T1_1G_002.cs:14-23 | Assets/Script/9_MixedScene/CardSpace/CardM_T1_1G_003.cs:14-23 | Assets/Script/9_MixedScene/CardSpace/CardM_T1_1G_004.cs:14-23 | Assets/Script/9_MixedScene/CardSpace/CardM_T1_2S_001.cs:14-23 | Assets/Script/9_MixedScene/CardSpace/CardM_T1_2S_002.cs:14-23 | Assets/Script/9_MixedScene/CardSpace/CardM_T1_2S_003.cs:14-23 | Assets/Script/9_MixedScene/CardSpace/CardM_T1_2S_004.cs:14-23 | Assets/Script/9_MixedScene/CardSpace/CardM_T1_2S_005.cs:14-23 | Assets/Script/9_MixedScene/CardSpace/CardM_T1_3C_001.cs:14-23 | Assets/Script/9_MixedScene/CardSpace/CardM_T1_3C_002.cs:14-23 | Assets/Script/9_MixedScene/CardSpace/CardM_T1_3C_003.cs:14-23 | Assets/Script/9_MixedScene/CardSpace/CardM_T1_3C_004.cs:14-23 | Assets/Script/9_MixedScene/CardSpace/CardM_T1_3C_005.cs:14-23 | Assets/Script/9_MixedScene/CardSpace/CardM__0L_000.cs:14-23 | Assets/Script/9_MixedScene/CardSpace/CardS_0_0_0L_001.cs:14-23 | Assets/Script/9_MixedScene/CardSpace/CardS_0_0_1G_001.cs:14-23 | Assets/Script/9_MixedScene/CardSpace/CardS_0_0_1G_002.cs:14-23 | Assets/Script/9_MixedScene/CardSpace/CardS_0_0_1G_003.cs:14-23 | Assets/Script/9_MixedScene/CardSpace/CardS_0_0_1G_004.cs:14-23 | Assets/Script/9_MixedScene/CardSpace/CardS_0_0_2S_002.cs:14-23 | Assets/Script/9_MixedScene/CardSpace/CardS_0_0_2S_003.cs:14-23 | Assets/Script/9_MixedScene/CardSpace/CardS_0_0_2S_004.cs:14-23 | Assets/Script/9_MixedScene/CardSpace/CardS_0_0_2S_006.cs:14-23 | Assets/Script/9_MixedScene/CardSpace/CardS_0_0_3C_001.cs:14-23 | Assets/Script/9_MixedScene/CardSpace/CardS_0_0_3C_003.cs:14-23 | Assets/Script/9_MixedScene/CardSpace/CardS_0_0_3C_004.cs:14-23 — before extracting anything, compare `Assets/Script/9_MixedScene/CardSpace/CardM_F0_1G_003.cs` and `Assets/Script/9_MixedScene/CardSpace/CardM_F0_2S_006.cs` as WHOLE FILES: 82% of the shorter file's lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 1 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it — treat the file pair as the unit. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together — extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at `Assets/Script/9_MixedScene/CardSpace/Card0.cs:14` 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 × 2) OtherSolution/xls检测更新/Program.cs:78— OtherSolution/xls检测更新/Program.cs:78-86 | OtherSolution/xls检测更新/Program.cs:90-98 — 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) Assets/Script/2_BattleScene/State/StateCommand.cs:130— Assets/Script/2_BattleScene/State/StateCommand.cs:130-137 | Assets/Script/2_BattleScene/State/StateCommand.cs:138-148 — 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 `Assets/Script/2_BattleScene/State/StateCommand.cs:130` it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows — the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members' bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run — a one-line delegation has no helper inside it to lift — so generate the run from the set it enumerates, or accept it and keep each member's own documentation with it.
Duplicated block (6 lines × 3) Assets/Script/9_MixedScene/CardSpace/CardM_N1_3C_003.cs:15— Assets/Script/9_MixedScene/CardSpace/CardM_N1_3C_003.cs:15-20 | Assets/Script/9_MixedScene/CardSpace/CardM_N1_3C_004.cs:15-20 | Assets/Script/9_MixedScene/CardSpace/CardM_N1_3C_005.cs:15-20 — the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach — a file they already depend on, or a new one alongside them — and call it from all 3 call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at `Assets/Script/9_MixedScene/CardSpace/CardM_N1_3C_003.cs:15` 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 (14 lines × 12) Assets/Script/9_MixedScene/CardSpace/Card1.cs:15— Assets/Script/9_MixedScene/CardSpace/Card1.cs:15-28 | Assets/Script/9_MixedScene/CardSpace/CardM_F0_1G_004.cs:15-28 | Assets/Script/9_MixedScene/CardSpace/CardM_F0_2S_007.cs:15-28 | Assets/Script/9_MixedScene/CardSpace/CardM_F0_2S_008.cs:15-28 | Assets/Script/9_MixedScene/CardSpace/CardM_F0_3C_003.cs:15-28 | Assets/Script/9_MixedScene/CardSpace/CardM_F0_3C_004.cs:15-28 | Assets/Script/9_MixedScene/CardSpace/CardM_F0_3C_005.cs:15-28 | Assets/Script/9_MixedScene/CardSpace/CardM_F0_3C_006.cs:15-28 | Assets/Script/9_MixedScene/CardSpace/CardM_F1_3C_004.cs:15-28 | Assets/Script/9_MixedScene/CardSpace/CardM_T0_2S_003.cs:15-28 | Assets/Script/9_MixedScene/CardSpace/CardS_0_0_3C_002.cs:15-28 | Assets/Script/9_MixedScene/CardSpace/CardS_0_0_3C_005.cs:15-28 — the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach — a file they already depend on, or a new one alongside them — and call it from all 12 call sites, so a change lands once. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any `return` inside it is the body's own exit and keeps its meaning in the moved unit.
Coverage not measured — test suite did not build — Coverage NOT MEASURED: this repository did not build in our analyzer environment (a C#/MSBuild compiler error), so no coverage could be collected. It is excluded from the score rather than counted as a near-zero defect. We did not read WHERE the failing diagnostic is, so this does not claim the fault is in your test code — a repository written for an older SDK band can compile for you and not for us. Run `dotnet build` on this commit; if it succeeds, the gap is ours. Committing the Cobertura/OpenCover/lcov report your CI already produces also lets us measure real coverage without building anything.
Outbound HTTP without resilience REDACTED:65— `new HttpClient()` builds an outbound HTTP client and nothing bounds it: no timeout is set on it and no retry or resilience policy wraps its calls in the type that owns it. A slow or failing dependency will hold this service's request, thread or connection — and cascade — until the call gives up on its own (100 s for HttpClient's default).
Third-party script without Subresource Integrity OtherSolution/Server/Pages/_Host.cshtml:11— `https://unpkg.com/@@antv/g2plot@1.1.28/dist/g2plot.js` is executed by this page with no Subresource Integrity. Whoever can answer that request — the CDN, anyone who compromises it, anyone on the network path — runs arbitrary script in this page's origin, with its session.
Blocking `File.WriteAllBytes` inside an `async` method OtherSolution/Server/Pages/Diy.razor:196— `File.WriteAllBytes` blocks the thread on I/O while `File.WriteAllBytesAsync` exists to wait without one — inside a method that is already `async`, await the twin.
X2 · Cancellation propagation· Async delegate without CancellationToken · ×1
Async delegate without CancellationToken: RenameDeck Assets/Script/1_LoginScene/PageComponents/CardListComponent/CardListCommand.cs:126— Queues or hands on an async lambda whose work calls something that takes a CancellationToken, while neither this method nor the delegate supplies one — that work can't be stopped early once started. Take a CancellationToken here and let the lambda capture it, or use a delegate that is handed one (`Func<CancellationToken, Task>`).
X2 · Cancellation propagation· Async local function without CancellationToken · ×1
Async local function without CancellationToken: CheakHover Assets/Script/9_MixedScene/UI/KeyWordPopup/KeyWordManager.cs:41— Neither takes a CancellationToken nor reads the one of the function it sits in, while it calls something that takes one — this work can't be stopped early once started. Take the token, or pass on the enclosing one.
X24 · Document value interpolated into markup unescaped· Untrusted text written into markup unescaped · ×1
Untrusted text written into markup unescaped OtherSolution/ServerVersions/Server/wwwroot/_content/AntDesign/js/split/modules/components/mentionsHelper.js:73— `html` is text this program did not author, and it is written into the text of an element through `innerHTML` with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework's escaping output, or sanitise it if it must stay markup.
X28 · Index access outside its own emptiness guard· Index access outside its own emptiness guard · ×1
Index access outside its own emptiness guard Assets/Plugins/Live2D/Cubism/Framework/Json/CubismMotion3Json.cs:124— This access `segments[1]` has no test of the length of `segments` on its own path, while this method tests it for that position at line 118 (`segments.Length < 1`): where that test fails, this read throws. Either the test is load-bearing and this read needs it too, or the length of `segments` is fixed here and the test is dead.
X5 · Nullable reference types· Null guard scopes only part of the work it protects · ×1
Null guard scopes only part of the work it protects OtherSolution/Server/Server/mongodb/MongoDbCommand.cs:215— This method contradicts itself about `userInfo`: line 203 tests it for null before doing anything with it — the author's own statement that null is an input this code expects — but that `if` scopes only the block beneath it, and line 215 then dereferences `userInfo` as `userInfo.Faiths` AFTER the block has closed, where the guard no longer applies. A null `userInfo` skips the guarded body and reaches that line anyway, throwing NullReferenceException on exactly the input the guard was written for. If the dereference belongs to the guarded work, move it inside the block; if `userInfo` truly cannot be null by then, the guard above is misleading and should go.
redundant comment Assets/GameResources/Shader_Material/VFX/TestVFX.cs:8— "Start is called before the first frame update" is Unity MonoBehaviour template text, left in place. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence).
redundant comment Assets/GameResources/Shader_Material/VFX/TestVFX.cs:14— "Update is called once per frame" is Unity MonoBehaviour template text, left in place. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence).
redundant comment Assets/Plugins/Live2D/Cubism/Core/CubismLogging.cs:66— "Marshal message and log it." repeats the code it sits on: 3 of its 3 words (marshal, message, log) are already in `var managedMessage = Marshal.PtrToStringAnsi(new IntPtr(message));`. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence).
redundant comment Assets/Plugins/Live2D/Cubism/Core/CubismModel.cs:361— "Get the default player loop." repeats the code it sits on: 4 of its 4 words (get, default, player, loop) are already in `var playerLoopSystem = PlayerLoop.GetDefaultPlayerLoop();`. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence).
redundant comment Assets/Plugins/Live2D/Cubism/Editor/CubismAssetProcessor.cs:263— "Create mask material." repeats the code it sits on: 3 of its 3 words (create, mask, material) are already in `var material = new Material (CubismBuiltinShaders.Mask)`. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence).
redundant comment Assets/Plugins/Live2D/Cubism/Editor/CubismFadeMotionImporter.cs:49— "Create fade motion instance." repeats the code it sits on: 4 of its 4 words (create, fade, motion, instance) are already in `fadeMotion = CubismFadeMotionData.CreateInstance(`. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence).
redundant comment Assets/Plugins/Live2D/Cubism/Editor/Deleters/CubismAnimationClipDeleter.cs:56— "Get fade motion asset deleter." repeats the code it sits on: 5 of its 5 words (get, fade, motion, asset, deleter) are already in `var fadeMotionDeleter = CubismDeleter.GetDeleterAsPath(fadeAssetPath);`. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence).
redundant comment Assets/Plugins/Live2D/Cubism/Editor/Importers/CubismModel3JsonImporter.cs:239— "Reset moc reference." repeats the code it sits on: 3 of its 3 words (reset, moc, reference) are already in `CubismModel.ResetMocReference(model, MocAsset);`. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence).
redundant comment Assets/Plugins/Live2D/Cubism/Framework/CubismEyeBlinkController.cs:75— "Get cubism update controller." repeats the code it sits on: 4 of its 4 words (get, cubism, update, controller) are already in `HasUpdateController = (GetComponent<CubismUpdateController>() != null);`. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence).
redundant comment Assets/Plugins/Live2D/Cubism/Framework/Expression/CubismExpressionController.cs:200— "Get cubism update controller." repeats the code it sits on: 4 of its 4 words (get, cubism, update, controller) are already in `HasUpdateController = (GetComponent<CubismUpdateController>() != null);`. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence).
redundant comment Assets/Plugins/Live2D/Cubism/Framework/HarmonicMotion/CubismHarmonicMotionController.cs:77— "Get cubism update controller." repeats the code it sits on: 4 of its 4 words (get, cubism, update, controller) are already in `HasUpdateController = (GetComponent<CubismUpdateController>() != null);`. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence).
redundant comment Assets/Plugins/Live2D/Cubism/Framework/Json/CubismModel3Json.cs:86— "Load Json asset." repeats the code it sits on: 3 of its 3 words (load, json, asset) are already in `var modelJsonAsset = loadAssetAtPath(typeof(string), assetPath) as string;`. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence).
redundant comment Assets/Plugins/Live2D/Cubism/Framework/Json/CubismMotion3Json.cs:216— "Create animation clip." repeats the code it sits on: 3 of its 3 words (create, animation, clip) are already in `var animationClip = new AnimationClip`. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence).
redundant comment Assets/Plugins/Live2D/Cubism/Framework/LookAt/CubismLookController.cs:133— "Get cubism update controller." repeats the code it sits on: 4 of its 4 words (get, cubism, update, controller) are already in `HasUpdateController = (GetComponent<CubismUpdateController>() != null);`. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence).
redundant comment Assets/Plugins/Live2D/Cubism/Framework/Motion/CubismMotionController.cs:284— "Create Playable Graph." repeats the code it sits on: 3 of its 3 words (create, playable, graph) are already in `_playableGrap = PlayableGraph.Create("Playable Graph : " + this.FindCubismModel().name);`. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence).
redundant comment Assets/Plugins/Live2D/Cubism/Framework/Motion/CubismMotionController.cs:292— "Create Playable Output." repeats the code it sits on: 3 of its 3 words (create, playable, output) are already in `_playableOutput = AnimationPlayableOutput.Create(_playableGrap, "Animation", animator);`. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence).
redundant comment Assets/Plugins/Live2D/Cubism/Framework/Motion/CubismMotionController.cs:296— "Create animation layer mixer." repeats the code it sits on: 4 of its 4 words (create, animation, layer, mixer) are already in `_layerMixer = AnimationLayerMixerPlayable.Create(_playableGrap, LayerCount);`. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence).
redundant comment Assets/Plugins/Live2D/Cubism/Framework/Motion/CubismMotionController.cs:315— "Set Playable Output." repeats the code it sits on: 3 of its 3 words (set, playable, output) are already in `_playableOutput.SetSourcePlayable(_layerMixer);`. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence).
redundant comment Assets/Plugins/Live2D/Cubism/Framework/Motion/CubismMotionLayer.cs:250— "Create cubism motion state." repeats the code it sits on: 4 of its 4 words (create, cubism, motion, state) are already in `_motionState = CubismMotionState.CreateCubismMotionState(_playableGraph, clip, isLoop, speed);`. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence).
redundant comment Assets/Plugins/Live2D/Cubism/Framework/Motion/CubismMotionLayer.cs:289— "Create fade playing motion." repeats the code it sits on: 4 of its 4 words (create, fade, playing, motion) are already in `var playingMotion = CreateFadePlayingMotion(clip, isLoop, speed);`. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence).
redundant comment Assets/Plugins/Live2D/Cubism/Framework/Motion/CubismMotionState.cs:51— "Create animation clip mixer." repeats the code it sits on: 4 of its 4 words (create, animation, clip, mixer) are already in `ret.ClipMixer = AnimationMixerPlayable.Create(playableGraph, 2);`. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence).
redundant comment Assets/Plugins/Live2D/Cubism/Framework/MotionFade/CubismFadeController.cs:82— "Get cubism update controller." repeats the code it sits on: 4 of its 4 words (get, cubism, update, controller) are already in `HasUpdateController = (GetComponent<CubismUpdateController>() != null);`. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence).
redundant comment Assets/Plugins/Live2D/Cubism/Framework/MouthMovement/CubismMouthController.cs:76— "Get cubism update controller." repeats the code it sits on: 4 of its 4 words (get, cubism, update, controller) are already in `HasUpdateController = (GetComponent<CubismUpdateController>() != null);`. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence).
redundant comment Assets/Plugins/Live2D/Cubism/Framework/Physics/CubismPhysicsController.cs:118— "Get cubism update controller." repeats the code it sits on: 4 of its 4 words (get, cubism, update, controller) are already in `HasUpdateController = (GetComponent<CubismUpdateController>() != null);`. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence).
redundant comment Assets/Plugins/Live2D/Cubism/Framework/Pose/CubismPoseController.cs:110— "Get cubism update controller." repeats the code it sits on: 4 of its 4 words (get, cubism, update, controller) are already in `HasUpdateController = (GetComponent<CubismUpdateController>() != null);`. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence).
Commented-out code Assets/Assemblies/Sirenix/Odin Inspector/Scripts/Editor/EnsureOdinInspectorDefine.cs:75— A line of code has been commented out rather than removed — dead weight that rots and confuses. Delete it (version control remembers).
Commented-out code Assets/Assemblies/Sirenix/Odin Inspector/Scripts/Editor/EnsureOdinInspectorDefine.cs:78— A line of code has been commented out rather than removed — dead weight that rots and confuses. Delete it (version control remembers).
Commented-out code Assets/Assemblies/Sirenix/Odin Inspector/Scripts/Editor/EnsureOdinInspectorDefine.cs:80— A line of code has been commented out rather than removed — dead weight that rots and confuses. Delete it (version control remembers).
Commented-out code Assets/Assemblies/Sirenix/Odin Inspector/Scripts/Editor/EnsureOdinInspectorDefine.cs:85— A line of code has been commented out rather than removed — dead weight that rots and confuses. Delete it (version control remembers).
Commented-out code Assets/Assemblies/Sirenix/Odin Inspector/Scripts/Editor/EnsureOdinInspectorDefine.cs:88— A line of code has been commented out rather than removed — dead weight that rots and confuses. Delete it (version control remembers).
Commented-out code Assets/Assemblies/Sirenix/Odin Inspector/Scripts/Editor/EnsureOdinInspectorDefine.cs:89— A line of code has been commented out rather than removed — dead weight that rots and confuses. Delete it (version control remembers).
Commented-out code Assets/Assemblies/Sirenix/Odin Inspector/Scripts/Editor/EnsureOdinInspectorDefine.cs:93— A line of code has been commented out rather than removed — dead weight that rots and confuses. Delete it (version control remembers).
Commented-out code Assets/Assemblies/Sirenix/Odin Inspector/Scripts/Editor/EnsureOdinInspectorDefine.cs:96— A line of code has been commented out rather than removed — dead weight that rots and confuses. Delete it (version control remembers).
Commented-out code Assets/Assemblies/Sirenix/Odin Inspector/Scripts/Editor/EnsureOdinInspectorDefine.cs:97— A line of code has been commented out rather than removed — dead weight that rots and confuses. Delete it (version control remembers).
Commented-out code Assets/Assemblies/Sirenix/Odin Inspector/Scripts/Editor/EnsureOdinInspectorDefine.cs:98— A line of code has been commented out rather than removed — dead weight that rots and confuses. Delete it (version control remembers).
Commented-out code Assets/Assemblies/Sirenix/Odin Inspector/Scripts/Editor/EnsureOdinInspectorDefine.cs:103— A line of code has been commented out rather than removed — dead weight that rots and confuses. Delete it (version control remembers).
Commented-out code Assets/Assemblies/Sirenix/Odin Inspector/Scripts/Editor/EnsureOdinInspectorDefine.cs:108— A line of code has been commented out rather than removed — dead weight that rots and confuses. Delete it (version control remembers).
Commented-out code Assets/Assemblies/Sirenix/Odin Inspector/Scripts/Editor/EnsureOdinInspectorDefine.cs:112— A line of code has been commented out rather than removed — dead weight that rots and confuses. Delete it (version control remembers).
Commented-out code Assets/Assemblies/Sirenix/Odin Inspector/Scripts/Editor/EnsureOdinInspectorDefine.cs:115— A line of code has been commented out rather than removed — dead weight that rots and confuses. Delete it (version control remembers).
Commented-out code REDACTED:138— A line of code has been commented out rather than removed — dead weight that rots and confuses. Delete it (version control remembers).
Commented-out code REDACTED:139— A line of code has been commented out rather than removed — dead weight that rots and confuses. Delete it (version control remembers).
Commented-out code REDACTED:140— A line of code has been commented out rather than removed — dead weight that rots and confuses. Delete it (version control remembers).
Commented-out code REDACTED:143— A line of code has been commented out rather than removed — dead weight that rots and confuses. Delete it (version control remembers).
Commented-out code REDACTED:144— A line of code has been commented out rather than removed — dead weight that rots and confuses. Delete it (version control remembers).
Commented-out code REDACTED:145— A line of code has been commented out rather than removed — dead weight that rots and confuses. Delete it (version control remembers).
Commented-out code REDACTED:148— A line of code has been commented out rather than removed — dead weight that rots and confuses. Delete it (version control remembers).
Duplicated predicate Assets/Plugins/Live2D/Cubism/Rendering/Masking/CubismMaskCommandBuffer.cs:78— `!Application.isEditor || Application.isPlaying` appears character-identically in 2 files — Assets/Plugins/Live2D/Cubism/Rendering/Masking/CubismMaskCommandBuffer.cs, Assets/Plugins/Live2D/Cubism/Samples/Masking/MaskTexturePreview.cs. It is one line, so the duplication detector's token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home.
Duplicated predicate Assets/Plugins/Live2D/Cubism/Framework/Motion/CubismMotionLayer.cs:264— `(_playingMotions.Count > 0) && (_playingMotions[_playingMotions.Count - 1].Motion != null)` appears character-identically in 2 files — Assets/Plugins/Live2D/Cubism/Framework/Motion/CubismMotionLayer.cs, Assets/Plugins/Live2D/Cubism/Framework/MotionFade/CubismFadeStateObserver.cs. It is one line, so the duplication detector's token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home.
Duplicated predicate Assets/Plugins/Live2D/Cubism/Framework/Json/CubismMotion3Json.cs:260— `curve.Target == "PartOpacity" && shouldImportAsOriginalWorkflow && !isCallFormModelJson` appears character-identically in 2 files — Assets/Plugins/Live2D/Cubism/Framework/Json/CubismMotion3Json.cs, Assets/Plugins/Live2D/Cubism/Framework/MotionFade/CubismFadeMotionData.cs. It is one line, so the duplication detector's token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home.
Duplicated predicate Assets/Script/9_MixedScene/Card/CardInLibraryManager.cs:14— `eventData.button == PointerEventData.InputButton.Left && eventData.clickCount == 1` appears character-identically in 2 files — Assets/Script/9_MixedScene/Card/CardInLibraryManager.cs, Assets/Script/9_MixedScene/UI/UIEvent.cs. It is one line, so the duplication detector's token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home.
Duplicated predicate Assets/Script/9_MixedScene/Card/CardInLibraryManager.cs:19— `eventData.button == PointerEventData.InputButton.Right || (eventData.button == PointerEventData.InputButton.Left && eventData.clickCount == …` appears character-identically in 2 files — Assets/Script/9_MixedScene/Card/CardInLibraryManager.cs, Assets/Script/9_MixedScene/UI/UIEvent.cs. It is one line, so the duplication detector's token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home.
Duplicated predicate Assets/Script/9_MixedScene/Config/AgainstConfig.cs:48— `mode == AgainstModeType.Casual || mode == AgainstModeType.Rank || mode == AgainstModeType.Arena` appears character-identically in 2 files — Assets/Script/9_MixedScene/Config/AgainstConfig.cs, OtherSolution/Server/Server/Manager/HoldListManager.cs. It is one line, so the duplication detector's token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home.
Duplicated predicate Assets/Script/9_MixedScene/Config/AgainstConfig.cs:43— `mode == AgainstModeType.Story || mode == AgainstModeType.Practice` appears character-identically in 2 files — Assets/Script/9_MixedScene/Config/AgainstConfig.cs, OtherSolution/Server/Server/Manager/HoldListManager.cs. It is one line, so the duplication detector's token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home.
D26 · Project Cohesion· Projects may be oversized for their cohesion · ×3
Projects may be oversized for their cohesion Steam.csproj:1— `Steam` overshoots its size bounds (24416 LoC, 464 public types across 2 namespaces). 3 of 15 project(s) overshoot their size bounds, lowering Project Cohesion to 6.3/10. Size alone is no reason to split a project: where its type references show a separable part, a Split row names it.
Projects may be oversized for their cohesion Live2D.csproj:1— `Live2D` overshoots its size bounds (15243 LoC, 156 public types across 24 namespaces). 3 of 15 project(s) overshoot their size bounds, lowering Project Cohesion to 6.3/10. Size alone is no reason to split a project: where its type references show a separable part, a Split row names it.
Projects may be oversized for their cohesion TouHouMachineLearning.csproj:1— `TouHouMachineLearning` overshoots its size bounds (9192 LoC, 128 public types across 15 namespaces). 3 of 15 project(s) overshoot their size bounds, lowering Project Cohesion to 6.3/10. Size alone is no reason to split a project: where its type references show a separable part, a Split row names it.
P2 · Observability· Console output used as the logging channel · ×3
Console output used as the logging channel OtherSolution/Server/Program.cs:53— `OtherSolution/Server/Program.cs` reports through `Console.Write…` at line 53 although other files in its project log through a logger. Console lines carry no level, category or structured properties and never reach the log pipeline or its exporters.
Console output used as the logging channel OtherSolution/Server/Program.cs:54— `OtherSolution/Server/Program.cs` reports through `Console.Write…` at line 54 although other files in its project log through a logger. Console lines carry no level, category or structured properties and never reach the log pipeline or its exporters.
Console output used as the logging channel OtherSolution/Server/Program.cs:60— `OtherSolution/Server/Program.cs` reports through `Console.Write…` at line 60 although other files in its project log through a logger. Console lines carry no level, category or structured properties and never reach the log pipeline or its exporters.
Thin analysable surface across projects: Assembly-CSharp-firstpass Assembly-CSharp-firstpass.csproj— 1 project(s) carry only a thin slice of real code; `Assembly-CSharp-firstpass` has 0 significant line(s). The mean analysable-surface weight is 93 %; this project lowers Solution Shape by about 0.53 point(s). Consolidate it or grow it into a substantial, well-scoped assembly.
No ADRs found REDACTED:1— 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/`. ADRs are expected here because `REDACTED` makes this repository a deployable product (line 1).
D21 · Naming Consistency· `SteamworksNETVersion` spells `NET` where 12 names in the project spell it `Net` · ×1
`SteamworksNETVersion` spells `NET` where 12 names in the project spell it `Net` Assets/Plugins/Steamworks.NET/Version.cs:16— 12 of 13 names in project Steam spell the token `Net` (12 of 13; unit: names in project Steam containing `Net`). Peers: NativeMethods.ISteamGameServer_GetNextOutgoingPacket(pNetAdr) (Assets/Plugins/Steamworks.NET/autogen/NativeMethods.cs:930); SocketStatusCallback_t.m_eSNetSocketState (Assets/Plugins/Steamworks.NET/autogen/SteamCallbacks.cs:1483); Steamworks.ESNetSocketState (Assets/Plugins/Steamworks.NET/autogen/SteamEnums.cs:785); Steamworks.ESNetSocketConnectionType (Assets/Plugins/Steamworks.NET/autogen/SteamEnums.cs:811); Steamworks.ESteamNetConnectionEnd (Assets/Plugins/Steamworks.NET/autogen/SteamEnums.cs:2043). Rename to `SteamworksNetVersion`. [rule N6]
Blanket warning suppression Assets/Assemblies/Sirenix/Odin Inspector/Scripts/Editor/FixBrokenUnityObjectWrapperDrawer.cs:8— A `#pragma warning disable` with no error codes silences every warning for the rest of the file — hidden debt. Suppress specific codes with a justification instead.
Thin README README.md:1— The root README is 55 words, against a bar of 120. Of the three newcomer-critical sections this check looks for by heading, in the README and in the repository documents it links, it found no a build/run or getting-started section, no a testing section, no an architecture or project-map section. Sections are matched on HEADING text only, so material written under a heading this check does not recognise — or with no heading at all — is not seen and this row may understate what the document covers.
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.
Logging is not universal — Only 7/8 service-like projects use logging (pure contract/DTO projects are excluded — they have nothing to log). Of those 8, 2 ship a process this repository operates; the rest are libraries their consumer hosts, where the logging decision belongs to the host.
No SAST — No static application security testing detected. For this repository's stack, add CodeQL's csharp pack, or a .NET security analyzer package (or `semgrep --config=auto`, which runs on any language) — 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.
No dependency-update automation REDACTED:10— `REDACTED` declares packages, and nothing in the repository keeps them current: no Dependabot or Renovate configuration that schedules updates, and no dependency-review gate on pull requests. A pinned dependency stays at the version it was added at until someone notices — including after an advisory is published against it. Add a `.github/dependabot.yml` with one `package-ecosystem` entry per ecosystem the tree uses (or an enabled `renovate.json`), and gate pull requests with `actions/dependency-review-action`.
Security headers incomplete OtherSolution/Server/Program.cs:49— Set: Content-Security-Policy. Missing: Strict-Transport-Security, X-Content-Type-Options, X-Frame-Options — the four headers that carry the points of this card's security-headers term (Content-Security-Policy, Strict-Transport-Security, X-Content-Type-Options, X-Frame-Options), 0.5 each. (−1.5 on this card.)
X2 · Cancellation propagation· Not all async methods take a CancellationToken · ×1
Not all async methods take a CancellationToken — Only 0/122 async methods accept a CancellationToken, so in-flight work can't be stopped early when the caller gives up — whatever ends it in your host (shutdown signal, timeout, abandoned request, user cancel). Thread a token through the call chain and honour it at each await and loop; where a method genuinely cannot be interrupted, omitting it is a deliberate choice — judge against your hosting model.
Nullable reference types not enabled everywhere — 3/4 NRT-eligible project(s) enable <Nullable>enable</Nullable> (projects targeting a pre-C#-8 framework are excluded — NRTs aren't available there). NRTs catch a whole class of null-deref bugs at compile time.
doc comments repeat the names Assets/Plugins/Live2D/Cubism/Editor/CubismAssetProcessor.cs:43— 13 of 42 documented parameters and 27 of 126 summaries in `Assembly-CSharp-Editor-firstpass` only repeat the member or parameter name (e.g. "Paths of imported assets." for `importedAssetPaths`). 1 documentation tag(s) are empty. Delete the restating tags, or add what the name does not say.
doc comments repeat the names Assets/Plugins/Live2D/Cubism/Core/ArrayExtensionMethods.cs:23— 80 of 360 documented parameters and 230 of 1040 summaries in `Live2D` only repeat the member or parameter name (e.g. "Finds a by its ID." for `FindById`). 16 documentation tag(s) are empty. Delete the restating tags, or add what the name does not say.
doc comments repeat the names OtherSolution/Server/Server/GameEnum.cs:275— 0 of 0 documented parameters and 0 of 26 summaries in `Server` only repeat the member or parameter name (e.g. "" for `Variation`). 1 documentation tag(s) are empty. Delete the restating tags, or add what the name does not say.
doc comments repeat the names Assets/Assemblies/Sirenix/Odin Inspector/Scripts/Editor/Vector2IntMinMaxAttributeDrawer.cs:45— 0 of 0 documented parameters and 3 of 10 summaries in `Sirenix.OdinInspector.CompatibilityLayer.Editor` only repeat the member or parameter name (e.g. "Draws the property." for `DrawPropertyLayout`). Delete the restating tags, or add what the name does not say.
doc comments repeat the names Assets/Script/1_LoginScene/Other/CameraViewManager.cs:32— 0 of 23 documented parameters and 0 of 26 summaries in `TouHouMachineLearning` only repeat the member or parameter name (e.g. "" for `isImmediately`). 24 documentation tag(s) are empty. Delete the restating tags, or add what the name does not say.
doc comments repeat the names OtherSolution/ServerVersions/Server/wwwroot/_content/AntDesign/js/split/modules/components/overlay.js:299— 0 of 6 documented parameters and 0 of 19 summaries in `.` only repeat the member or parameter name (e.g. "" for `mutations`). 2 documentation tag(s) are empty. Delete the restating tags, or add what the name does not say.
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.
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. semgrep could not parse 5 file(s) — `Assets/Plugins/Live2D/Cubism/Framework/Json/CubismMotion3Json.cs`, `Assets/Script/2_BattleScene/State/StateCommand.cs`, `Assets/Script/9_MixedScene/Against/AgainstInfo.cs`, `Assets/Script/9_MixedScene/Music/MusicType.cs`, `OtherSolution/Server/Server/room/Room.cs` — so the PII/GDPR sweep did not cover the unparsed regions of them; rows reported elsewhere in those files are real.
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.
Run 01a1eb11-aadb-71dc-9899-7c622c51eaf0 · every finding is also locatable in findings.md, and the complete scoring record (with exit codes + durations) in sidecar.json.
Appendix C — Personal-data map
Every field, property and record parameter whose name is conventional personal data — 1 field(s) across 1 category, each with an exact repo-relative file:line. This is the data inventory a compliance review starts from — right-to-erasure, retention, minimisation. Detected by NAME, from the C# syntax tree, with a deliberately specific identifier classifier — the same one the C1–C5 compliance cards use to decide whether personal data is present, so CardDefinition or FileName don't trip. Two caveats stated rather than glossed: those cards additionally require corroboration (a persistence/account signal, or two distinct PII categories) that this inventory deliberately does not, so it lists more than they gate on; and D32 Data Compliance shares nothing with it — that dimension is a separate semgrep ruleset for personal data leaking into logs, URLs and browser storage, and a clean D32 result says nothing about this list. Informational — it feeds no score.
Issues: 28 · Warnings: 413 · Recommendations: 92 · Info: 6 — Appendix A · all findings · full markdown report.
Generated by the Canine Code Analyzer: deterministic code-health analysis. 17-11-2026 @ 19:52 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.