Public report — beacon, published 6 Aug 2026. Concrete security findings (CVE IDs, secret matches, dependency versions) are hidden in this version; ask the repo owner for the full report.
Watchdog 06-08-2026 @ 01:30 UTC Public
Code Health Audit

BeaconCMS/beacon

60% Adequate
CriticalWeakAdequateStrongExemplary
middle

Medium · 35,629 LoC · rebuild ~0.3 person-years · weakest lens: Readiness (49%)

Grounded in facts. Every number here is computed, not narrated — reproducible, tool-backed, and traceable to a line of code. How to trust this ▸

21/23dimensions tool-verifieddeterministic · confidence 1.0 · 2 LLM-assisted, advisory
91findings with an exact file:lineof 97 — the remainder are repo-wide signals (a dimension-level measurement, not a single line); open any file:line and verify
23/95dimensions across the health lenses35629 LoC — wide & deep

Executive summary

Read through the Preview lens: this repo is pre-1.0 / in development, so the colour bands are relaxed to what a preview needs — *green* means good enough for a preview, not yet production-stable. Code correctness and security stay near-strict even here; the score itself is absolute and comparable across repos.

BeaconCMS/beacon is sound in substance but carries real gaps (60%). It is not in crisis, but the issues below raise the cost of changing it — friction its consumers ultimately inherit.

It is strongest in Architecture (96%) — the structure is clean and changes stay contained. Code Health (91%) is solid too.

The area that most needs attention is Readiness (49%) — 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. Maturity (62%) is the next concern — onboarding is slow — key decisions and the architecture aren't written down, so contributors have to reverse-engineer the intent.

Leadership focus, highest impact first: SAST step to CI running what this repository's stack ships (Security & performance tooling); 1 Leaked secret finding(s) (Secret Scanning); `healthcheck:` to the served compose service — probing… (Deployment & Rollback).

For scale: Medium (~35,629 production lines); rebuilding it from scratch would take roughly ~0.3 person-years (~1 engineer). Approximate, ±~30%.

It builds on a genuinely strong Architecture foundation (96%); the priorities above are the highest-leverage way to bring the rest up to that level.

How the score is built — each lens's share of the headline Width is the lens's weight in the worst-heaviest fold (the weakest area pulls hardest); colour is that lens's own band. A lens fixes the score in proportion to its width.
Readiness 49% · 47% weightMaturity 62% · 26% weightSecurity 62% · 14% weightCode Health 91% · 8% weightArchitecture 96% · 4% weight

Raise Readiness 49 → 70 (the Healthy floor) ⇒ headline 60 → ~67.

Code composition — where the lines go
Tests 100%
New since the last scan (49+)

49 finding(s) are new versus the previous scan (2026-07-29) — surfaced by this scheduled scan itself, no pull request required.

  • D4 · Duplicated block (23 lines × 2) lib/beacon/content.ex
  • D4 · Duplicated block (17 lines × 2) lib/beacon/runtime_renderer.ex
  • D4 · Duplicated block (14 lines × 2) lib/beacon/runtime_renderer/loader.ex
  • D4 · Duplicated block (14 lines × 2) lib/beacon/runtime_renderer.ex
  • D4 · Duplicated block (12 lines × 2) lib/beacon/runtime_renderer.ex
  • D4 · Duplicated block (11 lines × 2) lib/beacon/cache.ex
  • D4 · Duplicated block (11 lines × 2) lib/beacon/migrations/v013.ex
  • D4 · Duplicated block (11 lines × 2) lib/beacon/seo/index_now.ex
  • D4 · Duplicated block (10 lines × 2) lib/beacon/proxy_endpoint.ex
  • D4 · Duplicated block (10 lines × 2) lib/beacon/runtime_renderer.ex
  • D4 · Duplicated block (10 lines × 2) lib/beacon/runtime_renderer.ex
  • D4 · Duplicated block (9 lines × 35) lib/heroicons.ex
  • D4 · Duplicated block (9 lines × 2) lib/beacon/content/component_attr.ex
  • D4 · Duplicated block (9 lines × 2) lib/beacon/content/page_field.ex
  • D4 · Duplicated block (9 lines × 2) lib/beacon/content/page_field.ex
  • D4 · Duplicated block (9 lines × 2) lib/beacon/content/page_field.ex
  • D4 · Duplicated block (9 lines × 2) lib/beacon/content.ex
  • D4 · Duplicated block (9 lines × 2) lib/beacon/content.ex
  • D4 · Duplicated block (9 lines × 2) lib/beacon/runtime_renderer.ex
  • D4 · Duplicated block (9 lines × 2) lib/beacon/runtime_renderer.ex
  • D4 · Duplicated block (8 lines × 2) lib/beacon/runtime_renderer.ex
  • D4 · Duplicated block (6 lines × 202) lib/heroicons.ex
  • D4 · Duplicated block (6 lines × 5) lib/heroicons.ex
  • D4 · Duplicated block (6 lines × 2) lib/beacon/content.ex
  • D4 · Duplicated block (6 lines × 2) lib/beacon/content.ex
  • D4 · Duplicated block (6 lines × 2) lib/beacon/media_library/processors/image.ex
  • D4 · Duplicated block (6 lines × 2) lib/beacon/runtime_renderer/loader.ex
  • D4 · Duplicated block (5 lines × 3) lib/heroicons.ex
  • D35 · Change coupling: config.exs ↔ mix.exs config/config.exs
  • D35 · Change coupling: layouts.ex ↔ assets_controller.ex lib/beacon/web/components/layouts.ex
  • D38 · High CVE: [GHSA redacted] mix.lock
  • D38 · High CVE: [GHSA redacted] assets/package-lock.json
  • D38 · High CVE: [GHSA redacted] mix.lock
  • D38 · High CVE: [GHSA redacted] mix.lock
  • D38 · High CVE: [GHSA redacted] assets/package-lock.json
  • D38 · High CVE: [GHSA redacted] mix.lock
  • D38 · High CVE: [GHSA redacted] assets/package-lock.json
  • D38 · High CVE: [GHSA redacted] mix.lock
  • D38 · High CVE: [GHSA redacted] mix.lock
  • D38 · High CVE: [GHSA redacted] assets/package-lock.json
  • D38 · High CVE: [GHSA redacted] mix.lock
  • D38 · High CVE: [GHSA redacted] mix.lock
  • D38 · High CVE: [GHSA redacted] assets/package-lock.json
  • D38 · High CVE: [GHSA redacted] mix.lock
  • D38 · High CVE: [GHSA redacted] mix.lock
  • D38 · Medium CVE: EEF-[CVE redacted] mix.lock
  • D38 · Medium CVE: EEF-[CVE redacted] mix.lock
  • D38 · Medium CVE: EEF-[CVE redacted] mix.lock
  • D38 · Medium CVE: [GHSA redacted] assets/package-lock.json

A full-fidelity diff against the previous run's complete recorded findings — line-move tolerant: a finding that only shifted line counts as unchanged, only genuinely new titles/files surface here.

