Executive summary
GoogleChrome/chrome-extensions-samples falls short of our standard for a template or a sample because it has controls that only work with a mouse and images with no text description. It scores 42 out of 100 and is rated Adequate, and nine of its 101 critical findings are security problems.
Accessibility, at 29, is the weakest lens and counts most in the score. The best first step for the work it takes is replacing the two exposed passwords or keys and switching the old ones off, worth about 4 points. Making the controls keyboard-usable would lift Accessibility itself, worth about 5 points. Raising Accessibility to 58 would lift the score to about 50.
Twenty images have no description for people who can't see them. Nine controls can't be used without a mouse, and thirty-six form fields can't be read by a screen reader. Making the controls work with a keyboard, describing the images and labelling the form fields would close these risks. Updating the vulnerable packages would fix the three packages with a known security hole, and the four passwords or keys in the code's history and the two passwords or keys in the code need replacing, with the old ones switched off. The 17 pages that don't say their language need their language set.
The product code is 14,314 lines, about €12,000 to rebuild.
If Accessibility rose from 29 to 58, the lowest score rated Strong, the score would rise from 42 to about 50.
New since the last survey: 25 findings
- REDACTED Scanning · REDACTED
- REDACTED Scanning · REDACTED
- Static Analysis (SAST) · REDACTED
- Import Boundaries · Boundary violation [package:relative-cross-package] functional-samples/ai.gemini-in-the-cloud/sidepanel/index.js
- Import Boundaries · Boundary violation [package:relative-cross-package] functional-samples/ai.gemini-on-device-calendar-mate/background.js
- Exception handling · Swallowed exception (empty catch) REDACTED
- Exception handling · Swallowed exception (empty catch) REDACTED
- Exception handling · Swallowed exception (empty catch) REDACTED
- Incompleteness & stubs · Fake-async — async method never awaits functional-samples/cookbook.offscreen-dom/offscreen.js
- Page structure · <html> without a lang _archive/mv2/api/downloads/download_links/popup.html
- Page structure · Document without a <title> _archive/mv2/api/downloads/download_links/popup.html
- Page structure · Page without a main landmark _archive/mv2/api/downloads/download_links/popup.html
- Visual & motion safety · Focus outline removed in CSS without a :focus replacement functional-samples/tutorial.getting-started/button.css
- Visual & motion safety · Focus outline removed in CSS without a :focus replacement functional-samples/sample.bookmarks/third-party/jquery-ui.css
- Visual & motion safety · Focus outline removed in CSS without a :focus replacement functional-samples/sample.bookmarks/third-party/jquery-ui.css
- Visual & motion safety · Focus outline removed in CSS without a :focus replacement functional-samples/sample.bookmarks/third-party/jquery-ui.css
- Visual & motion safety · Focus outline removed in CSS without a :focus replacement functional-samples/sample.bookmarks/third-party/jquery-ui.structure.css
- Visual & motion safety · Focus outline removed in CSS without a :focus replacement functional-samples/sample.bookmarks/third-party/jquery-ui.structure.css
- Visual & motion safety · Focus outline removed in CSS without a :focus replacement functional-samples/sample.bookmarks/third-party/jquery-ui.structure.css
- Visual & motion safety · Focus outline removed in CSS without a :focus replacement functional-samples/ai.gemini-on-device-audio-scribe/demo-chat-app/style.css
- Visual & motion safety · Focus outline removed in CSS without a :focus replacement functional-samples/ai.gemini-on-device-audio-scribe/demo-chat-app/style.css
- Visual & motion safety · Focus outline removed in CSS without a :focus replacement functional-samples/ai.gemini-on-device/sidepanel/index.css
- Visual & motion safety · Focus outline removed in CSS without a :focus replacement functional-samples/ai.gemini-in-the-cloud/sidepanel/index.css
- Visual & motion safety · Focus outline removed in CSS without a :focus replacement api-samples/action/third-party/awsm/awsm.css
- Visual & motion safety · Focus outline removed in CSS without a :focus replacement _archive/mv2/extensions/news/css/options.css
Fixed since the last survey: 476 findings
- Churn × Complexity Hotspots · Hotspot: api-samples/downloads/download_manager/popup.js api-samples/downloads/download_manager/popup.js
- Dependency Vulnerabilities · High CVE: [GHSA redacted] REDACTED
- Dependency Vulnerabilities · High CVE: REDACTED REDACTED
- Dependency Vulnerabilities · Medium vulnerability: [GHSA redacted] REDACTED
- Dependency Vulnerabilities · Medium CVE: [GHSA redacted] REDACTED
- Forms & labels · <input> without a programmatic label _archive/mv2/api/tabs/inspector/tabs_api.html
- Forms & labels · <input> without a programmatic label _archive/mv2/api/tabs/inspector/tabs_api.html
- Forms & labels · <input> without a programmatic label _archive/mv2/api/tabs/inspector/tabs_api.html
- Forms & labels · <input> without a programmatic label _archive/mv2/api/tabs/inspector/tabs_api.html
- Forms & labels · <input> without a programmatic label _archive/mv2/api/tabs/inspector/tabs_api.html
- Forms & labels · <input> without a programmatic label _archive/mv2/api/tabs/inspector/tabs_api.html
- Forms & labels · <input> without a programmatic label _archive/mv2/api/tabs/inspector/tabs_api.html
- Forms & labels · <input> without a programmatic label _archive/mv2/api/tabs/inspector/tabs_api.html
- Forms & labels · <input> without a programmatic label _archive/mv2/api/tabs/inspector/tabs_api.html
- Forms & labels · <input> without a programmatic label _archive/mv2/api/tabs/inspector/tabs_api.html
- Forms & labels · <input> without a programmatic label _archive/mv2/api/tabs/zoom/popup.html
- Forms & labels · <input> without a programmatic label _archive/mv2/api/tabs/zoom/popup.html
- Forms & labels · <input> without a programmatic label _archive/mv2/api/tabs/zoom/popup.html
- Forms & labels · <input> without a programmatic label _archive/mv2/api/tabs/zoom/popup.html
- Forms & labels · <input> without a programmatic label _archive/mv2/api/tabs/zoom/popup.html
- Forms & labels · <input> without a programmatic label _archive/mv2/extensions/app_launcher/popup.html
- Forms & labels · <input> without a programmatic label _archive/mv2/extensions/constant_context/popup.html
- Forms & labels · <input> without a programmatic label _archive/mv2/extensions/download_images/options.html
- Forms & labels · <input> without a programmatic label _archive/mv2/extensions/download_images/options.html
- Forms & labels · <input> without a programmatic label _archive/mv2/extensions/gdocs/options.html
- Forms & labels · <select> without a programmatic label _archive/mv2/extensions/gdocs/popup.html
- Forms & labels · <input> without a programmatic label _archive/mv2/extensions/gdocs/popup.html
- Forms & labels · <textarea> without a programmatic label _archive/mv2/extensions/gdocs/popup.html
- Forms & labels · <input> without a programmatic label _archive/mv2/extensions/gdocs/popup.html
- Forms & labels · <select> without a programmatic label _archive/mv2/extensions/irc/servlet/addChannel.html
- Forms & labels · <input> without a programmatic label _archive/mv2/extensions/irc/servlet/addChannel.html
- Forms & labels · <input> without a programmatic label _archive/mv2/extensions/irc/servlet/addServer.html
- Forms & labels · <input> without a programmatic label _archive/mv2/extensions/irc/servlet/addServer.html
- Forms & labels · <input> without a programmatic label _archive/mv2/extensions/irc/servlet/addServer.html
- Forms & labels · <input> without a programmatic label _archive/mv2/extensions/irc/servlet/index.html
- Forms & labels · Custom control with no accessible name on <body> _archive/mv2/extensions/irc/servlet/notification.html
- Forms & labels · <textarea> without a programmatic label _archive/mv2/extensions/news/javascript/options.js
- Forms & labels · <textarea> without a programmatic label _archive/mv2/extensions/news/javascript/options.js
- Forms & labels · Clickable <a> with no accessible name _archive/mv2/extensions/news/views/feed.html
- Forms & labels · <select> without a programmatic label _archive/mv2/extensions/news/views/feed.html
- Forms & labels · <select> without a programmatic label _archive/mv2/extensions/news/views/options.html
- Forms & labels · <select> without a programmatic label _archive/mv2/extensions/news/views/options.html
- Forms & labels · <input> without a programmatic label _archive/mv2/extensions/news/views/options.html
- Forms & labels · <input> without a programmatic label _archive/mv2/extensions/news/views/options.html
- Forms & labels · <input> without a programmatic label _archive/mv2/extensions/news/views/options.html
- Forms & labels · <input> without a programmatic label _archive/mv2/extensions/news/views/options.html
- Forms & labels · <input> without a programmatic label _archive/mv2/extensions/news/views/options.html
- Forms & labels · <input> without a programmatic label _archive/mv2/extensions/news/views/options.html
- Forms & labels · <input> without a programmatic label _archive/mv2/extensions/news/views/options.html
- Forms & labels · <input> without a programmatic label _archive/mv2/extensions/news/views/options.html
- Forms & labels · <input> without a programmatic label _archive/mv2/extensions/news/views/options.html
- Forms & labels · <input> without a programmatic label _archive/mv2/extensions/news/views/options.html
- Forms & labels · <button> with no accessible text _archive/mv2/extensions/news/views/options.html
- Forms & labels · <input> without a programmatic label _archive/mv2/extensions/optional_permissions/newtab.html
- Forms & labels · <select> without a programmatic label _archive/mv2/extensions/proxy_configuration/popup.html
- Forms & labels · <select> without a programmatic label _archive/mv2/extensions/proxy_configuration/popup.html
- Forms & labels · <select> without a programmatic label _archive/mv2/extensions/proxy_configuration/popup.html
- Forms & labels · <select> without a programmatic label _archive/mv2/extensions/proxy_configuration/popup.html
- Forms & labels · <fieldset> without a <legend> _archive/mv2/extensions/proxy_configuration/popup.html
- Forms & labels · <input> without a programmatic label _archive/mv2/extensions/speak_selection/options.html
- Forms & labels · <input> without a programmatic label _archive/mv2/extensions/talking_alarm_clock/popup.html
- Forms & labels · <select> without a programmatic label _archive/mv2/extensions/talking_alarm_clock/popup.html
- Forms & labels · <input> without a programmatic label _archive/mv2/extensions/talking_alarm_clock/popup.html
- Forms & labels · <select> without a programmatic label _archive/mv2/extensions/talking_alarm_clock/popup.html
- Forms & labels · <textarea> without a programmatic label _archive/mv2/extensions/talking_alarm_clock/popup.html
- Forms & labels · <textarea> without a programmatic label _archive/mv2/extensions/ttsdemo/ttsdemo.html
- Forms & labels · <select> without a programmatic label _archive/mv2/extensions/ttsdemo/ttsdemo.html
- Forms & labels · <select> without a programmatic label _archive/mv2/extensions/ttsdemo/ttsdemo.html
- Forms & labels · <select> without a programmatic label _archive/mv2/extensions/ttsdemo/ttsdemo.html
- Forms & labels · <input> without a programmatic label _archive/mv2/extensions/ttsdemo/ttsdemo.html
- Forms & labels · <input> without a programmatic label _archive/mv2/extensions/ttsdemo/ttsdemo.html
- Forms & labels · <input> without a programmatic label _archive/mv2/extensions/ttsdemo/ttsdemo.html
- Forms & labels · <button> with no accessible text _archive/mv2/tutorials/broken_background_color/popup.html
- Forms & labels · <button> with no accessible text _archive/mv2/tutorials/get_started/popup.html
- Forms & labels · <button> with no accessible text _archive/mv2/tutorials/get_started_complete/popup.html
- Forms & labels · <select> without a programmatic label _archive/mv2/tutorials/getstarted/popup.html
- Forms & labels · <input> without a programmatic label api-samples/alarms/index.html
- Forms & labels · <input> without a programmatic label api-samples/alarms/index.html
- Forms & labels · <select> without a programmatic label api-samples/alarms/index.html
- Forms & labels · <input> without a programmatic label api-samples/alarms/index.html
- Forms & labels · <fieldset> without a <legend> api-samples/contentSettings/popup.html
- Forms & labels · <input> without a programmatic label api-samples/downloads/download_links/popup.html
- Forms & labels · <input> without a programmatic label api-samples/downloads/download_links/popup.html
- Forms & labels · <input> without a programmatic label api-samples/downloads/download_manager/popup.html
- Forms & labels · Link with no accessible name api-samples/downloads/download_manager/popup.html
- Forms & labels · Link with no accessible name api-samples/downloads/download_manager/popup.html
- Forms & labels · Link with no accessible name api-samples/downloads/download_manager/popup.html
- Forms & labels · <select> without a programmatic label api-samples/fontSettings/fontSettings Advanced/options.html
- Forms & labels · <select> without a programmatic label api-samples/fontSettings/fontSettings Advanced/options.html
- Forms & labels · <select> without a programmatic label api-samples/fontSettings/fontSettings Advanced/options.html
- Forms & labels · <select> without a programmatic label api-samples/fontSettings/fontSettings Advanced/options.html
- Forms & labels · <select> without a programmatic label api-samples/fontSettings/fontSettings Advanced/options.html
- Forms & labels · <input> without a programmatic label api-samples/history/historyOverride/history.html
- Forms & labels · <textarea> without a programmatic label api-samples/identity/index.html
- Forms & labels · <select> without a programmatic label api-samples/idle/history.html
- Forms & labels · <input> without a programmatic label api-samples/nativeMessaging/extension/main.html
- Forms & labels · <textarea> without a programmatic label api-samples/storage/stylizr/options.html
- Forms & labels · <input> without a programmatic label api-samples/tabs/inspector/window_and_tabs_manager.html
- Forms & labels · <input> without a programmatic label api-samples/tabs/inspector/window_and_tabs_manager.html
- Forms & labels · <input> without a programmatic label api-samples/tabs/inspector/window_and_tabs_manager.html
Rebuild cost: about €12,000 · Estimate
| Cost to rebuild | €4,100 to €21,000, for 69 to 218 hours of work, under 0.1 person-years for one engineer |
|---|---|
| Difficulty of the problem | Standard, judged from the kind of software and how it is built. Code that solves a harder problem, such as payments or medical bookings, costs more per line to write. |
| Quality factor | ×0.7 at a score of 42. Better code takes more work to write, so the factor is ×1.0 at a score of 70, lower below it and higher above it. |
| Size | Small: 14,314 lines of product code |
| What it is not | Not a quotation: nobody has offered to build it for that. Not a valuation: it says nothing about what the business is worth. Not a certified figure: no professional has signed it as one. |
Top priorities
Diagnosis: what the measurements show together
At a glance — Code Health
At a glance — Architecture
At a glance — Maturity
At a glance — Readiness
At a glance — Security
At a glance — Accessibility
At a glance — Performance
Security & Compliance — OWASP Top-10 mapping
| OWASP category | Findings | Severity |
|---|---|---|
| A03:2025 — Software Supply Chain Failures | 11 | High / Critical |
| A07:2025 — Authentication Failures | 7 | High / Critical |
| A05:2025 — Injection | 3 | Medium |
Roadmap
First, ensure all custom controls are fully keyboard-operable and anchors have valid hrefs to improve navigation. Next, provide text alternatives for all images, media, and interactive elements, and resolve the two leaked secrets found in the manifest. Then, introduce TypeScript to the frontend build process to establish type safety, starting with the highest-traffic modules. Finally, correct the page structure by adding language attributes, a document title, and a main landmark while maintaining proper heading order.
| Do this | Helps | Effort | Dimension |
|---|---|---|---|
| Resolve the 2 Leaked secret finding(s) in REDACTED Scanning — start with REDACTED (2). | +3.6 pts | Low | REDACTED Scanning |
| Make custom controls keyboard-operable (role + tabindex + key handler), drop positive tabindex, and give anchors a real href. | +4.9 pts | Medium | Keyboard semantics |
| Add a text alternative — alt on images (alt="" for purely decorative ones), a title or aria-label on meaningful svg, an aria-label or inner fallback content on canvas, and a captions <track> on video. | +3.7 pts | Medium | Text alternatives |
| Adopt TypeScript for the frontend: add a typecheck step to the build, then either type-check the existing JavaScript in place (`checkJs`/JSDoc types) or convert the highest-traffic modules first — no file is typed today, so this is an adoption, not a clean-up. | +3.2 pts | Medium | Type Safety |
| Declare <html lang>, a document <title> and a <main> landmark, keep headings in order, leave zoom enabled, title iframes and drop meta-refresh. | +2.8 pts | Medium | Page structure |
| Declare the default where Java declares it: `@NullMarked` (org.jspecify.annotations) in each package's `package-info.java`, or once in `module-info.java`, and run NullAway (Error Prone) or the Checker Framework so the declaration is enforced. Then annotate the real exceptions `@Nullable` and resolve the suppressions rather than adding to them: a `@SuppressWarnings("NullAway")` or `castToNonNull(x)` on a value the checker could show to be null is a `NullPointerException` waiting for the path that makes it true — where the value genuinely cannot be null, say something the checker can see instead (a null check, `Objects.requireNonNull`, a non-null field initialised in the constructor). | +2.3 pts | Medium | Nullable reference types |
| Enforce accessibility in the toolchain: add an accessibility check that can read your UI — no component framework was detected and your pages are rendered by server-side templates, which neither the JSX/Vue ESLint plugins nor the HTML-template linters can parse; run axe/pa11y over the rendered pages, or assert the accessibility invariants over that rendered HTML in the test suite you already have, then assert with jest-axe in tests, then gate axe/pa11y/Lighthouse in CI. | +2.0 pts | Medium | A11y enforcement |
| Resolve the 5 TodoComment finding(s) in Explicit Debt — start with IRCProxyWebSocket.java (4), balls.dart. | +0.9 pts | Low | Explicit Debt |
File quality
| File | Score | Band | Worst signal |
|---|---|---|---|
| REDACTED | 5.8 | Mixed | Secrets (history): REDACTED: REDACTED |
| api-samples/downloads/download_manager/popup.js | 5.9 | Mixed | Cyclomatic Complexity: DownloadItem.render (cyclomatic 39) |
| REDACTED | 6.5 | Near-clean | Dependency Vulnerabilities: High CVE: REDACTED |
| REDACTED | 6.5 | Near-clean | Dependency Vulnerabilities: High CVE: REDACTED |
| _archive/mv2/extensions/irc/servlet/src/org/chromium/IRCProxyWebSocket.java | 6.6 | Near-clean | Explicit Debt: TodoComment |
| REDACTED | 7.2 | Near-clean | REDACTED Scanning: Leaked secret: REDACTED |
| REDACTED | 7.2 | Near-clean | REDACTED Scanning: Leaked secret: REDACTED |
| REDACTED | 7.2 | Near-clean | Secrets (history): REDACTED: REDACTED |
| REDACTED | 7.2 | Near-clean | Secrets (history): REDACTED: REDACTED |
| REDACTED | 7.2 | Near-clean | Dependency Vulnerabilities: High CVE: REDACTED |
| functional-samples/tutorial.terminate-sw/selenium/index.test.js | 7.8 | Near-clean | Test Quality: No assertions: can message service worker when terminated |
| functional-samples/tutorial.terminate-sw/puppeteer/index.test.js | 7.8 | Near-clean | Test Quality: No assertions: can message service worker when terminated |
| REDACTED | 7.9 | Near-clean | Static Analysis (SAST): Medium: REDACTED |
| REDACTED | 7.9 | Near-clean | Static Analysis (SAST): Medium: REDACTED |
| REDACTED | 7.9 | Near-clean | Static Analysis (SAST): Medium: REDACTED |
| _archive/apps/samples/dart/dart/balls.dart | 8.2 | Near-clean | Explicit Debt: TodoComment |
| api-samples/fontSettings/fontSettings Advanced/js/cr.js | 8.5 | Near-clean | Cognitive Complexity: (anonymous).getSetter (cognitive 24) |
| api-samples/downloads/download_links/popup.js | 8.5 | Near-clean | Cognitive Complexity: filterLinks (cognitive 20) |
| functional-samples/sample.bookmarks/popup.js | 8.5 | Near-clean | Cognitive Complexity: dumpNode (cognitive 19) |
| functional-samples/cookbook.wasm-helloworld-print-nomodule/wasm/pkg/helloworld_demo.js | 8.5 | Near-clean | Cognitive Complexity: helloworld_demo.__wbg_load (cognitive 16) |
How the grades work
A definite problem that already costs you something and drags the score down: a missing authorisation check, a dependency with a known exploit, a build that does not reproduce. Failure here tends to cause failures elsewhere.
Likely wrong, but not failing yet. It degrades the codebase over a longer horizon and can cause failures elsewhere — not urgent this week, not something to carry for two years either.
Recorded, with no effect on how the codebase functions. Present so the survey is complete, not because it needs doing.
Something this survey could not settle from the outside, and which could be critical or serious. Either a control was required and no positive evidence of it exists in the repository — a backup job that nothing shows was ever restored from proves nothing about restores — or our own analysis could not run over that part of the tree. This is not a clean result. These are excluded from the score rather than awarded a pass, so the number on the cover neither rewards nor penalises them: if you act on this survey without resolving them, you carry that risk yourself. Each one is named under Limitations.
Methodology & how to trust this report
Watchdog is a deep, periodic assessment — run each sprint, monthly, or quarterly, taking the time to go wider and deeper than a quick check and surfacing in one coherent report what you'd otherwise piece together from a dozen separate tools. It scores deterministically: the same commit yields the same score, every run. 77 of 77 evaluated dimensions are computed purely by tools and static analysis (confidence 1.0); none rely on LLM judgement. Overall confidence is 0.8 — the weighted average across measured dimensions; it falls as more of the score leans on LLM-assisted judgement and rises when it's fully tool-backed.
What we checked — 77 dimensions across the health lenses
- Can you open the finding? Real findings cite a repo-relative file and line you can open at the cited line — never an absolute scratch path. Here, 328 of 346 do; the remainder are repo-wide signals — a dimension-level measurement, not a single line.
- Is there a tool behind the number? Every score below names the method that produced it — Roslyn, git, a scanner, or (for a handful of documentation/naming dimensions) an LLM labelled sampled · advisory — not a narrative.
- Does re-running give the same result? Run it again on the same commit and the score — and this report, byte for byte — is identical. A report whose numbers move between runs is describing the run, not the code.
Tools & methods
| Method | Backs | Version | Evaluator |
|---|---|---|---|
| Roslyn static analysis | Complexity, cohesion, coupling, dead code, API surface, layering | 5.3.0 | ✓ deterministic |
| Native secret scanner | Hardcoded secrets / credentials | 1.0.0 | ✓ deterministic |
| Watchdog duplication detector (in-process) | Code duplication | 1.0.0 | ✓ deterministic |
| Coverage (coverlet / dotnet-coverage) | Line & branch coverage | 10.0.400 | ✓ deterministic |
| NuGet / dotnet | Outdated, vulnerable & deprecated dependencies | 10.0.400 | ✓ deterministic |
| git / LibGit2Sharp | Churn hotspots, knowledge concentration, history | 2.43.0 · 0.31.0 | ✓ deterministic |
| gitleaks · semgrep · trivy | Secrets in history, SAST, CVEs, IaC & container, PII / GDPR | 1.86.0 · 0.69.3 | ✓ deterministic |
| LLM (sampled · advisory) | Documentation quality, ADR conformance, naming — sampled over a bounded sample; advisory, never a deterministic measurement | — | ◐ LLM · sampled · advisory |
Run transparency — what happened this run
- D4 Code Duplication — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. Most of this repository's production source (.cpp, .ino, .pl) was not read by duplication detection: no source of those file kinds was exposed to the token comparison by any language model this pass could load. Duplication in .js is measured by R10 Code Duplication and is not part of this gap.
- D14 License Compliance — measured, with a gap in what it reached — Watchdog measured this, but not all of it. What it did not reach is a gap on our side — a collector, parser or image we have not built yet — so the numbers on that dimension cover less than the repository, and the part left out is not evidence that it would have passed. This repository declares package.json, but the licence verdict published here was taken over its crate dependencies. Nothing was read about its npm dependencies' licensing in either direction, and a clean score on this card must not be read as covering them.
- D19 Documentation Quality — measured, with a gap in what it reached — Watchdog measured this, but not all of it. What it did not reach is a gap on our side — a collector, parser or image we have not built yet — so the numbers on that dimension cover less than the repository, and the part left out is not evidence that it would have passed. Each ecosystem's manifests (what makes a folder runnable or a published package) need their own proof before D19 judges its units. Until then those folders' READMEs are judged only as documents (boilerplate, structure), never counted as complete.
- D21 Naming Consistency — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. D21's deterministic naming rules are gated on C# first (docs/plans/deterministic-engine.md, P5): each other language is switched on only after its own concept suite and A/B gate pass. Until then its declarations carry no naming verdict this run — this says nothing about whether its names are consistent.
- D22 Internal API Consistency — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. D22 identifies the intentionally-exposed surface from `IsPackable` and `.Contracts` project names, MSBuild conventions read off the loaded project set. This target exposed no such projects, so the probe never ran; this says nothing about whether the repository has a public API. This repository commits no C#/VB source at all, so there was never an MSBuild project set to read these conventions off. That is OUR side and it is a COLLECTOR gap, not an environment fault: no published-package marker D22 reads admitted any project here, so this ecosystem's public API has no collector, and the remedy is to write one — no change to the scan image can close it.
- D24 Comment Value — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check's reader does not cover the language this repository's product is written in, so it had nothing of the product to read. That is a gap in this analyzer's language reach — not a finding about this repository.
- D26 Project Cohesion — measured, with a gap in what it reached — Watchdog measured this, but not all of it. What it did not reach is a gap on our side — a collector, parser or image we have not built yet — so the numbers on that dimension cover less than the repository, and the part left out is not evidence that it would have passed. Project size and spread are measured over build units whose source a code model reads. This repository's .cpp, .ino source is a material share of its production lines and was read by none, so the score is a verdict about the units that were read. Not a finding that the unread source is cohesive — it is unmeasured.
- D27 Navigability — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. Navigability is taken over call sites whose callee resolved. For C# that population includes calls into referenced assemblies; for this language only calls declared inside the repository count, so the abstention threshold reads the repository's use of its standard library as a resolution failure. That is a limit of this analyzer, not a build problem in this repository.
- D28 Secrets (history) — measured, with a gap in what it reached — Watchdog measured this, but not all of it. What it did not reach is a gap on our side — a collector, parser or image we have not built yet — so the numbers on that dimension cover less than the repository, and the part left out is not evidence that it would have passed. D28's config-credential rule (WD-SECRET-0002) parses each committed `.json` config as a document and reads credential-named values; `_archive/mv2/extensions/news_i18n/_locales/es/messages.json` did not parse (JSON5, a template, several concatenated documents), so a credential bound there is UNMEASURED by that rule. gitleaks still scanned the same files as text.
- D34 Knowledge Freshness — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. File-level freshness contradicts repo activity: 70 commits in the last 90 days, yet 34 of 44 significant files carry no living knowledge. Those two readings cannot both be true, so the per-file recency signal is treated as unreliable here and freshness is not scored for this run.
- D44 Platform End-of-Life — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This dimension reads a project's own statement about the platform it runs on: a TargetFramework in a .NET project file, a .nvmrc or .python-version, a capped requires-python, a Rust toolchain file or Cargo.toml rust-version, a .go-version, .java-version, .ruby-version, .tool-versions or .sdkmanrc, a go.mod go directive, a Maven or Gradle Java level or toolchain, a Gemfile's ruby directive, a mix.exs elixir requirement, a rebar.config minimum_otp_vsn, a pubspec.yaml SDK constraint, a build.sbt scalaVersion, or a framework major pinned by a dependency constraint. This repository carries none of them, so nothing about its platform was established. That is a gap in this analyzer's coverage, NOT a finding that the platform is supported — a language whose runtime is declared elsewhere (Package.swift, a Dockerfile) is simply not read here yet.
- AC2 Forms & labels — measured, with a gap in what it reached — Watchdog measured this, but not all of it. What it did not reach is a gap on our side — a collector, parser or image we have not built yet — so the numbers on that dimension cover less than the repository, and the part left out is not evidence that it would have passed. 125 further occurrence(s) are not listed individually; the score already reflects all 165.
- AC3 Page structure — measured, with a gap in what it reached — Watchdog measured this, but not all of it. What it did not reach is a gap on our side — a collector, parser or image we have not built yet — so the numbers on that dimension cover less than the repository, and the part left out is not evidence that it would have passed. 354 further occurrence(s) are not listed individually; the score already reflects all 394.
- AC6 Visual & motion safety — measured, with a gap in what it reached — Watchdog measured this, but not all of it. What it did not reach is a gap on our side — a collector, parser or image we have not built yet — so the numbers on that dimension cover less than the repository, and the part left out is not evidence that it would have passed. 64 further occurrence(s) are not listed individually; the score already reflects all 104.
- AXR1 Runtime accessibility — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. Render strategy: boot via DevServer (start). the dev server did not expose a crawlable HTTP endpoint in time — no runtime evidence.
- C1 Data Protection — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. These personal data controls are read from declarative annotations, request middleware, entity/column names and guard methods in a C# source model, and none was loaded on this run, so there was nothing to gather. That is a gap in this analyzer's language reach — not a finding that the repository lacks personal data controls.
- C2 Access Controls — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. These authorization controls are read from declarative annotations, request middleware, entity/column names and guard methods in a C# source model, and none was loaded on this run, so there was nothing to gather. That is a gap in this analyzer's language reach — not a finding that the repository lacks authorization controls.
- C3 Audit Trail — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. These audit controls are read from declarative annotations, request middleware, entity/column names and guard methods in a C# source model, and none was loaded on this run, so there was nothing to gather. That is a gap in this analyzer's language reach — not a finding that the repository lacks audit controls.
- C4 Data Retention — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. These retention controls are read from declarative annotations, request middleware, entity/column names and guard methods in a C# source model, and none was loaded on this run, so there was nothing to gather. That is a gap in this analyzer's language reach — not a finding that the repository lacks retention controls.
- C5 Data-Subject Rights — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. These data-subject rights controls are read from declarative annotations, request middleware, entity/column names and guard methods in a C# source model, and none was loaded on this run, so there was nothing to gather. That is a gap in this analyzer's language reach — not a finding that the repository lacks data-subject rights controls.
- M4 Documentation accuracy — measured, with a gap in what it reached — Watchdog measured this, but not all of it. What it did not reach is a gap on our side — a collector, parser or image we have not built yet — so the numbers on that dimension cover less than the repository, and the part left out is not evidence that it would have passed. M4 checks only the claim kinds adjudicated at or above 95 % precision: links and versions (PREREGISTRATION version 9), and artefact counts an order of magnitude off. Paths, command arguments, installs, environment variables, settings, projects, packages, routes, cd targets, infrastructure products and removed modules are read but not checked, and none of them is reported or counted.
- P2 Observability — measured, with a gap in what it reached — Watchdog measured this, but not all of it. What it did not reach is a gap on our side — a collector, parser or image we have not built yet — so the numbers on that dimension cover less than the repository, and the part left out is not evidence that it would have passed. 53 further occurrence(s) are not listed individually; the score already reflects all 93.
- P5 DR & Backup — not measured this run — This is a true statement about the repository that carries nothing for its owner to act on, so it is reported here rather than as a defect in their code. No backup/snapshot/replication config, RTO/RPO or restore-procedure documentation was found — and no production persistence was detected either (no data-access packages, no data-store services, no database resources), so there is nothing in this repository whose loss a DR control would recover. If this system's data lives in a platform or ops repo we can't see, that's where the DR evidence belongs.
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
- 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.
- D5 Coupling: Coupling is measured between projects/assemblies — runtime coupling through DI, reflection, messaging or shared databases is invisible to a static reference graph.
- D6 Cohesion (LCOM4): LCOM4 cohesion is syntactic — it infers connectivity from which methods touch which fields/methods by name, not from real runtime behaviour or intent.
- D9 Test Distribution: The test-pyramid shape is inferred from project/folder naming and references, with a single test host bucketed per-file by its path tier and content signals — a suite that names tiers unconventionally and gives no per-file signal can still be mis-bucketed.
- D10 Test Quality: Assertion density is structural — it cannot tell a meaningful behavioural assertion from a trivial one, only that an assertion is present.
- D11 Test Reliability: Flakiness is inferred from history/markers — Watchdog runs the suite once (for coverage), not the repeated runs under varied conditions that reveal nondeterminism, so a flaky test never recorded as failing is invisible here.
- D12 Dependency Hygiene: Dependency health reads manifests and lockfiles — a vulnerability in a vendored/copied dependency, or risk from how a dependency is actually used, is outside this view.
- D13 REDACTED Scanning: REDACTED detection is signature- and entropy-based on the current tree — a secret that does not match a known pattern, or one already rotated, will not be flagged (a clean scan is "nothing matched", not "no secrets exist").
- D14 License Compliance: License compatibility is checked against declared package metadata and a policy — mislabelled or missing license metadata, and obligations that depend on how you distribute, are not resolved here.
- D15 Churn × Complexity Hotspots: Churn hotspots come from git history — a freshly imported or squashed repository has no churn signal, and recent rewrites can mask a historically risky file.
- 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.
- D17 Explicit Debt: Acknowledged-debt signals (TODO/FIXME, suppressions, dead code) are textual — undocumented debt that nobody marked, and debt that lives in design rather than annotations, is invisible. Committed machine-written code (scaffolded migrations, designer/codegen output, generated stubs) is excluded — it is never the team's dead code to delete.
- D19 Documentation Quality: Documentation quality publishes two things only: a runnable or packaged unit with no example, and a multi-project root README that maps none of its parts. It does not judge clarity, and its other checks (overview, licence, boilerplate, structure, empty sections, XML-doc coverage) are withheld after adjudication: their candidates are counted in the card's gaps, not shown as rows. A false statement in a document is M4's; units are .NET projects only.
- D26 Project Cohesion: Project focus is sized from members/namespaces per project — a project that is broad by deliberate design reads the same as one that has sprawled.
- D28 Secrets (history): Secret-history scanning sweeps the git log for known patterns — a secret that predates the available history, or never matched a signature, is not found (clean means "nothing matched in the history we can see").
- D29 Static Analysis (SAST): SAST findings are pattern-based (semgrep) — it finds classes of bug it has rules for; logic flaws, auth/authorization gaps and issues needing runtime context are out of reach (and clean means "no rule matched").
- D30 Dependency Vulnerabilities: CVE matching depends on accurate package/version metadata and on the advisory databases — a vulnerability with no published advisory, or in code not declared as a dependency, is not seen. Coverage needs a RESOLVED graph: an unpinned requirements.txt, or a pom without a resolved build, yields partial coverage rather than a clean verdict. An ecosystem the analyzer cannot scan is reported as unmeasured, never as clean.
- D35 Change Coupling: Change coupling is co-change in COMMITS — files split across separate commits, or coupled only through a shared config/build step, read as uncoupled, and a sweeping commit (rename/format) is excluded so it doesn't couple everything. It shows that files change together, not WHY: a high coupling can be a healthy cohesive pair as readily as a hidden leak.
- D43 Malicious Dependencies: Only packages some vulnerability database has already NAMED as malicious are seen — a compromise published in the last hours, or never reported at all, is invisible here, and this dimension reading 10 is not evidence that a dependency is trustworthy. There is no typosquat or dependency-confusion analysis: a package nobody has reported is simply absent from the feeds. Coverage is the dependency scan's: an ecosystem that could not be scanned is disclosed as unmeasured, never as clean.
- AC1 Text alternatives: Alt-text is detected structurally — the scan sees that an alternative EXISTS, not whether it meaningfully describes the image, and decorative-vs-missing is judged by attribute shape; runtime-injected images and a non-role=img decorative svg are out of scope. This is accessibility readiness, never a WCAG conformance claim.
- AC2 Forms & labels: Label association is read from static markup — a label wired up at runtime (JS-set aria-labelledby, framework-injected ids) reads as missing, a present label says nothing about whether its text is correct. A known UI-library field component (e.g. a JSX <TextField>) is now checked conservatively — flagged only when it carries NO label/aria-label/aria-labelledby/id/name — but wrapper/context-labelled libraries (Chakra/Radix FormControl+FormLabel) aren't statically visible (possible false positive) and non-JSX lowercased components are still skipped. A click handler on a plain element is now asked for a name too (it is a control the author declared), but the subtree test that answers it is deliberately generous: any DYNAMIC text expression in the subtree counts as a name, so an icon chosen by a ternary ({cond ? <IconA/> : <IconB/>}) reads as named, and a glyph component from a library the icon-import list does not know still names its parent. A clean result is "no unlabelled control found", not a labelling proof.
- AC3 Page structure: Page structure is read from the static markup tree — landmarks, headings and lang injected at runtime aren't seen, heading ORDER is checked structurally (not against the rendered visual hierarchy), and lang/title/main fire only on full documents, never partials, and the data-table check sees header-cell presence (a <th> exists), not whether each header correctly associates with its cells. Static readiness, not conformance.
- AC4 Keyboard semantics: Keyboard semantics are inferred from markup attributes — interactivity wired purely in script, focus managed at runtime, and component-level handlers are invisible. A clean result means "no static keyboard-trap shape", not a keyboard-operability proof.
- AC5 ARIA correctness: ARIA correctness is checked against the static role/attribute shape — roles/attributes set dynamically aren't seen, a valid role says nothing about whether it matches the element's real behaviour, and required-state checks are suppressed when a JSX spread could supply them. The two-branch toggle check (a control whose state is conveyed only by which of two mutually exclusive branches renders) reads CONDITIONALS THAT ARE ATTRIBUTES — Vue v-if/v-else/v-show and Alpine x-if/x-show — so the same toggle written as a Svelte {#if} block or a JSX ternary is control flow the markup model never projects as a branch and is not seen at all.
- AC6 Visual & motion safety: Contrast and motion safety are PARTIAL by construction — literal colours (hex/rgb/hsl/named) in inline styles, in-repo <style> blocks, in-repo .css files, var() tokens, Tailwind neutral utilities and CSS-in-JS top-level declarations are read (same-rule/same-element colour+background pairs only); computed/runtime/theme colour, external-CDN stylesheets, CSS-in-JS dynamic (${…}) and nested-selector colours, cross-element pairs and image contrast stay out of reach, so a clean result is bounded by what the static CSS itself shows.
- AC7 A11y enforcement: Enforcement is scored from in-repo config/CI evidence only — an a11y gate enforced in external tooling with no in-repo trace can't be credited, and a configured linter is presence, not proof the rules actually run or block a merge.
- AX10 Code composition: Role is inferred from namespace/folder convention, not semantics — a domain concept living in a folder named "Services" reads as application, and the split is lines-of-code, not business value. The business-logic-share score is a SOFT, FLOORED signal: it contributes to the Architecture lens but is floored at the Critical gate, so an infrastructure-heavy design (a gateway, an ETL, a driver) is legitimately low without being nuked to zero.
- M4 Documentation accuracy: Onboarding quality is an LLM read of the docs/setup present — it cannot run the onboarding or measure how long a real new joiner takes; the verdict is sampled and advisory.
- P6 Release Hygiene: Rollback/observability controls are inferred from repo artefacts (pipelines, dashboards-as-code) — controls configured in external tooling, with no in-repo trace, cannot be credited.
Dimensions
D1 · Cyclomatic Complexity
2 method(s) exceeded the cyclomatic complexity threshold of 15; the worst was DownloadItem.render at 39.
What to do
- Bring the 2 bodies over 15 down to 15 or less in Cyclomatic Complexity — start with DownloadItem.render (cyclomatic 39), render (cyclomatic 39). — This score is capped by its worst body, so a finding fixed alone moves it by almost nothing — the next one down takes its place. Refactoring these 2 together lifts Cyclomatic Complexity from 8.8 to about 10.0/10, projected with the scoring formula itself and assuming each lands exactly at 15.
- Enforce Cyclomatic Complexity in CI to reach Verified (currently Documented). — Hardens enforcement from Documented toward Prevented — provenance only; does not change the score.
D2 · Cognitive Complexity
9 method(s) exceeded the cognitive complexity threshold of 15; the worst was render at 49.
What to do
- Bring the 2 bodies over 30 down to 30 or less in Cognitive Complexity — start with render (cognitive 49), DownloadItem.render (cognitive 39). — This score is capped by its worst body, so a finding fixed alone moves it by almost nothing — the next one down takes its place. Refactoring these 2 together lifts Cognitive Complexity from 8.0 to about 8.6/10, projected with the scoring formula itself and assuming each lands exactly at 30; a cleaner split scores higher.
- Enforce Cognitive Complexity in CI to reach Verified (currently Documented). — Hardens enforcement from Documented toward Prevented — provenance only; does not change the score.
D3 · God Classes
0 god class(es) detected.
D5 · Coupling
9 production modules (Cargo+npm), 0 dependency cycle(s), 0 unstable depended-on module(s). Read from the build's own module declarations, and main-sequence distance (abstractness) is not computed for these modules yet.
D6 · Cohesion (LCOM4)
1 of 5 classes have LCOM4 above 3.
What to do
- Resolve the 1 Low cohesion finding(s) in Cohesion (LCOM4) — start with REDACTED. — One of this dimension's main actionable groups (1 warning-level).
- Enforce Cohesion (LCOM4) in CI to reach Verified (currently Documented). — Hardens enforcement from Documented toward Verified — provenance only; does not change the score.
D9 · Test Distribution
3 test methods: 3 unit, 0 integration, 0 BDD, 0 e2e. The JavaScript/TypeScript suite contributes 3 `it`/`test` case(s) across 3 test file(s) declaring at least one; its tier split is read from package names and paths only.
D10 · Test Quality
0 skipped, 2 zero-assertion, no mocking-framework packages referenced (hand-written doubles or no mocking) across 3 tests.
What to do
- Resolve the 2 No assertions finding(s) in Test Quality — start with index.test.js (2). — One of this dimension's main actionable groups (2 warning-level).
- Resolve the 2 Test project verifies nothing finding(s) in Test Quality — start with index.test.js (2). — One of this dimension's main actionable groups (2 warning-level).
- Enforce Test Quality in CI to reach Verified (currently Documented). — Hardens enforcement from Documented toward Prevented — provenance only; does not change the score.
D11 · Test Reliability
0 flaky across 1 measured tier(s). JavaScript/TypeScript (mocha via `npm ci --ignore-scripts` in .repo/sample-list-generator/ (17 tests); jest via `npm ci --ignore-scripts` in functional-samples/tutorial.puppeteer/ (0 tests); jest via `npm ci --ignore-scripts` in functional-samples/tutorial.terminate-sw/puppeteer/ (0 tests); jest via `npm ci --ignore-scripts` in functional-samples/tutorial.terminate-sw/selenium/ (1 tests)): measured (0 flaky).
D12 · Dependency Hygiene
2 outdated, 0 yanked direct Cargo dependencies. Only DIRECT edges are graded: a transitive crate cannot be moved past what its parent's requirement admits, so reporting one would be advice its owner cannot take. A newer release is reported only where this repository's OWN requirement already admits it, so the remedy is `cargo update` and never a manifest edit — which means a release outside the declared range is deliberately NOT charged, because a written-down constraint is a decision rather than a defect. Note that a bare requirement is a CARET, and for a 0.x crate its ceiling is the minor. Whether any crate is UNMAINTAINED is not graded — crates.io publishes no maintenance status, and release age does not stand in for one. Known CVEs in this dependency graph are D30's question, read from Cargo.lock there.
D13 · REDACTED Scanning
2 secret(s) detected.
What to do
- Resolve the 2 Leaked secret finding(s) in REDACTED Scanning — start with REDACTED (2). — One of this dimension's main actionable groups (2 issue-level).
- Enforce REDACTED Scanning in CI to reach Verified (currently Documented). — Hardens enforcement from Documented toward Prevented — provenance only; does not change the score.
D14 · License Compliance
0 of 15 shipped crate(s) use a banned license. Licences were resolved from crates.io over the crates a consumer compiles — this repository's Cargo.lock closed over its manifests' `[dependencies]` and `[build-dependencies]`. Crates it asks for ONLY under `[dev-dependencies]` are excluded: they are not compiled by anything that depends on this repository. ★ COVERAGE OF THIS VERDICT: it grades this repository's crate dependencies and nothing else. The repository also declares package.json, and the licences of those dependencies were NOT read by this pass — a gap in this engine's coverage, not a statement about them. So this result says the graded closure carries no banned licence; it does NOT say this repository's licensing is clear.
D15 · Churn × Complexity Hotspots
No churn × complexity hotspots in the window.
D16 · Bus Factor
6 source file(s) have their living knowledge concentrated in one author (≥90% of recent, decayed contribution). The largest is api-samples/downloads/download_manager/popup.js. Counted over 43 of the 190 production source files in this repository: 146 are under the ~2,400-byte size floor this dimension measures over, and the remaining 1 have no attributable history left to measure.
What to do
- Resolve the 1 Off-boarding risk finding(s) in Bus Factor. — One of this dimension's main actionable groups (1 recommendation-level).
- Resolve the 1 Further sole-owners (lower concentration) finding(s) in Bus Factor. — One of this dimension's main actionable groups (1 recommendation-level).
D17 · Explicit Debt
5 deducted task-comment markers across 710 LoC (0.2/KLoC) → score 9.6. Task comments only: this repository's language is read without a compiler, so D17's suppression, dead-code and commented-out-code arms did not run and this score counts fewer marker kinds than a .NET repository's would.
What to do
- Resolve the 5 TodoComment finding(s) in Explicit Debt — start with IRCProxyWebSocket.java (4), balls.dart. — One of this dimension's main actionable groups (5 warning-level).
- Enforce Explicit Debt in CI to reach Verified (currently Documented). — Hardens enforcement from Documented toward Prevented — provenance only; does not change the score.
D19 · Documentation Quality
1 of 1 documentation facets pass in full. 106 document(s) read across 1 unit(s).
D26 · Project Cohesion
1 of 8 build units (Cargo, npm) flagged as possibly oversized/incoherent. This repository's .cpp, .ino source was read by no build unit, so this covers part of the tree, not all of it.
What to do
- Resolve the 1 Projects may be oversized for their cohesion finding(s) in Project Cohesion. — One of this dimension's main actionable groups (1 recommendation-level).
D28 · Secrets (history)
4 finding(s): 0 critical, 4 high, 0 medium, 0 low. Remediation for historically-committed secrets is credential rotation — they remain in history regardless of later deletion.
What to do
- Resolve the 4 REDACTED finding(s) in Secrets (history) — start with REDACTED (2), REDACTED, REDACTED. — One of this dimension's main actionable groups (4 issue-level).
- Resolve the 1 Rotate the exposed credentials finding(s) in Secrets (history). — One of this dimension's main actionable groups (1 recommendation-level).
D29 · Static Analysis (SAST)
3 finding(s): 0 critical, 0 high, 3 medium, 0 low. semgrep hit a parse error in 13 file(s) — `.repo/sample-list-generator/src/libs/api-detector.ts` (lines 15–18, line 18), `_archive/apps/samples/analytics/google-analytics-bundle.js`, `_archive/apps/samples/dart/dart/clock.dart.precompiled.js`, `_archive/apps/samples/mini-code-edit/cm/doc/manual.html` (lines 48–50), `_archive/apps/samples/mini-code-edit/cm/mode/coffeescript/index.html` (lines 62–242, lines 246–247, lines 248–252, …), … (+8 more) — so no absence of findings in the named regions is evidence of anything; rows reported elsewhere in those files are real. Fix the syntax error (or exclude the file deliberately) and re-scan to cover them.
What to do
- Resolve the 1 REDACTED finding(s) in Static Analysis (SAST) — start with REDACTED. — One of this dimension's main actionable groups (1 warning-level).
- Resolve the 1 REDACTED finding(s) in Static Analysis (SAST) — start with REDACTED. — One of this dimension's main actionable groups (1 warning-level).
- Resolve the 1 REDACTED finding(s) in Static Analysis (SAST) — start with REDACTED. — One of this dimension's main actionable groups (1 warning-level).
D30 · Dependency Vulnerabilities
11 finding(s): 0 critical, 3 high, 0 medium, 8 low.
What to do
- Resolve the 3 High CVE finding(s) in Dependency Vulnerabilities — start with REDACTED (3). — One of this dimension's main actionable groups (3 issue-level).
- Resolve the 8 Low CVE finding(s) in Dependency Vulnerabilities — start with REDACTED (8). — One of this dimension's main actionable groups (8 recommendation-level).
D35 · Change Coupling
No strong hidden change-coupling between production files.
D43 · Malicious Dependencies
No dependency in any ecosystem this repository declares is published as malicious.
Frontend & cross-cutting dimensions
AC1 · Text alternatives
- A <canvas> with no aria-label/title and no inner fallback content can't be described by assistive tech. Add a name or fallback content. (×3) — _archive/mv2/api/pageAction/set_icon/background.html:6, _archive/mv2/extensions/imageinfo/info.html:23, _archive/mv2/extensions/talking_alarm_clock/popup.html:113
- An image with no alt (and no aria-label/aria-labelledby) is unreadable to assistive tech. Add alt — alt="" if it's purely decorative. (×20) — _archive/mv2/api/processes/show_tabs/popup.js:55, _archive/mv2/api/storage/stylizr/options.html:29, _archive/mv2/api/tabs/screenshot/screenshot.html:6, …
What to do
- Add a text alternative — alt on images (alt="" for purely decorative ones), a title or aria-label on meaningful svg, an aria-label or inner fallback content on canvas, and a captions <track> on video.
AC2 · Forms & labels
- This control has no associated label. Add a <label for> / wrapping <label> / aria-label / aria-labelledby so assistive tech can name it. (×32) — _archive/mv2/api/bookmarks/basic/popup.html:8, _archive/mv2/api/cookies/manager.html:28, _archive/mv2/api/downloads/download_links/popup.html:12, …
- A fieldset groups related controls but has no <legend> to name the group. Add a <legend> as its first child — or, if the group already has a visible caption beside it (or the fieldset is there only to disable its subtree and carries no group box), point aria-labelledby at that caption's id instead, which names the group without rendering a second one. — _archive/mv2/api/contentSettings/popup.html:11
- This control has only a placeholder — a placeholder is not a label (it vanishes on input and many AT ignore it). Add a <label for>, a wrapping <label>, or aria-label. (×4) — _archive/mv2/api/downloads/download_links/popup.html:6, _archive/mv2/api/history/historyOverride/history.html:9, _archive/mv2/api/i18n/detectLanguage/popup.html:13, …
- A link with no text, aria-label or labelled child (e.g. an icon-only link) has no accessible name, so assistive tech can't say where it goes. Add visible text or an aria-label. (×3) — _archive/mv2/api/downloads/download_manager/popup.html:18, _archive/mv2/api/downloads/download_manager/popup.html:30, _archive/mv2/api/downloads/download_manager/popup.html:43
What to do
- Give every control a programmatic label (a <label for> / wrapping <label> / aria-label) and every button text — a placeholder is not a label.
AC3 · Page structure
- The page declares no language, so assistive tech can't pick the right pronunciation. Add lang (e.g. lang="en"). (×17) — _archive/mv2/api/bookmarks/basic/popup.html:1, _archive/mv2/api/browserAction/set_page_color/popup.html:2, _archive/mv2/api/browsingData/basic/popup.html:2, …
- A page with no <title> gives no name in the tab, history or screen-reader page list. Add a descriptive <title> in <head>. (×6) — _archive/mv2/api/bookmarks/basic/popup.html:1, _archive/mv2/api/cookies/manager.html:1, _archive/mv2/api/debugger/live-headers/headers.html:7, …
- No <main> (or role="main") means no "skip to content" target and a weaker landmark map. Wrap the primary content in <main>. (×12) — _archive/mv2/api/bookmarks/basic/popup.html:1, _archive/mv2/api/browserAction/set_page_color/popup.html:2, _archive/mv2/api/contentSettings/popup.html:2, …
- No <main> (or role="main") means no "skip to content" target and a weaker landmark map. This document's body is only the mount point <div id="container">, so there is no content here to wrap — render the <main> from the component mounted into it. — _archive/mv2/api/debugger/live-headers/headers.html:7
- No <main> (or role="main") means no "skip to content" target and a weaker landmark map. This document's body is only the mount point <div id="deviceinfos">, so there is no content here to wrap — render the <main> from the component mounted into it. — _archive/mv2/api/deviceInfo/basic/popup.html:1
- No <main> (or role="main") means no "skip to content" target and a weaker landmark map. This document's body is only the mount point <div id="deviceList">, so there is no content here to wrap — render the <main> from the component mounted into it. — _archive/mv2/api/displaySource/tabCast/main.html:7
- A <table> with data cells but no <th> gives assistive technology no way to associate cells with their headers. Mark the header row/column cells as <th> (with a scope). — _archive/mv2/api/downloads/download_filename_controller/options.html:10
- An empty <title> gives no page name in the tab, history or screen-reader page list. Put descriptive text in the <title>. — _archive/mv2/api/downloads/download_manager/popup.html:2
What to do
- Declare <html lang>, a document <title> and a <main> landmark, keep headings in order, leave zoom enabled, title iframes and drop meta-refresh.
AC4 · Keyboard semantics
- An <a href="#"> (or javascript:) with a click handler is a button dressed as a link — it announces the wrong role and stops working without JS. Use a <button> for an action. (×3) — _archive/mv2/api/processes/show_tabs/popup.js:58, _archive/mv2/extensions/gdocs/popup.html:95, _archive/mv2/extensions/gdocs/popup.html:96
- An <a> with no href, role or tabindex isn't focusable or keyboard-activatable. Give it a real href, or use a <button> for an action. (×9) — _archive/mv2/api/topsites/magic8ball/newTab.html:19, _archive/mv2/extensions/calendar/views/options.html:17, _archive/mv2/extensions/news/javascript/feed.js:198, …
- A click handler on a plain element isn't keyboard-operable. Use a <button>, or add role + tabindex="0" + a key handler. (×3) — _archive/mv2/extensions/irc/servlet/index.html:381, _archive/mv2/extensions/irc/servlet/index.html:389, _archive/mv2/extensions/irc/servlet/notification.html:56
- The repo's own CSS styles .label with `cursor: pointer`, so this <div> is a control — but it has no role, no tabindex="0" and no key handler, so it can only be reached with a mouse. Use a <button>, or add role + tabindex="0" + a key handler. (×3) — api-samples/tabs/inspector/window_and_tabs_manager.html:76, api-samples/tabs/inspector/window_and_tabs_manager.html:86, api-samples/tabs/inspector/window_and_tabs_manager.html:90
- The repo's own CSS styles .chat-item with `cursor: pointer`, so this <li> is a control — but it has no role, no tabindex="0" and no key handler, so it can only be reached with a mouse. Use a <button>, or add role + tabindex="0" + a key handler. (×3) — functional-samples/ai.gemini-on-device-audio-scribe/demo-chat-app/index.html:16, functional-samples/ai.gemini-on-device-audio-scribe/demo-chat-app/index.html:20, functional-samples/ai.gemini-on-device-audio-scribe/demo-chat-app/index.html:24
What to do
- Make custom controls keyboard-operable (role + tabindex + key handler), drop positive tabindex, and give anchors a real href.
AC5 · ARIA correctness
AC6 · Visual & motion safety
- `input` sets the outline to none/0 and no visible :focus / :focus-visible style for that element replaces it in this stylesheet, so a keyboard user cannot see where focus is. Draw a focus ring (outline, box-shadow or border) under :focus-visible. (×4) — _archive/mv2/api/contextMenus/global_context_search/options.html:12, _archive/mv2/extensions/constant_context/popup.html:12, _archive/mv2/extensions/download_images/popup.html:12, …
- `#apply-settings:enabled` sets color: #fbfafb on background-color: #4f7dd6 — 3.9:1, below the 4.5:1 WCAG AA minimum for normal text. Darken or lighten one of them. (×2) — _archive/mv2/api/fontSettings/options.html:17, api-samples/fontSettings/fontSettings Advanced/options.html:32
- `button` sets the outline to none/0 and no visible :focus / :focus-visible style for that element replaces it in this stylesheet, so a keyboard user cannot see where focus is. Draw a focus ring (outline, box-shadow or border) under :focus-visible. (×11) — _archive/mv2/api/water_alarm_notification/popup.html:19, _archive/mv2/tutorials/broken_background_color/options.html:8, _archive/mv2/tutorials/broken_background_color/popup.html:8, …
- `#title` sets color: white on background-color: #AAAAAA — 2.3:1, below the 4.5:1 WCAG AA minimum for normal text. Darken or lighten one of them. — _archive/mv2/extensions/irc/servlet/notification.html:4
- `body.nooutline *` sets the outline to none/0 and no visible :focus / :focus-visible style for that element replaces it in this stylesheet, so a keyboard user cannot see where focus is. Draw a focus ring (outline, box-shadow or border) under :focus-visible. — _archive/mv2/extensions/talking_alarm_clock/popup.html:99
- `input#todo_value ~ input[type="submit"]` sets color: white on background-color: #4285F4 — 3.6:1, below the 4.5:1 WCAG AA minimum for normal text. Darken or lighten one of them. (×2) — functional-samples/sample.optional_permissions/style.css:119, _archive/mv2/extensions/optional_permissions/style.css:99
- `.addButton` sets color: white on background-color: #aaaaaa — 2.3:1, below the 4.5:1 WCAG AA minimum for normal text. Darken or lighten one of them. — _archive/mv2/extensions/irc/servlet/styles.css:39
- `.navbar .btn-navbar:hover, .navbar .btn-navbar:active, .navbar .btn-navbar.active, .navbar .btn-navbar.disabled, .navbar .btn-navbar[disabled]` sets color: #ffffff on background-color: #e5e5e5 — 1.3:1, below the 4.5:1 WCAG AA minimum for normal text. Darken or lighten one of them. — _archive/apps/samples/webserver/styles/bootstrap.css:3513
- `.button.blue` sets color: #fff on background-color: #4d90fe — 3.1:1, below the 4.5:1 WCAG AA minimum for normal text. Darken or lighten one of them. (×2) — _archive/apps/samples/weather/style.css:108, _archive/apps/samples/diff/css/style.css:68
- `.btn-warning:hover, .btn-warning:focus, .btn-warning:active, .btn-warning.active, .open .dropdown-toggle.btn-warning` sets color: #ffffff on background-color: #ed9c28 — 2.2:1, below the 4.5:1 WCAG AA minimum for normal text. Darken or lighten one of them. — _archive/apps/samples/one-time-payment/css/bootstrap.css:1078
- `*/ ::selection` sets color: white on background-color: #ffd14d — 1.5:1, below the 4.5:1 WCAG AA minimum for normal text. Darken or lighten one of them. — _archive/apps/samples/io2012-presentation/css/theme.css:180
- `.control-group.warning .input-prepend .add-on, .control-group.warning .input-append .add-on` sets color: #c09853 on background-color: #fcf8e3 — 2.5:1, below the 4.5:1 WCAG AA minimum for normal text. Darken or lighten one of them. — _archive/apps/samples/gdrive/css/bootstrap.css:1167
- `.ui-helper-reset` sets the outline to none/0 and no visible :focus / :focus-visible style for that element replaces it in this stylesheet, so a keyboard user cannot see where focus is. Draw a focus ring (outline, box-shadow or border) under :focus-visible. (×2) — functional-samples/sample.bookmarks/third-party/jquery-ui.css:30, functional-samples/sample.bookmarks/third-party/jquery-ui.structure.css:34
- `.ui-menu` sets the outline to none/0 and no visible :focus / :focus-visible style for that element replaces it in this stylesheet, so a keyboard user cannot see where focus is. Draw a focus ring (outline, box-shadow or border) under :focus-visible. (×2) — functional-samples/sample.bookmarks/third-party/jquery-ui.css:204, functional-samples/sample.bookmarks/third-party/jquery-ui.structure.css:208
- `.ui-dialog` sets the outline to none/0 and no visible :focus / :focus-visible style for that element replaces it in this stylesheet, so a keyboard user cannot see where focus is. Draw a focus ring (outline, box-shadow or border) under :focus-visible. (×2) — functional-samples/sample.bookmarks/third-party/jquery-ui.css:582, functional-samples/sample.bookmarks/third-party/jquery-ui.structure.css:586
- `#message-input-field` sets the outline to none/0 and no visible :focus / :focus-visible style for that element replaces it in this stylesheet, so a keyboard user cannot see where focus is. Draw a focus ring (outline, box-shadow or border) under :focus-visible. — functional-samples/ai.gemini-on-device-audio-scribe/demo-chat-app/style.css:170
- `.audio-progress` sets the outline to none/0 and no visible :focus / :focus-visible style for that element replaces it in this stylesheet, so a keyboard user cannot see where focus is. Draw a focus ring (outline, box-shadow or border) under :focus-visible. — functional-samples/ai.gemini-on-device-audio-scribe/demo-chat-app/style.css:234
- `.text` sets the outline to none/0 and no visible :focus / :focus-visible style for that element replaces it in this stylesheet, so a keyboard user cannot see where focus is. Draw a focus ring (outline, box-shadow or border) under :focus-visible. (×2) — functional-samples/ai.gemini-on-device/sidepanel/index.css:61, functional-samples/ai.gemini-in-the-cloud/sidepanel/index.css:61
- `h1>a[href^="#"][id]:empty:target:focus` sets the outline to none/0 and no visible :focus / :focus-visible style for that element replaces it in this stylesheet, so a keyboard user cannot see where focus is. Draw a focus ring (outline, box-shadow or border) under :focus-visible. — api-samples/action/third-party/awsm/awsm.css:7
- `.noborder` sets the outline to none/0 and no visible :focus / :focus-visible style for that element replaces it in this stylesheet, so a keyboard user cannot see where focus is. Draw a focus ring (outline, box-shadow or border) under :focus-visible. — _archive/mv2/extensions/news/css/options.css:117
What to do
- Keep a visible focus style (don't remove the outline without a replacement), guard animation with prefers-reduced-motion, and raise low-contrast colour pairs to at least 4.5:1.
AC7 · A11y enforcement
- No accessibility enforcement found — no a11y linter (an accessibility check that can read your UI — no component framework was detected and your pages are rendered by server-side templates, which neither the JSX/Vue ESLint plugins nor the HTML-template linters can parse; run axe/pa11y over the rendered pages, or assert the accessibility invariants over that rendered HTML in the test suite you already have) and no axe/pa11y/Lighthouse in tests or CI. Start by running that check over your rendered pages in CI. What was searched, so you can tell an absence from a miss: the 200 markup file(s) this pass actually assessed, the linter configuration checked in beside them, and this repository's test and CI files — matched by name against the accessibility checkers this dimension carries. An audit run outside the repository, a hosted scanner, or a check whose name is not one of those, is not seen here.
What to do
- Enforce accessibility in the toolchain: add an accessibility check that can read your UI — no component framework was detected and your pages are rendered by server-side templates, which neither the JSX/Vue ESLint plugins nor the HTML-template linters can parse; run axe/pa11y over the rendered pages, or assert the accessibility invariants over that rendered HTML in the test suite you already have, then assert with jest-axe in tests, then gate axe/pa11y/Lighthouse in CI.
AX10 · Code composition
What to do
- The domain core is a small share of production code, but most of the rest matched no layer vocabulary at all — so this is not yet an anemic-domain finding. The namespace/path convention could not place that code, which makes the composition above a statement about the naming, not about the design. Name the layers (or check that the repository's conventions differ from the ones this check knows) before reading a thin domain into it.
AX3 · Project dependency cycles
AX4 · Dependency direction
GD1 · Unfinished & placeholder code
IC1 · Incompleteness & stubs
- `clearDisplay` is declared `async` but never awaits anything, so it runs synchronously while pretending to be asynchronous. Drop `async` or do the real async work. — api-samples/alarms/index.js:164
- `checkState` is declared `async` but never awaits anything, so it runs synchronously while pretending to be asynchronous. Drop `async` or do the real async work. — api-samples/idle/history.js:42
- `showAltText` is declared `async` but never awaits anything, so it runs synchronously while pretending to be asynchronous. Drop `async` or do the real async work. — functional-samples/ai.gemini-on-device-alt-texter/popup.js:26
- `showSummary` is declared `async` but never awaits anything, so it runs synchronously while pretending to be asynchronous. Drop `async` or do the real async work. — functional-samples/ai.gemini-on-device-summarization/sidepanel/index.js:94
- `updateWarning` is declared `async` but never awaits anything, so it runs synchronously while pretending to be asynchronous. Drop `async` or do the real async work. — functional-samples/ai.gemini-on-device-summarization/sidepanel/index.js:98
- `reset` is declared `async` but never awaits anything, so it runs synchronously while pretending to be asynchronous. Drop `async` or do the real async work. — functional-samples/ai.gemini-on-device/sidepanel/index.js:33
- `addToClipboardV2` is declared `async` but never awaits anything, so it runs synchronously while pretending to be asynchronous. Drop `async` or do the real async work. — functional-samples/cookbook.offscreen-clipboard-write/background.js:47
- `handleMessages` is declared `async` but never awaits anything, so it runs synchronously while pretending to be asynchronous. Drop `async` or do the real async work. (×3) — functional-samples/cookbook.offscreen-clipboard-write/offscreen.js:28, functional-samples/cookbook.offscreen-dom/background.js:46, functional-samples/cookbook.offscreen-dom/offscreen.js:22
- `handleClipboardWrite` is declared `async` but never awaits anything, so it runs synchronously while pretending to be asynchronous. Drop `async` or do the real async work. — functional-samples/cookbook.offscreen-clipboard-write/offscreen.js:55
- `handleAddExclamationMarkResult` is declared `async` but never awaits anything, so it runs synchronously while pretending to be asynchronous. Drop `async` or do the real async work. — functional-samples/cookbook.offscreen-dom/background.js:63
- `__wbg_init_memory` takes parameters but its body is empty — it accepts inputs and does nothing. Either implement it or remove it. — functional-samples/cookbook.wasm-helloworld-print/wasm/pkg/helloworld_demo.js:178
- `co2MeterConnected` is declared `async` but never awaits anything, so it runs synchronously while pretending to be asynchronous. Drop `async` or do the real async work. — functional-samples/sample.co2meter/background.js:34
- `broadcastMessage` is declared `async` but never awaits anything, so it runs synchronously while pretending to be asynchronous. Drop `async` or do the real async work. — functional-samples/sample.co2meter/background.js:50
- `init` is declared `async` but never awaits anything, so it runs synchronously while pretending to be asynchronous. Drop `async` or do the real async work. — functional-samples/sample.co2meter/modules/co2_meter.js:46
- `stopRecording` is declared `async` but never awaits anything, so it runs synchronously while pretending to be asynchronous. Drop `async` or do the real async work. — functional-samples/sample.tabcapture-recorder/offscreen.js:80
What to do
- Finish or delete the unfinished stubs (functions that throw "not implemented", or whose body is empty or a bare constant) — they are dead surface that looks live.
M1 · Documentation (README)
- 28 code files changed in the last 6 months but the README was not touched — it may no longer reflect the system.
What to do
- Explain in the README how to run the tests. Add a section called Testing to the README in the repository's top folder, saying how to run the test suite.
- Add an 'Architecture' / 'How it works' section to the root README — the high-level shape.
- Add a README to the 4 of 11 project(s) that lack one — worth up to 0.7 pts.
- Review the README against recent changes; refresh the parts that drifted.
M2 · Architecture documentation
- No Architecture Decision Records found — no conventional ADR directory, no numbered `NNNN-title` documents in any markup this check reads, and nothing ADR-shaped by content. Design rationale recorded elsewhere (a design-notes tree, a mailing list, pull-request discussion) is not visible to this check and is not re-findable per decision, so a future maintainer cannot ask why one choice was made and get an answer.
What to do
- Record your significant design decisions. Write one short document per decision, giving its date, the situation, the decision and its consequences, and keep them together with your other design documents. A docs/adr folder with each file named by number and title is the easiest place to find them.
M3 · Folder & project structure
- Production code isn't grouped under a src/ folder — it's spread across several top-level directories, so there's no one place that says 'this is the product'.
What to do
- Group production code under src/ (or split deliberately, e.g. backend/ + frontend/) so production and tooling code aren't mixed at the root.
M4 · Documentation accuracy
P1 · CI/CD gates
P10 · Library API & versioning
P2 · Observability
- Only 2/5 runnable modules use logging (modules with no entry point or server are excluded — they are libraries a runnable module hosts). Silent: `_archive/apps/samples/dart`, `functional-samples/cookbook.wasm-helloworld-print-nomodule/wasm`, `functional-samples/cookbook.wasm-helloworld-print/wasm`.
- `functional-samples/tutorial.websockets/service-worker.js` reports through `console.*` at line 27 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline. — functional-samples/tutorial.websockets/service-worker.js:27
- `functional-samples/tutorial.websockets/service-worker.js` reports through `console.*` at line 32 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline. — functional-samples/tutorial.websockets/service-worker.js:32
- `functional-samples/tutorial.websockets/service-worker.js` reports through `console.*` at line 47 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline. — functional-samples/tutorial.websockets/service-worker.js:47
- `functional-samples/tutorial.quick-api-reference/sw-omnibox.js` reports through `console.*` at line 1 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline. — functional-samples/tutorial.quick-api-reference/sw-omnibox.js:1
- `functional-samples/tutorial.quick-api-reference/sw-tips.js` reports through `console.*` at line 1 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline. — functional-samples/tutorial.quick-api-reference/sw-tips.js:1
- `functional-samples/tutorial.open-api-reference/sw-omnibox.js` reports through `console.*` at line 3 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline. — functional-samples/tutorial.open-api-reference/sw-omnibox.js:3
- `functional-samples/tutorial.open-api-reference/sw-tips.js` reports through `console.*` at line 1 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline. — functional-samples/tutorial.open-api-reference/sw-tips.js:1
- `functional-samples/tutorial.hello-world/popup.js` reports through `console.*` at line 1 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline. — functional-samples/tutorial.hello-world/popup.js:1
- `functional-samples/tutorial.getting-started/background.js` reports through `console.*` at line 5 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline. — functional-samples/tutorial.getting-started/background.js:5
- `functional-samples/tutorial.broken-color/options.js` reports through `console.*` at line 25 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline. — functional-samples/tutorial.broken-color/options.js:25
- `functional-samples/tutorial.broken-color/service-worker.js` reports through `console.*` at line 19 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline. — functional-samples/tutorial.broken-color/service-worker.js:19
- `functional-samples/sample.optional_permissions/newtab.js` reports through `console.*` at line 65 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline. — functional-samples/sample.optional_permissions/newtab.js:65
- `functional-samples/sample.optional_permissions/newtab.js` reports through `console.*` at line 69 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline. — functional-samples/sample.optional_permissions/newtab.js:69
- `functional-samples/sample.co2meter/background.js` reports through `console.*` at line 67 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline. — functional-samples/sample.co2meter/background.js:67
- `functional-samples/sample.co2meter/background.js` reports through `console.*` at line 113 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline. — functional-samples/sample.co2meter/background.js:113
- `functional-samples/sample.co2meter/modules/co2_meter.js` reports through `console.*` at line 58 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline. — functional-samples/sample.co2meter/modules/co2_meter.js:58
- `functional-samples/sample.co2meter/modules/co2_meter.js` reports through `console.*` at line 63 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline. — functional-samples/sample.co2meter/modules/co2_meter.js:63
- `functional-samples/sample.co2meter/modules/co2_meter.js` reports through `console.*` at line 76 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline. — functional-samples/sample.co2meter/modules/co2_meter.js:76
- `functional-samples/sample.co2meter/modules/co2_meter.js` reports through `console.*` at line 104 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline. — functional-samples/sample.co2meter/modules/co2_meter.js:104
- `functional-samples/sample.co2meter/modules/co2_meter.js` reports through `console.*` at line 110 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline. — functional-samples/sample.co2meter/modules/co2_meter.js:110
- `functional-samples/sample.co2meter/modules/co2_meter.js` reports through `console.*` at line 126 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline. — functional-samples/sample.co2meter/modules/co2_meter.js:126
- `functional-samples/sample.bookmarks/popup.js` reports through `console.*` at line 86 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline. — functional-samples/sample.bookmarks/popup.js:86
- `functional-samples/cookbook.wasm-helloworld-print-nomodule/wasm/pkg/helloworld_demo.js` reports through `console.*` at line 139 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline. — functional-samples/cookbook.wasm-helloworld-print-nomodule/wasm/pkg/helloworld_demo.js:139
- `functional-samples/cookbook.wasm-helloworld-print-nomodule/wasm/pkg/helloworld_demo.js` reports through `console.*` at line 173 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline. — functional-samples/cookbook.wasm-helloworld-print-nomodule/wasm/pkg/helloworld_demo.js:173
- `functional-samples/cookbook.wasm-helloworld-print-nomodule/wasm/pkg/helloworld_demo.js` reports through `console.*` at line 176 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline. — functional-samples/cookbook.wasm-helloworld-print-nomodule/wasm/pkg/helloworld_demo.js:176
- `functional-samples/cookbook.wasm-helloworld-print/wasm/pkg/helloworld_demo.js` reports through `console.*` at line 132 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline. — functional-samples/cookbook.wasm-helloworld-print/wasm/pkg/helloworld_demo.js:132
- `functional-samples/cookbook.wasm-helloworld-print/wasm/pkg/helloworld_demo.js` reports through `console.*` at line 166 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline. — functional-samples/cookbook.wasm-helloworld-print/wasm/pkg/helloworld_demo.js:166
- `functional-samples/cookbook.wasm-helloworld-print/wasm/pkg/helloworld_demo.js` reports through `console.*` at line 169 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline. — functional-samples/cookbook.wasm-helloworld-print/wasm/pkg/helloworld_demo.js:169
- `functional-samples/cookbook.sidepanel-site-specific/service-worker.js` reports through `console.*` at line 20 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline. — functional-samples/cookbook.sidepanel-site-specific/service-worker.js:20
- `functional-samples/cookbook.sidepanel-global/sidepanel.js` reports through `console.*` at line 1 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline. — functional-samples/cookbook.sidepanel-global/sidepanel.js:1
- `functional-samples/cookbook.push/background.js` reports through `console.*` at line 31 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline. — functional-samples/cookbook.push/background.js:31
- `functional-samples/cookbook.push/background.js` reports through `console.*` at line 34 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline. — functional-samples/cookbook.push/background.js:34
- `functional-samples/cookbook.push/background.js` reports through `console.*` at line 44 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline. — functional-samples/cookbook.push/background.js:44
- `functional-samples/cookbook.push/background.js` reports through `console.*` at line 48 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline. — functional-samples/cookbook.push/background.js:48
- `functional-samples/cookbook.push/background.js` reports through `console.*` at line 53 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline. — functional-samples/cookbook.push/background.js:53
- `functional-samples/cookbook.push/background.js` reports through `console.*` at line 54 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline. — functional-samples/cookbook.push/background.js:54
- `functional-samples/cookbook.permissions-addhostaccessrequest/background.js` reports through `console.*` at line 45 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline. — functional-samples/cookbook.permissions-addhostaccessrequest/background.js:45
- `functional-samples/cookbook.offscreen-user-media/background.js` reports through `console.*` at line 93 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline. — functional-samples/cookbook.offscreen-user-media/background.js:93
- `functional-samples/cookbook.offscreen-user-media/offscreen/offscreen.js` reports through `console.*` at line 48 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline. — functional-samples/cookbook.offscreen-user-media/offscreen/offscreen.js:48
What to do
- Extend structured logging to the remaining runnable modules so everything you run is diagnosable in production.
- Route service-code `console.*` output through the module's structured logger (with named fields), so delivery outcomes and failures reach the log pipeline with a level.
P3 · Security & performance tooling
- No static application security testing detected. For this repository's stack, add the Dart analyzer's security lints plus `semgrep --config=auto` as a CI step. What was searched, so you can tell an absence from a miss: the 4469 CI workflow file(s) in this repository, and the scanner and linter configuration checked in beside them. A scan that runs outside CI, one configured in your forge's web UI rather than in a committed file, or a tool whose name is none of those this check carries, is not seen — if that is your case the row is wrong, and saying so is more useful than adding a second scanner. — .github/workflows/dependabot-auto-merge.yml:10
- `.github/dependabot.yml` schedules updates, but no `package-ecosystem` entry covers `cargo`, which this tree depends on — so those dependencies get no update pull requests and no advisory pressure, however complete the dep-scan credit looks. Add the missing entry to the `updates:` list. — .github/dependabot.yml:2
What to do
- Add a SAST step to CI running what this repository's stack ships: the Dart analyzer's security lints plus `semgrep --config=auto` — so a security regression fails the build instead of landing.
- Dependabot is configured but does not watch `cargo` — add that `package-ecosystem` entry to .github/dependabot.yml so those dependencies get the same automatic update and advisory pressure as the ones it already covers.
- Add gitleaks/trufflehog in CI to block PRs that introduce committed secrets.
P6 · Release Hygiene
- The changelog this check read carries 0 versioned entries, against a bar of 3. Counted as either the distinct `x.y.z` versions it names (a link's target is not counted) or its version-shaped section headings (`## [1.2.0]`, `## V14.x.x`, `## Updates in 8.0.x`), whichever is the larger — so a log sectioned by minor series counts its sections, not its individual patch numbers. Entries recorded somewhere this check does not read — release notes generated at tag time from a generator config it did not recognise, or a log kept outside the repository — are not counted here, and this row is about what is re-findable in the tree rather than about how often you release.
What to do
- Keep the changelog current — add a versioned entry (Keep-a-Changelog ## [x.y.z]) for each release so the history isn't a stub.
- 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.
PF3 · Async & latency hygiene
R1 · Type Safety
- 0 typed · 190 plain JS — the untyped files are api-samples/action/background.js, api-samples/alarms/background.js, api-samples/alarms/bg-wrapper.js, api-samples/alarms/index.js, api-samples/bookmarks/popup.js, api-samples/browsingData/popup.js (+184 more).
What to do
- Adopt TypeScript for the frontend: add a typecheck step to the build, then either type-check the existing JavaScript in place (`checkJs`/JSDoc types) or convert the highest-traffic modules first — no file is typed today, so this is an adoption, not a clean-up.
R10 · Code Duplication
- 8 duplicated blocks under functional-samples/ have copies in at least two of the sibling directories ai.gemini-in-the-cloud, ai.gemini-on-device, cookbook.geolocation-contentscript, cookbook.geolocation-offscreen, cookbook.geolocation-popup, cookbook.sidepanel-open (+5 more sibling(s) not listed) — 7 of them are reported below, and 1 is counted here but not reported individually: those copies match on shape but no longer clear R10's bar for an individually reported row — either they kept neither their own names nor their values, or what was copied is too small to stand on its own (it reports near-exact duplication only, and only of substantial extent). What this row states is the concentration, which the detector measured over all 8 and which does not depend on how exactly each block's copies still match. That concentration is one structural fact, not 8 local ones: the siblings replicate behaviour none of them owns, which is the shape of a missing shared module — a common library every sibling imports — rather than 8 separate extractions. Check first whether the siblings are deliberately standalone deliverables (scaffold templates, demo apps that must stay copy-pasteable); where they are, the duplication is the design and the per-block rows are the ones to act on. — functional-samples/ai.gemini-in-the-cloud/sidepanel/index.js:18
- functional-samples/ai.gemini-in-the-cloud/sidepanel/index.js:18 · functional-samples/ai.gemini-on-device/sidepanel/index.js:4 — the two spans are one implementation copied and then locally edited — 387 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row's finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters — or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one. — functional-samples/ai.gemini-in-the-cloud/sidepanel/index.js:18
- functional-samples/tutorial.open-api-reference/sw-omnibox.js:3 · functional-samples/tutorial.quick-api-reference/sw-omnibox.js:1 — the two spans are one implementation copied and then locally edited — 174 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row's finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters — or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one. — functional-samples/tutorial.open-api-reference/sw-omnibox.js:3
- functional-samples/tutorial.focus-mode-debugging/background.js:25 · functional-samples/tutorial.focus-mode-debugging/fixed/background.js:25 — the 2 copies are spread across 2 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another. — functional-samples/tutorial.focus-mode-debugging/background.js:25
- functional-samples/tutorial.open-api-reference/sw-tips.js:1 · functional-samples/tutorial.quick-api-reference/sw-tips.js:1 — the two spans are one implementation copied and then locally edited — 162 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row's finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters — or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one. — functional-samples/tutorial.open-api-reference/sw-tips.js:1
- api-samples/tabs/inspector/window_and_tabs_manager.js:70 · api-samples/tabs/inspector/window_and_tabs_manager.js:112 — all 2 copies are in the same file, and the CITED SPAN is not a self-contained block — it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead — the whole function, component or branch these lines sit in — and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported. — api-samples/tabs/inspector/window_and_tabs_manager.js:70
- functional-samples/cookbook.geolocation-contentscript/content-script.js:19 · functional-samples/cookbook.geolocation-popup/popup.js:19 — the 2 copies are spread across 2 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another. — functional-samples/cookbook.geolocation-contentscript/content-script.js:19
- functional-samples/tutorial.focus-mode-debugging/background.js:15 · functional-samples/tutorial.focus-mode-debugging/fixed/background.js:15 · functional-samples/tutorial.focus-mode/background.js:15 — the 3 copies are spread across 3 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another. There is one copy in each of 3 separate files rather than several in one place, so check first whether these are sibling modules that each declare their own version of one shape — one per entity, per provider, per language. Where they are, no single extracted module collapses them: each module still has to be written, and what recurs is the TEMPLATE. The moves that do collapse a template are to generate these modules from the set they enumerate, or to replace the repeated construction with one factory each site calls with its own values — and where the set is the point, each module pinning one distinct thing, the repetition IS the enumeration and there is nothing to delete. — functional-samples/tutorial.focus-mode-debugging/background.js:15
- api-samples/tabs/inspector/window_and_tabs_manager.js:267 · api-samples/tabs/inspector/window_and_tabs_manager.js:313 — all 2 copies are in the same file, and the CITED SPAN is not a self-contained block — it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead — the whole function, component or branch these lines sit in — and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported. — api-samples/tabs/inspector/window_and_tabs_manager.js:267
- functional-samples/tutorial.open-api-reference/content.js:17 · functional-samples/tutorial.quick-api-reference/content.js:12 — the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block — it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead — the whole function, component or branch these lines sit in — and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported. — functional-samples/tutorial.open-api-reference/content.js:17
- api-samples/favicon/popup.js:1 · functional-samples/sample.favicon-cs/content.js:1 — the 2 copies are spread across 2 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another. — api-samples/favicon/popup.js:1
- api-samples/tabs/inspector/window_and_tabs_manager.js:181 · api-samples/tabs/inspector/window_and_tabs_manager.js:351 — 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. — api-samples/tabs/inspector/window_and_tabs_manager.js:181
- functional-samples/cookbook.geolocation-contentscript/content-script.js:21 · functional-samples/cookbook.geolocation-offscreen/service_worker.js:75 · functional-samples/cookbook.geolocation-popup/popup.js:21 — the 3 copies are spread across 3 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another. There is one copy in each of 3 separate files rather than several in one place, so check first whether these are sibling modules that each declare their own version of one shape — one per entity, per provider, per language. Where they are, no single extracted module collapses them: each module still has to be written, and what recurs is the TEMPLATE. The moves that do collapse a template are to generate these modules from the set they enumerate, or to replace the repeated construction with one factory each site calls with its own values — and where the set is the point, each module pinning one distinct thing, the repetition IS the enumeration and there is nothing to delete. — functional-samples/cookbook.geolocation-contentscript/content-script.js:21
- functional-samples/cookbook.offscreen-user-media/background.js:40 · functional-samples/cookbook.offscreen-user-media/offscreen/offscreen.js:19 — the 2 copies are spread across 2 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another. — functional-samples/cookbook.offscreen-user-media/background.js:40
- api-samples/history/historyOverride/logic.js:5 · api-samples/topSites/magic8ball/newTab.js:15 — the 2 copies are spread across 2 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another. — api-samples/history/historyOverride/logic.js:5
- api-samples/printing/printers.js:65 · api-samples/printing/printers.js:78 — all 2 copies are in the same file, and the CITED SPAN is not a self-contained block — it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead — the whole function, component or branch these lines sit in — and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported. — api-samples/printing/printers.js:65
- api-samples/alarms/background.js:8 · api-samples/web-accessible-resources/service-worker.js:1 — the two spans are one implementation copied and then locally edited — 50 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row's finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters — or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one. — api-samples/alarms/background.js:8
What to do
- Act on each finding's own remediation rather than one rule: the move depends on what recurs. Where the copies are executable blocks, give the shared part one home and call it from each site; where they are declarations, a listing, a specialisation already delegating to its base, or one shape repeated per entity, there is no call site and the move is a shared type, a generated set or a factory — sometimes there is nothing to extract.
R11 · Import Boundaries
- functional-samples/ai.gemini-in-the-cloud/sidepanel/index.js:1 reaches into another package with a relative path (../node_modules/@google/genai/dist/index.mjs) — import the package by name instead. — functional-samples/ai.gemini-in-the-cloud/sidepanel/index.js:1
- functional-samples/ai.gemini-on-device-calendar-mate/background.js:1 reaches into another package with a relative path (./node_modules/any-date-parser/dist/index.mjs) — import the package by name instead. — functional-samples/ai.gemini-on-device-calendar-mate/background.js:1
What to do
- Fix the listed violations: import through public entries (package exports / slice index), never reach into another layer or package's internals.
R2 · Cyclomatic Complexity
- render has cyclomatic complexity 37 and cognitive complexity 43; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side — extracting each decision into its own named function is the change that pays. Measured by this repository's own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes. — api-samples/downloads/download_manager/popup.js:306
- dumpNode has cyclomatic complexity 12 and cognitive complexity 19; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side — extracting each decision into its own named function is the change that pays. Measured by this repository's own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes. — functional-samples/sample.bookmarks/popup.js:29
- updateUI has cyclomatic complexity 11 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth — arms side by side rather than stacked — and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository's own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes. — api-samples/scripting/index.js:87
- (anonymous) has cyclomatic complexity 11 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth — arms side by side rather than stacked — and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository's own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes. — functional-samples/ai.gemini-on-device-audio-scribe/sidepanel.js:15
What to do
- Break down the listed branch-heavy functions; aim P95 cyclomatic ≤ 5.
R3 · Large Files
- api-samples/fontSettings/fontSettings Advanced/options.js has 932 significant lines (blank lines excluded), over the 400-line bar, and contains logic — a file this long is usually several responsibilities in one module. — api-samples/fontSettings/fontSettings Advanced/options.js:1
- api-samples/downloads/download_manager/popup.js has 712 significant lines (blank lines excluded), over the 400-line bar, and contains logic — a file this long is usually several responsibilities in one module. — api-samples/downloads/download_manager/popup.js:1
What to do
- Split each oversized file along the responsibilities already in it, into smaller focused modules in the same package.
R5 · Dependency Freshness
R6 · Tooling
- test ✓ · lint ✓ · typecheck ✗ — read from this repository's package.json scripts and corroborated against its CI workflows. A script counts when its name or command matches the step: `test` for the suite, `lint` or `prettier` for linting, `typecheck`/`type-check`/`tsc` for type checking. ✗ therefore means no script or CI step under those names was found, NOT that the step is absent from your pipeline — a task invoked by a runner this check does not read, or named something else entirely, is not seen and is worth confirming before acting on a cross. A ✓ means the wiring is DECLARED — a script or CI step under those names exists. It is not a statement that the step passes, or that it runs at all: nothing here installs a dependency or executes a suite.
What to do
- Add type checking (adopt TypeScript, or type-check the existing JavaScript with `checkJs`) as package.json scripts and run them in CI.
R7 · Dead Code
- 2 file(s) (~120 LoC) were excluded from dead-code analysis. This package's entry point(s) resolved, but the walk stopped one hop in: functional-samples/ai.gemini-in-the-cloud/sidepanel/index.js imports '../node_modules/@google/genai/dist/index.mjs', which is not in the scanned tree. That is usually a generated or build-output module, so reachability cannot see past it and no dead-code claim is made about this package. Nothing is necessarily wrong here. — functional-samples/ai.gemini-in-the-cloud
- 2 file(s) (~168 LoC) were excluded from dead-code analysis. This package's entry point(s) resolved, but the walk stopped one hop in: functional-samples/ai.gemini-on-device-calendar-mate/background.js imports './node_modules/any-date-parser/dist/index.mjs', which is not in the scanned tree. That is usually a generated or build-output module, so reachability cannot see past it and no dead-code claim is made about this package. Nothing is necessarily wrong here. — functional-samples/ai.gemini-on-device-calendar-mate
- Unreachable from the 181 application, 9 tooling and 6 test entry point(s) detected in this repo. Gate removals on `npm run build` — an undetected custom entry would make these reachable.
- no import path from any entry point (181 application, 9 tooling, 6 test roots considered), and no other file in the scanned tree imports it — nothing in-repo names this module at all, which is the strongest form of this claim the import graph can make (×4) — functional-samples/tutorial.reading-time/scripts/content.js, functional-samples/tutorial.focus-mode-debugging/fixed/background.js, functional-samples/tutorial.focus-mode-debugging/fixed/focus-mode.js, …
What to do
- Delete the dead files and unused exports — every line is maintenance cost and rebuild-estimate inflation with zero runtime value.
R8 · Dependency Hygiene
- Declared in the root package.json but never imported anywhere in that package or its workspace members — no static import reaches it. Usually that is dead weight and attack surface, but two shapes are indistinguishable from source and are NOT dead: an optional or native peer that another dependency loads dynamically at runtime, and a package a build, docs or test step installs and invokes separately. Confirm which of the three this is before removing it.
- Only test files import it (first: functional-samples/tutorial.puppeteer/index.test.js:16) — move it to devDependencies. — functional-samples/tutorial.puppeteer/package.json:6
What to do
- Remove unused dependencies, declare unlisted imports explicitly, and demote type-/test-only packages to devDependencies.
R9 · Circular Imports
S1 · Web-Security Posture
- `https://ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js` is executed by this page with no Subresource Integrity. Whoever can answer that request — the CDN, anyone who compromises it, anyone on the network path — runs arbitrary script in this page's origin, with its session. 6 such include(s) across the repository's markup. — _archive/mv2/api/bookmarks/basic/popup.html:3
What to do
- Pin third-party scripts and verify them: name an exact version in the URL and add an `integrity="sha384-…"` hash alongside `crossorigin="anonymous"` (both are required — an integrity hash on a cross-origin script without `crossorigin` is not evaluated, it blocks the script). Where the vendor ships a continuously-updated loader and publishes no stable hash (tag managers, analytics, chat widgets), Subresource Integrity is not available: constrain it instead with a `Content-Security-Policy` that names the exact origins allowed to execute, and drop the script from the pages that do not need it. Where the page is shipped inside a package that others host, prefer vendoring the asset and serving it from the app’s own origin, so no consumer inherits a third-party dependency they did not choose.
X1 · Async correctness
- `forEach` ignores what its callback returns, so the Promise each `async` call returns is dropped: nothing can await it, the code after this loop runs before any of the awaited work has finished (a function that `await`s around this loop still returns early), and a rejection is never handled — in Node.js an unhandled rejection terminates the process by default, and in a browser it is lost. Iterate with `for (const item of items) { await … }` when the work must run in order, or `await Promise.all(items.map(async (item) => { … }))` when it may run concurrently, so the enclosing function finishes only when the work does and its failures reach the caller. Where firing and forgetting is genuinely intended, make the callback's whole body a `try { … } catch (e) { … }` that handles the failure, so it cannot escape. — api-samples/downloads/download_manager/service-worker.js:219
What to do
- `async` callback passed to `forEach`
X12 · Unreachable branch
X13 · Undrained process stream
X14 · Bypassable address classification
X15 · Unvalidated length from an untrusted reader
X16 · Unfloored truncation loop
X17 · Uncapped recursion over a caller-supplied document
X18 · Disposal-pattern correctness
X19 · Unrestored process-global state
X2 · Cancellation propagation
- Only 0/7 async functions that make a cancellable request (fetch, axios, ky, ofetch) accept an AbortSignal or pass one on, so a request keeps running after whatever wanted it has given up — a page navigated away from, an unmounted component, a timed-out job. Take a `signal` (or an options object that carries one) and hand it to the request; where nothing could ever cancel the call, omitting it is a deliberate choice — judge against how the function is used.
- `updateTip` awaits `fetch(…)` but neither accepts an AbortSignal nor passes one on, so its caller cannot stop the request once it has started. Accept `{ signal }` and pass it through: `fetch(url, { signal })`. (×2) — functional-samples/tutorial.quick-api-reference/sw-tips.js:4, functional-samples/tutorial.open-api-reference/sw-tips.js:4
- `fireEvent` awaits `fetch(…)` but neither accepts an AbortSignal nor passes one on, so its caller cannot stop the request once it has started. Accept `{ signal }` and pass it through: `fetch(url, { signal })`. — functional-samples/tutorial.google-analytics/scripts/google-analytics.js:75
- `getMilestoneForRevId` awaits `fetch(…)` but neither accepts an AbortSignal nor passes one on, so its caller cannot stop the request once it has started. Accept `{ signal }` and pass it through: `fetch(url, { signal })`. — REDACTED:33
- `__wbg_init` awaits `fetch(…)` but neither accepts an AbortSignal nor passes one on, so its caller cannot stop the request once it has started. Accept `{ signal }` and pass it through: `fetch(url, { signal })`. (×2) — functional-samples/cookbook.wasm-helloworld-print-nomodule/wasm/pkg/helloworld_demo.js:214, functional-samples/cookbook.wasm-helloworld-print/wasm/pkg/helloworld_demo.js:207
- `generateAltText` awaits `fetch(…)` but neither accepts an AbortSignal nor passes one on, so its caller cannot stop the request once it has started. Accept `{ signal }` and pass it through: `fetch(url, { signal })`. — functional-samples/ai.gemini-on-device-alt-texter/background.js:8
What to do
- Thread an AbortSignal through async functions that make requests, so the work stops when its caller gives up.
X20 · Mistyped argument guard
X21 · Side-effecting pattern guard
X22 · Contradicted release guard
X23 · Unguarded diagnostic materialisation
X24 · Document value interpolated into markup unescaped
- `text` is text this program did not author, and it is written into the text of an element through `innerHTML` with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework's escaping output, or sanitise it if it must stay markup. — api-samples/nativeMessaging/extension/main.js:9
What to do
- Each finding names the expression, the attribute it lands in and the line. Confirm the value's origin from the read this analyzer traced, then escape it at the sink or validate it against the shape the attribute accepts before interpolating.
X25 · Inert configuration knob
X26 · Unsynchronised callback handoff
X27 · Collection changed while being enumerated
X28 · Index access outside its own emptiness guard
X29 · Per-element action decided by a fixed element
X3 · Exception handling
- An empty catch block silently discards the error — failures vanish with no log and no rethrow. Log it, handle it, or don't catch it. (×3) — REDACTED:13, REDACTED:42, REDACTED:48
What to do
- Swallowed exception (empty catch)
X30 · Support guard that admits what it rejects
X5 · Nullable reference types
- 0/1 of this repository's Java package directories are under a non-null default: a `package-info.java` declaring `@NullMarked` (JSpecify) or `@NonNullApi`, `@ParametersAreNonnullByDefault`, `@NonNullByDefault`, `@DefaultQualifier(NonNull.class)`; a `module-info.java` declaring `@NullMarked`; every type in it `@NullMarked`; or a build that runs NullAway with the package in `AnnotatedPackages`, or the Checker Framework's `NullnessChecker`. Elsewhere every reference admits null and no checker warns on the dereference that throws a `NullPointerException`.
What to do
- Declare the default where Java declares it: `@NullMarked` (org.jspecify.annotations) in each package's `package-info.java`, or once in `module-info.java`, and run NullAway (Error Prone) or the Checker Framework so the declaration is enforced. Then annotate the real exceptions `@Nullable` and resolve the suppressions rather than adding to them: a `@SuppressWarnings("NullAway")` or `castToNonNull(x)` on a value the checker could show to be null is a `NullPointerException` waiting for the path that makes it true — where the value genuinely cannot be null, say something the checker can see instead (a null check, `Objects.requireNonNull`, a non-null field initialised in the constructor).
WCAG coverage — what static analysis assessed
| Dimension | WCAG 2.2 A/AA criteria | Coverage |
|---|---|---|
| AC1 · Text alternatives | 1.1.1, 1.2.2, 1.2.5 | Partial signal |
| AC2 · Forms & labels | 1.3.1, 3.3.2, 4.1.2 | Partial signal |
| AC3 · Page structure | 1.4.4, 2.2.1, 2.4.1, 2.4.2, 3.1.1, 4.1.2 | Partial signal |
| AC4 · Keyboard semantics | 2.1.1, 2.4.3 | Partial signal |
| AC5 · ARIA correctness | 4.1.2 | Partial signal |
| AC6 · Visual & motion safety | 1.4.3, 2.4.7 | Partial — literal CSS only |
| AC7 · A11y enforcement | enforcement — no page criterion | Enforcement posture (process) |
Reference — by lens
| Lens | Score | Rating | Impact |
|---|---|---|---|
| Code Health | 39% | Weak — gated by R1, X5 | Capped at Fair by a Critical contributor — resolve it before relying on this lens. |
| Architecture | 93% | Exemplary | Solid. |
| Maturity | 60% | Adequate — gated by M2 | Capped at Fair by a Critical contributor — resolve it before relying on this lens. |
| Readiness | 51% | Adequate — gated by D13, P3, P6 | Capped at Fair by a Critical contributor — resolve it before relying on this lens. |
| Security | 81% | Strong | Solid. |
| Accessibility | 29% | Weak — gated by AC1, AC3, AC4 | Capped at Fair by a Critical contributor — resolve it before relying on this lens. |
| Performance | 100% | Exemplary | Strongest area. |
Unscored — 1 check(s) recorded observations but carry no score
- X10 Duplicated predicate — 25 observation(s) recorded · Advisory — this card reports evidence and never carries a score.
Not evidenced — 5 control(s) we could not find positive evidence for
- C3 Audit Trail — Not assessed: these audit controls are read from a source model (declarative annotations, request middleware, entity/column names, guard methods) that was not loaded for this repository — because the repository is written in a language this check does not yet model, or because its projects failed to load. Absence of an idiom this check recognises is NOT evidence that this repository lacks audit controls: it may implement them entirely in its own ecosystem. This is a gap in the analyzer's language coverage, not a finding about this repository.
- C4 Data Retention — Not assessed: these retention controls are read from a source model (declarative annotations, request middleware, entity/column names, guard methods) that was not loaded for this repository — because the repository is written in a language this check does not yet model, or because its projects failed to load. Absence of an idiom this check recognises is NOT evidence that this repository lacks retention controls: it may implement them entirely in its own ecosystem. This is a gap in the analyzer's language coverage, not a finding about this repository.
- C5 Data-Subject Rights — Not assessed: these data-subject rights controls are read from a source model (declarative annotations, request middleware, entity/column names, guard methods) that was not loaded for this repository — because the repository is written in a language this check does not yet model, or because its projects failed to load. Absence of an idiom this check recognises is NOT evidence that this repository lacks data-subject rights controls: it may implement them entirely in its own ecosystem. This is a gap in the analyzer's language coverage, not a finding about this repository.
- P4 Deployment & Rollback — not evidenced — no deploy/rollback/approval signal in the repo; absence of evidence is not evidence of a manual release
- P5 DR & Backup — not evidenced — repo shows no backup/RTO/RPO controls; absence of evidence is not evidence of a working control
Not included — 50 check(s) not relevant to this codebase
- AX1 Captive dependencies — Not applicable: this repository's Dart imports no dependency-injection container and defines no container of its own — nothing that both registers and resolves bindings, and nothing that names two lifetimes — so nothing holds one lifetime's instance while handing out another's; this repository's Java imports no dependency-injection container and defines no container of its own — nothing that both registers and resolves bindings, and nothing that names two lifetimes — so nothing holds one lifetime's instance while handing out another's; this repository's JavaScript imports no dependency-injection container and defines no container of its own — nothing that both registers and resolves bindings, and nothing that names two lifetimes — so nothing holds one lifetime's instance while handing out another's; this repository's Python imports no dependency-injection container and defines no container of its own — nothing that both registers and resolves bindings, and nothing that names two lifetimes — so nothing holds one lifetime's instance while handing out another's; Rust with no dependency-injection crate has no container to hand one lifetime's instance to another — every value is owned by the code that builds it, and the borrow checker rejects a longer-lived value keeping a borrow of a shorter-lived one.
- AX2 Stateful singletons — No container singleton was found, so there is no shared instance for concurrent requests to race on. No class in this Java code is a Spring, JSR-330 or CDI singleton bean. No function in this Python code is served by a threaded web framework (a Flask, Bottle or FastAPI route, a Django or Pyramid view), so no module is shared between request threads. Dart isolates share no mutable memory, so no two requests write one object at the same instant. Rust's compiler refuses unsynchronised shared mutation — a value shared across threads must be Sync — so the race this check looks for cannot be written. TypeScript/JavaScript runs each process's requests on one event loop, so no two requests write a shared object at the same instant (interleaving across an await is a different defect).
- 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 — no public interfaces
- AX7 Slice cohesion — not applicable — not a vertical-slice architecture
- AX8 Test isolation — no test/production split to check
- AX9 CQS / query purity — no CQRS query handlers detected — query purity is not applicable to this codebase
- AXB2 Runtime readiness — Advisory — this card reports evidence and never carries a score, so there is nothing missing here.
- AXR1 Runtime accessibility — the dev server did not expose a crawlable HTTP endpoint in time — no runtime evidence This is a statement about this run, not a statement about your application: nothing here says the surface is inaccessible, only that it was never rendered.
- 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.
- 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 — this repo declares itself a template / kata / sample / demo; a formal ADR log is deferred to a real application built from it.
- D21 Naming Consistency — Naming consistency is measured on C# only; Dart, Java, JavaScript, Python, Rust, html not measured.
- D22 Internal API Consistency — The exposed public-API surface could not be collected — no C#/VB projects loaded.
- D23 Boundary Type-Coupling — No bounded-context organisation was detected either — neither a context-shaped layout, nor 2+ sibling source directories each declaring an aggregate root, nor 2+ sibling projects each declaring an entity of their own or taking another project's integration events. Declaring this codebase's bounded contexts (≥2) would let cross-boundary type coupling be assessed. Declare them in `.codehealth/config.yaml` at the repository root (create it if absent), mapping each context name to the module-path or namespace prefixes that belong to it — e.g. `architecture:` → `contexts:` → `Billing: ["src/billing", "Acme.Billing"]`, `Catalog: ["src/catalog", "Acme.Catalog"]`.
- D24 Comment Value — D24 reads C# and Visual Basic comments only — this repository's production source is .dart, .java, .py, .rs, which was left unread. Not scored: this is a gap in the analyzer, not a verdict about this repository.
- D25 ADR Conformance — no ADRs to check
- D27 Navigability — D27 counts a call into the standard library or a dependency as unresolved for this repository's language (.html,.js), so too few call sites counted as resolved to assess navigability. Not scored: this is a gap in the analyzer, not a verdict about this repository.
- D31 IaC & Container Security — No Infrastructure-as-Code or container manifests found (Dockerfile, Docker Compose, Terraform, Kubernetes/Helm, CloudFormation, ARM, Bicep, Ansible); nothing to scan.
- D32 Data Compliance (PII/GDPR) — No personal data was found crossing a boundary the PII/GDPR ruleset checks — nothing written to a log or console sink, placed in a URL or query string, or persisted to browser storage. That is a clean result for the LEAK surface only: this ruleset detects personal data escaping, it does not inventory the personal data a repository holds, so it is not evidence that this repository has no personal-data surface. The personal-data map (Appendix C) and the C1-C5 compliance cards are what speak to that.
- D34 Knowledge Freshness — knowledge concentrated in recent work — freshness signal contradicted by repo activity
- 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.
- D4 Code Duplication — Duplication not measured — .cpp, .ino, .pl not exposed to the token comparison
- 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.
- D44 Platform End-of-Life — Platform end-of-life not assessed — this repository declares no platform this pass reads
- 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 MEASURED: the JavaScript/TypeScript half could not be measured — the jest suite in functional-samples/tutorial.puppeteer/ ran and not one test passed (FAIL ./index.test.js), so the coverage would describe the failed run, not the code. Coverage is excluded from the score rather than counted as a near-zero. The named suite step is one the repository's maintainers can perform; once it passes, the real number is measured on the next scan. Alternatively, commit the lcov/Cobertura report your CI produces and it is read without a re-run.
- DM1 Domain Modelling — not scored — this repository shows only 1 of the 3 signals this lens looks for (1 aggregate root(s) (types guarding their own state behind command methods — this language has no AggregateRoot base to inherit); its 1 aggregate(s) are ORM models only — persistence, not behaviour: a CRUD model, measured, not claimed as DDD)
- ED2 Event/command shape — not scored — deciding whether a command has more than one competing handler requires resolving the call graph, which this analysis does not build from source alone for this language. Reported as guidance rather than measured
- ED2 Event/command shape — not scored — deciding whether a command has more than one competing handler requires resolving the call graph, and a call made through an inferred or generic receiver has no resolvable owner in the source. Reported as guidance rather than measured
- ED5 Idempotency — no mutating command handlers or message consumers detected — idempotency check not applicable
- ES1 Event Sourcing — not scored — this repository shows none of the 3 signals this lens looks for
- P12 CI test-gate honesty — Reported, not scored — and nothing was matched here. The coverage check applies to any stack, and the automatic-re-run check to any GitHub-Actions workflow, 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'.
- P7 Outbound HTTP resilience — not applicable — no HTTP server, API framework or worker entry point was found in the JVM, JavaScript/TypeScript, Rust source, so there is no service whose uptime a failing dependency could take down
- P8 Schema migrations — no ORM, schema-migration tool or schema auto-create was found in this repository's dependency manifests or source, so there is no database schema for this check to judge
- P9 Domain vs controller coverage — no coverage report found on disk — produce a coverage report in a standard format (lcov — `flutter test --coverage` (or `dart test --coverage=coverage` then `dart run coverage:format_coverage --lcov`)) and commit it — a hosted scan measures a clone of the repository, so a report that exists only in a working tree, a CI runner's or your own, never reaches it; the artefact is commonly gitignored, so `git add -f` that one file (or un-ignore its path) and commit it alongside the code it measures, or wire coverage collection into CI, to enable this cross-layer check
- PF1 Benchmark discipline — Not applicable: no benchmark suite was found. This check searched for tinybench, mitata, benchmark.js, benny or vitest `bench(...)` calls in files that import them (or `*.bench.*` files), or one of those in a package.json, and for a `*benchmark*` script that this repository's CI runs. Benchmarks are credited as a bonus, so their absence is neither scored nor deducted.
- PF2 Allocation hygiene — Not applicable: allocation awareness is rated where code engineers for it — at least 400 production lines that ship benchmarks or already use allocation-aware idioms (8 or more). This repository's Java code has 116 production line(s), 0 such use(s) and no benchmarks, so there is no allocation work to rate. The card is reward-only: its absence costs nothing.
- R4 Test Coverage — 6 test file(s) reach none of 181 production file(s) via imports — exercised outside the JS import graph (integration/bundled), not import-reachable
- SC1 Supply-chain hygiene — Advisory — this card reports evidence and never carries a score, so there is nothing missing here.
- X32 Type resolved by simple name across every loaded assembly — This check is about how a .NET program searches the assemblies loaded into its process for a type, and this repository contains no .NET source, so there is nothing here for it to assess. Not a gap in the analyzer and not a finding about your code.
- X4 Structured logging — This check asks whether log calls keep a message's values apart from its text, which needs a logger that can carry them as fields. This repository's Rust was read, and it logs through none: the `log` crate's macros take one finished message (as log4net does in C#; its `kv` values are an opt-in its backends mostly drop), `println!`/`eprintln!` are not loggers, or it makes no log call outside its tests and examples at all. Calls through `tracing` (`tracing::info!`, or `info!` imported from it) would be judged.
- X6 Hand-rolled structured-format parsing — Advisory — this card reports evidence and never carries a score, so there is nothing missing here.
- X7 Silent fallback defaults — Advisory — this card reports evidence and never carries a score, so there is nothing missing here.
- X9 Subsumed condition operand — Advisory — this card reports evidence and never carries a score, so there is nothing missing here.
Appendix A — Findings (grouped)
Critical — 101 finding(s)
- <input> without a programmatic label _archive/mv2/api/bookmarks/basic/popup.html:8
- <input> without a programmatic label _archive/mv2/api/cookies/manager.html:28
- <input> without a programmatic label _archive/mv2/api/downloads/download_links/popup.html:6
- <input> without a programmatic label _archive/mv2/api/downloads/download_links/popup.html:12
- <input> without a programmatic label _archive/mv2/api/downloads/download_manager/popup.html:16
- <input> without a programmatic label _archive/mv2/api/history/historyOverride/history.html:9
- <input> without a programmatic label _archive/mv2/api/nativeMessaging/app/main.html:14
- <input> without a programmatic label _archive/mv2/api/notifications/options.html:24
- <input> without a programmatic label _archive/mv2/api/preferences/allowThirdPartyCookies/popup.html:10
- <input> without a programmatic label _archive/mv2/api/preferences/allowThirdPartyCookies/popup.html:13
- <input> without a programmatic label _archive/mv2/api/preferences/allowThirdPartyCookies/popup.html:16
- <input> without a programmatic label _archive/mv2/api/preferences/enableReferrer/popup.html:10
- <input> without a programmatic label _archive/mv2/api/preferences/enableReferrer/popup.html:13
- <input> without a programmatic label _archive/mv2/api/preferences/enableReferrer/popup.html:16
- <input> without a programmatic label _archive/mv2/api/tabCapture/options.html:8
- <input> without a programmatic label _archive/mv2/api/tabCapture/options.html:10
- <input> without a programmatic label _archive/mv2/api/tabs/inspector/tabs_api.html:14
- <input> without a programmatic label _archive/mv2/api/tabs/inspector/tabs_api.html:15
- <input> without a programmatic label _archive/mv2/api/tabs/inspector/tabs_api.html:16
- <input> without a programmatic label _archive/mv2/api/tabs/inspector/tabs_api.html:17
- <input> without a programmatic label _archive/mv2/api/tabs/inspector/tabs_api.html:18
- <input> without a programmatic label _archive/mv2/api/tabs/inspector/tabs_api.html:19
- <input> without a programmatic label _archive/mv2/api/tabs/inspector/tabs_api.html:28
- <input> without a programmatic label _archive/mv2/api/tabs/inspector/tabs_api.html:29
- <input> without a programmatic label _archive/mv2/api/tabs/inspector/tabs_api.html:37
- <img> without a text alternative _archive/mv2/api/processes/show_tabs/popup.js:55
- <img> without a text alternative _archive/mv2/api/storage/stylizr/options.html:29
- <img> without a text alternative _archive/mv2/api/tabs/screenshot/screenshot.html:6
- <img> without a text alternative _archive/mv2/api/water_alarm_notification/popup.html:34
- <img> without a text alternative _archive/mv2/extensions/email_this_page/options.html:22
- <img> without a text alternative _archive/mv2/extensions/gmail/background.html:1
- <img> without a text alternative _archive/mv2/extensions/imageinfo/info.html:17
- <img> without a text alternative _archive/mv2/extensions/mappy/popup.html:8
- <img> without a text alternative _archive/mv2/extensions/news/javascript/feed.js:200
- <img> without a text alternative _archive/mv2/extensions/news/javascript/feed.js:203
- <img> without a text alternative _archive/mv2/extensions/news/javascript/feed.js:206
- <img> without a text alternative _archive/mv2/extensions/news/views/feed.html:136
- <img> without a text alternative _archive/mv2/extensions/news/views/options.html:25
- <img> without a text alternative _archive/mv2/extensions/news_i18n/feed.html:8
- <img> without a text alternative _archive/mv2/extensions/talking_alarm_clock/credits.html:13
- <img> without a text alternative _archive/mv2/extensions/talking_alarm_clock/popup.html:155
- <img> without a text alternative _archive/mv2/extensions/talking_alarm_clock/popup.html:166
- <img> without a text alternative api-samples/storage/stylizr/options.html:33
- <img> without a text alternative api-samples/tabs/screenshot/screenshot.html:10
- <img> without a text alternative functional-samples/sample.water_alarm_notification/popup.html:32
- <html> without a lang _archive/mv2/api/bookmarks/basic/popup.html:1
- <html> without a lang _archive/mv2/api/browserAction/set_page_color/popup.html:2
- <html> without a lang _archive/mv2/api/browsingData/basic/popup.html:2
- <html> without a lang _archive/mv2/api/contentSettings/popup.html:2
- <html> without a lang _archive/mv2/api/contextMenus/global_context_search/options.html:2
- <html> without a lang _archive/mv2/api/cookies/manager.html:1
- <html> without a lang _archive/mv2/api/debugger/live-headers/headers.html:7
- <html> without a lang _archive/mv2/api/desktopCapture/index.html:1
- <html> without a lang _archive/mv2/api/deviceInfo/basic/popup.html:1
- <html> without a lang _archive/mv2/api/displaySource/tabCast/main.html:7
- <html> without a lang _archive/mv2/api/document_scan/scan.html:2
- <html> without a lang _archive/mv2/api/downloads/download_filename_controller/options.html:2
- <html> without a lang _archive/mv2/api/downloads/download_links/popup.html:1
- <html> without a lang _archive/mv2/api/downloads/download_manager/icons.html:2
- <html> without a lang _archive/mv2/api/downloads/download_manager/popup.html:2
- <html> without a lang _archive/mv2/api/extension/isAllowedAccess/popup.html:7
- <html> without a lang _archive/mv2/api/fontSettings/options.html:2
- <select> without a programmatic label _archive/mv2/api/fontSettings/options.html:200
- <select> without a programmatic label _archive/mv2/api/fontSettings/options.html:216
- <select> without a programmatic label _archive/mv2/api/fontSettings/options.html:220
- <select> without a programmatic label _archive/mv2/api/fontSettings/options.html:224
- <select> without a programmatic label _archive/mv2/api/fontSettings/options.html:258
- <select> without a programmatic label _archive/mv2/api/idle/idle_simple/history.html:22
- <select> without a programmatic label _archive/mv2/api/notifications/options.html:26
- Document without a <title> _archive/mv2/api/bookmarks/basic/popup.html:1
- Document without a <title> _archive/mv2/api/cookies/manager.html:1
- Document without a <title> _archive/mv2/api/debugger/live-headers/headers.html:7
- Document without a <title> _archive/mv2/api/desktopCapture/index.html:1
- Document without a <title> _archive/mv2/api/deviceInfo/basic/popup.html:1
- Document without a <title> _archive/mv2/api/downloads/download_links/popup.html:1
- Clickable element isn't keyboard-operable api-samples/tabs/inspector/window_and_tabs_manager.html:76
- Clickable element isn't keyboard-operable api-samples/tabs/inspector/window_and_tabs_manager.html:86
- Clickable element isn't keyboard-operable api-samples/tabs/inspector/window_and_tabs_manager.html:90
- Clickable element isn't keyboard-operable functional-samples/ai.gemini-on-device-audio-scribe/demo-chat-app/index.html:16
- Clickable element isn't keyboard-operable functional-samples/ai.gemini-on-device-audio-scribe/demo-chat-app/index.html:20
- Clickable element isn't keyboard-operable functional-samples/ai.gemini-on-device-audio-scribe/demo-chat-app/index.html:24
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- Link with no accessible name _archive/mv2/api/downloads/download_manager/popup.html:18
- Link with no accessible name _archive/mv2/api/downloads/download_manager/popup.html:30
- Link with no accessible name _archive/mv2/api/downloads/download_manager/popup.html:43
- REDACTED
- REDACTED
- REDACTED
- <textarea> without a programmatic label _archive/mv2/api/i18n/detectLanguage/popup.html:13
- <textarea> without a programmatic label _archive/mv2/api/storage/stylizr/options.html:33
- Click handler on a non-interactive <div> _archive/mv2/extensions/irc/servlet/index.html:381
- Click handler on a non-interactive <div> _archive/mv2/extensions/irc/servlet/index.html:389
- REDACTED
- REDACTED
- Document <title> is empty _archive/mv2/api/downloads/download_manager/popup.html:2
- Click handler on a non-interactive <body> _archive/mv2/extensions/irc/servlet/notification.html:56
Serious — 158 finding(s)
- Focus outline removed in CSS without a :focus replacement _archive/mv2/api/contextMenus/global_context_search/options.html:12
- Focus outline removed in CSS without a :focus replacement _archive/mv2/api/water_alarm_notification/popup.html:19
- Focus outline removed in CSS without a :focus replacement _archive/mv2/extensions/constant_context/popup.html:12
- Focus outline removed in CSS without a :focus replacement _archive/mv2/extensions/download_images/popup.html:12
- Focus outline removed in CSS without a :focus replacement _archive/mv2/extensions/talking_alarm_clock/popup.html:99
- Focus outline removed in CSS without a :focus replacement _archive/mv2/tutorials/broken_background_color/options.html:8
- Focus outline removed in CSS without a :focus replacement _archive/mv2/tutorials/broken_background_color/popup.html:8
- Focus outline removed in CSS without a :focus replacement _archive/mv2/tutorials/get_started/options.html:8
- Focus outline removed in CSS without a :focus replacement _archive/mv2/tutorials/get_started/popup.html:8
- Focus outline removed in CSS without a :focus replacement _archive/mv2/tutorials/get_started_complete/options.html:8
- Focus outline removed in CSS without a :focus replacement _archive/mv2/tutorials/get_started_complete/popup.html:8
- Focus outline removed in CSS without a :focus replacement api-samples/contextMenus/global_context_search/popup.html:13
- Focus outline removed in CSS without a :focus replacement functional-samples/sample.water_alarm_notification/popup.html:20
- Focus outline removed in CSS without a :focus replacement functional-samples/tutorial.broken-color/options.html:8
- Focus outline removed in CSS without a :focus replacement functional-samples/tutorial.broken-color/popup.html:8
- Focus outline removed in CSS without a :focus replacement functional-samples/tutorial.getting-started/button.css:4
- Focus outline removed in CSS without a :focus replacement functional-samples/sample.bookmarks/third-party/jquery-ui.css:30
- Focus outline removed in CSS without a :focus replacement functional-samples/sample.bookmarks/third-party/jquery-ui.css:204
- Focus outline removed in CSS without a :focus replacement functional-samples/sample.bookmarks/third-party/jquery-ui.css:582
- Focus outline removed in CSS without a :focus replacement functional-samples/sample.bookmarks/third-party/jquery-ui.structure.css:34
- Focus outline removed in CSS without a :focus replacement functional-samples/sample.bookmarks/third-party/jquery-ui.structure.css:208
- Focus outline removed in CSS without a :focus replacement functional-samples/sample.bookmarks/third-party/jquery-ui.structure.css:586
- Focus outline removed in CSS without a :focus replacement functional-samples/ai.gemini-on-device-audio-scribe/demo-chat-app/style.css:170
- Focus outline removed in CSS without a :focus replacement functional-samples/ai.gemini-on-device-audio-scribe/demo-chat-app/style.css:234
- Focus outline removed in CSS without a :focus replacement functional-samples/ai.gemini-on-device/sidepanel/index.css:61
- Fake-async — async method never awaits api-samples/alarms/index.js:164
- Fake-async — async method never awaits api-samples/idle/history.js:42
- Fake-async — async method never awaits functional-samples/ai.gemini-on-device-alt-texter/popup.js:26
- Fake-async — async method never awaits functional-samples/ai.gemini-on-device-summarization/sidepanel/index.js:94
- Fake-async — async method never awaits functional-samples/ai.gemini-on-device-summarization/sidepanel/index.js:98
- Fake-async — async method never awaits functional-samples/ai.gemini-on-device/sidepanel/index.js:33
- Fake-async — async method never awaits functional-samples/cookbook.offscreen-clipboard-write/background.js:47
- Fake-async — async method never awaits functional-samples/cookbook.offscreen-clipboard-write/offscreen.js:28
- Fake-async — async method never awaits functional-samples/cookbook.offscreen-clipboard-write/offscreen.js:55
- Fake-async — async method never awaits functional-samples/cookbook.offscreen-dom/background.js:46
- Fake-async — async method never awaits functional-samples/cookbook.offscreen-dom/background.js:63
- Fake-async — async method never awaits functional-samples/cookbook.offscreen-dom/offscreen.js:22
- Fake-async — async method never awaits functional-samples/sample.co2meter/background.js:34
- Fake-async — async method never awaits functional-samples/sample.co2meter/background.js:50
- Fake-async — async method never awaits functional-samples/sample.co2meter/modules/co2_meter.js:46
- Fake-async — async method never awaits functional-samples/sample.tabcapture-recorder/offscreen.js:80
- Page without a main landmark _archive/mv2/api/bookmarks/basic/popup.html:1
- Page without a main landmark _archive/mv2/api/browserAction/set_page_color/popup.html:2
- Page without a main landmark _archive/mv2/api/contentSettings/popup.html:2
- Page without a main landmark _archive/mv2/api/contextMenus/global_context_search/options.html:2
- Page without a main landmark _archive/mv2/api/cookies/manager.html:1
- Page without a main landmark _archive/mv2/api/debugger/live-headers/headers.html:7
- Page without a main landmark _archive/mv2/api/desktopCapture/index.html:1
- Page without a main landmark _archive/mv2/api/deviceInfo/basic/popup.html:1
- Page without a main landmark _archive/mv2/api/displaySource/tabCast/main.html:7
- Page without a main landmark _archive/mv2/api/document_scan/scan.html:2
- Page without a main landmark _archive/mv2/api/downloads/download_filename_controller/options.html:2
- Page without a main landmark _archive/mv2/api/downloads/download_links/popup.html:1
- Page without a main landmark _archive/mv2/api/downloads/download_manager/icons.html:2
- Page without a main landmark _archive/mv2/api/downloads/download_manager/popup.html:2
- Page without a main landmark _archive/mv2/api/extension/isAllowedAccess/popup.html:7
- Anchor without href _archive/mv2/api/topsites/magic8ball/newTab.html:19
- Anchor without href _archive/mv2/extensions/calendar/views/options.html:17
- Anchor without href _archive/mv2/extensions/news/javascript/feed.js:198
- Anchor without href _archive/mv2/extensions/news/javascript/feed.js:201
- Anchor without href _archive/mv2/extensions/news/javascript/feed.js:204
- Anchor without href _archive/mv2/extensions/news/views/feed.html:135
- Anchor without href _archive/mv2/extensions/news_i18n/feed.html:8
- Anchor without href api-samples/topSites/magic8ball/newTab.html:29
- Anchor without href functional-samples/cookbook.offscreen-user-media/popup.html:21
- Async function without AbortSignal: updateTip functional-samples/tutorial.quick-api-reference/sw-tips.js:4
- Async function without AbortSignal: updateTip functional-samples/tutorial.open-api-reference/sw-tips.js:4
- Async function without AbortSignal: fireEvent functional-samples/tutorial.google-analytics/scripts/google-analytics.js:75
- Async function without AbortSignal: getMilestoneForRevId REDACTED:33
- Async function without AbortSignal: __wbg_init functional-samples/cookbook.wasm-helloworld-print-nomodule/wasm/pkg/helloworld_demo.js:214
- Async function without AbortSignal: __wbg_init functional-samples/cookbook.wasm-helloworld-print/wasm/pkg/helloworld_demo.js:207
- Async function without AbortSignal: generateAltText functional-samples/ai.gemini-on-device-alt-texter/background.js:8
- TodoComment _archive/mv2/extensions/irc/servlet/src/org/chromium/IRCProxyWebSocket.java:70
- TodoComment _archive/mv2/extensions/irc/servlet/src/org/chromium/IRCProxyWebSocket.java:73
- TodoComment _archive/mv2/extensions/irc/servlet/src/org/chromium/IRCProxyWebSocket.java:82
- TodoComment _archive/mv2/extensions/irc/servlet/src/org/chromium/IRCProxyWebSocket.java:92
- TodoComment _archive/apps/samples/dart/dart/balls.dart:74
- <canvas> without a text alternative _archive/mv2/api/pageAction/set_icon/background.html:6
- <canvas> without a text alternative _archive/mv2/extensions/imageinfo/info.html:23
- <canvas> without a text alternative _archive/mv2/extensions/talking_alarm_clock/popup.html:113
- Link used as a button (placeholder href) _archive/mv2/api/processes/show_tabs/popup.js:58
- Link used as a button (placeholder href) _archive/mv2/extensions/gdocs/popup.html:95
- Link used as a button (placeholder href) _archive/mv2/extensions/gdocs/popup.html:96
- Duplicated block (9 lines × 2 locations) api-samples/favicon/popup.js:1
- Duplicated block (9 lines × 2 locations) api-samples/tabs/inspector/window_and_tabs_manager.js:181
- Duplicated block (9 lines × 2 locations) functional-samples/cookbook.offscreen-user-media/background.js:40
- Swallowed exception (empty catch) REDACTED:13
- Swallowed exception (empty catch) REDACTED:42
- Swallowed exception (empty catch) REDACTED:48
- Low contrast colour pair in CSS (3.9:1) _archive/mv2/api/fontSettings/options.html:17
- Low contrast colour pair in CSS (3.9:1) api-samples/fontSettings/fontSettings Advanced/options.html:32
- Low contrast colour pair in CSS (2.3:1) _archive/mv2/extensions/irc/servlet/notification.html:4
- Low contrast colour pair in CSS (2.3:1) _archive/mv2/extensions/irc/servlet/styles.css:39
- Low contrast colour pair in CSS (3.6:1) functional-samples/sample.optional_permissions/style.css:119
- Low contrast colour pair in CSS (3.6:1) _archive/mv2/extensions/optional_permissions/style.css:99
- Low contrast colour pair in CSS (3.1:1) _archive/apps/samples/weather/style.css:108
- Low contrast colour pair in CSS (3.1:1) _archive/apps/samples/diff/css/style.css:68
- No assertions: can message service worker when terminated functional-samples/tutorial.terminate-sw/selenium/index.test.js:75
- No assertions: can message service worker when terminated functional-samples/tutorial.terminate-sw/puppeteer/index.test.js:57
- Test project verifies nothing: functional-samples/tutorial.terminate-sw/puppeteer functional-samples/tutorial.terminate-sw/puppeteer/index.test.js:57
- Test project verifies nothing: functional-samples/tutorial.terminate-sw/selenium functional-samples/tutorial.terminate-sw/selenium/index.test.js:75
- helloworld_demo.__wbg_load (cognitive 16) functional-samples/cookbook.wasm-helloworld-print-nomodule/wasm/pkg/helloworld_demo.js:131
- helloworld_demo.__wbg_load (cognitive 16) functional-samples/cookbook.wasm-helloworld-print/wasm/pkg/helloworld_demo.js:124
- Duplicated block (7 lines × 2 locations) api-samples/history/historyOverride/logic.js:5
- Duplicated block (7 lines × 2 locations) api-samples/printing/printers.js:65
- Boundary violation [package:relative-cross-package] functional-samples/ai.gemini-in-the-cloud/sidepanel/index.js:1
- Boundary violation [package:relative-cross-package] functional-samples/ai.gemini-on-device-calendar-mate/background.js:1
- <fieldset> without a <legend> _archive/mv2/api/contentSettings/popup.html:11
- Data table has no header cells _archive/mv2/api/downloads/download_filename_controller/options.html:10
- Low contrast colour pair in CSS (1.3:1) _archive/apps/samples/webserver/styles/bootstrap.css:3513
- Low contrast colour pair in CSS (2.2:1) _archive/apps/samples/one-time-payment/css/bootstrap.css:1078
- Low contrast colour pair in CSS (1.5:1) _archive/apps/samples/io2012-presentation/css/theme.css:180
- Low contrast colour pair in CSS (2.5:1) _archive/apps/samples/gdrive/css/bootstrap.css:1167
- Accessibility enforcement below the top rung
- DownloadItem.render (cyclomatic 39) api-samples/downloads/download_manager/popup.js:306
- render (cognitive 49) api-samples/downloads/download_manager/popup.js:306
- (anonymous).getSetter (cognitive 24) api-samples/fontSettings/fontSettings Advanced/js/cr.js:146
- filterLinks (cognitive 20) api-samples/downloads/download_links/popup.js:52
- dumpNode (cognitive 19) functional-samples/sample.bookmarks/popup.js:29
- constructor (cognitive 16) api-samples/downloads/download_manager/popup.js:175
- REDACTED
- REDACTED
- REDACTED
- Low cohesion: DownloadItem (LCOM4 5) api-samples/downloads/download_manager/popup.js:174
- Coverage not measured — JavaScript/TypeScript suite
- Empty method body — does nothing with its inputs functional-samples/cookbook.wasm-helloworld-print/wasm/pkg/helloworld_demo.js:178
- README may be stale
- Type Safety
- Duplication concentrated across 11 sibling directories (8 clone groups) functional-samples/ai.gemini-in-the-cloud/sidepanel/index.js:18
- Duplicated block with local edits (66 matched lines × 2 locations) functional-samples/ai.gemini-in-the-cloud/sidepanel/index.js:18
- Duplicated block with local edits (23 matched lines × 2 locations) functional-samples/tutorial.open-api-reference/sw-omnibox.js:3
- Duplicated block (20 lines × 2 locations) functional-samples/tutorial.focus-mode-debugging/background.js:25
- Duplicated block with local edits (19 matched lines × 2 locations) functional-samples/tutorial.open-api-reference/sw-tips.js:1
- Duplicated block (17 lines × 2 locations) api-samples/tabs/inspector/window_and_tabs_manager.js:70
- Duplicated block (16 lines × 2 locations) functional-samples/cookbook.geolocation-contentscript/content-script.js:19
- Duplicated block (16 lines × 3 locations) functional-samples/tutorial.focus-mode-debugging/background.js:15
- Duplicated block (14 lines × 2 locations) api-samples/tabs/inspector/window_and_tabs_manager.js:267
- Duplicated block (11 lines × 2 locations) functional-samples/tutorial.open-api-reference/content.js:17
- Duplicated block (9 lines × 3 locations) functional-samples/cookbook.geolocation-contentscript/content-script.js:21
- Duplicated block with local edits (6 matched lines × 2 locations) api-samples/alarms/background.js:8
- Complex function render (cyclomatic 37, cognitive 43) api-samples/downloads/download_manager/popup.js:306
- Complex function dumpNode (cyclomatic 12, cognitive 19) functional-samples/sample.bookmarks/popup.js:29
- Complex function updateUI (cyclomatic 11, cognitive 10) api-samples/scripting/index.js:87
- Complex function (anonymous) (cyclomatic 11, cognitive 10) functional-samples/ai.gemini-on-device-audio-scribe/sidepanel.js:15
- api-samples/fontSettings/fontSettings Advanced/options.js: 932 lines of code api-samples/fontSettings/fontSettings Advanced/options.js:1
- api-samples/downloads/download_manager/popup.js: 712 lines of code api-samples/downloads/download_manager/popup.js:1
- No typecheck script
- Dead file (~71 LoC) functional-samples/tutorial.reading-time/scripts/content.js
- Dead file (~44 LoC) functional-samples/tutorial.focus-mode-debugging/fixed/background.js
- Dead file (~24 LoC) functional-samples/tutorial.focus-mode-debugging/fixed/focus-mode.js
- Dead file (~2 LoC) functional-samples/libraries-xhr-in-sw/sidepanel/script.js
- Unused dependency 'chrome-types'
- Third-party script without Subresource Integrity _archive/mv2/api/bookmarks/basic/popup.html:3
- `async` callback passed to `forEach` api-samples/downloads/download_manager/service-worker.js:219
- Untrusted text written into markup unescaped api-samples/nativeMessaging/extension/main.js:9
Minor — 85 finding(s)
- Console output used as the logging channel functional-samples/tutorial.websockets/service-worker.js:27
- Console output used as the logging channel functional-samples/tutorial.websockets/service-worker.js:32
- Console output used as the logging channel functional-samples/tutorial.websockets/service-worker.js:47
- Console output used as the logging channel functional-samples/tutorial.quick-api-reference/sw-omnibox.js:1
- Console output used as the logging channel functional-samples/tutorial.quick-api-reference/sw-tips.js:1
- Console output used as the logging channel functional-samples/tutorial.open-api-reference/sw-omnibox.js:3
- Console output used as the logging channel functional-samples/tutorial.open-api-reference/sw-tips.js:1
- Console output used as the logging channel functional-samples/tutorial.hello-world/popup.js:1
- Console output used as the logging channel functional-samples/tutorial.getting-started/background.js:5
- Console output used as the logging channel functional-samples/tutorial.broken-color/options.js:25
- Console output used as the logging channel functional-samples/tutorial.broken-color/service-worker.js:19
- Console output used as the logging channel functional-samples/sample.optional_permissions/newtab.js:65
- Console output used as the logging channel functional-samples/sample.optional_permissions/newtab.js:69
- Console output used as the logging channel functional-samples/sample.co2meter/background.js:67
- Console output used as the logging channel functional-samples/sample.co2meter/background.js:113
- Console output used as the logging channel functional-samples/sample.co2meter/modules/co2_meter.js:58
- Console output used as the logging channel functional-samples/sample.co2meter/modules/co2_meter.js:63
- Console output used as the logging channel functional-samples/sample.co2meter/modules/co2_meter.js:76
- Console output used as the logging channel functional-samples/sample.co2meter/modules/co2_meter.js:104
- Console output used as the logging channel functional-samples/sample.co2meter/modules/co2_meter.js:110
- Console output used as the logging channel functional-samples/sample.co2meter/modules/co2_meter.js:126
- Console output used as the logging channel functional-samples/sample.bookmarks/popup.js:86
- Console output used as the logging channel functional-samples/cookbook.wasm-helloworld-print-nomodule/wasm/pkg/helloworld_demo.js:139
- Console output used as the logging channel functional-samples/cookbook.wasm-helloworld-print-nomodule/wasm/pkg/helloworld_demo.js:173
- Console output used as the logging channel functional-samples/cookbook.wasm-helloworld-print-nomodule/wasm/pkg/helloworld_demo.js:176
- Duplicated predicate _archive/mv2/api/fontSettings/js/cr.js:32
- Duplicated predicate _archive/mv2/api/bookmarks/basic/popup.js:120
- Duplicated predicate functional-samples/cookbook.wasm-helloworld-print-nomodule/wasm/pkg/helloworld_demo.js:17
- Duplicated predicate _archive/mv2/extensions/gdocs/chrome_ex_oauth.js:74
- Duplicated predicate _archive/mv2/api/tabCapture/eventPage.js:12
- Duplicated predicate _archive/mv2/api/fontSettings/js/cr.js:282
- Duplicated predicate _archive/mv2/api/downloads/download_manager/popup.js:346
- Duplicated predicate _archive/mv2/api/downloads/download_manager/popup.js:229
- Duplicated predicate _archive/mv2/api/fontSettings/options.js:473
- Duplicated predicate _archive/mv2/extensions/talking_alarm_clock/background.js:78
- Duplicated predicate _archive/mv2/extensions/talking_alarm_clock/background.js:92
- Duplicated predicate _archive/mv2/extensions/talking_alarm_clock/common.js:143
- Duplicated predicate _archive/mv2/extensions/gdocs/chrome_ex_oauth.js:27
- Duplicated predicate _archive/mv2/extensions/gdocs/chrome_ex_oauth.js:31
- Duplicated predicate _archive/mv2/extensions/gdocs/chrome_ex_oauth.js:474
- Duplicated predicate _archive/mv2/extensions/gdocs/chrome_ex_oauth.js:478
- Duplicated predicate _archive/mv2/api/fontSettings/js/cr.js:236
- Duplicated predicate _archive/mv2/extensions/gdocs/chrome_ex_oauth.js:146
- Duplicated predicate _archive/mv2/extensions/gdocs/chrome_ex_oauth.js:145
- Duplicated predicate _archive/mv2/api/fileSystemProvider/archive/background.js:101
- Duplicated predicate _archive/mv2/extensions/news/javascript/feed.js:86
- Duplicated predicate _archive/mv2/api/downloads/download_manager/popup.js:129
- Duplicated predicate _archive/mv2/api/downloads/download_manager/popup.js:124
- Duplicated predicate functional-samples/tutorial.focus-mode-debugging/background.js:26
- Duplicated predicate _archive/mv2/api/downloads/download_manager/popup.js:625
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- Off-boarding risk: anonymized user #1
- Further sole-owners (lower concentration)
- Projects may be oversized for their cohesion
- REDACTED
- No ADRs
- No src/ separation
- Logging is not universal
- No SAST .github/workflows/dependabot-auto-merge.yml:10
- Dependabot does not watch cargo .github/dependabot.yml:2
- Changelog looks stale/thin
- Test-only dependency 'puppeteer' in production deps functional-samples/tutorial.puppeteer/package.json:6
- Not all async functions that make a request accept an AbortSignal
- Java packages are not null-marked everywhere
Minor — 2 finding(s)
- Outdated: wasm-bindgen
- Outdated: web-sys
Appendix B — Reproduction & audit trail
| Dimension | Tool | Version | Command | Findings | Raw output |
|---|---|---|---|---|---|
| D28 · Secrets (history) | gitleaks | — | gitleaks detect --no-banner --config /opt/gitleaks-rules/watchdog-gitleaks.toml --report-format json --report-path /tmp/watchdog-gitleaks-1cdf955a64d34a2da388740258117ab3/history.json --exit-code 0 --source . | 4 | artifacts/raw/gitleaks-history.json |
| D28 · Secrets (history) | gitleaks | — | gitleaks detect --no-git --no-banner --config /opt/gitleaks-rules/watchdog-gitleaks.toml --report-format json --report-path /tmp/watchdog-gitleaks-1cdf955a64d34a2da388740258117ab3/tree.json --exit-code 0 --source . | 2 | artifacts/raw/gitleaks-tree.json |
| D29 · Static Analysis (SAST) | semgrep | — | semgrep --config /opt/semgrep-rules/security-audit.yml --config /opt/semgrep-rules/owasp-top-ten.yml --config /opt/semgrep-rules/watchdog-sast.yml --json --quiet --timeout 10 --timeout-threshold 3 --metrics off --exclude *.arrow --exclude *.avro --exclude *.csv --exclude *.dat --exclude *.db --exclude *.feather --exclude *.geojson --exclude *.h5 --exclude *.hdf5 --exclude *.jsonl --exclude *.log --exclude *.ndjson --exclude *.npy --exclude *.npz --exclude *.orc --exclude *.parquet --exclude *.pickle --exclude *.pkl --exclude *.psv --exclude *.sqlite --exclude *.sqlite3 --exclude *.tfrecord --exclude *.tsv --exclude *.txt --exclude _archive/apps/samples/appengine-channelapi/appengine/static --exclude _archive/apps/samples/calculator/jquery --exclude _archive/apps/samples/calculator/tests --exclude _archive/apps/samples/clock/lib --exclude _archive/apps/samples/clock/tests --exclude _archive/apps/samples/dart/css --exclude _archive/apps/samples/dart/js --exclude _archive/apps/samples/diff/css --exclude _archive/apps/samples/diff/js --exclude _archive/apps/samples/diff/lib --exclude _archive/apps/samples/filesystem-access/js --exclude _archive/apps/samples/gdrive/js --exclude _archive/apps/samples/hello-world/styles --exclude _archive/apps/samples/identity/sample_support --exclude _archive/apps/samples/instagram-auth/_locales --exclude _archive/apps/samples/instagram-auth/styles --exclude _archive/apps/samples/io2012-presentation/css --exclude _archive/apps/samples/io2012-presentation/diff-sample-files --exclude _archive/apps/samples/io2012-presentation/js --exclude _archive/apps/samples/managed-in-app-payments/css --exclude _archive/apps/samples/managed-in-app-payments/scripts --exclude _archive/apps/samples/manga-cam/css --exclude _archive/apps/samples/mini-code-edit/cm/demo --exclude _archive/apps/samples/mini-code-edit/cm/keymap --exclude _archive/apps/samples/mini-code-edit/cm/lib --exclude _archive/apps/samples/mini-code-edit/cm/mode/clike --exclude _archive/apps/samples/mini-code-edit/cm/mode/clojure --exclude _archive/apps/samples/mini-code-edit/cm/mode/css --exclude _archive/apps/samples/mini-code-edit/cm/mode/diff --exclude _archive/apps/samples/mini-code-edit/cm/mode/ecl --exclude _archive/apps/samples/mini-code-edit/cm/mode/erlang --exclude _archive/apps/samples/mini-code-edit/cm/mode/gfm --exclude _archive/apps/samples/mini-code-edit/cm/mode/go --exclude _archive/apps/samples/mini-code-edit/cm/mode/groovy --exclude _archive/apps/samples/mini-code-edit/cm/mode/haskell --exclude _archive/apps/samples/mini-code-edit/cm/mode/htmlembedded --exclude _archive/apps/samples/mini-code-edit/cm/mode/htmlmixed --exclude _archive/apps/samples/mini-code-edit/cm/mode/javascript --exclude _archive/apps/samples/mini-code-edit/cm/mode/jinja2 --exclude _archive/apps/samples/mini-code-edit/cm/mode/less --exclude _archive/apps/samples/mini-code-edit/cm/mode/lua --exclude _archive/apps/samples/mini-code-edit/cm/mode/markdown --exclude _archive/apps/samples/mini-code-edit/cm/mode/mysql --exclude _archive/apps/samples/mini-code-edit/cm/mode/ntriples --exclude _archive/apps/samples/mini-code-edit/cm/mode/php --exclude _archive/apps/samples/mini-code-edit/cm/mode/pig --exclude _archive/apps/samples/mini-code-edit/cm/mode/plsql --exclude _archive/apps/samples/mini-code-edit/cm/mode/properties --exclude _archive/apps/samples/mini-code-edit/cm/mode/rpm --exclude _archive/apps/samples/mini-code-edit/cm/mode/rst --exclude _archive/apps/samples/mini-code-edit/cm/mode/rust --exclude _archive/apps/samples/mini-code-edit/cm/mode/scheme --exclude _archive/apps/samples/mini-code-edit/cm/mode/shell --exclude _archive/apps/samples/mini-code-edit/cm/mode/smalltalk --exclude _archive/apps/samples/mini-code-edit/cm/mode/smarty --exclude _archive/apps/samples/mini-code-edit/cm/mode/sparql --exclude _archive/apps/samples/mini-code-edit/cm/mode/stex --exclude _archive/apps/samples/mini-code-edit/cm/mode/tiddlywiki --exclude _archive/apps/samples/mini-code-edit/cm/mode/tiki --exclude _archive/apps/samples/mini-code-edit/cm/mode/vbscript --exclude _archive/apps/samples/mini-code-edit/cm/mode/velocity --exclude _archive/apps/samples/mini-code-edit/cm/mode/verilog --exclude _archive/apps/samples/mini-code-edit/cm/mode/xml --exclude _archive/apps/samples/mini-code-edit/cm/mode/xquery/test --exclude _archive/apps/samples/mini-code-edit/cm/mode/yaml --exclude _archive/apps/samples/mini-code-edit/cm/test --exclude _archive/apps/samples/mini-code-edit/cm/theme --exclude _archive/apps/samples/one-time-payment/css --exclude _archive/apps/samples/one-time-payment/scripts --exclude _archive/apps/samples/parrot-ar-drone/lib --exclude _archive/apps/samples/parrot-ar-drone/scripts --exclude _archive/apps/samples/parrot-ar-drone/styles --exclude _archive/apps/samples/parrot-ar-drone/third-party --exclude _archive/apps/samples/sandbox/styles --exclude _archive/apps/samples/sandboxed-content/styles --exclude _archive/apps/samples/serial/adkjs/app/css --exclude _archive/apps/samples/serial/adkjs/app/js --exclude _archive/apps/samples/syncfs-editor/css --exclude _archive/apps/samples/syncfs-editor/js --exclude _archive/apps/samples/tcpserver/commands --exclude _archive/apps/samples/tcpserver/styles --exclude _archive/apps/samples/text-editor/lib/ace/commands --exclude _archive/apps/samples/text-editor/lib/ace/edit_session --exclude _archive/apps/samples/text-editor/lib/ace/ext --exclude _archive/apps/samples/text-editor/lib/ace/keyboard --exclude _archive/apps/samples/text-editor/lib/ace/layer --exclude _archive/apps/samples/text-editor/lib/ace/lib --exclude _archive/apps/samples/text-editor/lib/ace/mode --exclude _archive/apps/samples/text-editor/lib/ace/model --exclude _archive/apps/samples/text-editor/lib/ace/mouse --exclude _archive/apps/samples/text-editor/lib/ace/narcissus --exclude _archive/apps/samples/text-editor/lib/ace/requirejs --exclude _archive/apps/samples/text-editor/lib/ace/test --exclude _archive/apps/samples/text-editor/lib/ace/theme --exclude _archive/apps/samples/text-editor/lib/ace/worker --exclude _archive/apps/samples/text-editor/lib/pilot --exclude _archive/apps/samples/todomvc/bower_components/director --exclude _archive/apps/samples/todomvc/js --exclude _archive/apps/samples/udp/server --exclude _archive/apps/samples/usb-label-printer/styles --exclude _archive/apps/samples/weather/lib --exclude _archive/apps/samples/web-store/css --exclude _archive/apps/samples/web-store/js --exclude _archive/apps/samples/webgl-pointer-lock/js --exclude _archive/apps/samples/webgl-pointer-lock/obj --exclude _archive/apps/samples/webgl-pointer-lock/styles --exclude _archive/apps/samples/webserver/_locales --exclude _archive/apps/samples/webserver/styles --exclude _archive/apps/samples/window-options/js --exclude _archive/apps/samples/windows/scripts --exclude _archive/apps/samples/windows/styles --exclude _archive/mv2/api/browserAction/make_page_red --exclude _archive/mv2/api/commands --exclude _archive/mv2/api/contextMenus/basic --exclude _archive/mv2/api/contextMenus/event_page --exclude _archive/mv2/api/devtools --exclude _archive/mv2/api/document_scan --exclude _archive/mv2/api/downloads/download_filename_controller --exclude _archive/mv2/api/downloads/download_links --exclude _archive/mv2/api/downloads/download_manager/_locales --exclude _archive/mv2/api/downloads/download_open/_locales --exclude _archive/mv2/api/downloads/downloads_overwrite --exclude _archive/mv2/api/fileSystemProvider/basic --exclude _archive/mv2/api/fontSettings/css --exclude _archive/mv2/api/fontSettings/js --exclude _archive/mv2/api/i18n/cld --exclude _archive/mv2/api/i18n/getMessage/_locales --exclude _archive/mv2/api/i18n/localizedHostedApp/_locales --exclude _archive/mv2/api/omnibox/simple-example --exclude _archive/mv2/api/override --exclude _archive/mv2/api/power/_locales --exclude _archive/mv2/api/tabs/inspector --exclude _archive/mv2/api/topsites/magic8ball --exclude _archive/mv2/api/ttsEngine --exclude _archive/mv2/api/webNavigation/basic/_locales --exclude _archive/mv2/api/webview --exclude _archive/mv2/extensions/calendar/_locales --exclude _archive/mv2/extensions/calendar/javascript --exclude _archive/mv2/extensions/calendar/views --exclude _archive/mv2/extensions/catblock --exclude _archive/mv2/extensions/catifier --exclude _archive/mv2/extensions/chrome_search --exclude _archive/mv2/extensions/gdocs/js --exclude _archive/mv2/extensions/gmail/_locales --exclude _archive/mv2/extensions/irc/app --exclude _archive/mv2/extensions/irc/servlet/jstemplate --exclude _archive/mv2/extensions/managed_bookmarks --exclude _archive/mv2/extensions/news/_locales --exclude _archive/mv2/extensions/news/css --exclude _archive/mv2/extensions/news/javascript --exclude _archive/mv2/extensions/news/views --exclude _archive/mv2/extensions/news_i18n/_locales --exclude _archive/mv2/extensions/no_cookies --exclude _archive/mv2/extensions/plugin_settings/_locales --exclude _archive/mv2/extensions/plugin_settings/css --exclude _archive/mv2/extensions/plugin_settings/domui/css --exclude _archive/mv2/extensions/plugin_settings/domui/js --exclude _archive/mv2/extensions/plugin_settings/js --exclude _archive/mv2/extensions/plugin_settings/options/css --exclude _archive/mv2/extensions/plugin_settings/options/js --exclude _archive/mv2/extensions/proxy_configuration/_locales --exclude _archive/mv2/extensions/proxy_configuration/test --exclude _archive/mv2/howto/tab_shortcuts --exclude _archive/mv2/tutorials/oauth_starter --exclude _archive/mv2/tutorials/oauth_tutorial_complete . | 3 | artifacts/raw/semgrep.json |
| D30 · Dependency Vulnerabilities | trivy | — | trivy fs --scanners vuln --format json --quiet --severity CRITICAL,HIGH,MEDIUM,LOW --skip-dirs **/bin/** --skip-dirs **/obj/** . --skip-db-update | 11 | artifacts/raw/trivy-fs.json |
| D31 · IaC & Container Security | trivy | — | trivy: not applicable — No Infrastructure-as-Code or container manifests found (Dockerfile, Docker Compose, Terraform, Kubernetes/Helm, CloudFormation, ARM, Bicep, Ansible); nothing to scan. | 0 | — |
| D32 · Data Compliance (PII/GDPR) | semgrep | — | semgrep: not applicable — No personal data was found crossing a boundary the PII/GDPR ruleset checks — nothing written to a log or console sink, placed in a URL or query string, or persisted to browser storage. That is a clean result for the LEAK surface only: this ruleset detects personal data escaping, it does not inventory the personal data a repository holds, so it is not evidence that this repository has no personal-data surface. The personal-data map (Appendix C) and the C1-C5 compliance cards are what speak to that. | 0 | — |
| D36 · Supply-chain Provenance & Signing | provenance | — | provenance: 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 Policy | disclosure | — | disclosure: not applicable — No vulnerability-disclosure policy file found (SECURITY.md/.markdown/.rst/.txt at root or under .github/.forgejo/.gitea/docs, .well-known/security.txt). A coordinated-disclosure policy may live off-repo, so this is not evidenced rather than failed. | 0 | — |
| D40 · Network Egress Confinement | runtime-hardening | — | runtime-hardening: not applicable — No Kubernetes/orchestration workloads found in the repository manifests; network egress policy is a cluster-native control that may live at the platform/firewall layer, so there is nothing to assess here. | 0 | — |
| D41 · Kernel & Syscall Confinement | runtime-hardening | — | runtime-hardening: not applicable — No Kubernetes/orchestration workloads found in the repository manifests; seccomp/AppArmor/SELinux confinement is a workload-level control, so there is nothing to assess here. | 0 | — |
| D42 · Runtime Threat Enforcement | runtime-hardening | — | runtime-hardening: not applicable — No Kubernetes/orchestration workloads found in the repository manifests; runtime threat-detection and admission-control policy are cluster-level controls, so there is nothing to assess here. | 0 | — |
| D43 · Malicious Dependencies | trivy | — | trivy fs --scanners vuln --format json --quiet --severity CRITICAL,HIGH,MEDIUM,LOW --skip-dirs **/bin/** --skip-dirs **/obj/** . --skip-db-update | 0 | artifacts/raw/trivy-fs.json |