Executive summary
Read through the Production lens — the standard calibration. *Green* means good enough to run in production. The score is absolute and comparable across repos.
m969/EcsNode carries serious gaps (37%). Several issues below can materially affect correctness, security, or the cost of changing it — and propagate to everything that depends on it.
The area that most needs attention is Readiness (20%) — releases are harder to depend on — versioning, release notes and dependency hygiene are thin, so consumers can't easily tell what changed or trust an upgrade. Code Health (40%) is the next concern — changes there are slower and more error-prone.
Leadership focus, highest impact first: CI workflow that builds and runs the test suite on every push/PR (CI/CD gates); tests that import the unreached modules (directly or through… (Test Coverage); test runner (vitest / jest / playwright) and eslint and `tsc… (Tooling).
For scale: Large (~153,398 production lines); rebuilding it from scratch would take roughly ~1.8 person-years (~1–4 engineers). Approximate, ±~30%.
Raise Readiness 20 → 70 (the Healthy floor) ⇒ headline 37 → ~55.
New since the last scan (17+)
- D4 · Duplicated block (19 lines × 2) Modules.Unity/com.module.neter/LiteNetLib/NetPeer.cs
- D4 · Duplicated block (11 lines × 2) Modules.Unity/com.module.neter/LiteNetLib/NativeSocket.cs
- D4 · Duplicated block (9 lines × 2) Modules.Unity/com.module.neter/LiteNetLib/NetPeer.cs
- D4 · Duplicated block (9 lines × 2) Modules.Unity/com.module.neter/LiteNetLib/NetPeer.cs
- D4 · Duplicated block (9 lines × 2) Modules.Unity/com.module.neter/LiteNetLib/NetPeer.cs
- D4 · Duplicated block (9 lines × 2) Modules.Unity/com.module.neter/LiteNetLib/Utils/NetSerializer.cs
- D4 · Duplicated block (8 lines × 2) Modules.Unity/com.module.neter/LiteNetLib/Utils/NetDataWriter.cs
- D4 · Duplicated block (8 lines × 2) Modules.Unity/com.module.neter/LiteNetLib/Utils/NetSerializer.cs
- D4 · Duplicated block (6 lines × 2) Modules.Unity/com.module.neter/LiteNetLib/InternalPackets.cs
- D4 · Duplicated block (6 lines × 2) Modules.Unity/com.module.neter/LiteNetLib/Utils/NetPacketProcessor.cs
- D4 · Duplicated block (5 lines × 3) Modules.Unity/com.module.neter/LiteNetLib/Utils/CRC32C.cs
- D4 · Duplicated block (5 lines × 2) Modules.Unity/com.module.neter/LiteNetLib/Utils/CRC32C.cs
- D30 · High CVE: MessagePack 3.1.4
- R10 · Duplicated block (7 lines × 2 locations) UnityApp/UIProject/plugins/export-ts/GenCode_CSharp.js
- R10 · Duplicated block (7 lines × 2 locations) UnityApp/UIProject/plugins/export-ts/GenCode_CSharp.ts
- R10 · Duplicated block (7 lines × 2 locations) UnityApp/UIProject/plugins/export-ts/GenCode_TS.js
- R4 · Test Coverage
Rebuild cost & value ~ Modeled — €87,000–€440,000
| Cost to rebuild | €87,000–€440,000 |
| Domain complexity | Standard |
| Quality factor | 0.7× (at 37% quality) |
| Size & shape | Large · 69% boilerplate · 10% straight-line · 21% branching logic |
| Dead frontend code | ~355 LoC unreachable (4 file(s)) |
This codebase represents roughly ~1.8 person-years of build effort (about ~€260,000 to rebuild). Its weakest lens is Readiness at 20% — the part of that asset most exposed by the findings below.
Top priorities
Diagnosis — what's actually going on
Architecture — module dependency graph
At a glance — Code Health
At a glance — Architecture
At a glance — Maturity
At a glance — Readiness
At a glance — Security
Security & Compliance — OWASP Top-10 mapping
| OWASP category | Findings | Severity |
|---|---|---|
| A06:2021 — Vulnerable & Outdated Components | 14 | High / Critical |
| A02:2021 — Cryptographic Failures | 3 | High / Critical |
Roadmap
First, establish a continuous integration pipeline that builds the code and runs the full test suite on every push or pull request. Next, expand test coverage to include all production modules and configure tooling such as a test runner, linter, and type checker to run automatically in CI. Then, implement versioning in the build manifest to ensure all releases are traceable. Finally, address the explicit debt by resolving the 38 instances of commented-out code, starting with the files containing the most occurrences.
| Do this | Helps | Effort | Dimension |
|---|---|---|---|
| Add a CI workflow that builds and runs the test suite on every push/PR. | +21.2 pts | Medium | CI/CD gates |
| Add tests that import the unreached modules (directly or through their public entry). | +21.2 pts | Medium | Test Coverage |
| Add a test runner (vitest / jest / playwright) and eslint and `tsc --noEmit` as package.json scripts and run them in CI. | +21.2 pts | Medium | Tooling |
| Stamp a version in your build/package manifest (e.g. csproj <Version>, package.json, pyproject.toml, Cargo.toml, or a VERSION file) or tag releases with semver so builds and releases are traceable. | +17.7 pts | Medium | Release Hygiene |
| Resolve the 38 CommentedOutCode finding(s) in Explicit Debt — start with UintMessageSystem.cs (12), NetworkMessageHandler.cs (7), NetworkMessage.cs (7). | +10.9 pts | Medium | Explicit Debt |
| Break down the listed branch-heavy functions; aim P95 cyclomatic ≤ 5. | +10.9 pts | Medium | Cyclomatic Complexity |
| Resolve the 4 NoWarnInCsproj finding(s) in Explicit Debt — start with LiteNetLib.csproj (4). | +5.4 pts | Low | Explicit Debt |
| Migrate the remaining .js/.jsx files to TypeScript. | +10.1 pts | Medium | Type Safety |
File quality
| File | Score | Band | Worst signal |
|---|---|---|---|
| Modules.Unity/com.module.neter/LiteNetLib/LiteNetLib.csproj | 5.5 | Mixed | Explicit Debt: NoWarnInCsproj |
| UnityApp/Assets/GameResources.ThirdParty/Kevin Iglesias/Characters/Humanoid Giant/Textures/Giant01/Texture01/Recolor/Giant01_Texture01-EditableColor.psd | 5.8 | Mixed | Secrets (history): Secret: facebook-page-access-token |
| Modules.Unity/com.module.neter/com.model.neter/Messages/UintMessageSystem.cs | 6.4 | Mixed | Explicit Debt: CommentedOutCode |
| Modules.Unity/com.module.neter/com.model.neter/Messages/NetworkMessageHandler.cs | 6.4 | Mixed | Explicit Debt: CommentedOutCode |
| Modules.Unity/com.module.neter/com.model.neter/Messages/NetworkMessage.cs | 6.4 | Mixed | Explicit Debt: CommentedOutCode |
| Modules.Unity/com.module.neter/com.model.neter/Messages/MessageSystem.cs | 6.5 | Mixed | Explicit Debt: CommentedOutCode |
| Modules.Unity/com.module.neter/LibSample/Program.cs | 6.6 | Mixed | Explicit Debt: CommentedOutCode |
| Modules.Unity/com.module.neter/LiteNetLib/NetPeer.cs | 7.1 | Mixed | Code Duplication: Duplicated block (19 lines × 2) |
| UnityApp/Assets/GameResources.ThirdParty/Kevin Iglesias/Characters/Humanoid Giant/Textures/Giant01/Texture02/Recolor/Giant01_Texture02-EditableColor.psd | 7.2 | Mixed | Secrets (history): Secret: facebook-page-access-token |
| LubanTables/Tools/Luban/Luban.MsgPack.deps.json | 7.2 | Mixed | OSV Dependency Vulnerabilities: High CVE: [GHSA redacted] |
| LubanTables/Tools/Luban/Luban.Bson.deps.json | 7.2 | Mixed | OSV Dependency Vulnerabilities: High vulnerability: [GHSA redacted] |
| Modules.Unity/com.module.neter/com.model.neter/NeterNetEventListener.cs | 7.3 | Mixed | Explicit Debt: CommentedOutCode |
| Modules.Unity/com.module.neter/com.system.neter/NeterSystem.cs | 7.3 | Mixed | Explicit Debt: CommentedOutCode |
| Modules.Unity/com.module.neter/LiteNetLib/NetUtils.cs | 7.3 | Mixed | Explicit Debt: BareSuppressMessage |
| Modules.Unity/com.module.neter/LiteNetLib/Utils/NetSerializer.cs | 7.8 | Mixed | Code Duplication: Duplicated block (9 lines × 2) |
| Modules.Unity/com.module.neter/LiteNetLib/Utils/CRC32C.cs | 7.8 | Mixed | Code Duplication: Duplicated block (5 lines × 3) |
| Modules.Unity/com.module.neter/LiteNetLib/NatPunchModule.cs | 8.2 | Near-clean | Explicit Debt: HackComment |
| Modules.Unity/com.module.neter/LiteNetLib/NetManager.Socket.cs | 8.2 | Near-clean | Explicit Debt: HackComment |
| Modules.Unity/com.module.neter/LibSample/AesEncryptLayer.cs | 8.2 | Near-clean | Explicit Debt: Dead code: TransformBlocks |
| Modules.Unity/com.module.neter/LibSample/GithubSample.cs | 8.2 | Near-clean | Explicit Debt: Dead code: GithubSample |
Methodology & how to trust this report
Watchdog is a deep, periodic assessment — run each sprint, monthly, or quarterly, taking the time to go wider and deeper than a quick check and surfacing in one coherent report what you'd otherwise piece together from a dozen separate tools. It scores deterministically: the same commit yields the same score, every run. 38 of 40 evaluated dimensions are computed purely by tools and static analysis (confidence 1.0); 2 documentation/naming judgement(s) are LLM-assisted and labelled advisory. Overall confidence is 0.5 — the weighted average across measured dimensions; it falls as more of the score leans on LLM-assisted judgement and rises when it's fully tool-backed.
What we checked — 40 dimensions across the health lenses
- 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, 72 of 94 do; the remainder are repo-wide signals — a dimension-level measurement, not a single line.
- Is there a tool behind the number? Every score below names the method that produced it — Roslyn, git, a scanner, or (for a handful of documentation/naming dimensions) an LLM labelled sampled · advisory — not a narrative.
- Does re-running give the same result? Run it again on the same commit and the score — and this report, byte for byte — is identical. A report whose numbers move between runs is describing the run, not the code.
Tools & methods
| Method | Backs | Version | Evaluator |
|---|---|---|---|
| Roslyn static analysis | Complexity, cohesion, coupling, dead code, API surface, layering | 5.3.0 | ✓ deterministic |
| Native secret scanner | Hardcoded secrets / credentials | 1.0.0 | ✓ deterministic |
| jscpd | Code duplication | — | ✓ deterministic |
| Coverage (coverlet / dotnet-coverage) | Line & branch coverage | 10.0.302 | ✓ deterministic |
| NuGet / dotnet | Outdated, vulnerable & deprecated dependencies | 10.0.302 | ✓ deterministic |
| git / LibGit2Sharp | Churn hotspots, knowledge concentration, history | 2.43.0 · 0.31.0 | ✓ deterministic |
| gitleaks · semgrep · trivy · checkov | Secrets in history, SAST, CVEs, IaC & container, PII / GDPR | 1.86.0 · 0.69.3 | ✓ deterministic |
| LLM (sampled · advisory) | Documentation quality, ADR conformance, naming — sampled over a bounded sample; advisory, never a deterministic measurement | Local LLM | ◐ LLM · sampled · advisory |
Run transparency — what happened this run
- D19 Documentation Quality — LLM provider failed — The model provider returned an unusable result, so this LLM-assisted dimension fell back to a measurement gap (confidence 0) rather than a penalty. Re-run with a reachable provider to score it.
- Solution could not be loaded — run is Degraded — The C# workspace did not read this repository's production source, so every compiler-dependent dimension ran on estimated input. Treat the grade as indicative only; diagnostics.md records the exact cause.
Limitations & what we did not check
Watchdog assesses the repository exactly as committed, and only the repository. By design it does not reach outside the source tree: the live cloud account, the running CI/CD pipeline, the host's branch-protection and approval rules, the production configuration, or a restore actually exercised against a backup are all out of scope. That boundary is a feature, not a gap — a repo-relative, deterministic scan re-runs identically on any commit and every finding opens at a real file and line, where a live audit can neither be reproduced nor traced. The visible consequence is that controls which leave no in-repo evidence are reported as "not evidenced" and excluded from the score rather than awarded a number a static scan cannot justify.
Per-dimension blind spots
- D4 Code Duplication: Duplication is token-similarity (jscpd) — 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.
- D9 Test Distribution: The test-pyramid shape is inferred from project/folder naming and references, with a single test host bucketed per-file by its path tier and content signals — a suite that names tiers unconventionally and gives no per-file signal can still be mis-bucketed.
- D10 Test Quality: Assertion density is structural — it cannot tell a meaningful behavioural assertion from a trivial one, only that an assertion is present.
- D12 Dependency Hygiene: Dependency health reads manifests and lockfiles — a vulnerability in a vendored/copied dependency, or risk from how a dependency is actually used, is outside this view.
- D13 Secret Scanning: Secret detection is signature- and entropy-based on the current tree — a secret that does not match a known pattern, or one already rotated, will not be flagged (a clean scan is "nothing matched", not "no secrets exist").
- D14 License Compliance: License compatibility is checked against declared package metadata and a policy — mislabelled or missing license metadata, and obligations that depend on how you distribute, are not resolved here.
- 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 is an LLM read of the decision records present — it cannot know about decisions made and never recorded, and its verdict is sampled and advisory.
- D21 Naming Consistency: Naming quality is an LLM judgement over a bounded sample — it assesses clarity/consistency of the names it sees, not domain-correctness, and is advisory.
- D24 Comment Value: Comment value (WHY vs WHAT) is an LLM judgement over a bounded sample — it is advisory and cannot weigh a comment against the precise code change it was written to explain.
- D26 Project Cohesion: Project focus is sized from members/namespaces per project — a project that is broad by deliberate design reads the same as one that has sprawled.
- D27 Navigability: Indirection/navigability is structural — it measures hops to follow a call, not whether that indirection buys real flexibility or just ceremony.
- D28 Secrets (history): Secret-history scanning sweeps the git log for known patterns — a secret that predates the available history, or never matched a signature, is not found (clean means "nothing matched in the history we can see").
- D29 Static Analysis (SAST): SAST findings are pattern-based (semgrep) — it finds classes of bug it has rules for; logic flaws, auth/authorization gaps and issues needing runtime context are out of reach (and clean means "no rule matched").
- D30 Dependency Vulnerabilities: CVE matching depends on accurate package/version metadata and the advisory database — a vulnerability with no published advisory, or in code not declared as a dependency, is not seen.
- D33 JS/npm Dependency Vulnerabilities: JS/npm CVE matching reads package manifests and lockfiles — risk from how a dependency is used, and advisories not yet published, fall outside this scan.
- 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.
- AX10 Code composition: Role is inferred from namespace/folder convention, not semantics — a domain concept living in a folder named "Services" reads as application, and the split is lines-of-code, not business value. The business-logic-share score is a SOFT, FLOORED signal: it contributes to the Architecture lens but is floored at the Critical gate, so an infrastructure-heavy design (a gateway, an ETL, a driver) is legitimately low without being nuked to zero.
- M4 Documentation accuracy: Onboarding quality is an LLM read of the docs/setup present — it cannot run the onboarding or measure how long a real new joiner takes; the verdict is sampled and advisory.
- 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.
The LLM boundary
Dimensions
D4 · Code Duplication
14 duplicated block group(s) detected.
D5 · Coupling
1 projects, 0 dependency cycle(s), 0 unstable depended-on project(s).
What to do
- Stand up a CI pipeline, then gate Coupling in it to reach Verified (currently Documented). — This repository has no CI pipeline, so there is nothing to add a gate to yet — the pipeline comes first. Hardens enforcement from Documented toward Prevented — provenance only; does not change the score.
D9 · Test Distribution
37 test methods: 37 unit, 0 integration, 0 BDD, 0 e2e.
D10 · Test Quality
0 skipped, 1 zero-assertion, no mocking-framework packages referenced (hand-written doubles or no mocking) across 37 tests.
D12 · Dependency Hygiene
0 outdated, 0 vulnerable, 0 deprecated packages.
D13 · Secret Scanning
Secret scan ran and found no leaked secrets.
D14 · License Compliance
0 of 6 packages use a banned license.
D17 · Explicit Debt
45 deducted debt markers + 6 dead symbols across 0 LoC (7.9/KLoC) → score 0.0.
What to do
- Resolve the 38 CommentedOutCode finding(s) in Explicit Debt — start with UintMessageSystem.cs (12), NetworkMessageHandler.cs (7), NetworkMessage.cs (7). — One of this dimension's main actionable groups (38 warning-level).
- Resolve the 4 NoWarnInCsproj finding(s) in Explicit Debt — start with LiteNetLib.csproj (4). — One of this dimension's main actionable groups (4 issue-level).
- Resolve the 6 Dead code finding(s) in Explicit Debt — start with Program.cs (2), AesEncryptLayer.cs, GithubSample.cs. — One of this dimension's main actionable groups (6 warning-level).
- Stand up a CI pipeline, then gate Explicit Debt in it to reach Verified (currently Documented). — This repository has no CI pipeline, so there is nothing to add a gate to yet — the pipeline comes first. Hardens enforcement from Documented toward Prevented — provenance only; does not change the score.
D18 · Solution Shape
1 projects, 80 source files, 12435 hand-written lines of code (0 production / 12435 test), 0 inter-project edges.
D20 · ADR Quality
No architecture decision records were found.
What to do
- Resolve the 1 No ADRs found finding(s) in ADR Quality. — One of this dimension's main actionable groups (1 recommendation-level).
D21 · Naming Consistency
0 naming inconsistencies across 200 sampled symbols.
D24 · Comment Value
26 valuable / 1 redundant across 200 sampled comments; 1 shown with locations.
What to do
- Resolve the 1 redundant comment finding(s) in Comment Value — start with BroadcastTest.cs. — One of this dimension's main actionable groups (1 recommendation-level).
D26 · Project Cohesion
0 of 1 projects flagged as possibly oversized/incoherent.
D27 · Navigability
66 % of calls cross a namespace and 3 % go through an interface, but 81 % of collaborators are co-located — so a call's collaborators sit together and tracing stays easy. Baseline: small — navigation cost is tolerated.
D28 · Secrets (history)
3 finding(s): 0 critical, 3 high, 0 medium, 0 low.
What to do
- Resolve the 3 Secret finding(s) in Secrets (history) — start with Giant01_Texture01-EditableColor.psd (2), Giant01_Texture02-EditableColor.psd. — One of this dimension's main actionable groups (3 issue-level).
D29 · Static Analysis (SAST)
semgrep found no security issues.
D30 · Dependency Vulnerabilities
12 vulnerable package(s): 0 critical, 3 high, 9 medium, 0 low.
What to do
- Resolve the 9 Medium CVE finding(s) in Dependency Vulnerabilities. — One of this dimension's main actionable groups (9 warning-level).
- Resolve the 3 High CVE finding(s) in Dependency Vulnerabilities. — One of this dimension's main actionable groups (3 issue-level).
D33 · JS/npm Dependency Vulnerabilities
No known-vulnerable JS/npm dependencies.
D34 · Knowledge Freshness
Every significant source file has living knowledge — recently and meaningfully worked.
D35 · Change Coupling
No strong hidden change-coupling between production files.
D38 · OSV Dependency Vulnerabilities
2 finding(s): 0 critical, 2 high, 0 medium, 0 low.
What to do
- Resolve the 1 High CVE finding(s) in OSV Dependency Vulnerabilities — start with Luban.MsgPack.deps.json. — One of this dimension's main actionable groups (1 issue-level).
- Resolve the 1 High vulnerability finding(s) in OSV Dependency Vulnerabilities — start with Luban.Bson.deps.json. — One of this dimension's main actionable groups (1 issue-level).
Frontend & cross-cutting dimensions
AX10 · Code composition
AX3 · Project dependency cycles
AX4 · Dependency direction
AX8 · Test isolation
M1 · Documentation (README)
What to do
- Add a build/run (quick start) section to the root README — the first thing a newcomer needs.
- Add a 'Testing' section to the root README — how to run the test suite.
- Add an 'Architecture' / 'How it works' section to the root README — the high-level shape.
- Add a README to the 1 of 1 project(s) that lack one — worth up to 2 pts.
M2 · Architecture documentation
- No Architecture Decision Records found — no conventional ADR directory, no `NNNN-title.md` documents 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.
What to do
- Record significant decisions one document per decision — dated, stating the context, the decision and its consequences — and keep them together wherever your design docs already live (a conventional `docs/adr/` tree with `NNNN-title.md` names is the most discoverable form).
M3 · Folder & project structure
- Production code isn't grouped under a src/ folder — it's spread across several top-level directories, so there's no one place that says 'this is the product'.
- Tests aren't grouped in a dedicated test folder — the test surface isn't separable from production code at a glance.
What to do
- Group production code under src/ (or split deliberately, e.g. backend/ + frontend/) so production and tooling code aren't mixed at the root.
- Group tests in the folder your build system expects (tests/, test/, spec/, or your module's test source set) so the test surface is discoverable and CI can scope it.
M4 · Documentation accuracy
P1 · CI/CD gates
- 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.
P3 · Security & performance tooling
- No static application security testing detected. For this repository's stack, add CodeQL's csharp pack (it analyses VB.NET too), or a 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 to do
- Run what this repository's stack ships: CodeQL's csharp pack (it analyses VB.NET too), or a 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.
P6 · Release Hygiene
What to do
- Stamp a version in your build/package manifest (e.g. csproj <Version>, package.json, pyproject.toml, Cargo.toml, or a VERSION file) or tag releases with semver so builds and releases are traceable.
R1 · Type Safety
- 3 typed · 3 plain JS — the untyped files are UnityApp/UIProject/plugins/export-ts/GenCode_CSharp.js, UnityApp/UIProject/plugins/export-ts/GenCode_TS.js, UnityApp/UIProject/plugins/export-ts/main.js.
What to do
- Migrate the remaining .js/.jsx files to TypeScript.
R10 · Code Duplication
- UnityApp/UIProject/plugins/export-ts/GenCode_CSharp.js:46 · UnityApp/UIProject/plugins/export-ts/GenCode_CSharp.ts:47 — the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it. — GenCode_CSharp.js:46
- UnityApp/UIProject/plugins/export-ts/GenCode_TS.js:33 · UnityApp/UIProject/plugins/export-ts/GenCode_TS.ts:32 — the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it. — GenCode_TS.js:33
- UnityApp/UIProject/plugins/export-ts/GenCode_TS.js:93 · UnityApp/UIProject/plugins/export-ts/GenCode_TS.ts:98 — the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it. — GenCode_TS.js:93
- UnityApp/UIProject/plugins/export-ts/GenCode_TS.js:76 · UnityApp/UIProject/plugins/export-ts/GenCode_TS.ts:80 — the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block — it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead — the whole function, component or branch these lines sit in — and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported. — GenCode_TS.js:76
- UnityApp/UIProject/plugins/export-ts/GenCode_CSharp.js:20 · UnityApp/UIProject/plugins/export-ts/GenCode_CSharp.ts:22 — the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it. — GenCode_CSharp.js:20
- UnityApp/UIProject/plugins/export-ts/GenCode_CSharp.js:1 · UnityApp/UIProject/plugins/export-ts/GenCode_TS.js:1 — the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it. — GenCode_CSharp.js:1
- UnityApp/UIProject/plugins/export-ts/GenCode_CSharp.ts:95 · UnityApp/UIProject/plugins/export-ts/GenCode_TS.ts:106 — the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it. — GenCode_CSharp.ts:95
- UnityApp/UIProject/plugins/export-ts/GenCode_TS.js:8 · UnityApp/UIProject/plugins/export-ts/GenCode_TS.ts:6 — the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it. — GenCode_TS.js:8
What to do
- Extract the duplicated blocks into shared functions/components.
R2 · Cyclomatic Complexity
- Branch-heavy code is where defects cluster — extract decisions into smaller functions. (×4) — GenCode_TS.js:6, GenCode_TS.ts:4, GenCode_CSharp.js:6, …
What to do
- Break down the listed branch-heavy functions; aim P95 cyclomatic ≤ 5.
R3 · Large Files
R4 · Test Coverage
- 0% of 6 production file(s) reachable from 0 test file(s) via the import graph
What to do
- Add tests that import the unreached modules (directly or through their public entry).
R6 · Tooling
- test ✗ · lint ✗ · typecheck ✗
What to do
- Add a test runner (vitest / jest / playwright) and eslint and `tsc --noEmit` as package.json scripts and run them in CI.
R7 · Dead Code
- Unreachable from the 1 application, 3 tooling and 0 test entry point(s) detected in this repo. Gate removals on your build/type-check — an undetected custom entry would make these reachable.
- no import path from any entry point (1 application, 3 tooling, 0 test roots considered) (×4) — GenCode_TS.ts, GenCode_TS.js, GenCode_CSharp.js, …
What to do
- Delete the dead files and unused exports — every line is maintenance cost and rebuild-estimate inflation with zero runtime value.
R9 · Circular Imports
Reference — by lens
| Lens | Score | Rating | Impact |
|---|---|---|---|
| Code Health | 40% | Weak — gated by D17, R2 | Capped at Fair by a Critical contributor — resolve it before relying on this lens. |
| Maturity | 65% | Adequate | Acceptable, with room to improve. |
| Readiness | 20% | Critical — gated by R4, R6, P1, P3 | Capped at Fair by a Critical contributor — resolve it before relying on this lens. |
| Security | 84% | Strong | Strongest area. |
Not included — 66 check(s) not relevant to this codebase
- AC1 Text alternatives — No web markup found — accessibility is not applicable to this repository.
- AC2 Forms & labels — No web markup found — accessibility is not applicable to this repository.
- AC3 Page structure — No web markup found — accessibility is not applicable to this repository.
- AC4 Keyboard semantics — No web markup found — accessibility is not applicable to this repository.
- AC5 ARIA correctness — No web markup found — accessibility is not applicable to this repository.
- AC6 Visual & motion safety — No web markup found — accessibility is not applicable to this repository.
- AC7 A11y enforcement — No web markup found — accessibility is not applicable to this repository.
- AX1 Captive dependencies — no DI registrations detected
- AX2 Stateful singletons — no singleton implementations detected
- AX5 Architecture & structure — not assessed — architecture style/structure is computed from a project graph (projects, types, module namespaces) that was not loaded for this repository, because the repository is written in a language this check does not yet model, or because its projects failed to load. This is a gap in the analyzer, not a finding about this repository
- AX6 Interface segregation — not assessed — interface segregation is computed over a type surface that was not loaded for this repository, because the repository is written in a language this check does not yet model, or because its projects failed to load. This is a gap in the analyzer, not a finding about this repository
- AX7 Slice cohesion — not applicable — not a vertical-slice architecture
- 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.
- C1 Data Protection — Not assessed: these personal data controls are read from a source model (declarative annotations, request middleware, entity/column names, guard methods) that was not loaded for this repository — because the repository is written in a language this check does not yet model, or because its projects failed to load. Absence of an idiom this check recognises is NOT evidence that this repository lacks personal data controls: it may implement them entirely in its own ecosystem. This is a gap in the analyzer's language coverage, not a finding about this repository.
- C2 Access Controls — Not assessed: these authorization controls are read from a source model (declarative annotations, request middleware, entity/column names, guard methods) that was not loaded for this repository — because the repository is written in a language this check does not yet model, or because its projects failed to load. Absence of an idiom this check recognises is NOT evidence that this repository lacks authorization controls: it may implement them entirely in its own ecosystem. This is a gap in the analyzer's language coverage, not a finding about this repository.
- C3 Audit Trail — Not assessed: these audit controls are read from a source model (declarative annotations, request middleware, entity/column names, guard methods) that was not loaded for this repository — because the repository is written in a language this check does not yet model, or because its projects failed to load. Absence of an idiom this check recognises is NOT evidence that this repository lacks audit controls: it may implement them entirely in its own ecosystem. This is a gap in the analyzer's language coverage, not a finding about this repository.
- C4 Data Retention — Not assessed: these retention controls are read from a source model (declarative annotations, request middleware, entity/column names, guard methods) that was not loaded for this repository — because the repository is written in a language this check does not yet model, or because its projects failed to load. Absence of an idiom this check recognises is NOT evidence that this repository lacks retention controls: it may implement them entirely in its own ecosystem. This is a gap in the analyzer's language coverage, not a finding about this repository.
- C5 Data-Subject Rights — Not assessed: these data-subject rights controls are read from a source model (declarative annotations, request middleware, entity/column names, guard methods) that was not loaded for this repository — because the repository is written in a language this check does not yet model, or because its projects failed to load. Absence of an idiom this check recognises is NOT evidence that this repository lacks data-subject rights controls: it may implement them entirely in its own ecosystem. This is a gap in the analyzer's language coverage, not a finding about this repository.
- D1 Cyclomatic Complexity — Most of this repository's production source (.cs, .ts) had no cyclomatic complexity computed for it, so cyclomatic complexity was not measured — whatever else this pass did read is not this repository's complexity. Not scored: no method bodies were exposed for those file kinds by any language model this pass could load. This is a gap in the analysis run, not a finding about this repository.
- D11 Test Reliability — No tests discovered
- D15 Churn × Complexity Hotspots — complexity unreadable for .cs — churn × complexity hotspots could not be measured
- D16 Bus Factor — single-maintainer — knowledge-concentration (bus factor) risk
- D19 Documentation Quality — LLM evaluation failed
- D2 Cognitive Complexity — Most of this repository's production source (.cs, .ts) had no cognitive complexity computed for it, so cognitive complexity was not measured — whatever else this pass did read is not this repository's complexity. Not scored: no method bodies were exposed for those file kinds by any language model this pass could load. This is a gap in the analysis run, not a finding about this repository.
- D22 Internal API Consistency — No exposed public API
- D23 Boundary Type-Coupling — At only 153607 LoC across a single project the codebase is trivially small despite the absence of declared bounded contexts.
- D25 ADR Conformance — no ADRs to check
- D3 God Classes — Most of this repository's production source (.cs, .ts) was not read by god-class detection, so class size was not assessed for the languages that are the product — whatever else this pass did read is not this repository's class size. Not scored — this is a gap in the analyzer, not a verdict about this repository.
- D31 IaC & Container Security — No Infrastructure-as-Code or container manifests found (Dockerfile, Terraform, Kubernetes/Helm, CloudFormation); nothing to scan.
- D32 Data Compliance (PII/GDPR) — Data compliance (PII/GDPR) was not assessed in this scan — no ruleset is currently available for it. This says nothing about how this repository handles personal data, in either direction.
- D36 Supply-chain Provenance & Signing — No CI/build pipeline found (.github/.forgejo/.gitea workflows, .gitlab-ci.yml, azure-pipelines*.yml, .pipelines/, .vsts-ci/, Jenkinsfile, .circleci); there is no build to attest provenance for.
- D37 Vulnerability-disclosure Policy — No vulnerability-disclosure policy file found (SECURITY.md/.markdown/.rst/.txt at root or under .github/.forgejo/.gitea/docs, .well-known/security.txt). A coordinated-disclosure policy may live off-repo, so this is not evidenced rather than failed.
- D39 IL Efficiency — The target did not build, so no IL was available to measure.
- 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.
- D6 Cohesion (LCOM4) — No production classes were analyzable, so cohesion (LCOM4) was not measured (the solution likely failed to load or has no production code).
- D7 Architectural Integrity — no checkable ADRs and no dependency cycles — architectural integrity not assessed
- D8 Code Coverage — Coverage not measured — no coverage collector is wired up
- DM1 Domain Modelling — not scored — this repository shows none of the 3 signals this check looks for
- ED1 Event-Driven — not scored — this repository shows none of the 3 signals this check looks for
- ED5 Idempotency — no mutating command handlers or message consumers detected — idempotency check not applicable
- ES1 Event Sourcing — not scored — this repository shows none of the 3 signals this check looks for
- GD1 Unfinished & placeholder code — no source files
- IC1 Incompleteness & stubs — not analysed — these correctness checks read a source model that was not loaded for this repository, because the repository is written in a language this check does not yet model, or because its projects failed to load. This is a gap in the analyzer, not a finding about this repository
- P12 CI test-gate honesty — no CI workflow found
- P2 Observability — Observability was not assessed: this check reads a source model that does not carry this repository's product — because the repository is written in a language this check does not yet model, or because its projects failed to load. Absence of a logging idiom this check recognises is NOT evidence that this repo lacks structured logging (it may log through its own ecosystem's logger). This is a gap in the analyzer, not a finding about this repository.
- P4 Deployment & Rollback — not evidenced — no deploy/rollback/approval signal in the repo; absence of evidence is not evidence of a manual release
- P5 DR & Backup — not evidenced — repo shows no backup/RTO/RPO controls; absence of evidence is not evidence of a working control
- P7 Outbound HTTP resilience — not measured — the application kind could not be determined for this repo
- P8 Schema migrations — no EF Core usage detected
- P9 Domain vs controller coverage — no coverage report found on disk — produce a coverage report in a standard format (Cobertura — `dotnet test --collect:"XPlat Code Coverage"` with a `coverlet.collector` PackageReference) into the repo working tree before the scan — a CI step is the usual place, since the artefact is commonly gitignored, or wire coverage collection into CI, to enable this cross-layer check
- PF1 Benchmark discipline — Performance was not assessed: this lens reads a source model that was not loaded for this repository, because the repository is written in a language this lens does not yet model or because its projects failed to load. This is a gap in the analyzer, not a finding about this repository — in particular it is NOT a statement that this repo is unpackaged or performance-careless.
- PF2 Allocation hygiene — Performance was not assessed: this lens reads a source model that was not loaded for this repository, because the repository is written in a language this lens does not yet model or because its projects failed to load. This is a gap in the analyzer, not a finding about this repository — in particular it is NOT a statement that this repo is unpackaged or performance-careless.
- PF3 Async & latency hygiene — Performance was not assessed: this lens reads a source model that was not loaded for this repository, because the repository is written in a language this lens does not yet model or because its projects failed to load. This is a gap in the analyzer, not a finding about this repository — in particular it is NOT a statement that this repo is unpackaged or performance-careless.
- R11 Import Boundaries — No recognizable feature-sliced/layered src layout — boundary rules not applicable.
- R5 Dependency Freshness — no package-lock.json — dependency freshness not measured (would require an npm lockfile); JS/npm CVEs are scored in D33 (JS/npm Dependency Vulnerabilities)
- R8 Dependency Hygiene — Not measured — no package.json declares any dependency, so there is nothing to check imports against (imports may resolve through a host runtime rather than node).
- S1 Web-Security Posture — Not assessed: these web-security controls are read from a source model (declarative annotations, request middleware, entity/column names, guard methods) that was not loaded for this repository — because the repository is written in a language this check does not yet model, or because its projects failed to load. Absence of an idiom this check recognises is NOT evidence that this repository lacks web-security controls: it may implement them entirely in its own ecosystem. This is a gap in the analyzer's language coverage, not a finding about this repository.
- SC1 Supply-chain hygiene — Advisory — this card reports evidence and never carries a score, so there is nothing missing here.
- X1 Async correctness — not analysed — these correctness checks read a source model that was not loaded for this repository, because the repository is written in a language this check does not yet model, or because its projects failed to load. This is a gap in the analyzer, not a finding about this repository
- X2 Cancellation propagation — not analysed — these correctness checks read a source model that was not loaded for this repository, because the repository is written in a language this check does not yet model, or because its projects failed to load. This is a gap in the analyzer, not a finding about this repository
- X3 Exception handling — not analysed — these correctness checks read a source model that was not loaded for this repository, because the repository is written in a language this check does not yet model, or because its projects failed to load. This is a gap in the analyzer, not a finding about this repository
- X4 Structured logging — not analysed — these correctness checks read a source model that was not loaded for this repository, because the repository is written in a language this check does not yet model, or because its projects failed to load. This is a gap in the analyzer, not a finding about this repository
- X5 Nullable reference types — not analysed — these correctness checks read a source model that was not loaded for this repository, because the repository is written in a language this check does not yet model, or because its projects failed to load. This is a gap in the analyzer, not a finding about this repository
Appendix A — Findings (grouped)
Issue — 12 finding(s)
- NoWarnInCsproj Modules.Unity/com.module.neter/LiteNetLib/LiteNetLib.csproj:13
- NoWarnInCsproj Modules.Unity/com.module.neter/LiteNetLib/LiteNetLib.csproj:13
- NoWarnInCsproj Modules.Unity/com.module.neter/LiteNetLib/LiteNetLib.csproj:13
- NoWarnInCsproj Modules.Unity/com.module.neter/LiteNetLib/LiteNetLib.csproj:13
- Secret: facebook-page-access-token UnityApp/Assets/GameResources.ThirdParty/Kevin Iglesias/Characters/Humanoid Giant/Textures/Giant01/Texture01/Recolor/Giant01_Texture01-EditableColor.psd:733
- Secret: facebook-page-access-token UnityApp/Assets/GameResources.ThirdParty/Kevin Iglesias/Characters/Humanoid Giant/Textures/Giant01/Texture02/Recolor/Giant01_Texture02-EditableColor.psd:733
- Secret: facebook-page-access-token UnityApp/Assets/GameResources.ThirdParty/Kevin Iglesias/Characters/Humanoid Giant/Textures/Giant01/Texture01/Recolor/Giant01_Texture01-EditableColor.psd:23507
- High CVE: MessagePack 3.1.4
- High CVE: MessagePack 3.1.4
- High CVE: MessagePack 3.1.4
- High CVE: [GHSA redacted] LubanTables/Tools/Luban/Luban.MsgPack.deps.json
- High vulnerability: [GHSA redacted] LubanTables/Tools/Luban/Luban.Bson.deps.json
Warning — 76 finding(s)
- CommentedOutCode Modules.Unity/com.module.neter/LibSample/Program.cs:33
- CommentedOutCode Modules.Unity/com.module.neter/com.model.neter/Messages/MessageSystem.cs:1
- CommentedOutCode Modules.Unity/com.module.neter/com.model.neter/Messages/NetworkMessageHandler.cs:39
- CommentedOutCode Modules.Unity/com.module.neter/com.model.neter/Messages/NetworkMessageHandler.cs:65
- CommentedOutCode Modules.Unity/com.module.neter/com.model.neter/Messages/NetworkMessageHandler.cs:74
- CommentedOutCode Modules.Unity/com.module.neter/com.model.neter/Messages/NetworkMessageHandler.cs:82
- CommentedOutCode Modules.Unity/com.module.neter/com.model.neter/Messages/UintMessageSystem.cs:74
- CommentedOutCode Modules.Unity/com.module.neter/com.model.neter/Messages/UintMessageSystem.cs:216
- CommentedOutCode Modules.Unity/com.module.neter/LibSample/Program.cs:40
- CommentedOutCode Modules.Unity/com.module.neter/com.model.neter/Messages/MessageSystem.cs:52
- CommentedOutCode Modules.Unity/com.module.neter/com.model.neter/Messages/MessageSystem.cs:74
- CommentedOutCode Modules.Unity/com.module.neter/com.model.neter/Messages/MessageSystem.cs:84
- CommentedOutCode Modules.Unity/com.module.neter/com.model.neter/Messages/NetworkMessage.cs:90
- CommentedOutCode Modules.Unity/com.module.neter/com.model.neter/Messages/NetworkMessage.cs:119
- CommentedOutCode Modules.Unity/com.module.neter/com.model.neter/Messages/NetworkMessage.cs:125
- CommentedOutCode Modules.Unity/com.module.neter/com.model.neter/Messages/NetworkMessage.cs:151
- CommentedOutCode Modules.Unity/com.module.neter/com.model.neter/Messages/NetworkMessage.cs:156
- CommentedOutCode Modules.Unity/com.module.neter/com.model.neter/Messages/NetworkMessage.cs:204
- CommentedOutCode Modules.Unity/com.module.neter/com.model.neter/Messages/NetworkMessageHandler.cs:1
- CommentedOutCode Modules.Unity/com.module.neter/com.model.neter/Messages/UintMessageSystem.cs:23
- CommentedOutCode Modules.Unity/com.module.neter/com.model.neter/Messages/UintMessageSystem.cs:81
- CommentedOutCode Modules.Unity/com.module.neter/com.model.neter/Messages/UintMessageSystem.cs:98
- CommentedOutCode Modules.Unity/com.module.neter/com.model.neter/Messages/UintMessageSystem.cs:115
- CommentedOutCode Modules.Unity/com.module.neter/com.model.neter/Messages/UintMessageSystem.cs:134
- CommentedOutCode Modules.Unity/com.module.neter/com.model.neter/Messages/UintMessageSystem.cs:163
- Medium CVE: MessagePack 3.1.4
- Medium CVE: MessagePack 3.1.4
- Medium CVE: MessagePack 3.1.4
- Medium CVE: MessagePack 3.1.4
- Medium CVE: MessagePack 3.1.4
- Medium CVE: MessagePack 3.1.4
- Medium CVE: MessagePack 3.1.4
- Medium CVE: MessagePack 3.1.4
- Medium CVE: MessagePack 3.1.4
- Dead code: TransformBlocks Modules.Unity/com.module.neter/LibSample/AesEncryptLayer.cs:90
- Dead code: GithubSample Modules.Unity/com.module.neter/LibSample/GithubSample.cs:8
- Dead code: PrintInvalidCommand Modules.Unity/com.module.neter/LibSample/Program.cs:67
- Dead code: AppendFullHelpMenu Modules.Unity/com.module.neter/LibSample/Program.cs:88
- Dead code: PrintInterfaceInfos Modules.Unity/com.module.neter/LiteNetLib/NetUtils.cs:159
- Dead code: ValidateRequest Modules.Unity/com.module.neter/LiteNetLib/Utils/NtpPacket.cs:296
- Duplicated block (9 lines × 2) Modules.Unity/com.module.neter/LiteNetLib/NetPeer.cs:230
- Duplicated block (9 lines × 2) Modules.Unity/com.module.neter/LiteNetLib/NetPeer.cs:682
- Duplicated block (9 lines × 2) Modules.Unity/com.module.neter/LiteNetLib/NetPeer.cs:700
- Duplicated block (9 lines × 2) Modules.Unity/com.module.neter/LiteNetLib/Utils/NetSerializer.cs:232
- HackComment Modules.Unity/com.module.neter/LiteNetLib/NatPunchModule.cs:227
- HackComment Modules.Unity/com.module.neter/LiteNetLib/NetManager.Socket.cs:498
- Duplicated block (8 lines × 2) Modules.Unity/com.module.neter/LiteNetLib/Utils/NetDataWriter.cs:276
- Duplicated block (8 lines × 2) Modules.Unity/com.module.neter/LiteNetLib/Utils/NetSerializer.cs:175
- Duplicated block (6 lines × 2) Modules.Unity/com.module.neter/LiteNetLib/InternalPackets.cs:59
- Duplicated block (6 lines × 2) Modules.Unity/com.module.neter/LiteNetLib/Utils/NetPacketProcessor.cs:160
- No assertions: TestAchieveItemInit Modules.Unity/com.module.achieve/system.module-test/AchieveModuleTests.cs:56
- single-maintainer — knowledge-concentration (bus factor) risk
- BareSuppressMessage Modules.Unity/com.module.neter/LiteNetLib/NetUtils.cs:203
- Monorepo: only 1 of 14 solutions was scored
- Analyzed solution does not cover the bulk of the repository
- LLM evaluation failed
- Duplicated block (20 lines × 2) Modules.Unity/com.module.neter/LiteNetLib/NetManager.cs:1579
- Duplicated block (19 lines × 2) Modules.Unity/com.module.neter/LiteNetLib/NetPeer.cs:654
- Duplicated block (15 lines × 2) Modules.Unity/com.module.neter/LiteNetLib/NetPeer.cs:409
- Duplicated block (11 lines × 2) Modules.Unity/com.module.neter/LiteNetLib/NativeSocket.cs:20
- Duplicated block (5 lines × 3) Modules.Unity/com.module.neter/LiteNetLib/Utils/CRC32C.cs:122
- Duplicated block (5 lines × 2) Modules.Unity/com.module.neter/LiteNetLib/Utils/CRC32C.cs:69
- Coverage not measured — no coverage collector is wired up
Recommendation — 4 finding(s)
- No tests discovered
- complexity unreadable for .cs — churn × complexity hotspots could not be measured
- No ADRs found
- redundant comment Modules.Unity/com.module.neter/LibSample/BroadcastTest.cs:112
Info — 2 finding(s)
- No exposed public API
- Tests co-located / outside the solution
Appendix B — Reproduction & audit trail
| Dimension | Tool | Version | Command | Findings | Raw output |
|---|---|---|---|---|---|
| D28 · Secrets (history) | gitleaks | — | gitleaks detect --no-banner --report-format json --report-path /dev/stdout --exit-code 0 --source . | 3 | artifacts/raw/gitleaks-history.json |
| D29 · Static Analysis (SAST) | semgrep | — | semgrep --config /opt/semgrep-rules/security-audit.yml --config /opt/semgrep-rules/owasp-top-ten.yml --json --quiet --timeout 0 --metrics off . | 0 | artifacts/raw/semgrep.json |
| D30 · Dependency Vulnerabilities | dotnet | — | dotnet list Modules.Unity/com.module.neter/com.module.neter.sln package --vulnerable --include-transitive --format json | 12 | artifacts/raw/dotnet-vulnerable.json |
| D31 · IaC & Container Security | trivy | — | trivy: not applicable — No Infrastructure-as-Code or container manifests found (Dockerfile, Terraform, Kubernetes/Helm, CloudFormation); nothing to scan. | 0 | — |
| D32 · Data Compliance (PII/GDPR) | semgrep | — | semgrep: not applicable — Data compliance (PII/GDPR) was not assessed in this scan — no ruleset is currently available for it. This says nothing about how this repository handles personal data, in either direction. | 0 | — |
| D33 · JS/npm Dependency Vulnerabilities | trivy | — | trivy fs --scanners vuln --format json --quiet --severity CRITICAL,HIGH,MEDIUM,LOW --skip-dirs **/bin/** --skip-dirs **/obj/** . --skip-db-update | 0 | — |
| D36 · Supply-chain Provenance & Signing | provenance | — | provenance: not applicable — No CI/build pipeline found (.github/.forgejo/.gitea workflows, .gitlab-ci.yml, azure-pipelines*.yml, .pipelines/, .vsts-ci/, Jenkinsfile, .circleci); there is no build to attest provenance for. | 0 | — |
| D37 · Vulnerability-disclosure Policy | disclosure | — | 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. | 0 | — |
| D38 · OSV Dependency Vulnerabilities | osv-scanner | — | osv-scanner --format json --recursive . | 2 | artifacts/raw/osv-scanner.json |
| D40 · Network Egress Confinement | runtime-hardening | — | 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. | 0 | — |
| D41 · Kernel & Syscall Confinement | runtime-hardening | — | 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. | 0 | — |
| D42 · Runtime Threat Enforcement | runtime-hardening | — | 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. | 0 | — |