Rebuild cost & value ~ Modeled — €15,000–€74,000
Cost to rebuild€15,000–€74,000 (0.1–0.5 person-years (247–784 h), ~1 engineer)
Domain complexityStandard — harder problems cost more per line
Quality factor0.8× (at 60% quality) — the last 20% of quality is most of the work
Size & shapeMedium · effort split not classified (source measured from disk; the effort-tier breakdown is a C#-only syntax walk)

This codebase represents roughly ~0.3 person-years of build effort (about ~€45,000 to rebuild). Its weakest lens is Readiness at 49% — the part of that asset most exposed by the findings below.

How we model this: boilerplate at a scaffolding rate + logic × domain Standard (×1.0) — standard service × a 0.8× quality factor, at €60–95/h; indicative, ±~30% · size measured directly from source · effort from total production LoC as straight-line logic (the tier split is a C#-only syntax walk), a conservative lower bound. Indicative only — most sensitive to the hourly rate and the domain tier (both tunable in config).

Top priorities

The highest-leverage moves; the full ranked list is in the Roadmap below.

1
Resolve the 1 Leaked secret finding(s) in Secret Scanning — start with test.exs.
+11.1 pts · Low effort · Secret Scanning
2
Add a SAST step to CI running what this repository's stack ships: sobelow (Elixir/Phoenix) — or `semgrep --config=auto`, which runs on any language — so a security regression fails the build instead of landing.
+11.1 pts · Medium effort · Security & performance tooling
3
Add a `healthcheck:` to the served compose service — probing the endpoint it already answers on where it has one — with `depends_on: condition: service_healthy` on whatever waits for it, and keep the deployed image tag immutable and recorded so rolling back is re-pointing at the previous tag rather than rebuilding.
+11.1 pts · Medium effort · Deployment & Rollback

Diagnosis — what's actually going on

Value concentrated against a weak lens · Medium · Value at risk
This is a Medium asset (~0.3 person-years to rebuild), and its weakest lens is Readiness at 49%. The operational and business risk on an asset this size concentrates there — that's where remediation buys the most protection.
Evidence: valuation: Medium, ~0.3 person-years rebuild (35,629 LoC) · weakest lens: Readiness 49%
→ Direct remediation budget at Readiness first — highest risk-reduction per euro on an asset this size.
Highest-leverage move · Medium · Leverage
Of everything flagged, the best return on effort is: Add a SAST step to CI running what this repository's stack ships: sobelow (Elixir/Phoenix) — or `semgrep --config=auto`, which runs on any language — so a security regression fails the build instead of landing. The rest can wait behind it.
Evidence: priority ranking: top of 5 ranked by impact/effort
→ Add a SAST step to CI running what this repository's stack ships: sobelow (Elixir/Phoenix) — or `semgrep --config=auto`, which runs on any language — so a security regression fails the build instead of landing.

Architecture — module dependency matrix

35 modules, 8 dependencies — every dependency points down the layering, so there are no cycles. Rows and columns are the same modules, ordered so that a module only depends on ones above it. A cell means the row depends on the column, and its number is how many type pairs create that dependency. Read one thing: is anything above the diagonal? A mark there is a dependency cycle. (A cycle is all this shows — an unusual but cycle-free dependency sits below the diagonal like any other.)

(global)BeaconBeacon.ActionsBeacon.CSSBeacon.ClientBeacon.CollectionBeacon.Content.PageBeacon.EncryptedBeacon.GraphQL…diaLibrary.Processors…MediaLibrary.Provider…iaLibrary.Provider.S3Beacon.MigrationsBeacon.PlugBeacon.RuntimeRendererBeacon.SEOBeacon.TemplateBeacon.TypesBeacon.Web.APIBeacon.Web.ComponentsDemoMix.Tasks.BeaconMix.Tasks.Beacon.Gen…con.Gen.ProxyEndpoint…Tasks.Beacon.Gen.Site…on.Gen.TailwindConfig….Tasks.Beacon.InstallBeacon.Content…acon.Content.SnippetsBeacon.LifecycleBeacon.MediaLibraryBeacon.WebDemoWeb…iaLibrary.AssetFieldsDemo.Beacon(global)1Beacon2Beacon.Actions3Beacon.CSS4Beacon.Client5Beacon.Collection6Beacon.Content.Page7Beacon.Encrypted8Beacon.GraphQL9…diaLibrary.Processors10…MediaLibrary.Provider11…iaLibrary.Provider.S312Beacon.Migrations13Beacon.Plug14Beacon.RuntimeRenderer15Beacon.SEO16Beacon.Template17Beacon.Types18Beacon.Web.API19Beacon.Web.Components20Demo21Mix.Tasks.Beacon22Mix.Tasks.Beacon.Gen23…con.Gen.ProxyEndpoint24…Tasks.Beacon.Gen.Site25…on.Gen.TailwindConfig26….Tasks.Beacon.Install27Beacon.Content28…acon.Content.Snippets29Beacon.Lifecycle30Beacon.MediaLibrary31Beacon.Web32DemoWeb33…iaLibrary.AssetFields34Demo.Beacon35231316211

At a glance — Code Health · 91% · Exemplary

At a glance — Architecture · 96% · Exemplary

At a glance — Maturity · 62% · Adequate · gated by M2

At a glance — Readiness · 49% · Adequate · gated by P3

At a glance — Security · 62% · Adequate · gated by D38

Security & Compliance — OWASP Top-10 mapping

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 categoryFindingsSeverity
A06:2021 — Vulnerable & Outdated Components19High / Critical
A03:2021 — Injection4High / Critical
A02:2021 — Cryptographic Failures1High / Critical

Roadmap

First, integrate a SAST step into the CI pipeline to fail the build on security regressions. Next, immediately resolve the single leaked secret found in the codebase. Then, add a healthcheck to the deployed service to enable reliable rollbacks by pointing to an immutable image tag. After that, stamp a version in the build manifest or tag releases with semver to ensure traceability. Finally, add a 'Testing' section to the root README to document how to run the test suite.

Ranked by impact ÷ effort. "Helps" is the estimated gain on the 0–100 health score.

Do thisHelpsEffortDimension
Resolve the 1 Leaked secret finding(s) in Secret Scanning — start with test.exs.+11.1 ptsLowSecret Scanning
Add a SAST step to CI running what this repository's stack ships: sobelow (Elixir/Phoenix) — or `semgrep --config=auto`, which runs on any language — so a security regression fails the build instead of landing.+11.1 ptsMediumSecurity & performance tooling
Add a `healthcheck:` to the served compose service — probing the endpoint it already answers on where it has one — with `depends_on: condition: service_healthy` on whatever waits for it, and keep the deployed image tag immutable and recorded so rolling back is re-pointing at the previous tag rather than rebuilding.+11.1 ptsMediumDeployment & Rollback
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.+11.1 ptsMediumRelease Hygiene
Add a 'Testing' section to the root README — how to run the test suite.+4.8 ptsMediumDocumentation (README)
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).+4.8 ptsMediumArchitecture documentation
Resolve the 4 High finding(s) in Static Analysis (SAST) — start with quality.yml (3), dependabot.yml.+1.8 ptsLowStatic Analysis (SAST)
Resolve the 1 Off-boarding risk finding(s) in Bus Factor.+1.7 ptsLowBus Factor

File quality

Per-file score 0–10 — a quality signature. Of 30 files carrying findings, judged against the Preview bar: 7% slop · 13% mixed · 80% near-clean.

FileScoreBandWorst signal
mix.lock0.7SlopOSV Dependency Vulnerabilities: High CVE: [GHSA redacted]
assets/package-lock.json2.5SlopOSV Dependency Vulnerabilities: High CVE: [GHSA redacted]
.github/workflows/quality.yml5.1MixedStatic Analysis (SAST): High: github-actions-mutable-action-tag
lib/beacon/content.ex5.5MixedGod Classes: FileTooLong: beacon/content.ex
lib/beacon/web/components/layouts.ex6.3MixedCyclomatic Complexity: Layouts.do_build_seo_meta_tags (cyclomatic 22)
lib/beacon/runtime_css.ex6.3MixedCognitive Complexity: RuntimeCSS.safelist_recompiled? (cognitive 22)
lib/heroicons.ex7.0Near-cleanGod Classes: FileTooLong: lib/heroicons.ex
lib/beacon/runtime_renderer.ex7.0Near-cleanGod Classes: FileTooLong: beacon/runtime_renderer.ex
lib/beacon/web/components/core_components.ex7.0Near-cleanGod Classes: FileTooLong: components/core_components.ex
config/test.exs7.2Near-cleanSecret Scanning: Leaked secret: high-entropy-secret
.github/dependabot.yml7.2Near-cleanStatic Analysis (SAST): High: dependabot-missing-cooldown
lib/beacon/content/page_field.ex7.4Near-cleanCode Duplication: Duplicated block (9 lines × 2)
lib/beacon/seo/metrics.ex7.8Near-cleanCyclomatic Complexity: Metrics.compute (cyclomatic 21)
lib/beacon/runtime_renderer/loader.ex7.8Near-cleanCode Duplication: Duplicated block (14 lines × 2)
lib/beacon/css/theme_parser.ex8.5Near-cleanCognitive Complexity: ThemeParser.parse_value (cognitive 19)
dev.exs8.5Near-cleanGod Classes: FileTooLong: dev.exs
lib/beacon/template/source_parser.ex8.5Near-cleanGod Classes: TooManyMethods: SourceParser
lib/beacon/config.ex8.5Near-cleanGod Classes: FileTooLong: beacon/config.ex
lib/beacon/pub_sub.ex8.5Near-cleanGod Classes: TooManyMethods: PubSub
lib/beacon/media_library.ex8.5Near-cleanGod Classes: TooManyMethods: MediaLibrary

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. 21 of 23 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.

Every figure here is one of three kinds, and we label which: ✓ Measured — a deterministic fact (LoC, complexity, coverage); ~ Modeled — an estimate from a stated model (cost, effort, value-at-risk), always a range with its assumptions, never a precise fact; ◐ Advisory — an LLM prose judgement. We never present a modelled estimate as if it were measured. Perfect or absent scores carry their provenance too (ADR-0011): ✓ Tool-verified means the property itself was measured across the surface; ○ Nothing flagged means the probes came back clean — a claim bounded by what a repository can show; ⊘ Not evidenced means a working control (a tested restore, an automated rollback) showed no positive evidence — absence of evidence is not evidence of a control, so it's excluded from the score rather than awarded a spurious 10; ◐ Sampled · advisory marks an LLM verdict over a bounded sample — advisory, never a deterministic measurement.

What we checked — 23 dimensions across the health lenses
D1D2D3D4D13D15D16D19D21D28D29D33D34D35D38M1M2M3M4P1P3P4P6

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
  1. 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, 91 of 97 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.)
  2. 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.
  3. 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.

MethodBacksVersionEvaluator
Roslyn static analysisComplexity, cohesion, coupling, dead code, API surface, layering5.3.0✓ deterministic
Native secret scannerHardcoded secrets / credentials1.0.0✓ deterministic
jscpdCode duplication✓ deterministic
Coverage (coverlet / dotnet-coverage)Line & branch coverage10.0.302✓ deterministic
NuGet / dotnetOutdated, vulnerable & deprecated dependencies10.0.302✓ deterministic
git / LibGit2SharpChurn hotspots, knowledge concentration, history2.43.0 · 0.31.0✓ deterministic
gitleaks · semgrep · trivySecrets in history, SAST, CVEs, IaC & container, PII / GDPR1.86.0 · 0.69.3✓ deterministic
LLM (sampled · advisory)Documentation quality, ADR conformance, naming — sampled over a bounded sample; advisory, never a deterministic measurementLocal LLM◐ LLM · sampled · advisory

Every finding is locatable in findings.md. Run 019fd4b1-6e49-7491-817a-902ac87bb9db.

The exact command behind every deep-scan dimension — tool, version, invocation and retained raw output — is in Appendix B — Reproduction & audit trail.

Run transparency — what happened this run

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.

  • D30 Dependency Vulnerabilities — scanner not present in this environment — The backing tool was not installed where this scan ran, so this dimension was not scored. Install the tool (or run in the hosted environment, where it is always present) for a graded result.

Repo exclusion declarations: 2 pattern(s) declared (.gitattributes linguist-generated/vendored, .editorconfig generated_code) excluded 0 source file(s) from code-quality scoring. Declarations are the repo's own visible statement that a tree is machine-written or vendored — auditable in any diff, honored by GitHub the same way.

Limitations & what we did not check

Watchdog assesses the repository exactly as committed, and only the repository. By design it does not reach outside the source tree: the live cloud account, the running CI/CD pipeline, the host's branch-protection and approval rules, the production configuration, or a restore actually exercised against a backup are all out of scope. That boundary is a feature, not a gap — a repo-relative, deterministic scan re-runs identically on any commit and every finding opens at a real file and line, where a live audit can neither be reproduced nor traced. The visible consequence is that controls which leave no in-repo evidence are reported as "not evidenced" and excluded from the score rather than awarded a number a static scan cannot justify.

Per-dimension blind spots

For each dimension that was measured, what a static, repo-only scan structurally cannot see — the honest edge of the measurement, not a failure of it.

  • D1 Cyclomatic Complexity: Cyclomatic complexity counts branches statically — it cannot tell an essential decision tree from accidental tangle, nor see complexity that lives in data or configuration (large switch-case token tables, DSL lexers/parsers, data-as-code rule tables) rather than control flow: a tokenizer's many single-character cases read as high complexity though each branch is trivial.
  • D2 Cognitive Complexity: Cognitive-complexity heuristics approximate how hard code is to follow; genuine domain difficulty and well-named intent that eases reading are not captured.
  • D3 God Classes: "God class" is sized by members and responsibilities visible in the type — a deliberately broad facade over a coherent subsystem can read the same as an accidental grab-bag. For front-end JS the file-length check is cohesion-aware (a single-responsibility module — one class/IIFE — earns a 3× threshold), but cohesion is approximated from top-level declarations, not true dependency structure.
  • D4 Code Duplication: Duplication is token-similarity (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.
  • 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").
  • 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.
  • D16 Bus Factor: Bus-factor is a time-decayed model of commit attribution (who has recently, repeatedly worked a file), not comprehension — pairing, review and reading-without-committing spread knowledge it can't see; bot commits and shared accounts still distort it.
  • D19 Documentation Quality: Documentation quality is judged by an LLM over a bounded sample of docs — it reads what is written, not whether the docs match the running system, and it is advisory, not a measurement.
  • 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.
  • 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").
  • 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.
  • 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.
  • P4 Deployment & Rollback: Approval/branch-protection rules live in repository settings the scan cannot see — only their in-repo evidence (config files, workflows) is checked, so a control enforced purely in the host's settings reads as "not evidenced".
  • 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

LLM-set scores this run (3): D19, D21, M4 (model: Local LLM). For these, a model reads a bounded sample and sets the numeric score (documentation, ADR quality, naming, comment value, onboarding) — D25 sets the ADR-conformance fraction over sampled code, D22 judges API accuracy over a sample. These are sampled and advisory by design: they vary at the margins between runs and are never a deterministic measurement. Every other score in this report is tool-computed at confidence 1.0.

Dimensions

D1 · Cyclomatic Complexity9.4 / 10Exemplary✓ Tool-verified

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.

Maturity: DocumentedVerifiedPrevented · effective 9.4 / 10 · rule-coverage 100% · ceiling Prevented

2 method(s) exceeded the cyclomatic complexity threshold of 15; the worst was Layouts.do_build_seo_meta_tags at 22. A further 1 method(s) were over the threshold but excluded as flat dispatchers (a long switch/match over independent cases: many branches, almost no nesting), the largest being Content.validate_if_value_matches_type at 19 — they are counted neither in the figure above nor in this dimension's score.

Layouts.do_build_seo_meta_tags (cyclomatic 22)lib/beacon/web/components/layouts.ex:180
Metrics.compute (cyclomatic 21)lib/beacon/seo/metrics.ex:14

✓ On the Gold path — maintain.

Detailed fixes: d1_recommendation.md · top locations in Appendix A, every location in findings.md.

D2 · Cognitive Complexity8.7 / 10Strong✓ Tool-verified

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.

Maturity: DocumentedVerifiedPrevented · effective 8.7 / 10 · rule-coverage 100% · ceiling Prevented

5 method(s) exceeded the cognitive complexity threshold of 15; the worst was Layouts.do_build_seo_meta_tags at 34.

Layouts.do_build_seo_meta_tags (cognitive 34)lib/beacon/web/components/layouts.ex:180
RuntimeCSS.safelist_recompiled? (cognitive 22)lib/beacon/runtime_css.ex:151
Metrics.compute (cognitive 22)lib/beacon/seo/metrics.ex:14
ThemeParser.parse_value (cognitive 19)lib/beacon/css/theme_parser.ex:171
RuntimeCSS.nif_recompiled? (cognitive 16)lib/beacon/runtime_css.ex:185

What to do

  1. Resolve the 1 Layouts.do_build_seo_meta_tags (cognitive 34) finding(s) in Cognitive Complexity — start with layouts.ex. — One of this dimension's main actionable groups (1 warning-level).
  2. Resolve the 1 RuntimeCSS.safelist_recompiled? (cognitive 22) finding(s) in Cognitive Complexity — start with runtime_css.ex. — One of this dimension's main actionable groups (1 warning-level).
  3. Resolve the 1 Metrics.compute (cognitive 22) finding(s) in Cognitive Complexity — start with metrics.ex. — One of this dimension's main actionable groups (1 warning-level).
  4. Enforce Cognitive Complexity in CI to reach Verified (currently Documented). — Hardens enforcement from Documented toward Prevented — provenance only; does not change the score.

Detailed fixes: d2_recommendation.md · top locations in Appendix A, every location in findings.md.

D3 · God Classes8.8 / 10Strong✓ Tool-verified

What it measures: Over-large classes that try to do too much ("god classes").

Method: God-class detection by line and method-count thresholds per logical type (partial classes unified), filtered for generated code and registration/contract false positives. Deterministic.

Maturity: DocumentedVerifiedPrevented · effective 8.8 / 10 · rule-coverage 100% · ceiling Prevented

12 god class(es) detected.

FileTooLong: lib/heroicons.ex · ×6lib/heroicons.ex:0
TooManyMethods: Heroicons · ×6lib/heroicons.ex:4

What to do

  1. Resolve the 6 FileTooLong finding(s) in God Classes — start with heroicons.ex, content.ex, runtime_renderer.ex. — One of this dimension's main actionable groups (6 warning-level).
  2. Resolve the 6 TooManyMethods finding(s) in God Classes — start with heroicons.ex, content.ex, runtime_renderer.ex. — One of this dimension's main actionable groups (6 warning-level).
  3. Enforce God Classes in CI to reach Verified (currently Documented). — Hardens enforcement from Documented toward Prevented — provenance only; does not change the score.

Detailed fixes: d3_recommendation.md · top locations in Appendix A, every location in findings.md.

D4 · Code Duplication9.5 / 10Exemplary✓ Tool-verified

What it measures: Copy-pasted code that should be shared instead.

Method: Code duplication via token-stream sliding windows with type-aware normalization (locals masked, type names preserved), density-scored per KLoC of production code. Deterministic.

Maturity: DocumentedVerifiedPrevented · effective 9.5 / 10 · rule-coverage 100% · ceiling Verified

38 duplicated block group(s) detected.

Duplicated block (9 lines × 2) · ×8lib/beacon/content/component_attr.ex:43
Duplicated block (6 lines × 2) · ×5lib/beacon/content.ex:362
Duplicated block (11 lines × 2) · ×3lib/beacon/cache.ex:39
Duplicated block (10 lines × 2) · ×3lib/beacon/proxy_endpoint.ex:132
Duplicated block (14 lines × 2) · ×2lib/beacon/runtime_renderer/loader.ex:68

+ 17 more group(s) — more in Appendix A; the complete list is findings.md.

✓ On the Gold path — maintain.

Detailed fixes: d4_recommendation.md · top locations in Appendix A, every location in findings.md.

D13 · Secret Scanning5.0 / 10Adequate✓ Tool-verified

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.

Maturity: DocumentedVerifiedPrevented · effective 5.0 / 10 · rule-coverage 100% · ceiling Prevented

1 secret(s) detected.

Leaked secret: high-entropy-secretconfig/test.exs:32

What to do

  1. Resolve the 1 Leaked secret finding(s) in Secret Scanning — start with test.exs. — One of this dimension's main actionable groups (1 issue-level).
  2. Enforce Secret Scanning in CI to reach Verified (currently Documented). — Hardens enforcement from Documented toward Prevented — provenance only; does not change the score.

Detailed fixes: d13_recommendation.md · top locations in Appendix A, every location in findings.md.

D15 · Churn × Complexity Hotspots10.0 / 10Exemplary✓ Tool-verified

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.

Maturity: DocumentedVerifiedPrevented · effective 10.0 / 10 · rule-coverage 100% · ceiling Documented

No churn × complexity hotspots in the window.

✓ On the Gold path — maintain.

Detailed fixes: d15_recommendation.md.

D16 · Bus Factor6.6 / 10Adequate✓ Tool-verified

What it measures: Whether knowledge is concentrated in too few people (the "bus factor").

Method: Living knowledge per author via time-decayed commit attribution (6-month half-life, focus weighting) across largest source files. Deterministic, avoids blame's mechanical-refactor false positives.

Maturity: DocumentedVerifiedPrevented · effective 6.6 / 10 · rule-coverage 100% · ceiling Documented

24 source file(s) have their living knowledge concentrated in one author (≥90% of recent, decayed contribution). The largest is lib/beacon/runtime_renderer.ex.

Off-boarding risk: anonymized user #1

What to do

  1. Resolve the 1 Off-boarding risk finding(s) in Bus Factor. — One of this dimension's main actionable groups (1 recommendation-level).

Detailed fixes: d16_recommendation.md · top locations in Appendix A, every location in findings.md.

D19 · Documentation Quality / 10Adequate◐ Sampled · advisory

What it measures: Whether the project's documentation is clear, complete, and useful.

Method: Judged by language model at low temperature (0.0-0.1) on a deterministic doc sample (READMEs plus first 25 architecture docs), with two-pass stability filtering. Advisory, sampled.

Maturity: DocumentedVerifiedPrevented · effective Adequate / 10 · rule-coverage 100% · ceiling Documented

The single README is a solid overview of the Phoenix LiveView CMS (Beacon) and its installers, but it is clipped mid-Getting Started inside two summary details blocks. The visible content covers purpose, release metadata, and both new-project and existing-project installation options; the outline lists Demo, Status, Contributing, Local Development, and Looking for help with your Elixir project. It is clear and complete for a single README but lacks documentation of the demo site itself (which would be an unshown section in the clipped outline), leaving its presence ambiguous.

What to do

  1. Improve Documentation Quality — currently 6.0/10. — The single README is a solid overview of the Phoenix LiveView CMS (Beacon) and its installers, but it is clipped mid-Getting Started inside two summary details blocks. The visible content covers purpose, release metadata, and both new-project and existing-project installation options; the outline lists Demo, Status, Contributing, Local Development, and Looking for help with your Elixir project. It is clear and complete for a single README but lacks documentation of the demo site itself (which would be an unshown section in the clipped outline), leaving its presence ambiguous.

Detailed fixes: d19_recommendation.md.

D21 · Naming Consistency / 10Exemplary◐ Sampled · advisory

What it measures: Whether names — types, methods, variables — are clear and consistent.

Method: Judged by language model at low temperature (0.0-0.1) on a deterministic random symbol sample (fixed size, not exhaustive), with disclosed confidence band. Advisory, sampled.

Maturity: DocumentedVerifiedPrevented · effective Exemplary / 10 · rule-coverage 100% · ceiling Verified

0 naming inconsistencies across 0 sampled symbols.

✓ On the Gold path — maintain.

Detailed fixes: d21_recommendation.md.

D28 · Secrets (history)10.0 / 10Exemplary○ Nothing flagged

What it measures: Whether any secrets were ever committed — scanned across the full git history, not just now.

Method: Git-history secret scan via gitleaks detect over full history in an isolated checkout; each match flagged High. Exhaustive; degrades cleanly when tool absent.

Maturity: DocumentedVerifiedPrevented · effective 10.0 / 10 · rule-coverage 100% · ceiling Documented

gitleaks scanned the full history AND the current working tree and found no secrets.

✓ On the Gold path — maintain.

Detailed fixes: d28_recommendation.md.

D29 · Static Analysis (SAST)5.0 / 10Adequate✓ Tool-verified

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).

Maturity: DocumentedVerifiedPrevented · effective 5.0 / 10 · rule-coverage 100% · ceiling Documented

4 finding(s): 0 critical, 4 high, 0 medium, 0 low.

High: dependabot-missing-cooldown · ×4.github/dependabot.yml:3detected by semgrep finding

What to do

  1. Resolve the 4 High finding(s) in Static Analysis (SAST) — start with quality.yml (3), dependabot.yml. — One of this dimension's main actionable groups (4 issue-level).

Detailed fixes: d29_recommendation.md · top locations in Appendix A, every location in findings.md.

D33 · JS/npm Dependency Vulnerabilities10.0 / 10Exemplary○ Nothing flagged

What it measures: Whether JavaScript/npm dependencies have known published vulnerabilities (CVEs) — the npm ecosystem's biggest risk.

Method: JS/npm CVE scan via trivy fs --scanners vuln over JS manifests (package.json/yarn.lock/pnpm-lock/bun.lockb); 0-10 tight normalizer. NotApplicable without JS manifests. Exhaustive, deterministic.

Maturity: DocumentedVerifiedPrevented · effective 10.0 / 10 · rule-coverage 100% · ceiling Documented

No known-vulnerable JS/npm dependencies.

✓ On the Gold path — maintain.

Detailed fixes: d33_recommendation.md.

D34 · Knowledge Freshness8.3 / 10Strong✓ Tool-verified

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.

Maturity: DocumentedVerifiedPrevented · effective 8.3 / 10 · rule-coverage 100% · ceiling Documented

12 of 71 significant source file(s) are orphaned — their living knowledge has decayed to nothing, so no one currently understands them. The largest is lib/heroicons.ex.

Orphaned knowledge · ×2lib/heroicons.ex
Further orphaned files (smaller)

What to do

  1. Resolve the 2 Orphaned knowledge finding(s) in Knowledge Freshness — start with heroicons.ex, core_components.ex. — One of this dimension's main actionable groups (2 issue-level).
  2. Resolve the 1 Further orphaned files (smaller) finding(s) in Knowledge Freshness. — One of this dimension's main actionable groups (1 recommendation-level).

Detailed fixes: d34_recommendation.md · top locations in Appendix A, every location in findings.md.

D35 · Change Coupling9.6 / 10Exemplary✓ Tool-verified

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; coupling through a build step, config, or non-source file isn't seen.

Maturity: DocumentedVerifiedPrevented · effective 9.6 / 10 · rule-coverage 100% · ceiling Documented

Strongest change-coupling: runtime_css.ex↔runtime_js.ex 92%; beacon_web.ex↔mix.exs 85%; content.ex↔migration.ex 67%

Change coupling: runtime_css.ex ↔ runtime_js.ex · ×8lib/beacon/runtime_css.ex

✓ On the Gold path — maintain.

Detailed fixes: d35_recommendation.md · top locations in Appendix A, every location in findings.md.

D38 · OSV Dependency Vulnerabilities0.0 / 10Critical✓ Tool-verified

What it measures: Whether dependencies have known published vulnerabilities (CVEs) per the OSV database — read natively from whatever lockfile the repository ships (Cargo, npm, Go, Python, Maven, RubyGems, …). D33 and D30 add ecosystem-specific scanners on top for npm and .NET.

Method: Multi-ecosystem dependency-CVE scan via osv-scanner --recursive (queries the osv.dev database + parses lockfiles natively across ecosystems: npm package-lock/yarn/pnpm/bun, Go go.mod, Rust Cargo.lock, Maven/Gradle pom.xml/gradle.lockfile, PyPI requirements.txt/poetry.lock/Pipfile.lock, Composer composer.lock, RubyGems Gemfile.lock, Hex mix.lock, pub pubspec.lock, Swift Package.resolved); severity tally (Critical/High/Medium/Low) to 0-10 tight normalizer (8.0). NotApplicable only when the repo declares no supported non-.NET dependency lockfile (a NuGet-only repo stays NotApplicable — .NET CVEs are D30's domain); coverage needs a resolved lockfile. Additive to D33 (trivy fs); exhaustive + deterministic, DB kept fresh.

Maturity: DocumentedVerifiedPrevented · effective 0.0 / 10 · rule-coverage 100% · ceiling Documented

19 finding(s): 0 critical, 15 high, 4 medium, 0 low.

High CVE: [GHSA redacted] · ×15mix.lockdetected by osv-scanner finding
Medium CVE: EEF-[CVE redacted] · ×4mix.lockdetected by osv-scanner finding

What to do

  1. Resolve the 15 High CVE finding(s) in OSV Dependency Vulnerabilities — start with mix.lock (10), package-lock.json (5). — One of this dimension's main actionable groups (15 issue-level).
  2. Resolve the 4 Medium CVE finding(s) in OSV Dependency Vulnerabilities — start with mix.lock (3), package-lock.json. — One of this dimension's main actionable groups (4 warning-level).

Detailed fixes: d38_recommendation.md · top locations in Appendix A, every location in findings.md.

Frontend & cross-cutting dimensions

R = React/JS · M = Maturity · P = Readiness.

M1 · Documentation (README)5.2 / 10Adequate✓ Tool-verified

Maturity · Maturity — Whether the repo and its projects have a README, and whether it's substantive and current.

Method: Filesystem scan: README presence, word count, and headings for depth; git history for staleness. Exhaustive across root and project dirs, deterministic.

  • 158 code files changed in the last 6 months but the README was not touched — it may no longer reflect the system.

What to do

  • Add a '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.
  • Review the README against recent changes; refresh the parts that drifted.
M2 · Architecture documentation3.0 / 10Weak✓ Tool-verified

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 `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 structure10.0 / 10Exemplary✓ Tool-verified

Maturity · Maturity — Whether the repo is organised deliberately — src/test separation and consistent project naming.

Method: Filesystem scan: src/test folder separation and namespace-prefix consistency (majority RootNamespace agreement). Exhaustive across projects, deterministic.

M4 · Documentation accuracy10.0 / 10Exemplary◐ Sampled · advisory

Maturity · Maturity — Whether the README actually describes the code that exists (LLM-judged, advisory).

Method: Judged by language model at low temperature: README accuracy versus actual projects, within a disclosed tolerance. Advisory, not a measured number.

P1 · CI/CD gates10.0 / 10Exemplary○ Nothing flagged

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.

P3 · Security & performance tooling3.0 / 10Weak✓ Tool-verified

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 sobelow (Elixir/Phoenix) (or `semgrep --config=auto`, which runs on any language) as a CI step.

What to do

  • Add a SAST step to CI running what this repository's stack ships: sobelow (Elixir/Phoenix) — or `semgrep --config=auto`, which runs on any language — so a security regression fails the build instead of landing.
  • Add gitleaks/trufflehog in CI to block PRs that introduce committed secrets.
P4 · Deployment & Rollback5.0 / 10Adequate✓ Tool-verified

Readiness · Readiness — Whether releases are automated and safely reversible (probes, rolling updates, approval gates) — from manifests/pipeline files, not the live environment.

Method: Filesystem scan: deployment manifests/IaC (K8s YAML, Helm, Terraform) for rolling updates, probes, approval gates, migration hooks. Exhaustive, deterministic.

  • Deployment is orchestrated by compose, but no service declares a `healthcheck:` and nothing pins a previous image to fall back to — the runtime can tell that the container is up, not that it is serving, so a bad release is harder to detect and reverse.

What to do

  • Add a `healthcheck:` to the served compose service — probing the endpoint it already answers on where it has one — with `depends_on: condition: service_healthy` on whatever waits for it, and keep the deployed image tag immutable and recorded so rolling back is re-pointing at the previous tag rather than rebuilding.
  • Add an approval/environment gate (required reviewers / protection rules) before production promotion.
P6 · Release Hygiene5.0 / 10Adequate✓ Tool-verified

Readiness · Readiness — Whether releases are traceable — a maintained changelog and explicit version stamping.

Method: Filesystem scan: changelog file presence and version tags in csproj or git tags. Exhaustive, deterministic.

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.

Reference — by lens

The score is the rank-weighted fold of these lenses (worst-heaviest), each including its meta-dimensions; a lens with a Critical contributor is capped at Fair (its band reads "gated by …") and is never the strongest area however high its average.

LensScoreRatingImpact
Code Health91%ExemplarySolid.
Architecture96%ExemplaryStrongest area.
Maturity62%Adequate — gated by M2Capped at Fair by a Critical contributor — resolve it before relying on this lens.
Readiness49%Adequate — gated by P3Capped at Fair by a Critical contributor — resolve it before relying on this lens.
Security62%Adequate — gated by D38Capped at Fair by a Critical contributor — resolve it before relying on this lens.
Not included — 72 check(s) not relevant to this codebase

These checks had nothing to measure here (no tests, no git history, the codebase is small, or the architecture style doesn't apply), so they're omitted above rather than scored low.

  • AC1 Text alternatives — No web markup found — accessibility is not applicable to this repository.
  • AC2 Forms & labels — No web markup found — accessibility is not applicable to this repository.
  • AC3 Page structure — No web markup found — accessibility is not applicable to this repository.
  • AC4 Keyboard semantics — No web markup found — accessibility is not applicable to this repository.
  • AC5 ARIA correctness — No web markup found — accessibility is not applicable to this repository.
  • AC6 Visual & motion safety — No web markup found — accessibility is not applicable to this repository.
  • AC7 A11y enforcement — No web markup found — accessibility is not applicable to this repository.
  • AX1 Captive dependencies — no DI registrations detected
  • AX10 Code composition — not assessed — code composition is computed by ROLE over a document set 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
  • AX2 Stateful singletons — no singleton implementations detected
  • AX3 Project dependency cycles — not assessed — project cycles and dependency direction are computed over a project-reference graph 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
  • AX4 Dependency direction — not assessed — project cycles and dependency direction are computed over a project-reference graph 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
  • 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
  • AX8 Test isolation — not assessed — test isolation is computed from a project graph (which projects are test projects, and what they reference) 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
  • 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.
  • D10 Test Quality — ~6195 lines of test source are present (.exs, .ex) but the test-quality collector reads C# only, so skipped/assertion-free tests couldn't be counted. Not scored — this is a gap in the analyzer, not a finding about this repository.
  • D11 Test Reliability — Test reliability not included
  • D12 Dependency Hygiene — Dependency hygiene not measured — dependency manifest found but not parsed for hygiene
  • D14 License Compliance — Not scored — this repository's package manifest is not parsed for licence data yet. A gap in the analyzer's language coverage, NOT a finding that the repository's licenses are compliant (package.json), which this pass does not parse yet — so this dimension asserts nothing about this repository's licensing in either direction.
  • D17 Explicit Debt — explicit-debt markers are read through a C# workspace today, so they were not read for this repository's language — this asserts nothing about how many markers the code carries. Not scored — this is a gap in the analyzer, not a finding about this repository
  • D18 Solution Shape — D18 scores the shape of a .NET solution; this repository has no .NET solution or project files, so the dimension does not apply.
  • D20 ADR Quality — N/A — ADRs are expected on deployable products with a user-facing host, not consumed libraries; no ADR log is required here.
  • D22 Internal API Consistency — No exposed public API
  • D23 Boundary Type-Coupling — Production source is present (.ex, .exs) but bounded contexts are resolved over the C#/VB project set, which exposed none, so context scope could not be assessed. Not scored — this is a gap in the analyzer, not a verdict about this repository. Declaring the codebase's bounded contexts (≥2) would let cross-boundary type coupling be assessed — see the recommendation on this dimension for where. Declare them in `.codehealth/config.yaml` at the repository root (create it if absent), mapping each context name to the module-path or namespace prefixes that belong to it — e.g. `architecture:` → `contexts:` → `Billing: ["src/billing", "Acme.Billing"]`, `Catalog: ["src/catalog", "Acme.Catalog"]`.
  • D24 Comment Value — No inline comments to assess — comment value is not applicable here.
  • D25 ADR Conformance — no ADRs to check
  • D26 Project Cohesion — Project cohesion is assessed over the .NET project set; this target exposed no projects, so project size and spread could not be assessed. Not scored — this is a gap in the analyzer's reach, not a verdict about this repository.
  • D27 Navigability — No calls could be sampled, so navigability was not assessed — tracing effort is measured over resolved call sites and this target exposed none. Not scored — this is a gap in the analyzer's reach, not a verdict about this repository.
  • D30 Dependency Vulnerabilities — Not scored — no dependency manifest in a supported ecosystem was read for this repository. A gap in the analyzer's language coverage, NOT a finding that the repository is free of vulnerable dependencies (package.json — not scanned yet) — where an OSV-supported manifest exists, dependency vulnerabilities for this repository are reported under D38 instead.
  • 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) — No PII/GDPR-handling patterns detected (p/gdpr ruleset) — no data-compliance surface to assess.
  • D36 Supply-chain Provenance & Signing — The CI pipeline builds and tests but publishes no released artifact — no package publish, container push, GitHub release or deployment step. Supply-chain provenance, signing and SBOM attest RELEASED artifacts, so there is nothing to attest here. Add them to the release pipeline when this repo starts shipping artifacts (a published package, a container image, a deployed service or a tagged release).
  • 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 — D39 measures the IL emitted by a .NET build; this repository has no .NET solution or project files, so the dimension does not apply.
  • 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.
  • D5 Coupling — Inter-project coupling could not be assessed — no analyzable project graph was found for this repository. Not scored: a gap in the analyzer's reach, not a verdict about this repository. (Coupling here is Martin afferent/efferent/instability plus reference cycles across a project-reference graph, read today from .NET project files; other ecosystems' module graphs are not read yet.)
  • D6 Cohesion (LCOM4) — Cohesion (LCOM4) is measured over a C#/VB class graph, and this repository's production source is .ex, .exs, which this pass does not read — so no class could be assessed. Not scored — this is a gap in the analyzer, not a finding about this repository.
  • D7 Architectural Integrity — no checkable ADRs, and no project-reference graph for the cycle pass to read — so this dimension makes no claim about dependency cycles in either direction (where this repository's language has an import-cycle lens, cycles are reported there). Architectural integrity not assessed
  • D8 Code Coverage — Coverage not included — suite not readable by the collector
  • D9 Test Distribution — Test source is present (.exs, .ex) but the test-pyramid classifier reads C# only, so its unit/integration/BDD/E2E split couldn't be counted. Not scored — this is a gap in the analyzer, not a finding about this repository.
  • 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 only 1 of the 3 signals this check looks for (1 Elixir aggregate(s) emitting domain events (%Event{} from execute/2))
  • 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 — Reported, not scored — and nothing was matched here. The coverage check applies to any stack, but the checks for excluded tests, skipped tests and sleep-based synchronisation currently recognise only some ecosystems' test-runner idioms, so on a repository built with another stack the zeros below mean 'not checked', not 'clean'.
  • 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.
  • 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 — not assessed — schema-migration practice is read from 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
  • P9 Domain vs controller coverage — no coverage report found on disk — produce a coverage report in a standard format (lcov — `mix test --cover` with `excoveralls` (`mix coveralls.lcov`)) 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.
  • 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)

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.

Issue — 22 finding(s)
D38 · OSV Dependency Vulnerabilities · High CVE · ×15
  • High CVE: [GHSA redacted] mix.lock — bandit 1.10.4: [GHSA redacted] — upgrade to 1.11.1. This is 1 of 7 advisories with a published fix this scan raises against bandit 1.10.4, and their fixed versions do not agree — anything below 1.11.1 still leaves at least one of them open. Take this package to 1.11.1 or later: that is the floor for the package, not this row's target alone. This one row stands for the 7 advisories this scan raises against bandit 1.10.4: EEF-[CVE redacted], EEF-[CVE redacted], EEF-[CVE redacted], [GHSA redacted], [GHSA redacted], [GHSA redacted], [GHSA redacted].
  • High CVE: [GHSA redacted] assets/package-lock.json — brace-expansion 2.0.1: [GHSA redacted] — brace-expansion is not declared in this repo's manifests: it is pulled in transitively, so upgrade the dependency that requires it (or pin brace-expansion to 2.1.2 with an `overrides` entry). This is 1 of 5 advisories with a published fix this scan raises against brace-expansion 2.0.1, and their fixed versions do not agree — anything below 2.1.4 still leaves at least one of them open. Take this package to 2.1.4 or later: that is the floor for the package, not this row's target alone. This one row stands for the 5 advisories this scan raises against brace-expansion 2.0.1: [GHSA redacted], [GHSA redacted], [GHSA redacted], [GHSA redacted], [GHSA redacted].
  • High CVE: [GHSA redacted] mix.lock — cowboy 2.14.2: [GHSA redacted] — upgrade to 2.15.0. This is 1 of 3 advisories with a published fix this scan raises against cowboy 2.14.2, and their fixed versions do not agree — anything below 2.18.0 still leaves at least one of them open. Take this package to 2.18.0 or later: that is the floor for the package, not this row's target alone. This one row stands for the 3 advisories this scan raises against cowboy 2.14.2: EEF-[CVE redacted], [GHSA redacted], [GHSA redacted].
  • High CVE: [GHSA redacted] mix.lock — cowlib 2.16.0: [GHSA redacted] — upgrade to 2.16.1. This is 1 of 4 advisories with a published fix this scan raises against cowlib 2.16.0, and their fixed versions do not agree — anything below 2.19.0 still leaves at least one of them open. Take this package to 2.19.0 or later: that is the floor for the package, not this row's target alone. This one row stands for the 6 advisories this scan raises against cowlib 2.16.0: EEF-[CVE redacted], EEF-[CVE redacted], EEF-[CVE redacted], EEF-[CVE redacted], [GHSA redacted], [GHSA redacted].
  • High CVE: [GHSA redacted] assets/package-lock.json — glob 10.4.5: [GHSA redacted] — glob is not declared in this repo's manifests: it is pulled in transitively, so upgrade the dependency that requires it (or pin glob to 10.5.0 with an `overrides` entry).
  • High CVE: [GHSA redacted] mix.lock — hackney 1.23.0: [GHSA redacted] — upgrade to 4.0.1. This one row stands for the 5 advisories this scan raises against hackney 1.23.0: EEF-[CVE redacted], EEF-[CVE redacted], EEF-[CVE redacted], [GHSA redacted], [GHSA redacted].
  • High CVE: [GHSA redacted] assets/package-lock.json — minimatch 9.0.5: [GHSA redacted] — minimatch is not declared in this repo's manifests: it is pulled in transitively, so upgrade the dependency that requires it (or pin minimatch to 9.0.7 with an `overrides` entry). This is 1 of 3 advisories with a published fix this scan raises against minimatch 9.0.5, and their fixed versions do not agree — anything below 9.0.7 still leaves at least one of them open. Take this package to 9.0.7 or later: that is the floor for the package, not this row's target alone. This one row stands for the 3 advisories this scan raises against minimatch 9.0.5: [GHSA redacted], [GHSA redacted], [GHSA redacted].
  • High CVE: [GHSA redacted] mix.lock — mint 1.7.1: [GHSA redacted] — upgrade to 1.9.0. This is 1 of 8 advisories with a published fix this scan raises against mint 1.7.1, and their fixed versions do not agree — anything below 1.9.3 still leaves at least one of them open. Take this package to 1.9.3 or later: that is the floor for the package, not this row's target alone. This one row stands for the 8 advisories this scan raises against mint 1.7.1: EEF-[CVE redacted], EEF-[CVE redacted], EEF-[CVE redacted], EEF-[CVE redacted], EEF-[CVE redacted], EEF-[CVE redacted], [GHSA redacted], [GHSA redacted].
  • High CVE: [GHSA redacted] mix.lock — phoenix 1.8.5: [GHSA redacted] — upgrade to 1.8.6. This is 1 of 3 advisories with a published fix this scan raises against phoenix 1.8.5, and their fixed versions do not agree — anything below 1.8.9 still leaves at least one of them open. Take this package to 1.8.9 or later: that is the floor for the package, not this row's target alone. This one row stands for the 3 advisories this scan raises against phoenix 1.8.5: EEF-[CVE redacted], EEF-[CVE redacted], [GHSA redacted].
  • High CVE: [GHSA redacted] assets/package-lock.json — picomatch 2.3.1: [GHSA redacted] — picomatch is not declared in this repo's manifests: it is pulled in transitively, so upgrade the dependency that requires it (or pin picomatch to 2.3.2 with an `overrides` entry). This one row stands for the 2 advisories this scan raises against picomatch 2.3.1: [GHSA redacted], [GHSA redacted].
  • High CVE: [GHSA redacted] mix.lock — plug 1.19.1: [GHSA redacted] — upgrade to 1.19.2. This is 1 of 4 advisories with a published fix this scan raises against plug 1.19.1, and their fixed versions do not agree — anything below 1.19.5 still leaves at least one of them open. Take this package to 1.19.5 or later: that is the floor for the package, not this row's target alone. This one row stands for the 4 advisories this scan raises against plug 1.19.1: EEF-[CVE redacted], EEF-[CVE redacted], EEF-[CVE redacted], [GHSA redacted].
  • High CVE: [GHSA redacted] mix.lock — plug_cowboy 2.8.0: [GHSA redacted] — upgrade to 2.8.1
  • High CVE: [GHSA redacted] assets/package-lock.json — postcss 8.5.1: [GHSA redacted] — postcss is not declared in this repo's manifests: it is pulled in transitively, so upgrade the dependency that requires it (or pin postcss to 8.5.12 with an `overrides` entry). This is 1 of 4 advisories with a published fix this scan raises against postcss 8.5.1, and their fixed versions do not agree — anything below 8.5.23 still leaves at least one of them open. Take this package to 8.5.23 or later: that is the floor for the package, not this row's target alone. This one row stands for the 4 advisories this scan raises against postcss 8.5.1: [GHSA redacted], [GHSA redacted], [GHSA redacted], [GHSA redacted].
  • High CVE: [GHSA redacted] mix.lock — postgrex 0.20.0: [GHSA redacted] — upgrade to 0.22.2. This is 1 of 2 advisories with a published fix this scan raises against postgrex 0.20.0, and their fixed versions do not agree — anything below 0.22.3 still leaves at least one of them open. Take this package to 0.22.3 or later: that is the floor for the package, not this row's target alone. This one row stands for the 2 advisories this scan raises against postgrex 0.20.0: EEF-[CVE redacted], [GHSA redacted].
  • High CVE: [GHSA redacted] mix.lock — req 0.5.10: [GHSA redacted] — upgrade to 0.6.1. This is 1 of 2 advisories with a published fix this scan raises against req 0.5.10, and their fixed versions do not agree — anything below 0.6.1 still leaves at least one of them open. Take this package to 0.6.1 or later: that is the floor for the package, not this row's target alone. This one row stands for the 2 advisories this scan raises against req 0.5.10: EEF-[CVE redacted], [GHSA redacted].
D29 · Static Analysis (SAST) · High · ×4
  • High: dependabot-missing-cooldown .github/dependabot.yml:3 — This Dependabot configuration does not set a cooldown period. Newly published packages can be malicious or unstable. Add a `cooldown` block with `default-days: 7` to each `package-ecosystem` entry under `updates` to wait 7 days before proposing updates to newly published package versions. Reference: https://docs.github.com/en/code-security/dependabot/dependabot-version-updates/configuration-options-for-the-dependabot.yml-file#cooldown. This is a semgrep security-AUDIT rule reporting a POLICY that is absent or weaker than its recommendation, not an exploitable defect. Confirm whether the current setting is a deliberate decision for this repository — and apply the change where it is not; where it is (a policy your release process already enforces elsewhere, or one this repository has consciously opted out of), record the decision and leave the configuration as it is. This configuration file has 2 such entries; one cooldown decision clears them all — reported once.
  • High: github-actions-mutable-action-tag .github/workflows/quality.yml:34 — GitHub Actions step uses a mutable tag or branch reference. Tags and branch names can be silently repointed by the action owner, enabling supply-chain attacks — as seen in the trivy-action and kics-github-action compromises. Pin the reference to a full 40-character commit SHA instead, e.g. `uses: actions/checkout@<40-character SHA>`. This step references `actions/checkout@v4`; resolve the SHA it points at today with `gh api repos/actions/checkout/commits/v4 --jq .sha`.
  • High: github-actions-mutable-action-tag .github/workflows/quality.yml:37 — GitHub Actions step uses a mutable tag or branch reference. Tags and branch names can be silently repointed by the action owner, enabling supply-chain attacks — as seen in the trivy-action and kics-github-action compromises. Pin the reference to a full 40-character commit SHA instead, e.g. `uses: erlef/setup-beam@<40-character SHA>`. This step references `erlef/setup-beam@v1`; resolve the SHA it points at today with `gh api repos/erlef/setup-beam/commits/v1 --jq .sha`.
  • High: github-actions-mutable-action-tag .github/workflows/quality.yml:43 — GitHub Actions step uses a mutable tag or branch reference. Tags and branch names can be silently repointed by the action owner, enabling supply-chain attacks — as seen in the trivy-action and kics-github-action compromises. Pin the reference to a full 40-character commit SHA instead, e.g. `uses: actions/cache@<40-character SHA>`. This step references `actions/cache@v4`; resolve the SHA it points at today with `gh api repos/actions/cache/commits/v4 --jq .sha`.
D34 · Knowledge Freshness · Orphaned knowledge · ×2
  • Orphaned knowledge lib/heroicons.ex — No living knowledge remains for this large file — its last meaningful change has decayed away; if it breaks, no one currently understands it. Schedule a read-through / add characterisation tests before it bites.
  • Orphaned knowledge lib/beacon/web/components/core_components.ex — No living knowledge remains for this large file — its last meaningful change has decayed away; if it breaks, no one currently understands it. Schedule a read-through / add characterisation tests before it bites.
D13 · Secret Scanning · Leaked secret · ×1
  • Leaked secret: high-entropy-secret config/test.exs:32 — high-entropy-secret detected. Treat the value as compromised: it is readable by everyone who has ever had the repository, and deleting the line does not un-publish it. In order — (1) REVOKE it at whatever issued it and issue a replacement, which is the only step that actually closes the exposure; (2) load the replacement at run time from your platform's secret store or the process environment instead of from the tree, so no future value is committable; (3) remove the file or line and add its path to the repository's ignore rules, so it cannot come back; (4) if the value was ever live, purge it from the history as well, since a clone taken before the deletion still carries it. If this is instead a FIXTURE — key material generated for tests and valid nowhere — then the exposure is nil and the fix is to make that legible: generate it in test setup, or keep it under a test-data path, so a reader (and this scan) can tell it from the real thing.
Warning — 69 finding(s)
D35 · Change Coupling · Change coupling · ×8
  • Change coupling: runtime_css.ex ↔ runtime_js.ex lib/beacon/runtime_css.ex — `lib/beacon/runtime_css.ex` and `lib/beacon/runtime_js.ex` change together 92% of the time (11 of the 12 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well) with no explicit dependency between them. They sit in the same directory, but in this ecosystem each file is its own module — a sibling reference still needs an import — so the missing import edge is real: the coupling runs through shared behaviour, not a declared dependency. If they duplicate structure, extract the common part into one unit; otherwise the coupling is hidden and worth breaking.
  • Change coupling: beacon_web.ex ↔ mix.exs lib/beacon_web.ex — `lib/beacon_web.ex` and `mix.exs` change together 85% of the time (11 of the 13 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well) with no explicit dependency — the edge is real but nothing declares it. Read the pair before acting: if one registers itself into the other through a hook or an initialiser, the missing dependency is DELIBERATE — the registration is the link, and it is meant not to be an import — and the thing to add is a comment on each side naming the other, not a merge; if they simply belong together, co-locate them; if neither holds, the coupling is hidden and worth breaking.
  • Change coupling: content.ex ↔ migration.ex lib/beacon/content.ex — `lib/beacon/content.ex` and `lib/beacon/migration.ex` change together 67% of the time (8 of the 12 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well) with no explicit dependency between them. They sit in the same directory, but in this ecosystem each file is its own module — a sibling reference still needs an import — so the missing import edge is real: the coupling runs through shared behaviour, not a declared dependency. If they duplicate structure, extract the common part into one unit; otherwise the coupling is hidden and worth breaking.
  • Change coupling: template.ex ↔ page_live.ex lib/beacon/template.ex — `lib/beacon/template.ex` and `lib/beacon/web/live/page_live.ex` change together 64% of the time (7 of the 11 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well) with no explicit dependency — the edge is real but nothing declares it. Read the pair before acting: if one registers itself into the other through a hook or an initialiser, the missing dependency is DELIBERATE — the registration is the link, and it is meant not to be an import — and the thing to add is a comment on each side naming the other, not a merge; if they simply belong together, co-locate them; if neither holds, the coupling is hidden and worth breaking.
  • Change coupling: router_server.ex ↔ page_live.ex lib/beacon/router_server.ex — `lib/beacon/router_server.ex` and `lib/beacon/web/live/page_live.ex` change together 62% of the time (8 of the 13 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well) with no explicit dependency — the edge is real but nothing declares it. Read the pair before acting: if one registers itself into the other through a hook or an initialiser, the missing dependency is DELIBERATE — the registration is the link, and it is meant not to be an import — and the thing to add is a comment on each side naming the other, not a merge; if they simply belong together, co-locate them; if neither holds, the coupling is hidden and worth breaking.
  • Change coupling: config.exs ↔ mix.exs config/config.exs — `config/config.exs` and `mix.exs` change together 50% of the time (12 of the 24 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well) with no explicit dependency — the edge is real but nothing declares it. Read the pair before acting: if one registers itself into the other through a hook or an initialiser, the missing dependency is DELIBERATE — the registration is the link, and it is meant not to be an import — and the thing to add is a comment on each side naming the other, not a merge; if they simply belong together, co-locate them; if neither holds, the coupling is hidden and worth breaking.
  • Change coupling: layouts.ex ↔ assets_controller.ex lib/beacon/web/components/layouts.ex — `lib/beacon/web/components/layouts.ex` and `lib/beacon/web/controllers/assets_controller.ex` change together 50% of the time (6 of the 12 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well) with no explicit dependency — the edge is real but nothing declares it. Read the pair before acting: if one registers itself into the other through a hook or an initialiser, the missing dependency is DELIBERATE — the registration is the link, and it is meant not to be an import — and the thing to add is a comment on each side naming the other, not a merge; if they simply belong together, co-locate them; if neither holds, the coupling is hidden and worth breaking.
  • Change coupling: core_components.ex ↔ mix.exs lib/beacon/web/components/core_components.ex — `lib/beacon/web/components/core_components.ex` and `mix.exs` change together 50% of the time (6 of the 12 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well) with no explicit dependency — the edge is real but nothing declares it. Read the pair before acting: if one registers itself into the other through a hook or an initialiser, the missing dependency is DELIBERATE — the registration is the link, and it is meant not to be an import — and the thing to add is a comment on each side naming the other, not a merge; if they simply belong together, co-locate them; if neither holds, the coupling is hidden and worth breaking.
D4 · Code Duplication · Duplicated block (9 lines × 2) · ×8
  • Duplicated block (9 lines × 2) lib/beacon/content/component_attr.ex:43 — lib/beacon/content/component_attr.ex:43-51 | lib/beacon/content/component_slot_attr.ex:45-53 — the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, so a change lands once.
  • Duplicated block (9 lines × 2) lib/beacon/content/page_field.ex:95 — lib/beacon/content/page_field.ex:95-103 | lib/beacon/media_library/asset_field.ex:117-125 — 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 (9 lines × 2) lib/beacon/content/page_field.ex:111 — lib/beacon/content/page_field.ex:111-119 | lib/beacon/media_library/asset_field.ex:139-147 — 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 (9 lines × 2) lib/beacon/content/page_field.ex:141 — lib/beacon/content/page_field.ex:141-149 | lib/beacon/media_library/asset_field.ex:170-178 — 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 (9 lines × 2) lib/beacon/content.ex:1769 — lib/beacon/content.ex:1769-1777 | lib/beacon/content.ex:2035-2043 — 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 (9 lines × 2) lib/beacon/content.ex:2049 — lib/beacon/content.ex:2049-2057 | lib/beacon/content.ex:2061-2069 — 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 (9 lines × 2) lib/beacon/runtime_renderer.ex:477 — lib/beacon/runtime_renderer.ex:477-485 | lib/beacon/runtime_renderer.ex:2161-2169 — 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 (9 lines × 2) lib/beacon/runtime_renderer.ex:688 — lib/beacon/runtime_renderer.ex:688-696 | lib/beacon/runtime_renderer.ex:742-750 — 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.
D3 · God Classes · FileTooLong · ×6
  • FileTooLong: lib/heroicons.ex lib/heroicons.ex:0 — FileTooLong — 10971 significant lines (blank, comment-only and punctuation-only lines excluded). To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them.
  • FileTooLong: beacon/content.ex lib/beacon/content.ex:0 — FileTooLong — 4352 significant lines (blank, comment-only and punctuation-only lines excluded). To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them.
  • FileTooLong: beacon/runtime_renderer.ex lib/beacon/runtime_renderer.ex:0 — FileTooLong — 2522 significant lines (blank, comment-only and punctuation-only lines excluded). To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them.
  • FileTooLong: dev.exs dev.exs:0 — FileTooLong — 1106 significant lines (blank, comment-only and punctuation-only lines excluded). To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them.
  • FileTooLong: beacon/config.ex lib/beacon/config.ex:0 — FileTooLong — 690 significant lines (blank, comment-only and punctuation-only lines excluded). To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them.
  • FileTooLong: components/core_components.ex lib/beacon/web/components/core_components.ex:0 — FileTooLong — 522 significant lines (blank, comment-only and punctuation-only lines excluded). To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them.
D3 · God Classes · TooManyMethods · ×6
  • TooManyMethods: Heroicons lib/heroicons.ex:4 — TooManyMethods — 329 methods. 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: Content lib/beacon/content.ex:1 — TooManyMethods — 228 methods. 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: RuntimeRenderer lib/beacon/runtime_renderer.ex:1 — TooManyMethods — 118 methods. 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: SourceParser lib/beacon/template/source_parser.ex:1 — TooManyMethods — 52 methods. 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: PubSub lib/beacon/pub_sub.ex:1 — TooManyMethods — 32 methods. 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: MediaLibrary lib/beacon/media_library.ex:1 — TooManyMethods — 31 methods. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility.
D4 · Code Duplication · Duplicated block (6 lines × 2) · ×5
  • Duplicated block (6 lines × 2) lib/beacon/content.ex:362 — lib/beacon/content.ex:362-367 | lib/beacon/content.ex:990-995 — 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 (6 lines × 2) lib/beacon/content.ex:573 — lib/beacon/content.ex:573-578 | lib/beacon/content.ex:5105-5111 — 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 (6 lines × 2) lib/beacon/content.ex:4477 — lib/beacon/content.ex:4477-4482 | lib/beacon/content.ex:4552-4557 — 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 (6 lines × 2) lib/beacon/media_library/processors/image.ex:48 — lib/beacon/media_library/processors/image.ex:48-53 | lib/beacon/media_library/processors/image.ex:86-91 — 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 (6 lines × 2) lib/beacon/runtime_renderer/loader.ex:123 — lib/beacon/runtime_renderer/loader.ex:123-128 | lib/beacon/runtime_renderer.ex:94-99 — 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.
D38 · OSV Dependency Vulnerabilities · Medium CVE · ×4
  • Medium CVE: EEF-[CVE redacted] mix.lock — decimal 2.3.0: EEF-[CVE redacted] — upgrade to 3.0.0
  • Medium CVE: EEF-[CVE redacted] mix.lock — hpax 1.0.3: EEF-[CVE redacted] — upgrade to 1.0.4
  • Medium CVE: EEF-[CVE redacted] mix.lock — mdex 0.5.0: EEF-[CVE redacted] — upgrade to 0.13.2. This is 1 of 2 advisories with a published fix this scan raises against mdex 0.5.0, and their fixed versions do not agree — anything below 0.13.2 still leaves at least one of them open. Take this package to 0.13.2 or later: that is the floor for the package, not this row's target alone. This one row stands for the 2 advisories this scan raises against mdex 0.5.0: EEF-[CVE redacted], EEF-[CVE redacted].
  • Medium CVE: [GHSA redacted] assets/package-lock.json — yaml 2.7.0: [GHSA redacted] — yaml is not declared in this repo's manifests: it is pulled in transitively, so upgrade the dependency that requires it (or pin yaml to 2.8.3 with an `overrides` entry).
D4 · Code Duplication · Duplicated block (11 lines × 2) · ×3
  • Duplicated block (11 lines × 2) lib/beacon/cache.ex:39 — lib/beacon/cache.ex:39-51 | lib/beacon/cache.ex:131-141 — 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 (11 lines × 2) lib/beacon/migrations/v013.ex:116 — lib/beacon/migrations/v013.ex:116-127 | lib/beacon/migrations/v013.ex:159-169 — 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 (11 lines × 2) lib/beacon/seo/index_now.ex:110 — lib/beacon/seo/index_now.ex:110-120 | lib/beacon/seo/index_now.ex:135-145 — 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.
D4 · Code Duplication · Duplicated block (10 lines × 2) · ×3
  • Duplicated block (10 lines × 2) lib/beacon/proxy_endpoint.ex:132 — lib/beacon/proxy_endpoint.ex:132-141 | lib/beacon/proxy_endpoint.ex:162-171 — 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 lines × 2) lib/beacon/runtime_renderer.ex:396 — lib/beacon/runtime_renderer.ex:396-405 | lib/beacon/runtime_renderer.ex:431-440 — 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 lines × 2) lib/beacon/runtime_renderer.ex:1208 — lib/beacon/runtime_renderer.ex:1208-1217 | lib/beacon/runtime_renderer.ex:1229-1238 — 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.
D4 · Code Duplication · Duplicated block (14 lines × 2) · ×2
  • Duplicated block (14 lines × 2) lib/beacon/runtime_renderer/loader.ex:68 — lib/beacon/runtime_renderer/loader.ex:68-81 | lib/beacon/runtime_renderer/loader.ex:170-183 — both copies are in the same file, so extract the block into one function there and call it from each site — the copies drift apart the first time only one of them is edited.
  • Duplicated block (14 lines × 2) lib/beacon/runtime_renderer.ex:2098 — lib/beacon/runtime_renderer.ex:2098-2111 | lib/beacon/runtime_renderer.ex:2309-2322 — 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.
D1 · Cyclomatic Complexity · Layouts.do_build_seo_meta_tags (cyclomatic 22) · ×1
  • Layouts.do_build_seo_meta_tags (cyclomatic 22) lib/beacon/web/components/layouts.ex:180 — Layouts.do_build_seo_meta_tags has cyclomatic complexity 22 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages.
D1 · Cyclomatic Complexity · Metrics.compute (cyclomatic 21) · ×1
  • Metrics.compute (cyclomatic 21) lib/beacon/seo/metrics.ex:14 — Metrics.compute has cyclomatic complexity 21 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators.
D2 · Cognitive Complexity · Layouts.do_build_seo_meta_tags (cognitive 34) · ×1
  • Layouts.do_build_seo_meta_tags (cognitive 34) lib/beacon/web/components/layouts.ex:180 — Layouts.do_build_seo_meta_tags has cognitive complexity 34 (threshold 15). Drivers by points: if/else 22, boolean chains 9, match/switch 3 (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth — many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages.
D2 · Cognitive Complexity · RuntimeCSS.safelist_recompiled? (cognitive 22) · ×1
  • RuntimeCSS.safelist_recompiled? (cognitive 22) lib/beacon/runtime_css.ex:151 — RuntimeCSS.safelist_recompiled? has cognitive complexity 22 (threshold 15). Drivers by points: if/else 17, match/switch 5 (nesting depth added 8). 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.
D2 · Cognitive Complexity · Metrics.compute (cognitive 22) · ×1
  • Metrics.compute (cognitive 22) lib/beacon/seo/metrics.ex:14 — Metrics.compute has cognitive complexity 22 (threshold 15). Drivers by points: boolean chains 18, if/else 4. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators.
D2 · Cognitive Complexity · ThemeParser.parse_value (cognitive 19) · ×1
  • ThemeParser.parse_value (cognitive 19) lib/beacon/css/theme_parser.ex:171 — ThemeParser.parse_value has cognitive complexity 19 (threshold 15). Drivers by points: match/switch 11, if/else 8 (nesting depth added 6). 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.
D2 · Cognitive Complexity · RuntimeCSS.nif_recompiled? (cognitive 16) · ×1
  • RuntimeCSS.nif_recompiled? (cognitive 16) lib/beacon/runtime_css.ex:185 — RuntimeCSS.nif_recompiled? has cognitive complexity 16 (threshold 15). Drivers by points: if/else 11, match/switch 5 (nesting depth added 6). 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 · Duplicated block (23 lines × 2) · ×1
  • Duplicated block (23 lines × 2) lib/beacon/content.ex:1860 — lib/beacon/content.ex:1860-1891 | lib/beacon/content.ex:2020-2042 — 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.
D4 · Code Duplication · Duplicated block (17 lines × 3) · ×1
  • Duplicated block (17 lines × 3) lib/beacon/content.ex:1837 — lib/beacon/content.ex:1837-1853 | lib/beacon/content.ex:1861-1891 | lib/beacon/content.ex:2021-2042 — all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites — resolving only two of them leaves the rest to drift apart the first time one is edited.
D4 · Code Duplication · Duplicated block (17 lines × 2) · ×1
  • Duplicated block (17 lines × 2) lib/beacon/runtime_renderer.ex:2556 — lib/beacon/runtime_renderer.ex:2556-2572 | lib/beacon/runtime_renderer.ex:2710-2726 — 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.
D4 · Code Duplication · Duplicated block (12 lines × 2) · ×1
  • Duplicated block (12 lines × 2) lib/beacon/runtime_renderer.ex:1864 — lib/beacon/runtime_renderer.ex:1864-1875 | lib/beacon/runtime_renderer.ex:1899-1910 — 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.
D4 · Code Duplication · Duplicated block (9 lines × 35) · ×1
  • Duplicated block (9 lines × 35) lib/heroicons.ex:740 — lib/heroicons.ex:740-748 | lib/heroicons.ex:2976-2984 | lib/heroicons.ex:3111-3119 | lib/heroicons.ex:3246-3254 | lib/heroicons.ex:3425-3433 | lib/heroicons.ex:3738-3746 | lib/heroicons.ex:3828-3836 | lib/heroicons.ex:4278-4286 | lib/heroicons.ex:4368-4376 | lib/heroicons.ex:4547-4555 | lib/heroicons.ex:4680-4688 | lib/heroicons.ex:4725-4733 | lib/heroicons.ex:5352-5360 | lib/heroicons.ex:5975-5983 | lib/heroicons.ex:6781-6789 | lib/heroicons.ex:7139-7147 | lib/heroicons.ex:7675-7683 | lib/heroicons.ex:7899-7907 | lib/heroicons.ex:7944-7952 | lib/heroicons.ex:8034-8042 | lib/heroicons.ex:8795-8803 | lib/heroicons.ex:9779-9787 | lib/heroicons.ex:9869-9877 | lib/heroicons.ex:10542-10550 | lib/heroicons.ex:10587-10595 | lib/heroicons.ex:11485-11493 | lib/heroicons.ex:11530-11538 | lib/heroicons.ex:12158-12166 | lib/heroicons.ex:12248-12256 | lib/heroicons.ex:12606-12614 | lib/heroicons.ex:13055-13063 | lib/heroicons.ex:13414-13422 | lib/heroicons.ex:13594-13602 | lib/heroicons.ex:13639-13647 | lib/heroicons.ex:13909-13917 — all 35 copies are in the same file, so extract the block into one function there and call it from every one of those sites — resolving only two of them leaves the rest to drift apart the first time one is edited.
D4 · Code Duplication · Duplicated block (9 lines × 12) · ×1
  • Duplicated block (9 lines × 12) lib/heroicons.ex:3963 — lib/heroicons.ex:3963-3971 | lib/heroicons.ex:4994-5002 | lib/heroicons.ex:6109-6117 | lib/heroicons.ex:6244-6252 | lib/heroicons.ex:7451-7459 | lib/heroicons.ex:9824-9832 | lib/heroicons.ex:10452-10460 | lib/heroicons.ex:11934-11942 | lib/heroicons.ex:12516-12524 | lib/heroicons.ex:12786-12794 | lib/heroicons.ex:13504-13512 | lib/heroicons.ex:13819-13827 — all 12 copies are in the same file, so extract the block into one function there and call it from every one of those sites — resolving only two of them leaves the rest to drift apart the first time one is edited.
D4 · Code Duplication · Duplicated block (9 lines × 5) · ×1
  • Duplicated block (9 lines × 5) lib/heroicons.ex:1902 — lib/heroicons.ex:1902-1910 | lib/heroicons.ex:5841-5849 | lib/heroicons.ex:10183-10191 | lib/heroicons.ex:10990-10998 | lib/heroicons.ex:12069-12077 — all 5 copies are in the same file, so extract the block into one function there and call it from every one of those sites — resolving only two of them leaves the rest to drift apart the first time one is edited.
D4 · Code Duplication · Duplicated block (8 lines × 2) · ×1
  • Duplicated block (8 lines × 2) lib/beacon/runtime_renderer.ex:2343 — lib/beacon/runtime_renderer.ex:2343-2350 | lib/beacon/runtime_renderer.ex:2393-2400 — 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.
D4 · Code Duplication · Duplicated block (7 lines × 25) · ×1
  • Duplicated block (7 lines × 25) lib/heroicons.ex:383 — lib/heroicons.ex:383-389 | lib/heroicons.ex:875-881 | lib/heroicons.ex:2350-2356 | lib/heroicons.ex:3066-3072 | lib/heroicons.ex:3156-3162 | lib/heroicons.ex:3201-3207 | lib/heroicons.ex:3335-3341 | lib/heroicons.ex:3648-3654 | lib/heroicons.ex:3873-3879 | lib/heroicons.ex:4233-4239 | lib/heroicons.ex:5039-5045 | lib/heroicons.ex:5129-5135 | lib/heroicons.ex:5262-5268 | lib/heroicons.ex:5307-5313 | lib/heroicons.ex:7765-7771 | lib/heroicons.ex:7810-7816 | lib/heroicons.ex:9959-9965 | lib/heroicons.ex:10138-10144 | lib/heroicons.ex:10722-10728 | lib/heroicons.ex:10767-10773 | lib/heroicons.ex:11709-11715 | lib/heroicons.ex:12203-12209 | lib/heroicons.ex:12471-12477 | lib/heroicons.ex:13459-13465 | lib/heroicons.ex:14089-14095 — all 25 copies are in the same file, so extract the block into one function there and call it from every one of those sites — resolving only two of them leaves the rest to drift apart the first time one is edited.
D4 · Code Duplication · Duplicated block (7 lines × 18) · ×1
  • Duplicated block (7 lines × 18) lib/heroicons.ex:114 — lib/heroicons.ex:114-120 | lib/heroicons.ex:830-836 | lib/heroicons.ex:1054-1060 | lib/heroicons.ex:1366-1372 | lib/heroicons.ex:2170-2176 | lib/heroicons.ex:2484-2490 | lib/heroicons.ex:2752-2758 | lib/heroicons.ex:5706-5712 | lib/heroicons.ex:5886-5892 | lib/heroicons.ex:7540-7546 | lib/heroicons.ex:7585-7591 | lib/heroicons.ex:8348-8354 | lib/heroicons.ex:8840-8846 | lib/heroicons.ex:11080-11086 | lib/heroicons.ex:12965-12971 | lib/heroicons.ex:13010-13016 | lib/heroicons.ex:13369-13375 | lib/heroicons.ex:14044-14050 — all 18 copies are in the same file, so extract the block into one function there and call it from every one of those sites — resolving only two of them leaves the rest to drift apart the first time one is edited.
D4 · Code Duplication · Duplicated block (7 lines × 11) · ×1
  • Duplicated block (7 lines × 11) lib/heroicons.ex:1231 — lib/heroicons.ex:1231-1237 | lib/heroicons.ex:1947-1953 | lib/heroicons.ex:3603-3609 | lib/heroicons.ex:6199-6205 | lib/heroicons.ex:6466-6472 | lib/heroicons.ex:7630-7636 | lib/heroicons.ex:8303-8309 | lib/heroicons.ex:8615-8621 | lib/heroicons.ex:9734-9740 | lib/heroicons.ex:10497-10503 | lib/heroicons.ex:12831-12837 — all 11 copies are in the same file, so extract the block into one function there and call it from every one of those sites — resolving only two of them leaves the rest to drift apart the first time one is edited.
D4 · Code Duplication · Duplicated block (7 lines × 5) · ×1
  • Duplicated block (7 lines × 5) lib/heroicons.ex:4904 — lib/heroicons.ex:4904-4910 | lib/heroicons.ex:5661-5667 | lib/heroicons.ex:9153-9159 | lib/heroicons.ex:10900-10906 | lib/heroicons.ex:11260-11266 — all 5 copies are in the same file, so extract the block into one function there and call it from every one of those sites — resolving only two of them leaves the rest to drift apart the first time one is edited.
D4 · Code Duplication · Duplicated block (7 lines × 2) · ×1
  • Duplicated block (7 lines × 2) lib/heroicons.ex:5751 — lib/heroicons.ex:5751-5757 | lib/heroicons.ex:7184-7190 — 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.
D4 · Code Duplication · Duplicated block (6 lines × 202) · ×1
  • Duplicated block (6 lines × 202) lib/heroicons.ex:159 — lib/heroicons.ex:159-166 | lib/heroicons.ex:204-210 | lib/heroicons.ex:248-255 | lib/heroicons.ex:293-300 | lib/heroicons.ex:338-345 | lib/heroicons.ex:428-435 | lib/heroicons.ex:473-480 | lib/heroicons.ex:563-569 | lib/heroicons.ex:607-613 | lib/heroicons.ex:651-657 | lib/heroicons.ex:785-792 | lib/heroicons.ex:920-927 | lib/heroicons.ex:965-972 | lib/heroicons.ex:1010-1016 | lib/heroicons.ex:1099-1105 | lib/heroicons.ex:1143-1149 | lib/heroicons.ex:1187-1193 | lib/heroicons.ex:1276-1283 | lib/heroicons.ex:1321-1328 | lib/heroicons.ex:1411-1417 | lib/heroicons.ex:1455-1461 | lib/heroicons.ex:1499-1505 | lib/heroicons.ex:1543-1549 | lib/heroicons.ex:1587-1594 | lib/heroicons.ex:1632-1639 | lib/heroicons.ex:1677-1684 | lib/heroicons.ex:1722-1729 | lib/heroicons.ex:1767-1774 | lib/heroicons.ex:1812-1819 | lib/heroicons.ex:1857-1864 | lib/heroicons.ex:1992-1999 | lib/heroicons.ex:2037-2043 | lib/heroicons.ex:2081-2088 | lib/heroicons.ex:2126-2132 | lib/heroicons.ex:2215-2222 | lib/heroicons.ex:2260-2267 | lib/heroicons.ex:2305-2312 | lib/heroicons.ex:2395-2401 | lib/heroicons.ex:2439-2446 | lib/heroicons.ex:2529-2536 | lib/heroicons.ex:2574-2581 | lib/heroicons.ex:2619-2625 | lib/heroicons.ex:2662-2669 | lib/heroicons.ex:2707-2714 | lib/heroicons.ex:2797-2803 | lib/heroicons.ex:2841-2848 | lib/heroicons.ex:2886-2893 | lib/heroicons.ex:2931-2938 | lib/heroicons.ex:3021-3028 | lib/heroicons.ex:3291-3297 | lib/heroicons.ex:3380-3387 | lib/heroicons.ex:3470-3477 | lib/heroicons.ex:3513-3520 | lib/heroicons.ex:3558-3565 | lib/heroicons.ex:3693-3700 | lib/heroicons.ex:3783-3790 | lib/heroicons.ex:3918-3925 | lib/heroicons.ex:4008-4015 | lib/heroicons.ex:4053-4060 | lib/heroicons.ex:4098-4105 | lib/heroicons.ex:4143-4150 | lib/heroicons.ex:4188-4195 | lib/heroicons.ex:4323-4330 | lib/heroicons.ex:4413-4419 | lib/heroicons.ex:4457-4464 | lib/heroicons.ex:4502-4509 | lib/heroicons.ex:4592-4598 | lib/heroicons.ex:4635-4642 | lib/heroicons.ex:4770-4776 | lib/heroicons.ex:4814-4821 | lib/heroicons.ex:4859-4866 | lib/heroicons.ex:4949-4956 | lib/heroicons.ex:5084-5091 | lib/heroicons.ex:5174-5180 | lib/heroicons.ex:5218-5224 | lib/heroicons.ex:5397-5404 | lib/heroicons.ex:5442-5449 | lib/heroicons.ex:5487-5492 | lib/heroicons.ex:5528-5534 | lib/heroicons.ex:5572-5579 | lib/heroicons.ex:5617-5623 | lib/heroicons.ex:5796-5803 | lib/heroicons.ex:5931-5937 | lib/heroicons.ex:6020-6027 | lib/heroicons.ex:6154-6161 | lib/heroicons.ex:6289-6295 | lib/heroicons.ex:6333-6340 | lib/heroicons.ex:6422-6428 | lib/heroicons.ex:6511-6518 | lib/heroicons.ex:6556-6563 | lib/heroicons.ex:6601-6608 | lib/heroicons.ex:6646-6653 | lib/heroicons.ex:6691-6698 | lib/heroicons.ex:6736-6743 | lib/heroicons.ex:6826-6833 | lib/heroicons.ex:6871-6878 | lib/heroicons.ex:6916-6922 | lib/heroicons.ex:6960-6967 | lib/heroicons.ex:7005-7012 | lib/heroicons.ex:7050-7056 | lib/heroicons.ex:7094-7101 | lib/heroicons.ex:7229-7235 | lib/heroicons.ex:7273-7279 | lib/heroicons.ex:7317-7324 | lib/heroicons.ex:7362-7369 | lib/heroicons.ex:7407-7413 | lib/heroicons.ex:7496-7502 | lib/heroicons.ex:7720-7727 | lib/heroicons.ex:7855-7861 | lib/heroicons.ex:7989-7996 | lib/heroicons.ex:8079-8085 | lib/heroicons.ex:8123-8130 | lib/heroicons.ex:8168-8175 | lib/heroicons.ex:8213-8220 | lib/heroicons.ex:8258-8265 | lib/heroicons.ex:8393-8399 | lib/heroicons.ex:8437-8444 | lib/heroicons.ex:8482-8488 | lib/heroicons.ex:8570-8577 | lib/heroicons.ex:8660-8667 | lib/heroicons.ex:8705-8712 | lib/heroicons.ex:8750-8757 | lib/heroicons.ex:8885-8892 | lib/heroicons.ex:8930-8937 | lib/heroicons.ex:8975-8981 | lib/heroicons.ex:9019-9026 | lib/heroicons.ex:9064-9071 | lib/heroicons.ex:9109-9115 | lib/heroicons.ex:9198-9205 | lib/heroicons.ex:9243-9250 | lib/heroicons.ex:9288-9294 | lib/heroicons.ex:9332-9338 | lib/heroicons.ex:9376-9382 | lib/heroicons.ex:9420-9427 | lib/heroicons.ex:9465-9471 | lib/heroicons.ex:9509-9516 | lib/heroicons.ex:9554-9561 | lib/heroicons.ex:9599-9606 | lib/heroicons.ex:9644-9651 | lib/heroicons.ex:9689-9696 | lib/heroicons.ex:9914-9921 | lib/heroicons.ex:10004-10011 | lib/heroicons.ex:10049-10055 | lib/heroicons.ex:10093-10100 | lib/heroicons.ex:10228-10235 | lib/heroicons.ex:10318-10324 | lib/heroicons.ex:10362-10369 | lib/heroicons.ex:10407-10414 | lib/heroicons.ex:10632-10639 | lib/heroicons.ex:10677-10684 | lib/heroicons.ex:10812-10818 | lib/heroicons.ex:10856-10862 | lib/heroicons.ex:10945-10952 | lib/heroicons.ex:11035-11042 | lib/heroicons.ex:11125-11132 | lib/heroicons.ex:11170-11177 | lib/heroicons.ex:11215-11222 | lib/heroicons.ex:11305-11312 | lib/heroicons.ex:11350-11357 | lib/heroicons.ex:11395-11402 | lib/heroicons.ex:11575-11582 | lib/heroicons.ex:11620-11626 | lib/heroicons.ex:11754-11761 | lib/heroicons.ex:11799-11806 | lib/heroicons.ex:11844-11851 | lib/heroicons.ex:11889-11896 | lib/heroicons.ex:11979-11986 | lib/heroicons.ex:12024-12031 | lib/heroicons.ex:12114-12120 | lib/heroicons.ex:12293-12299 | lib/heroicons.ex:12337-12344 | lib/heroicons.ex:12382-12389 | lib/heroicons.ex:12427-12433 | lib/heroicons.ex:12561-12568 | lib/heroicons.ex:12651-12658 | lib/heroicons.ex:12696-12703 | lib/heroicons.ex:12741-12748 | lib/heroicons.ex:12876-12883 | lib/heroicons.ex:12921-12927 | lib/heroicons.ex:13100-13106 | lib/heroicons.ex:13144-13151 | lib/heroicons.ex:13189-13196 | lib/heroicons.ex:13234-13241 | lib/heroicons.ex:13279-13286 | lib/heroicons.ex:13324-13331 | lib/heroicons.ex:13549-13556 | lib/heroicons.ex:13684-13691 | lib/heroicons.ex:13729-13736 | lib/heroicons.ex:13774-13781 | lib/heroicons.ex:13864-13871 | lib/heroicons.ex:13954-13961 | lib/heroicons.ex:14134-14141 | lib/heroicons.ex:14179-14185 | lib/heroicons.ex:14223-14230 | lib/heroicons.ex:14266-14273 | lib/heroicons.ex:14307-14313 | lib/heroicons.ex:14347-14352 | lib/heroicons.ex:14385-14391 | lib/heroicons.ex:14425-14431 | lib/heroicons.ex:14465-14471 | lib/heroicons.ex:14505-14511 | lib/heroicons.ex:14545-14552 — all 202 copies are in the same file, so extract the block into one function there and call it from every one of those sites — resolving only two of them leaves the rest to drift apart the first time one is edited.
D4 · Code Duplication · Duplicated block (6 lines × 8) · ×1
  • Duplicated block (6 lines × 8) lib/heroicons.ex:518 — lib/heroicons.ex:518-524 | lib/heroicons.ex:695-701 | lib/heroicons.ex:6065-6070 | lib/heroicons.ex:6378-6383 | lib/heroicons.ex:8526-8531 | lib/heroicons.ex:11440-11446 | lib/heroicons.ex:11664-11670 | lib/heroicons.ex:13999-14005 — all 8 copies are in the same file, so extract the block into one function there and call it from every one of those sites — resolving only two of them leaves the rest to drift apart the first time one is edited.
D4 · Code Duplication · Duplicated block (6 lines × 5) · ×1
  • Duplicated block (6 lines × 5) lib/heroicons.ex:3161 — lib/heroicons.ex:3161-3166 | lib/heroicons.ex:5044-5049 | lib/heroicons.ex:5267-5272 | lib/heroicons.ex:5756-5761 | lib/heroicons.ex:13464-13469 — all 5 copies are in the same file, so extract the block into one function there and call it from every one of those sites — resolving only two of them leaves the rest to drift apart the first time one is edited.
D4 · Code Duplication · Duplicated block (5 lines × 3) · ×1
  • Duplicated block (5 lines × 3) lib/heroicons.ex:1953 — lib/heroicons.ex:1953-1957 | lib/heroicons.ex:2847-2851 | lib/heroicons.ex:3789-3793 — all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites — resolving only two of them leaves the rest to drift apart the first time one is edited.
Recommendation — 4 finding(s)
D11 · Test Reliability · Test reliability not included · ×1
  • Test reliability not included — Test source is present (.exs, .ex) but the built-in reliability runner does not support this repository's ecosystem, so flakiness couldn't be assessed. Not scored — this is a gap in the analyzer's language coverage, not a finding about this repository.
D16 · Bus Factor · Off-boarding risk · ×1
  • Off-boarding risk: anonymized user #1 — If anonymized user #1 becomes unavailable, 24 significant file(s) lose their only recent owner: lib/beacon/runtime_renderer.ex, lib/beacon/template/source_parser.ex, lib/beacon/runtime_renderer/loader.ex, lib/beacon/web/live/page_live.ex, lib/beacon/client/live_view_compiler.ex, lib/beacon/template/heex_converter.ex, lib/beacon/css/theme_parser.ex, lib/beacon/template/component_expander.ex (+16 more). Pair on, review, or document these before any departure.
D34 · Knowledge Freshness · Further orphaned files (smaller) · ×1
  • Further orphaned files (smaller) — 10 smaller file(s) also have no living knowledge — folded into the freshness score and metrics rather than listed individually (12 orphaned of 71 analysed files in total, counted over production source files of roughly 100 lines or more, excluding tests, vendored, generated and example/demo trees, largest first).
D8 · Code Coverage · Coverage not included · ×1
  • Coverage not included — suite not readable by the collector — Coverage NOT MEASURED: test source is present (.exs, .ex) but the built-in coverage collector has no runner for this repository's ecosystem — so this suite was never executed by it. Not scored — this is a gap in the analyzer's language coverage, not a defect in the repo. To have real coverage read, produce a coverage report in a standard format (lcov — `mix test --cover` with `excoveralls` (`mix coveralls.lcov`)) into the repo working tree before the scan — a CI step is the usual place, since the artefact is commonly gitignored.
Info — 2 finding(s)
D12 · Dependency Hygiene · Dependency hygiene not measured · ×1
  • Dependency hygiene not measured — dependency manifest found but not parsed for hygiene — This repository's dependency manifest (package.json) was found, but this pass cannot parse it for hygiene, so no package was assessed. Zero packages read is NOT a clean dependency tree, so this is NOT SCORED — a gap in the analyzer, not a verdict about this repository. This row is about dependency HYGIENE — outdated, deprecated or unmaintained direct dependencies; known CVEs in the same dependency graph are a separate question, reported under D38 wherever the manifest is OSV-readable.
D22 · Internal API Consistency · No exposed public API · ×1
  • No exposed public API — No intentionally-exposed types (IsPackable or .Contracts) to evaluate.

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.

DimensionToolVersionCommandFindingsRaw output
D28 · Secrets (history)gitleaksgitleaks detect --no-banner --report-format json --report-path /dev/stdout --exit-code 0 --source .0artifacts/raw/gitleaks-history.json
D29 · Static Analysis (SAST)semgrepsemgrep --config /opt/semgrep-rules/security-audit.yml --config /opt/semgrep-rules/owasp-top-ten.yml --json --quiet --timeout 0 --metrics off .4artifacts/raw/semgrep.json
D30 · Dependency Vulnerabilitiesnone (no readable dependency manifest)none (no readable dependency manifest): not present in this environment0
D31 · IaC & Container Securitytrivytrivy: not applicable — No Infrastructure-as-Code or container manifests found (Dockerfile, Terraform, Kubernetes/Helm, CloudFormation); nothing to scan.0
D32 · Data Compliance (PII/GDPR)semgrepsemgrep: not applicable — No PII/GDPR-handling patterns detected (p/gdpr ruleset) — no data-compliance surface to assess.0
D33 · JS/npm Dependency Vulnerabilitiestrivytrivy fs --scanners vuln --format json --quiet --severity CRITICAL,HIGH,MEDIUM,LOW --skip-dirs **/bin/** --skip-dirs **/obj/** . --skip-db-update0
D36 · Supply-chain Provenance & Signingprovenanceprovenance: not applicable — The CI pipeline builds and tests but publishes no released artifact — no package publish, container push, GitHub release or deployment step. Supply-chain provenance, signing and SBOM attest RELEASED artifacts, so there is nothing to attest here. Add them to the release pipeline when this repo starts shipping artifacts (a published package, a container image, a deployed service or a tagged release).0
D37 · Vulnerability-disclosure Policydisclosuredisclosure: 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 Vulnerabilitiesosv-scannerosv-scanner --format json --recursive .19artifacts/raw/osv-scanner.json
D40 · Network Egress Confinementruntime-hardeningruntime-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 Confinementruntime-hardeningruntime-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 Enforcementruntime-hardeningruntime-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

Run 019fd4b1-6e49-7491-817a-902ac87bb9db · every finding is also locatable in findings.md, and the complete scoring record (with exit codes + durations) in sidecar.json.

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.

⬇ Findings, MITRE CWE-tagged .sarif⬇ Health changelog .md