Public report of DustinBrett/daedalOS, published 15 November 2026. It has the same score, grades and number of findings as the full report. The details of security findings (where they are in the code, which known vulnerabilities and which passwords or keys were found) are left out, so nobody can use them against the project.
Public
Executive report Measured under the Code Assurance Index, an open standard for code quality, using its published scoring rules (rubric version 2026.11.4). Assert signed this survey and filed it in the standard's public register, where anyone can look it up by its survey ID. Check this survey → Signed and filed in the standard's public register, 15 November 2026, 05:17 UTC · Survey ID cd_5a04e51354e04d2783c34220d673c71e

DustinBrett/daedalOS

Measured 15 November 2026, 05:16 UTC, at code version ed9c7a5

Supply-chain provenance & signing is not measured: Supply-chain provenance is not scored (this pipeline releases no artifact), but its build steps or GitHub Actions workflows have integrity defects, or nothing watches its dependency set for published advisories.

CAI score 42out of 100 At risk Up 1 since the last survey

The score is built from these lenses. Each lens grades one area of the code, such as how easy it is to change or how well it is protected. The weakest lens counts most, so one weak area pulls the score down instead of being averaged away.

A medium codebase: 54,992 lines of product code in 1 project, tests not counted · Estimated rebuild effort: about 0.4 person-years · Weakest lens: Production Readiness, 33

Findings by how serious they are

67 critical 675 serious 216 minor

9 dimensions are left out of the score. For each one, we either couldn't measure it in this code, or found no evidence of the safeguard we look for, such as a tested backup restore. They count neither for nor against the score, and Limitations lists each one with its reason.

This survey was produced by

Assert small markCanine Code Analyzer
Producer
Canine Development
Analyzer
Canine Code Analyzer engine 1.0.0
Measured
15 November 2026, 05:16 UTC

A measurement, not a certificate. The Code Assurance Index records a number together with the evidence it was worked out from, so anyone can recalculate it, but it doesn't certify or guarantee the code. The standard was written by Canine Development, which also builds the Canine Code Analyzer. It is open to any tool that implements it, and today the Canine Code Analyzer is the only one that does.

A critical security finding is open, such as a library with a known critical vulnerability or a password or key found in the code. The score itself is unchanged, but its band shows At risk until the finding is fixed. See the Security and Compliance lens.

The score is deterministic, which means the same code always gets the same score. We work it out with tools that follow published rules, and an AI model never decides it, so anyone who applies the same rules to the same code gets the same number. How it is done is explained under Methodology ▸

65of 65 dimensions measured by tools.
931of 958 findings point to an exact file and line, so you can open each one in the code. The other 27 concern the repository as a whole, such as missing documentation.
65dimensions across 7 lenses, read from 54,992 lines of product code in 1 project.
Chapters

Executive summary

DustinBrett/daedalOS is rated At risk because critical security findings are open, most of them in the packages it uses. Its score is held back because we found no logging, tracing or health checks in the code, and it has packages under a licence on your banned list. It scores 42 out of 100, which the At risk rating leaves unchanged.

Production Readiness, at 33, is the weakest lens and counts most in the score. The best first step for the work it takes is replacing the four deprecated dependencies, worth about 5 points. Replacing the 15 packages under a banned licence would lift Production Readiness itself, worth about 8 points. Raising Production Readiness to 70 would lift the score to about 50.

Twenty-three known security holes in the packages the code depends on can be used by attackers. Fifteen packages carry licence risk, and eleven images have no description for people who can't see them. Updating the vulnerable packages, replacing or clearing the banned-licence packages and describing the images would close these risks. Pinning each tool to an exact version would fix the three pipeline tools referenced by a changeable name, and the unsafe setting in infrastructure or container files needs changing to safe values. The three buttons or links with no name need a name, even when they only show an icon.

The product code is 54,992 lines, about €51,000 to rebuild.

A lens is capped at Adequate while one of its dimensions scores below 4 out of 10, however well the rest of the lens does. That way a serious problem in one place always shows in the lens's rating.

How the score is built: what each lens counts for The lenses don't count equally. The weakest lens counts most, the next weakest a little less, and so on, so a weak area pulls the score down instead of being averaged away. In the bar below, each part's width shows how much that lens counts and its colour shows its rating. Improving the widest part moves the score most, and as that lens improves, it counts for less, because another lens becomes the weakest.
Production Readiness 33 · counts for 46%Accessibility 43 · counts for 25%Code Health 44 · counts for 14%Architecture 58 · counts for 8%Maturity 60 · counts for 4%Security and Compliance 94 · counts for 2%Performance 100 · counts for 1%

If Production Readiness rose from 33 to 70, the lowest score rated Strong, the score would rise from 42 to about 50.

Code composition: what the lines of code are
Product code 93%Tests 7%
New since the last survey: 72 findings

These 72 critical or serious findings weren't in the previous survey, on 30 October 2026.

  • Cyclomatic Complexity · useFileKeyboardShortcuts.useFileKeyboardShortcuts.<returned closure> (cyclomatic 80) components/system/Files/FileManager/useFileKeyboardShortcuts.ts
  • Cyclomatic Complexity · useFile.useFile.<returned closure> (cyclomatic 16) components/system/Files/FileEntry/useFile.ts
  • Cognitive Complexity · useFileKeyboardShortcuts.useFileKeyboardShortcuts.<returned closure> (cognitive 124) components/system/Files/FileManager/useFileKeyboardShortcuts.ts
  • Cognitive Complexity · useFile.useFile.<returned closure> (cognitive 21) components/system/Files/FileEntry/useFile.ts
  • God Classes · FunctionTooLong: useFileKeyboardShortcuts.useFileKeyboardShortcuts.<returned closure> components/system/Files/FileManager/useFileKeyboardShortcuts.ts
  • License Compliance · Banned license: @img/sharp-libvips-darwin-arm64 REDACTED
  • License Compliance · Banned license: @img/sharp-libvips-darwin-x64 REDACTED
  • License Compliance · Banned license: @img/sharp-libvips-linux-arm REDACTED
  • License Compliance · Banned license: @img/sharp-libvips-linux-arm64 REDACTED
  • License Compliance · Banned license: @img/sharp-libvips-linux-ppc64 REDACTED
  • License Compliance · Banned license: @img/sharp-libvips-linux-riscv64 REDACTED
  • License Compliance · Banned license: @img/sharp-libvips-linux-s390x REDACTED
  • License Compliance · Banned license: @img/sharp-libvips-linux-x64 REDACTED
  • License Compliance · Banned license: @img/sharp-libvips-linuxmusl-arm64 REDACTED
  • License Compliance · Banned license: @img/sharp-libvips-linuxmusl-x64 REDACTED
  • License Compliance · Banned license: @img/sharp-wasm32 REDACTED
  • License Compliance · Banned license: @img/sharp-win32-arm64 REDACTED
  • License Compliance · Banned license: @img/sharp-win32-ia32 REDACTED
  • License Compliance · Banned license: @img/sharp-win32-x64 REDACTED
  • Dependency Vulnerabilities · REDACTED
  • Dependency Vulnerabilities · REDACTED
  • Dependency Vulnerabilities · REDACTED
  • Code Duplication · Duplicated block (14 lines × 2 locations) components/apps/Photos/index.tsx
  • Cyclomatic Complexity · Complex function (anonymous) (cyclomatic 28, cognitive 26) hooks/useGlobalKeyboardShortcuts.ts
  • Cyclomatic Complexity · Complex function ResultEntry (cyclomatic 28, cognitive 22) REDACTED
  • Cyclomatic Complexity · Complex function (anonymous) (cyclomatic 27, cognitive 33) utils/desktopFly/app.ts
  • Cyclomatic Complexity · Complex function updateWalk (cyclomatic 26, cognitive 42) utils/desktopFly/fly.ts
  • Cyclomatic Complexity · Complex function update (cyclomatic 26, cognitive 29) utils/desktopFly/fly.ts
  • Cyclomatic Complexity · Complex function updateRates (cyclomatic 26, cognitive 27) utils/desktopFly/lif.ts
  • Cyclomatic Complexity · Complex function Search (cyclomatic 26, cognitive 21) components/system/Taskbar/Search/index.tsx
  • Cyclomatic Complexity · Complex function GeneralTab (cyclomatic 25, cognitive 23) components/system/Dialogs/Properties/GeneralTab.tsx
  • Cyclomatic Complexity · Complex function MenuItemEntry (cyclomatic 25, cognitive 22) components/system/Menu/MenuItemEntry.tsx
  • Cyclomatic Complexity · Complex function updateNavigation (cyclomatic 23, cognitive 28) utils/desktopFly/fly.ts
  • Cyclomatic Complexity · Complex function (anonymous) (cyclomatic 23, cognitive 18) components/system/Taskbar/Search/Details.tsx
  • Cyclomatic Complexity · Complex function (anonymous) (cyclomatic 21, cognitive 28) components/system/Desktop/Wallpapers/Galaxy/renderer.ts
  • Cyclomatic Complexity · Complex function (anonymous) (cyclomatic 21, cognitive 26) components/system/Taskbar/AI/functions.ts
  • Cyclomatic Complexity · Complex function (anonymous) (cyclomatic 21, cognitive 22) components/system/Desktop/Wallpapers/Galaxy/renderer.ts
  • Cyclomatic Complexity · Complex function (anonymous) (cyclomatic 21, cognitive 19) components/system/Files/FileManager/useFolderContextMenu.ts
  • Cyclomatic Complexity · Complex function AIChat (cyclomatic 21, cognitive 19) components/system/Taskbar/AI/AIChat.tsx
  • Cyclomatic Complexity · Complex function onKeyDown (cyclomatic 21, cognitive 17) components/system/Taskbar/Search/index.tsx
  • Cyclomatic Complexity · Complex function (anonymous) (cyclomatic 20, cognitive 25) components/apps/Terminal/loadWapm.ts
  • Cyclomatic Complexity · Complex function (anonymous) (cyclomatic 20, cognitive 25) components/system/Files/FileEntry/index.tsx
  • Cyclomatic Complexity · Complex function (anonymous) (cyclomatic 19, cognitive 41) components/apps/Browser/index.tsx
  • Cyclomatic Complexity · Complex function (anonymous) (cyclomatic 19, cognitive 25) components/system/Menu/index.tsx
  • Exception handling · Swallowed exception (empty catch) utils/functions.ts
  • Exception handling · Swallowed exception (empty catch) utils/functions.ts
  • Exception handling · Swallowed exception (empty catch) utils/functions.ts
  • Exception handling · Swallowed exception (empty catch) utils/functions.ts
  • Exception handling · Swallowed exception (empty catch) utils/functions.ts
  • Exception handling · Swallowed exception (empty catch) utils/search.ts
  • Exception handling · Swallowed exception (empty catch) utils/search.ts
  • Exception handling · Swallowed exception (empty catch) utils/desktopFly/audio.ts
  • Exception handling · Swallowed exception (empty catch) utils/desktopFly/audio.ts
  • Exception handling · Swallowed exception (empty catch) utils/desktopFly/audio.ts
  • Exception handling · Swallowed exception (empty catch) utils/desktopFly/audio.ts
  • Exception handling · Swallowed exception (empty catch) hooks/useSnapshots.ts
  • Exception handling · Swallowed exception (empty catch) hooks/useSnapshots.ts
  • Exception handling · Swallowed exception (empty catch) contexts/viewport/useViewportContextState.ts
  • Exception handling · Swallowed exception (empty catch) contexts/viewport/useViewportContextState.ts
  • Exception handling · Swallowed exception (empty catch) contexts/viewport/useViewportContextState.ts
  • Exception handling · Swallowed exception (empty catch) contexts/session/useSessionContextState.ts
  • Exception handling · Swallowed exception (empty catch) contexts/session/useSessionContextState.ts
  • Exception handling · Swallowed exception (empty catch) contexts/fileSystem/core.ts
  • Exception handling · Swallowed exception (empty catch) contexts/fileSystem/core.ts
  • Exception handling · Swallowed exception (empty catch) contexts/fileSystem/functions.ts
  • Exception handling · Swallowed exception (empty catch) contexts/fileSystem/functions.ts
  • Exception handling · Swallowed exception (empty catch) contexts/fileSystem/functions.ts
  • Exception handling · Swallowed exception (empty catch) contexts/fileSystem/useFileSystemContextState.ts
  • Exception handling · Swallowed exception (empty catch) contexts/fileSystem/useFileSystemContextState.ts
  • Exception handling · Swallowed exception (empty catch) contexts/fileSystem/useFileSystemContextState.ts
  • Exception handling · Swallowed exception (empty catch) contexts/fileSystem/useFileSystemContextState.ts
  • Exception handling · Swallowed exception (empty catch) components/system/Taskbar/AI/ai.worker.ts

We compare every finding with the previous survey's. A finding that has only moved to another line in the same file counts as the same finding, so only new findings appear here. Advisory notes from the AI model are left out, because the model words them afresh in every survey.

Fixed since the last survey: 139 findings

These 139 critical or serious findings were in the previous survey, on 30 October 2026, and are gone from this one. The first 100 are listed here.

  • Cyclomatic Complexity · useFileKeyboardShortcuts.useFileKeyboardShortcuts (cyclomatic 84) components/system/Files/FileManager/useFileKeyboardShortcuts.ts
  • Cyclomatic Complexity · useFile.useFile (cyclomatic 16) components/system/Files/FileEntry/useFile.ts
  • Cognitive Complexity · useFileKeyboardShortcuts.useFileKeyboardShortcuts (cognitive 128) components/system/Files/FileManager/useFileKeyboardShortcuts.ts
  • Cognitive Complexity · preloadIcons.getPublicDirectoryIcons (cognitive 22) scripts/preloadIcons.js
  • Cognitive Complexity · useFile.useFile (cognitive 21) components/system/Files/FileEntry/useFile.ts
  • Churn × Complexity Hotspots · Hotspot: components/system/Files/FileManager/StatusBar.tsx components/system/Files/FileManager/StatusBar.tsx
  • Churn × Complexity Hotspots · Hotspot: components/apps/Messenger/index.tsx components/apps/Messenger/index.tsx
  • Churn × Complexity Hotspots · Hotspot: components/system/Files/FileEntry/useFile.ts components/system/Files/FileEntry/useFile.ts
  • Test Coverage · No test reaches this file scripts/searchIndex.js
  • Test Coverage · No test reaches this file scripts/preloadIcons.js
  • Test Coverage · No test reaches this file scripts/fs2json.js
  • Test Coverage · No test reaches this file scripts/minifyJs.js
  • Test Coverage · No test reaches this file scripts/robots.js
  • Test Coverage · No test reaches this file scripts/rssBuilder.js
  • Test Coverage · No test reaches this file scripts/cacheShortcuts.js
  • Test Coverage · No test reaches this file pages/index.tsx
  • Test Coverage · No test reaches this file components/pages/hooks/useCursor.tsx
  • Test Coverage · No test reaches this file components/system/Taskbar/TaskbarEntry/useTaskbarTransition.ts
  • Test Coverage · No test reaches this file components/system/Taskbar/TaskbarEntries/StyledTaskbarEntries.ts
  • Test Coverage · No test reaches this file components/system/Taskbar/Search/StyledSearchButton.ts
  • Test Coverage · No test reaches this file hooks/useGlobalErrorHandler.ts
  • Test Coverage · No test reaches this file components/system/Taskbar/StartButton/StartButtonIcon.tsx
  • Test Coverage · No test reaches this file pages/_error.tsx
  • Web-Security Posture · Weak hash algorithm scripts/rssBuilder.js
  • Async correctness · `async` callback passed to `forEach` scripts/minifyHtml.js
  • Exception handling · Swallowed exception (empty catch) utils/functions.ts
  • Exception handling · Swallowed exception (empty catch) utils/functions.ts
  • Exception handling · Swallowed exception (empty catch) utils/functions.ts
  • Exception handling · Swallowed exception (empty catch) utils/functions.ts
  • Exception handling · Swallowed exception (empty catch) utils/functions.ts
  • Exception handling · Swallowed exception (empty catch) utils/search.ts
  • Exception handling · Swallowed exception (empty catch) utils/search.ts
  • Exception handling · Swallowed exception (empty catch) utils/desktopFly/audio.ts
  • Exception handling · Swallowed exception (empty catch) utils/desktopFly/audio.ts
  • Exception handling · Swallowed exception (empty catch) utils/desktopFly/audio.ts
  • Exception handling · Swallowed exception (empty catch) utils/desktopFly/audio.ts
  • Exception handling · Swallowed exception (empty catch) scripts/minifyHtml.js
  • Exception handling · Swallowed exception (empty catch) scripts/minifyHtml.js
  • Exception handling · Swallowed exception (empty catch) scripts/preloadIcons.js
  • Exception handling · Swallowed exception (empty catch) hooks/useSnapshots.ts
  • Exception handling · Swallowed exception (empty catch) hooks/useSnapshots.ts
  • Exception handling · Swallowed exception (empty catch) contexts/viewport/useViewportContextState.ts
  • Exception handling · Swallowed exception (empty catch) contexts/viewport/useViewportContextState.ts
  • Exception handling · Swallowed exception (empty catch) contexts/viewport/useViewportContextState.ts
  • Exception handling · Swallowed exception (empty catch) contexts/session/useSessionContextState.ts
  • Exception handling · Swallowed exception (empty catch) contexts/session/useSessionContextState.ts
  • Exception handling · Swallowed exception (empty catch) contexts/fileSystem/core.ts
  • Exception handling · Swallowed exception (empty catch) contexts/fileSystem/core.ts
  • Exception handling · Swallowed exception (empty catch) contexts/fileSystem/functions.ts
  • Exception handling · Swallowed exception (empty catch) contexts/fileSystem/functions.ts
  • Exception handling · Swallowed exception (empty catch) contexts/fileSystem/functions.ts
  • Exception handling · Swallowed exception (empty catch) contexts/fileSystem/useFileSystemContextState.ts
  • Exception handling · Swallowed exception (empty catch) contexts/fileSystem/useFileSystemContextState.ts
  • Exception handling · Swallowed exception (empty catch) contexts/fileSystem/useFileSystemContextState.ts
  • Exception handling · Swallowed exception (empty catch) contexts/fileSystem/useFileSystemContextState.ts
  • Exception handling · Swallowed exception (empty catch) components/system/Taskbar/AI/ai.worker.ts
  • Exception handling · Swallowed exception (empty catch) components/system/Taskbar/AI/ai.worker.ts
  • Exception handling · Swallowed exception (empty catch) components/system/Taskbar/AI/AIChat.tsx
  • Exception handling · Swallowed exception (empty catch) components/system/Taskbar/AI/AIChat.tsx
  • Exception handling · Swallowed exception (empty catch) components/system/Files/FileManager/functions.ts
  • Exception handling · Swallowed exception (empty catch) components/system/Files/FileManager/useDraggableEntries.ts
  • Exception handling · Swallowed exception (empty catch) components/system/Files/FileManager/useEmscriptenMount.ts
  • Exception handling · Swallowed exception (empty catch) components/system/Files/FileManager/useEmscriptenMount.ts
  • Exception handling · Swallowed exception (empty catch) components/system/Files/FileManager/useFileDrop.ts
  • Exception handling · Swallowed exception (empty catch) components/system/Files/FileManager/useFileKeyboardShortcuts.ts
  • Exception handling · Swallowed exception (empty catch) components/system/Files/FileManager/useFolder.ts
  • Exception handling · Swallowed exception (empty catch) components/system/Files/FileManager/useFolder.ts
  • Exception handling · Swallowed exception (empty catch) components/system/Files/FileManager/useFolderContextMenu.ts
  • Exception handling · Swallowed exception (empty catch) components/system/Files/FileManager/useFolderContextMenu.ts
  • Exception handling · Swallowed exception (empty catch) components/system/Files/FileManager/StatusBar.tsx
  • Exception handling · Swallowed exception (empty catch) components/system/Files/FileManager/index.tsx
  • Exception handling · Swallowed exception (empty catch) components/system/Files/FileEntry/exeIcons.ts
  • Exception handling · Swallowed exception (empty catch) components/system/Files/FileEntry/functions.ts
  • Exception handling · Swallowed exception (empty catch) components/system/Files/FileEntry/functions.ts
  • Exception handling · Swallowed exception (empty catch) components/system/Files/FileEntry/functions.ts
  • Exception handling · Swallowed exception (empty catch) components/system/Files/FileEntry/useFileContextMenu.ts
  • Exception handling · Swallowed exception (empty catch) components/system/Files/FileEntry/useFileContextMenu.ts
  • Exception handling · Swallowed exception (empty catch) components/system/Files/FileEntry/useFileContextMenu.ts
  • Exception handling · Swallowed exception (empty catch) components/system/Files/FileEntry/index.tsx
  • Exception handling · Swallowed exception (empty catch) components/system/Dialogs/Run/index.tsx
  • Exception handling · Swallowed exception (empty catch) components/system/Desktop/Wallpapers/handlers.ts
  • Exception handling · Swallowed exception (empty catch) components/system/Desktop/Wallpapers/useWallpaper.ts
  • Exception handling · Swallowed exception (empty catch) components/system/Desktop/Wallpapers/vantaWaves/index.ts
  • Exception handling · Swallowed exception (empty catch) components/system/Desktop/Wallpapers/Galaxy/renderer.ts
  • Exception handling · Swallowed exception (empty catch) components/pages/hooks/useFaviconAndTitle.tsx
  • Exception handling · Swallowed exception (empty catch) components/apps/VideoPlayer/useVideoPlayer.ts
  • Exception handling · Swallowed exception (empty catch) components/apps/VideoPlayer/useVideoPlayer.ts
  • Exception handling · Swallowed exception (empty catch) components/apps/V86/useV86.ts
  • Exception handling · Swallowed exception (empty catch) components/apps/V86/useV86.ts
  • Exception handling · Swallowed exception (empty catch) components/apps/Terminal/functions.ts
  • Exception handling · Swallowed exception (empty catch) components/apps/Terminal/loadWapm.ts
  • Exception handling · Swallowed exception (empty catch) components/apps/Terminal/loadWapm.ts
  • Exception handling · Swallowed exception (empty catch) components/apps/Terminal/loadWapm.ts
  • Exception handling · Swallowed exception (empty catch) components/apps/Terminal/useCommandInterpreter.ts
  • Exception handling · Swallowed exception (empty catch) components/apps/Terminal/useCommandInterpreter.ts
  • Exception handling · Swallowed exception (empty catch) components/apps/Terminal/useCommandInterpreter.ts
  • Exception handling · Swallowed exception (empty catch) components/apps/Terminal/useTerminal.ts
  • Exception handling · Swallowed exception (empty catch) components/apps/SpaceCadet/useSpaceCadet.ts
  • Exception handling · Swallowed exception (empty catch) components/apps/Ruffle/useRuffle.ts
  • Exception handling · Swallowed exception (empty catch) components/apps/Quake3/useQuake3.ts
Rebuild cost: about €51,000 · Estimate
Cost to rebuild€17,000 to €85,000, for 282 to 896 hours of work, about 0.4 person-years for one engineer
Difficulty of the problemStandard, 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.
SizeMedium: 54,992 lines of product code
What it is notNot a quotation: nobody has offered to build it for that. Not a valuation: it says nothing about what the business is worth. Not a certified figure: no professional has signed it as one.

How the estimate is made: We price the hours a team would need to write this code again, at €60 to €95 an hour. Declarations and boilerplate are priced at a fast rate and logic at a slower one, and the logic is then multiplied by the difficulty of the problem and by the quality factor. The estimate can be about 30% off either way, and it moves most with the hourly rate and the difficulty. For this code, every line is priced as straight logic, which keeps the estimate on the low side.

Top priorities

The three actions that raise the score most for the work they take. The full ranked list is in the Roadmap.

1
Resolve the 4 Deprecated finding(s) in Dependency Hygiene — start with REDACTED (4).
Raises the score by about 5 points · Low effort · Dependency Hygiene
2
Resolve the 15 Banned license finding(s) in License Compliance — start with REDACTED (14), REDACTED.
Raises the score by about 8 points · Medium effort · License Compliance
3
Resolve the 2 Floating npm dependency finding(s) in Dependency Hygiene.
Raises the score by about 3 points · Low effort · Dependency Hygiene

Diagnosis: what the measurements show together

Each conclusion below combines several dimensions into one point that no single dimension shows, and lists the measurements it rests on.

Where the investment is most exposed · Value at risk
This code would cost about €51,000 to build again, about 0.4 person-years of work. Its weakest lens is Production Readiness, at 33 (Weak). Production Readiness is about whether the product is ready to run in production and to change without breaking. Because the weakest lens counts most in the score, work on Production Readiness also moves the score most.
Based on: the rebuild estimate · the Production Readiness grade · how much each lens counts
What to do: Start with the Production Readiness actions in Top priorities.
If you do one thing first · First action
Resolve the 4 Deprecated finding(s) in Dependency Hygiene. Of all the actions in this report, it raises the score most for the work it takes: about 5 points for low effort, because it clears the 4 Dependency Hygiene findings. The next survey will show the change in the score.
Based on: the ranked actions in Top priorities, by score gain and effort
What hard-to-read code costs each year · Cost
Four dimensions measure how easy the code is to work in: two measure how tangled its logic is, one how much of it is copied, and one how well each part sticks to a single job. In this codebase they average 4.7 out of 10. Code at that level is slower to change than clean code, and we estimate the extra work at 8% to 19% on every change. The history of the code shows how much it changes: about 51,540 lines over the last 90 days, which is about 209,023 lines a year. At that pace, the extra work comes to an estimated 43.5 to 261.3 engineer-days a year, and it grows as more code changes.
How this is estimated: The number of changed lines is measured from the history of the code. The rest rests on two assumptions of our own: code scoring 8 out of 10 or more adds no extra work, and each point below 8 adds 2.5% to 5.6% to every change, never less than 2% to 5% and never more than 40% to 60% in all; and an engineer changes 150 to 400 lines in a day. The result is a range for planning, not a measurement.
Based on: Cyclomatic Complexity · Cognitive Complexity · Cohesion (LCOM4) · the code's change history
What to do: Start with the files listed under Churn × Complexity Hotspots, which change often and are hard to read, because that is where the extra work is paid most often.

Architecture: which parts of the code depend on which

The code is divided into modules, groups of code that each handle one part of the product, and a module depends on another when it uses code from it. The table lists the modules both down the side and across the top, in an order where each module should only use modules listed above it. A number in a cell means the module on that row uses the module in that column, and it counts the pairs of building blocks (types) that connect them. The one thing to look for is a mark above the diagonal line. It means two or more modules use each other in a loop (a dependency cycle), so none of them can be changed, tested or released on its own.

174 modules, with 39 dependencies between them. Every module uses only modules listed above it, so there are no loops.

The table shows the 40 modules with the most connections; 134 more are left out to keep it readable.

Which modules use which. The module on each row uses the module in each column, and the number counts the pairs of types that connect them. A cell above the diagonal is part of a loop.
uses →1 components.apps.BoxedWine.useBoxedWine2 components.apps.Browser.useProxyMenu3 components.apps.Messenger.HistoryContext4 components.apps.Messenger.types5 components.system.Desktop.Wallpapers.Galaxy.camera6 components.system.Desktop.Wallpapers.Galaxy.generate7 components.system.Desktop.Wallpapers.Galaxy.renderer8 components.system.Desktop.Wallpapers.types9 components.system.Dialogs.Properties.useExif10 components.system.Files.FileManager.useFolder11 components.system.Files.FileManager.useSortBy12 components.system.Files.Views13 components.system.Taskbar.AI.types14 components.system.Taskbar.Calendar.functions15 components.system.Taskbar.TaskbarEntry.Peek.functions16 contexts.menu.useMenuContextState17 hooks18 public.Program Files.jspaint.src.OnCanvasObject19 utils.desktopFly.brain_worker20 utils.desktopFly.rng21 components.apps.Browser22 components.apps.Emulator23 components.apps.Messenger.NostrContext24 components.apps.Quake325 components.apps.SpaceCadet26 components.system.Desktop.Wallpapers27 components.system.Desktop.Wallpapers.Galaxy28 components.system.Dialogs.Properties29 components.system.Files.FileEntry30 components.system.Files.FileManager31 components.system.Taskbar.AI32 components.system.Taskbar.Calendar33 components.system.Taskbar.TaskbarEntry.Peek34 utils.desktopFly.fly35 utils.desktopFly.lif36 components.apps.Messenger37 utils.desktopFly.audio38 utils.desktopFly.render39 utils.desktopFly40 utils.desktopFly.app
1 components.apps.BoxedWine.useBoxedWine
2 components.apps.Browser.useProxyMenu
3 components.apps.Messenger.HistoryContext
4 components.apps.Messenger.types
5 components.system.Desktop.Wallpapers.Galaxy.camera
6 components.system.Desktop.Wallpapers.Galaxy.generate
7 components.system.Desktop.Wallpapers.Galaxy.renderer
8 components.system.Desktop.Wallpapers.types
9 components.system.Dialogs.Properties.useExif
10 components.system.Files.FileManager.useFolder
11 components.system.Files.FileManager.useSortBy
12 components.system.Files.Views
13 components.system.Taskbar.AI.types
14 components.system.Taskbar.Calendar.functions
15 components.system.Taskbar.TaskbarEntry.Peek.functions
16 contexts.menu.useMenuContextState
17 hooks
18 public.Program Files.jspaint.src.OnCanvasObject
19 utils.desktopFly.brain_worker
20 utils.desktopFly.rng
21 components.apps.Browser1
22 components.apps.Emulator1
23 components.apps.Messenger.NostrContext1
24 components.apps.Quake31
25 components.apps.SpaceCadet1
26 components.system.Desktop.Wallpapers1
27 components.system.Desktop.Wallpapers.Galaxy111
28 components.system.Dialogs.Properties1
29 components.system.Files.FileEntry1
30 components.system.Files.FileManager221
31 components.system.Taskbar.AI3
32 components.system.Taskbar.Calendar1
33 components.system.Taskbar.TaskbarEntry.Peek1
34 utils.desktopFly.fly1
35 utils.desktopFly.lif1
36 components.apps.Messenger111
37 utils.desktopFly.audio1
38 utils.desktopFly.render1
39 utils.desktopFly1121
40 utils.desktopFly.app111
Uses a module listed above itPart of a loopThe module itself
1 components.apps.BoxedWine.useBoxedWine2 components.apps.Browser.useProxyMenu3 components.apps.Messenger.HistoryContext4 components.apps.Messenger.types5 components.system.Desktop.Wallpapers.Galaxy.camera6 components.system.Desktop.Wallpapers.Galaxy.generate7 components.system.Desktop.Wallpapers.Galaxy.renderer8 components.system.Desktop.Wallpapers.types9 components.system.Dialogs.Properties.useExif10 components.system.Files.FileManager.useFolder11 components.system.Files.FileManager.useSortBy12 components.system.Files.Views13 components.system.Taskbar.AI.types14 components.system.Taskbar.Calendar.functions15 components.system.Taskbar.TaskbarEntry.Peek.functions16 contexts.menu.useMenuContextState17 hooks18 public.Program Files.jspaint.src.OnCanvasObject19 utils.desktopFly.brain_worker20 utils.desktopFly.rng21 components.apps.Browser22 components.apps.Emulator23 components.apps.Messenger.NostrContext24 components.apps.Quake325 components.apps.SpaceCadet26 components.system.Desktop.Wallpapers27 components.system.Desktop.Wallpapers.Galaxy28 components.system.Dialogs.Properties29 components.system.Files.FileEntry30 components.system.Files.FileManager31 components.system.Taskbar.AI32 components.system.Taskbar.Calendar33 components.system.Taskbar.TaskbarEntry.Peek34 utils.desktopFly.fly35 utils.desktopFly.lif36 components.apps.Messenger37 utils.desktopFly.audio38 utils.desktopFly.render39 utils.desktopFly40 utils.desktopFly.appcomponents.apps.BoxedWine.useBoxedWine1components.apps.Browser.useProxyMenu2components.apps.Messenger.HistoryContext3components.apps.Messenger.types4components.system.Desktop.Wallpapers.Galaxy.camera5components.system.Desktop.Wallpapers.Galaxy.generate6components.system.Desktop.Wallpapers.Galaxy.renderer7components.system.Desktop.Wallpapers.types8components.system.Dialogs.Properties.useExif9components.system.Files.FileManager.useFolder10components.system.Files.FileManager.useSortBy11components.system.Files.Views12components.system.Taskbar.AI.types13components.system.Taskbar.Calendar.functions14components.system.Taskbar.TaskbarEntry.Peek.functions15contexts.menu.useMenuContextState16hooks17public.Program Files.jspaint.src.OnCanvasObject18utils.desktopFly.brain_worker19utils.desktopFly.rng20components.apps.Browser21components.apps.Emulator22components.apps.Messenger.NostrContext23components.apps.Quake324components.apps.SpaceCadet25components.system.Desktop.Wallpapers26components.system.Desktop.Wallpapers.Galaxy27components.system.Dialogs.Properties28components.system.Files.FileEntry29components.system.Files.FileManager30components.system.Taskbar.AI31components.system.Taskbar.Calendar32components.system.Taskbar.TaskbarEntry.Peek33utils.desktopFly.fly34utils.desktopFly.lif35components.apps.Messenger36utils.desktopFly.audio37utils.desktopFly.render38utils.desktopFly39utils.desktopFly.app401111111111122131111111111121111+134 more modules (most-connected shown)

At a glance — Code Health · 44% · Weak · gated by D1, D2, X3, X5 ·

At a glance — Architecture · 58% · Adequate · gated by R9 ·

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

At a glance — Readiness · 33% · Weak · gated by D14, P2, P3 ·

At a glance — Security · 94% · Exemplary ·

At a glance — Accessibility · 43% · Weak · gated by AC4 ·

At a glance — Performance · 100% · Exemplary ·

Security & Compliance — OWASP Top-10 mapping

Findings mapped to OWASP categories; the specific CVEs/secrets are in the Security dimension cards below and findings.md (redacted only on the public version of this report).

OWASP categoryFindingsSeverity
A03:2025 — Software Supply Chain Failures34High / Critical
A05:2025 — Injection6High / Critical
A02:2025 — Security Misconfiguration6High / Critical

Roadmap

Top priorities: Resolve the 15 Banned license finding(s) in License Compliance — start with REDACTED (14), REDACTED; Adopt pino (or winston) and log at meaningful points in the services you run; Add a SAST step to CI running what this repository's stack ships: CodeQL's javascript-typescript pack, `semgrep --config=p/typescript`, or eslint-plugin-security — so a security regression fails the build instead of landing.

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

Do thisHelpsEffortDimension
Resolve the 4 Deprecated finding(s) in Dependency Hygiene — start with REDACTED (4).+5.0 ptsLowDependency Hygiene
Resolve the 15 Banned license finding(s) in License Compliance — start with REDACTED (14), REDACTED.+7.9 ptsMediumLicense Compliance
Resolve the 2 Floating npm dependency finding(s) in Dependency Hygiene.+2.7 ptsLowDependency Hygiene
Adopt pino (or winston) and log at meaningful points in the services you run.+5.1 ptsMediumObservability
Add a SAST step to CI running what this repository's stack ships: CodeQL's javascript-typescript pack, `semgrep --config=p/typescript`, or eslint-plugin-security — so a security regression fails the build instead of landing.+5.1 ptsMediumSecurity & performance tooling
Resolve the 1 No ADRs found finding(s) in ADR Quality — start with REDACTED.+1.4 ptsLowADR Quality
Make custom controls keyboard-operable (role + tabindex + key handler), drop positive tabindex, and give anchors a real href.+2.4 ptsMediumKeyboard semantics
Resolve the 139 No direct assertions finding(s) in Test Quality — start with Terminal.spec.ts (48), FileExplorer.spec.ts (26), Taskbar.spec.ts (16).+3.0 ptsHighTest Quality

File quality

Per-file score 0–10 — a quality signature. Of 113 files carrying findings, judged against the Production bar: 4% slop · 64% mixed · 32% near-clean.

FileScoreBandWorst signal
REDACTED0.0SlopLicense Compliance: Banned license: @img/sharp-libvips-darwin-arm64
REDACTED1.3SlopLicense Compliance: Banned license: stockfish
REDACTED3.0SlopStatic Analysis (SAST): High: REDACTED
REDACTED3.5SlopIaC & Container Security: High IaC: REDACTED
REDACTED4.6MixedStatic Analysis (SAST): Medium: REDACTED
components/system/Files/FileEntry/index.tsx5.6MixedCyclomatic Complexity: index.FileEntry (cyclomatic 115)
e2e/components/apps/FileExplorer.spec.ts6.4MixedTest Quality: Skipped test: (unnamed test)
REDACTED6.9MixedIaC & Container Security: Medium IaC: REDACTED
utils/desktopFly/lif.ts7.0MixedCyclomatic Complexity: CompiledCircuit.constructor (cyclomatic 63)
utils/desktopFly/app.ts7.0MixedCyclomatic Complexity: FlyApp.senseFrame (cyclomatic 46)
utils/desktopFly/fly.ts7.0MixedCyclomatic Complexity: Fly.brainBehavior (cyclomatic 45)
components/system/Files/FileManager/useFolder.ts7.0MixedCyclomatic Complexity: useFolder.useFolder.pasteToFolder (cyclomatic 24)
components/system/Desktop/Wallpapers/Galaxy/renderer.ts7.0MixedCyclomatic Complexity: renderer.createGalaxyRenderer (cyclomatic 23)
components/system/Files/FileEntry/functions.ts7.1MixedCyclomatic Complexity: functions.getInfoWithExtension (cyclomatic 88)
components/system/Files/FileManager/useFileKeyboardShortcuts.ts7.1MixedCyclomatic Complexity: useFileKeyboardShortcuts.useFileKeyboardShortcuts.<returned closure> (cyclomatic 80)
components/system/Files/FileManager/useFolderContextMenu.ts7.1MixedCyclomatic Complexity: useFolderContextMenu.useFolderContextMenu (cyclomatic 42)
components/system/Taskbar/Search/index.tsx7.1MixedCyclomatic Complexity: index.Search (cyclomatic 33)
components/apps/Terminal/useCommandInterpreter.ts7.2MixedCyclomatic Complexity: useCommandInterpreter.useCommandInterpreter::commandInterpreter::runCommand (cyclomatic 232)
components/system/Desktop/Wallpapers/Galaxy/generate.ts7.2MixedCyclomatic Complexity: generate.generateGalaxy (cyclomatic 97)
components/system/Desktop/Wallpapers/useWallpaper.ts7.2MixedCyclomatic Complexity: useWallpaper.useWallpaper::loadFileWallpaper (cyclomatic 31)

How the grades work

Every finding carries one of four grades. Three say how serious it is. The fourth says this survey could not settle it — and it is a grade, not a gap.

Critical — 67

A definite problem that already costs you something and drags the score down: a missing authorisation check, a dependency with a known exploit, a build that does not reproduce. Failure here tends to cause failures elsewhere.

Serious — 675

Likely wrong, but not failing yet. It degrades the codebase over a longer horizon and can cause failures elsewhere — not urgent this week, not something to carry for two years either.

Minor — 216

Recorded, with no effect on how the codebase functions. Present so the survey is complete, not because it needs doing.

Could not be resolved — 9

Something this survey could not settle from the outside, and which could be critical or serious. Either a control was required and no positive evidence of it exists in the repository — a backup job that nothing shows was ever restored from proves nothing about restores — or our own analysis could not run over that part of the tree. This is not a clean result. These are excluded from the score rather than awarded a pass, so the number on the cover neither rewards nor penalises them: if you act on this survey without resolving them, you carry that risk yourself. Each one is named under Limitations.

Methodology & how to trust this report

This survey is a deep, periodic assessment — run each sprint, monthly, or quarterly, taking the time to go wider and deeper than a quick check and surfacing in one coherent report what you'd otherwise piece together from a dozen separate tools. It scores deterministically: the same commit yields the same score, every run. All 65 evaluated dimensions are computed by tools and static analysis; no language model sets or judges any of them. Overall confidence is 0.8, the weighted average across measured dimensions.

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

What we checked — 65 dimensions across the health lenses
D1D2D3D6D10D12D13D14D15D17D19D20D24D27D28D29D30D31D34D35D43D44AC1AC2AC3AC4AC5AX10AX3AX4AX6GD1IC1M1M2M3M4P1P2P3P4P6PF3R1R10R11R2R3R4R6R7R8R9X1X12X15X16X2X21X24X28X29X3X30X5

Each chip is a dimension scored from real signals across architecture, testing, dependencies, security & compliance, documentation, git-history and code quality — in one coherent pass. A surface report typically covers a handful.

How to trust any code-health report — three questions
  1. Can you open the finding? Real findings cite a repo-relative file and line you can open at the cited line — never an absolute scratch path. Here, 931 of 958 do; the remainder are repo-wide signals — a dimension-level measurement, not a single line. (Every path in this report is repo-relative by construction: paths are normalized at the producer and the report is rejected if any rooted path leaks through.)
  2. Is there a tool behind the number? Every score below names the method that produced it: Roslyn, git or a scanner, not a narrative.
  3. Does re-running give the same result? Run it again on the same commit and the score — and this report, byte for byte — is identical. A report whose numbers move between runs is describing the run, not the code.

This report answers yes to all three. That's the bar to hold any assessment to.

Tools & methods

The actual versions used this run (captured at analysis time) — re-run on the same commit for the identical score.

MethodBacksVersionEvaluator
Roslyn static analysisComplexity, cohesion, coupling, dead code, API surface, layering5.3.0✓ deterministic
Native secret scannerHardcoded secrets / credentials1.0.0✓ deterministic
Canine Code Analyzer duplication detector (in-process)Code duplication1.0.0✓ deterministic
Coverage (coverlet / dotnet-coverage)Line & branch coverage10.0.400✓ deterministic
NuGet / dotnetOutdated, vulnerable & deprecated dependencies10.0.400✓ deterministic
git / LibGit2SharpChurn hotspots, knowledge concentration, history2.43.0 · 0.31.0✓ deterministic
gitleaks · semgrep · trivy · checkovSecrets in history, SAST, CVEs, IaC & container, PII / GDPR1.86.0 · 0.69.3 · 3.2.533✓ deterministic

Every finding is locatable in findings.md. Run 01a1dda2-7bef-763a-80ce-823eba1cf0ff.

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

Run transparency — what happened this run

What ran differently this time — a tool absent, degraded, or that fell back to an estimate. Named openly, not folded silently into the scores. A degraded run also records its exact cause in diagnostics.md.

  • D8 Code Coverage — not measured this run — We could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. Coverage NOT MEASURED: the JavaScript/TypeScript half could not be measured — the dependency install for the repository root failed in the analyzer sandbox (yarn install v1.22.22), so the suite never ran. Coverage is excluded from the score rather than counted as a near-zero. This is OUR limitation, not a defect in the repo.
  • D11 Test Reliability — not measured this run — We could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. Test reliability NOT MEASURED: the JavaScript/TypeScript suite could not be re-run in the analyzer sandbox — the dependency install for the repository root failed in the analyzer sandbox (yarn install v1.22.22), so the suite never ran. This is OUR limitation, not a defect in the repo — it is excluded from the score.
  • D11 Test Reliability — not measured this run — We could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. Test reliability for the jest suite in the repository root was NOT MEASURED: the dependency install for the repository root failed in the analyzer sandbox (yarn install v1.22.22), so the suite never ran. This is OUR limitation, not a defect in the repository, and the suite is excluded from the measurement rather than counted against it.
  • D16 Bus Factor — not measured this run — This is a true statement about the repository that carries nothing for its owner to act on, so it is reported here rather than as a defect in their code. Single-contributor repository — bus factor is not applicable (1 contributor(s) across 4581 commit(s) sampled, automation and bot accounts excluded). Concentration needs a team to concentrate: with one contributor there is nobody to spread the knowledge to, so there is nothing here for the owner to act on.
  • D19 Documentation Quality — measured, with a gap in what it reached — We measured this, but not all of it. What we did not reach is a gap on our side — a collector, parser or image we have not built yet — so the numbers on that dimension cover less than the repository, and the part left out is not evidence that it would have passed. This kind did not reach the 95 % precision gate in three adjudicated runs (docs/plans/deterministic-engine/adjudication/D19-sample3-v3.md), so by the pre-registered fallback it publishes no row until a re-measurement shows it does. The candidates are counted here, not reported as findings, and the score does not include them.
  • D21 Naming Consistency — not measured this run — We could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. D21's naming rules read C# through Roslyn and every other language through its sidecar model; these languages are left out (PHP's reading is its own change, a Roslyn-loaded VB or F# project has no population builder yet). Their declarations carry no naming verdict this run — this says nothing about whether their names are consistent.
  • D21 Naming Consistency — not measured this run — We could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. PREREGISTRATION version 20's fallback (adjudication D21-sample3-v3): this rule kind was adjudicated below the 95 % precision gate, so its candidates are counted here and not published, and the score covers only the acronym-spelling and awaitable-suffix rules. The kind returns as rows only after it shows a measured precision; this says nothing about whether these names are consistent.
  • D22 Internal API Consistency — not measured this run — We could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. 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 an ADMISSION gap, not an environment fault: no published-package marker D22 reads admitted any project here. D22 DOES collect the public API of every language in this tree, and admits a project only when its manifest makes that ecosystem's publication act in a form the marker recognises — so what is missing is not a collector but an admission rule for the publication act this repository makes, if it makes one. The remedy is a better discriminator for that marker — not a collector, and no change to the scan image can close it. The marker's rules are measured to refuse applications, so one refused repository is the rule working as calibrated; several are the evidence that it is too strict. For npm the surface is what a published REDACTED's entry points (exports, main, module, types) export, followed through the source; an entry that names build output the tree does not commit (dist/, build/) is not followed back to source, because only a tsconfig outDir/rootDir pair states that mapping and a bundler's input lives in executable configuration this engine does not evaluate.
  • D26 Project Cohesion — not measured this run — We could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. `(repository root)` (54992 LoC, 479 module-visible types across 102 directories) is over its size bounds, and whether one unit is a coherent whole or a grab-bag is read from its type references: the parts of it that reach the rest only through its shared core. Those are read over the C#/VB code model, which this unit's source did not supply. Its size alone is no verdict on its cohesion, so none is published.
  • D32 Data Compliance (PII/GDPR) — not measured this run — We could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. `components/system/Taskbar/AI/builtInAI.ts`, `hooks/useWindowAI.ts`, `public/Program Files/BoxedWine/browserfs.boxedwine.js`, `public/Program Files/EmulatorJs/extract7z.js`, `public/Program Files/EmulatorJs/extractzip.js`, … (+4 more) produced a parse error, so every rule in this engine's `gdpr.yml` was absent there. That absence is NOT a clean result: these rules detect personal data crossing a boundary into a log sink, a URL or browser storage, and a file that was never parsed cannot report any of the three. The rest of the tree analysed normally and its rows above stand; only these files are unaccounted for. You can widen what we reach: fix the syntax error (or exclude the file deliberately) and re-scan to cover it.
  • AC3 Page structure — measured, with a gap in what it reached — We measured this, but not all of it. What we did not reach is a gap on our side — a collector, parser or image we have not built yet — so the numbers on that dimension cover less than the repository, and the part left out is not evidence that it would have passed. 20 further occurrence(s) are not listed individually; the score already reflects all 60.
  • AC6 Visual & motion safety — not measured this run — We could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. Visual & motion safety could not be assessed in this run — the check did not complete, so it is not scored. This is a gap in the analyzer, not a finding about this repository. Engine failure: ArgumentOutOfRangeException: startIndex cannot be larger than length of string. (Parameter 'startIndex').
  • AXR1 Runtime accessibility — not measured this run — We could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. Render strategy: boot via REDACTED (REDACTED). docker build failed (exit 1) — 2 | * Copyright (c) Microsoft Corporation. All rights reserved. 3 | * Version: 0.32.1(29a273516805a852aa8edc5e05059f119b13eff0) -------------------- ERROR: failed to solve: dockerfile parse error on line 1: unknown instruction: /*!-----------------------------------------------------------------------------; runtime evidence skipped.
  • M4 Documentation accuracy — measured, with a gap in what it reached — We measured this, but not all of it. What we did not reach is a gap on our side — a collector, parser or image we have not built yet — so the numbers on that dimension cover less than the repository, and the part left out is not evidence that it would have passed. 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.
  • 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.
  • R2 Cyclomatic Complexity — measured, with a gap in what it reached — We measured this, but not all of it. What we did not reach is a gap on our side — a collector, parser or image we have not built yet — so the numbers on that dimension cover less than the repository, and the part left out is not evidence that it would have passed. 57 further occurrence(s) are not listed individually; the score already reflects all 97.
  • R4 Test Coverage — measured, with a gap in what it reached — We measured this, but not all of it. What we did not reach is a gap on our side — a collector, parser or image we have not built yet — so the numbers on that dimension cover less than the repository, and the part left out is not evidence that it would have passed. 8 further occurrence(s) are not listed individually; the score already reflects all 48.
  • S1 Web-Security Posture — not measured this run — We could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. 447 JavaScript/TypeScript file(s) were read for weak hashes and ciphers, key material fixed in the source, disabled certificate validation, obsolete TLS versions, plaintext password storage and session cookies set without HttpOnly, Secure or SameSite, and none was found. The server controls this dimension also scores were not assessed, so no score is given.
  • X3 Exception handling — measured, with a gap in what it reached — We measured this, but not all of it. What we did not reach is a gap on our side — a collector, parser or image we have not built yet — so the numbers on that dimension cover less than the repository, and the part left out is not evidence that it would have passed. 60 further occurrence(s) are not listed individually; the score already reflects all 100.
  • X4 Structured logging — not measured this run — We could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check reads C# syntax, and JavaScript/TypeScript, Java, Kotlin, Python, PHP, Dart, Ruby, Scala and Rust source only, and no C# was loaded, and this repository's JavaScript/TypeScript, Python and PHP make no call through a named logger, so it had nothing of this repository's product to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.

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

Limitations & what we did not check

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

Per-dimension blind spots

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

  • D1 Cyclomatic Complexity: Cyclomatic complexity counts branches statically — it cannot tell an essential decision tree from accidental tangle, nor see complexity that lives in data or configuration (large switch-case token tables, DSL lexers/parsers, data-as-code rule tables) rather than control flow: a tokenizer's many single-character cases read as high complexity though each branch is trivial.
  • D2 Cognitive Complexity: Cognitive-complexity heuristics approximate how hard code is to follow; genuine domain difficulty and well-named intent that eases reading are not captured.
  • D3 God Classes: "God class" is sized by members and responsibilities visible in the type — a deliberately broad facade over a coherent subsystem can read the same as an accidental grab-bag. For front-end JS the file-length check is cohesion-aware (a single-responsibility module — one class/IIFE — earns a 3× threshold), but cohesion is approximated from top-level declarations, not true dependency structure.
  • 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.
  • D10 Test Quality: Assertion density is structural — it cannot tell a meaningful behavioural assertion from a trivial one, only that an assertion is present.
  • D12 Dependency Hygiene: Dependency health reads manifests and lockfiles — a vulnerability in a vendored/copied dependency, or risk from how a dependency is actually used, is outside this view.
  • D13 Secret Scanning: Secret detection is signature- and entropy-based on the current tree — a secret that does not match a known pattern, or one already rotated, will not be flagged (a clean scan is "nothing matched", not "no secrets exist").
  • D14 License Compliance: License compatibility is checked against declared package metadata and a policy — mislabelled or missing license metadata, and obligations that depend on how you distribute, are not resolved here.
  • D15 Churn × Complexity Hotspots: Churn hotspots come from git history — a freshly imported or squashed repository has no churn signal, and recent rewrites can mask a historically risky file.
  • D17 Explicit Debt: Acknowledged-debt signals (TODO/FIXME, suppressions, dead code) are textual — undocumented debt that nobody marked, and debt that lives in design rather than annotations, is invisible. Committed machine-written code (scaffolded migrations, designer/codegen output, generated stubs) is excluded — it is never the team's dead code to delete.
  • 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.
  • D20 ADR Quality: ADR quality checks the structure of the decision records present: it cannot know about decisions made and never recorded, and it does not judge how well a record argues its case. Records in a language the section lexicon does not cover are not evaluated.
  • D24 Comment Value: Comment value is measured as redundancy only: a comment that repeats its code's words is found, but a paraphrase in other words, a vague comment, or one the code contradicts is not, and whether a comment is valuable is not claimed. Comments in other scripts or languages, and outside C#, are not judged.
  • D27 Navigability: Indirection/navigability is structural — it measures hops to follow a call, not whether that indirection buys real flexibility or just ceremony.
  • D28 Secrets (history): Secret-history scanning sweeps the git log for known patterns — a secret that predates the available history, or never matched a signature, is not found (clean means "nothing matched in the history we can see").
  • D29 Static Analysis (SAST): SAST findings are pattern-based (semgrep) — it finds classes of bug it has rules for; logic flaws, auth/authorization gaps and issues needing runtime context are out of reach (and clean means "no rule matched").
  • D30 Dependency Vulnerabilities: CVE matching depends on accurate package/version metadata and 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.
  • D31 IaC & Container Security: IaC scanning checks Dockerfiles/Terraform/Kubernetes against best-practice rules — it cannot see the live cloud account, runtime configuration, or drift between the committed config and what is actually deployed.
  • D34 Knowledge Freshness: Freshness is decayed commit RECENCY, not comprehension — code read often but rarely committed reads as orphaned, and stable code that genuinely needs no changes is penalised the same as forgotten code; bot/squash commits distort it like the bus factor.
  • D35 Change Coupling: Change coupling is co-change in COMMITS — files split across separate commits, or coupled only through a shared config/build step, read as uncoupled, and a sweeping commit (rename/format) is excluded so it doesn't couple everything. It shows that files change together, not WHY: a high coupling can be a healthy cohesive pair as readily as a hidden leak.
  • D43 Malicious Dependencies: Only packages some vulnerability database has already NAMED as malicious are seen — a compromise published in the last hours, or never reported at all, is invisible here, and this dimension reading 10 is not evidence that a dependency is trustworthy. There is no typosquat or dependency-confusion analysis: a package nobody has reported is simply absent from the feeds. Coverage is the dependency scan's: an ecosystem that could not be scanned is disclosed as unmeasured, never as clean.
  • D44 Platform End-of-Life: The support table is FROZEN, so it goes out of date by losing RECALL: a release that ended support after the table was written is missed until the table is refreshed, and this dimension reading 10 is not evidence that a platform is current. Only platforms the repository DECLARES in a place this pass reads are seen — a runtime named only in a REDACTED (D31's subject), in a CI workflow (D29's), or in a file this pass does not parse (go.mod, a Gemfile ruby directive) is invisible here, which is why a repository declaring none of them abstains rather than scoring. Only frameworks with a PUBLISHED support policy are tracked: React, Flask and Express publish none, so their age cannot be judged and their absence from a report is not a statement that they are supported.
  • AC1 Text alternatives: Alt-text is detected structurally — the scan sees that an alternative EXISTS, not whether it meaningfully describes the image, and decorative-vs-missing is judged by attribute shape; runtime-injected images and a non-role=img decorative svg are out of scope. This is accessibility readiness, never a WCAG conformance claim.
  • AC2 Forms & labels: Label association is read from static markup — a label wired up at runtime (JS-set aria-labelledby, framework-injected ids) reads as missing, a present label says nothing about whether its text is correct. A known UI-library field component (e.g. a JSX <TextField>) is now checked conservatively — flagged only when it carries NO label/aria-label/aria-labelledby/id/name — but wrapper/context-labelled libraries (Chakra/Radix FormControl+FormLabel) aren't statically visible (possible false positive) and non-JSX lowercased components are still skipped. A click handler on a plain element is now asked for a name too (it is a control the author declared), but the subtree test that answers it is deliberately generous: any DYNAMIC text expression in the subtree counts as a name, so an icon chosen by a ternary ({cond ? <IconA/> : <IconB/>}) reads as named, and a glyph component from a library the icon-import list does not know still names its parent. A clean result is "no unlabelled control found", not a labelling proof.
  • AC3 Page structure: Page structure is read from the static markup tree — landmarks, headings and lang injected at runtime aren't seen, heading ORDER is checked structurally (not against the rendered visual hierarchy), and lang/title/main fire only on full documents, never partials, and the data-table check sees header-cell presence (a <th> exists), not whether each header correctly associates with its cells. Static readiness, not conformance.
  • AC4 Keyboard semantics: Keyboard semantics are inferred from markup attributes — interactivity wired purely in script, focus managed at runtime, and component-level handlers are invisible. A clean result means "no static keyboard-trap shape", not a keyboard-operability proof.
  • AC5 ARIA correctness: ARIA correctness is checked against the static role/attribute shape — roles/attributes set dynamically aren't seen, a valid role says nothing about whether it matches the element's real behaviour, and required-state checks are suppressed when a JSX spread could supply them. The two-branch toggle check (a control whose state is conveyed only by which of two mutually exclusive branches renders) reads CONDITIONALS THAT ARE ATTRIBUTES — Vue v-if/v-else/v-show and Alpine x-if/x-show — so the same toggle written as a Svelte {#if} block or a JSX ternary is control flow the markup model never projects as a branch and is not seen at all.
  • AX10 Code composition: Role is inferred from namespace/folder convention, not semantics — a domain concept living in a folder named "Services" reads as application, and the split is lines-of-code, not business value. The business-logic-share score is a SOFT, FLOORED signal: it contributes to the Architecture lens but is floored at the Critical gate, so an infrastructure-heavy design (a gateway, an ETL, a driver) is legitimately low without being nuked to zero.
  • M4 Documentation accuracy: Documentation accuracy checks links, versions and artefact counts against the tree: other claims (paths, commands, settings, routes) are read but not checked, and it cannot run the onboarding or measure how long a real new joiner takes.
  • P4 Deployment & Rollback: Approval/branch-protection rules live in repository settings the scan cannot see — only their in-repo evidence (config files, workflows) is checked, so a control enforced purely in the host's settings reads as "not evidenced".
  • P6 Release Hygiene: Rollback/observability controls are inferred from repo artefacts (pipelines, dashboards-as-code) — controls configured in external tooling, with no in-repo trace, cannot be credited.

Dimensions

D1 · Cyclomatic Complexity2.0 / 10Critical✓ Tool-verified

What it measures: How tangled the control flow is — methods with many branches are hard to test and change.

Method: Cyclomatic complexity per method (1 + decision points), computed exhaustively across production source; test projects separated by convention. Deterministic.

Maturity: Documented → Verified → Prevented · effective 2.0 / 10 · rule-coverage 100% · ceiling Prevented

87 method(s) exceeded the cyclomatic complexity threshold of 15; the worst was useCommandInterpreter.useCommandInterpreter::commandInterpreter::runCommand at 232. A further 1 method(s) were over the threshold but excluded as flat dispatchers (a long switch/match over independent cases: many branches, almost no nesting), the largest being functions.getMimeType at 39 — they are counted neither in the figure above nor in this dimension's score. 1 file carries no cyclomatic complexity row at all for this reason — every one of its over-threshold methods was excluded, so the exclusion is disclosed nowhere in the file itself: utils/functions.ts (functions.getMimeType at 39). They are named here because the per-file figures other dimensions report are taken BEFORE this exclusion, so such a file can show a high maximum complexity elsewhere in this report and nothing here, with nothing to reconcile the two.

useWallpaper.useWallpaper::loadFileWallpaper (cyclomatic 31) · ×2components/system/Desktop/Wallpapers/useWallpaper.ts:298
useCommandInterpreter.useCommandInterpreter::commandInterpreter::runCommand (cyclomatic 232)components/apps/Terminal/useCommandInterpreter.ts:244
index.Chess (cyclomatic 127)components/apps/Chess/index.tsx:92
AIChat.AIChat (cyclomatic 119)components/system/Taskbar/AI/AIChat.tsx:200
index.FileEntry (cyclomatic 115)components/system/Files/FileEntry/index.tsx:138

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

What to do

  1. Bring the 11 bodies over 60 down to 60 or less in Cyclomatic Complexity — start with useCommandInterpreter.useCommandInterpreter::commandInterpreter::runCommand (cyclomatic 232), index.Chess (cyclomatic 127), AIChat.AIChat (cyclomatic 119). — 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 11 together lifts Cyclomatic Complexity from 2.0 to about 3.6/10, projected with the scoring formula itself and assuming each lands exactly at 60; a cleaner split scores higher.

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

D2 · Cognitive Complexity2.0 / 10Critical✓ Tool-verified

What it measures: How hard the code is for a person to follow, beyond raw branching.

Method: Cognitive complexity per method (Sonar-style nesting-penalized score), computed exhaustively over production code, excluding test projects. Deterministic.

Maturity: Documented → Verified → Prevented · effective 2.0 / 10 · rule-coverage 100% · ceiling Prevented

102 method(s) exceeded the cognitive complexity threshold of 15; the worst was useCommandInterpreter.useCommandInterpreter::commandInterpreter::runCommand at 384.

useWallpaper.useWallpaper::loadFileWallpaper (cognitive 56) · ×2components/system/Desktop/Wallpapers/useWallpaper.ts:298
useCommandInterpreter.useCommandInterpreter::commandInterpreter::runCommand (cognitive 384)components/apps/Terminal/useCommandInterpreter.ts:244
generate.generateGalaxy (cognitive 168)components/system/Desktop/Wallpapers/Galaxy/generate.ts:473
useFileContextMenu.useFileContextMenu (cognitive 164)components/system/Files/FileEntry/useFileContextMenu.ts:104
index.Chess (cognitive 124)components/apps/Chess/index.tsx:92

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

What to do

  1. Bring the 11 bodies over 60 down to 60 or less in Cognitive Complexity — start with useCommandInterpreter.useCommandInterpreter::commandInterpreter::runCommand (cognitive 384), generate.generateGalaxy (cognitive 168), useFileContextMenu.useFileContextMenu (cognitive 164). — 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 11 together lifts Cognitive Complexity from 2.0 to about 3.2/10, projected with the scoring formula itself and assuming each lands exactly at 60; a cleaner split scores higher.

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

D3 · God Classes5.6 / 10Adequate✓ Tool-verified

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

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

Maturity: Documented → Verified → Prevented · effective 5.6 / 10 · rule-coverage 100% · ceiling Prevented

69 god class(es) detected.

FunctionTooLong: generate.generateGalaxy · ×47components/system/Desktop/Wallpapers/Galaxy/generate.ts:473
FileTooLong: Galaxy/generate.ts · ×13components/system/Desktop/Wallpapers/Galaxy/generate.ts
MethodTooLong: CompiledCircuit.constructor · ×5utils/desktopFly/lif.ts:380
ClassTooLong: useCommandInterpreter · ×4components/apps/Terminal/useCommandInterpreter.ts:1

What to do

  1. Resolve the 47 FunctionTooLong finding(s) in God Classes — start with index.tsx (15), renderer.ts (2), useFileKeyboardShortcuts.ts (2). — One of this dimension's main actionable groups (47 warning-level).
  2. Resolve the 13 FileTooLong finding(s) in God Classes — start with functions.ts (2), index.tsx (2), generate.ts. — One of this dimension's main actionable groups (13 warning-level).
  3. Resolve the 5 MethodTooLong finding(s) in God Classes — start with lif.ts (3), app.ts, fly.ts. — One of this dimension's main actionable groups (5 warning-level).

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

D6 · Cohesion (LCOM4)10.0 / 10Exemplary✓ Tool-verified

What it measures: Whether a class's methods are focused on a single responsibility.

Method: LCOM4 cohesion per production class with at least two methods: connected components of methods sharing state or calls, computed syntactically. Deterministic, not a proxy.

Coverage: Exhaustive · type-level: LCOM4 cohesion computed over every production class — the population is all types, not a name convention.

Maturity: Documented → Verified → Prevented · effective 10.0 / 10 · rule-coverage 100% · ceiling Verified

0 of 21 classes have LCOM4 above 3.

✓ On the Gold path — maintain.

Detailed fixes: d6_recommendation.md.

D10 · Test Quality9.3 / 10Stronggated by 8 serious findings✓ Tool-verified

What it measures: Whether the tests truly assert behaviour rather than just running the code.

Method: Per-test assertions, skips, and mock references analyzed via Roslyn; structured skip-reason tags (BUG:/ENV:) separate documented deferrals from debt. Deterministic.

Maturity: Documented → Verified → Prevented · effective 9.3 / 10 · rule-coverage 100% · ceiling Prevented

8 skipped, 139 zero-assertion, no mocking-framework packages referenced (hand-written doubles or no mocking) across 233 tests (1 harness-style project(s) excluded from the assertion penalty).

Skipped test: (unnamed test) · ×8e2e/keyboard.spec.ts:330
No direct assertions: start menu passes accessibility scan · ×139e2e/accessibility.spec.ts:110

What to do

  1. Resolve the 139 No direct assertions finding(s) in Test Quality — start with Terminal.spec.ts (48), FileExplorer.spec.ts (26), Taskbar.spec.ts (16). — One of this dimension's main actionable groups (139 recommendation-level).
  2. Resolve the 8 Skipped test finding(s) in Test Quality — start with FileExplorer.spec.ts (3), keyboard.spec.ts, Apps.spec.ts. — One of this dimension's main actionable groups (8 warning-level).

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

D12 · Dependency Hygiene7.3 / 10Strong✓ Tool-verified

What it measures: Whether dependencies are current, not deprecated, and not bloated. Known vulnerabilities are D30's.

Method: Manifest scan via dotnet list package across all projects; worst-signal-per-package deduction (capped-linear for deprecation, prerelease and outdated) per KLoC. Known-vulnerable packages are D30's and are not charged here (rubric-2026.11.2). Exhaustive.

Maturity: Documented → Verified → Prevented · effective 7.3 / 10 · rule-coverage 100% · ceiling Verified

13 outdated direct production npm dependency(ies) of 41 graded, 2 pinning defect(s), across 1 REDACTED (1 of them the product) and 1 committed lockfile(s). Development dependencies are deliberately not graded for currency: that grade is about what SHIPS. 3 direct dependency(ies) — production, development or optional — are marked DEPRECATED by their publisher (the registry's per-version mark, or the lockfile's copy of it when the registry could not be asked); deprecated transitive packages are listed but not charged. Whether any is UNMAINTAINED is not graded — the registry publishes no maintenance status, and release age does not stand in for one. Whether any is UNUSED is not graded either: that is a source question, and the frontend dependency lens (R8) answers it in this same run. Known CVEs in this dependency graph are D30's question, read from the manifest there.

Deprecated: music-metadata-browser · ×3REDACTED:76
Floating npm dependency: Burn-My-Windows · ×2
Deprecated: @ungap/structured-clone · ×4REDACTED:2318
Outdated (npm): @mlc-ai/web-llm · ×13

What to do

  1. Resolve the 4 Deprecated finding(s) in Dependency Hygiene — start with REDACTED (4). — One of this dimension's main actionable groups (4 recommendation-level).
  2. Resolve the 3 Deprecated finding(s) in Dependency Hygiene — start with REDACTED (3). — One of this dimension's main actionable groups (3 warning-level).
  3. Resolve the 2 Floating npm dependency finding(s) in Dependency Hygiene. — One of this dimension's main actionable groups (2 warning-level).

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

D13 · Secret Scanning10.0 / 10Exemplary○ Nothing flagged

What it measures: Whether any secrets (keys, tokens, passwords) have leaked into the code.

Method: In-process native secret scanner (entropy plus signature patterns) across all tracked files; no external tool. A clean result is a measured 10, not no-data zero. Deterministic.

Maturity: Documented → Verified → Prevented · effective 10.0 / 10 · rule-coverage 100% · ceiling Prevented

Secret scan ran and found no leaked secrets.

✓ On the Gold path — maintain.

Detailed fixes: d13_recommendation.md.

D14 · License Compliance0.0 / 10Critical✓ Tool-verified

What it measures: Whether the licenses of third-party packages are compatible with your policy.

Method: Third-party package licenses resolved from declared package metadata and checked against the configured policy (allow/deny/copyleft). Deterministic; clean = no incompatible license found at metadata depth.

Maturity: Documented → Verified → Prevented · effective 0.0 / 10 · rule-coverage 100% · ceiling Verified

15 of 232 shipped npm package(s) use a banned license. Licences were resolved from registry.npmjs.org over the 232 package(s) this repository's committed lockfile installs for a consumer — its 41 production, optional and peer dependency(ies), across 1 product REDACTED manifest(s), and everything those install in turn. Its 54 `devDependencies` declaration(s), and every package only they reach, are excluded: a consumer installs none of them. ★ Each licence is the one the registry publishes for the package's CURRENT release rather than for the pinned version, which is the same caveat the Hex and RubyGems arms carry. 1 of them publish no licence this pass can read on registry.npmjs.org — an absent field, `UNLICENSED`, or a `SEE LICENSE IN <file>` pointer into a tarball this pass does not download; that is missing data, not a violation, and none of them is charged. This repository publishes itself under MIT, which is its own choice and is not judged here.

Banned license: @img/sharp-libvips-darwin-arm64 · ×15REDACTED:721

What to do

  1. Resolve the 15 Banned license finding(s) in License Compliance — start with REDACTED (14), REDACTED. — One of this dimension's main actionable groups (15 issue-level).

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

D15 · Churn × Complexity Hotspots9.0 / 10Stronggated by 70 serious findings✓ Tool-verified

What it measures: Files that change often and are also complex — the riskiest hotspots.

Method: Per production file churn times cyclomatic complexity over a rolling window, computed from git and Roslyn/JS/Razor analysis. Exhaustive, deterministic per commit date.

Maturity: Documented → Verified → Prevented · effective 9.0 / 10 · rule-coverage 100% · ceiling Documented

Top hotspots: components/apps/Terminal/useCommandInterpreter.ts (7×273=1911); components/system/Desktop/Wallpapers/useWallpaper.ts (10×91=910); components/apps/Chess/index.tsx (6×127=762) Repeated repair below the complexity floor: components/apps/Messenger/ChatLog.tsx (3 of 5 changes were fixes); components/apps/Messenger/Contact.tsx (3 of 5 changes were fixes); components/apps/Messenger/SendMessage.tsx (3 of 5 changes were fixes)

Hotspot: components/apps/Terminal/useCommandInterpreter.ts · ×61components/apps/Terminal/useCommandInterpreter.ts:130
Repeated repair: components/apps/Messenger/ChatLog.tsx · ×9components/apps/Messenger/ChatLog.tsx:25

What to do

  1. Resolve the 61 Hotspot finding(s) in Churn × Complexity Hotspots — start with index.tsx (18), useCommandInterpreter.ts, useWallpaper.ts. — One of this dimension's main actionable groups (61 warning-level).
  2. Resolve the 9 Repeated repair finding(s) in Churn × Complexity Hotspots — start with ChatLog.tsx, Contact.tsx, SendMessage.tsx. — One of this dimension's main actionable groups (9 warning-level).

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

D17 · Explicit Debt10.0 / 10Exemplary○ Nothing flagged

What it measures: Acknowledged debt left in the code — TODOs, dead code, suppressed warnings.

Method: Roslyn syntactic debt markers (suppressions/TODO/FIXME/HACK/empty-catch/commented-code/Obsolete) plus SymbolFinder dead-code analysis; weighted-debt-per-KLoC density deducted 2.0x per unit. Deterministic, exhaustive.

Maturity: Documented → Verified → Prevented · effective 10.0 / 10 · rule-coverage 100% · ceiling Prevented

0 deducted task-comment markers across 54363 LoC (0.0/KLoC) → score 10.0. 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.

✓ On the Gold path — maintain.

Detailed fixes: d17_recommendation.md.

D19 · Documentation Quality10.0 / 10Exemplary○ Nothing flagged

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

Method: Every README, docs/ document and root guide parsed by its markup and measured in Unicode letters. Published: a runnable or packaged .NET project whose README (or a document it links, or a root guide) shows no example, and a root README naming none of three or more projects. Overview, licence, boilerplate, wall-of-text, empty-section and XML-doc rows are measured and withheld (counted in gaps) after adjudication. Deterministic, exhaustive, advisory.

Maturity: Documented → Verified → Prevented · effective 10.0 / 10 · rule-coverage 100% · ceiling Documented

1 of 1 documentation facets pass in full. 1 document(s) read across 1 unit(s).

✓ On the Gold path — maintain.

Detailed fixes: d19_recommendation.md.

D20 · ADR Quality0.0 / 10Critical✓ Tool-verified

What it measures: Whether architecture decisions are recorded well (context, decision, consequences).

Method: Every ADR read by its section structure: nine located rules (a missing Decision, Context or Consequences section, a stale status, two records deciding the same question, a dangling supersede link, a number-only title, a single option, no named cost, no status where the log uses one, no enforcement field where the log adopted one), each a fixed deduction from 10; the score is the mean over evaluated records. Deterministic, no model. Advisory.

Maturity: Documented → Verified → Prevented · effective 0.0 / 10 · rule-coverage 100% · ceiling Documented

No architecture decision records were found.

No ADRs foundREDACTED:27

What to do

  1. Resolve the 1 No ADRs found finding(s) in ADR Quality — start with REDACTED. — One of this dimension's main actionable groups (1 recommendation-level).

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

D24 · Comment Value9.7 9.5 / 10Exemplary✓ Tool-verified

What it measures: Whether comments are worth it — explaining WHY (valuable) rather than WHAT (redundant).

Method: Every inline C# comment compared word by word with the identifiers, literals and constructs of the code it annotates (taken from the syntax); a comment whose words that code already contains is redundant, as are closing-brace labels and generator template text. Comments giving a reason or a reference are kept; other scripts and languages are not judged. Deterministic, exhaustive, advisory.

Maturity: Documented → Verified → Prevented · effective 9.5 / 10 · rule-coverage 98% · ceiling Documented

2 of 710 judged comments only repeat the code they sit on (0.3 %). 22 comment(s) in another language or script were not judged.

redundant comment · ×2e2e/functions.ts:716
doc comments repeat the namesutils/desktopFly/render.ts:397

✓ On the Gold path — maintain.

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

D27 · Navigability10.0 / 10Exemplary✓ Tool-verified

What it measures: How far you must trace to follow a call — low indirection and co-located slices read easier.

Method: Call indirection (interface hops, cross-namespace calls, slice-locality scaled) over a sampled set of method invocations, size-aware baseline. Sampled; confidence discounted by symbol-resolution gaps. C# also names each pass-through layer (a class whose every public method only forwards its own parameters to one collaborator) as a located finding; the score is not affected.

Coverage: Slice locality from the first namespace segments, SAMPLED (≤400 methods) — not exhaustive.

Maturity: Documented → Verified → Prevented · effective 10.0 / 10 · rule-coverage 100% · ceiling Documented

2 % of calls cross a namespace and 1 % go through an interface, but 91 % of collaborators are co-located — so a call's collaborators sit together and tracing stays easy. Baseline: small — navigation cost is tolerated.

✓ On the Gold path — maintain.

Detailed fixes: d27_recommendation.md.

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

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

Method: Secret scan via TWO gitleaks detect passes in an isolated checkout — the full git history, then a second --no-git pass over the working tree as it stands — merged and de-duplicated by (rule, file, line); each match flagged High. Both invocations are recorded in the audit trail. Exhaustive; when the tool is absent, or when its output cannot be parsed into the expected shape, the dimension is WITHHELD as an explicit measurement gap on our side — unscored and excluded from the lens, never a hedged middling score.

Maturity: Documented → Verified → Prevented · effective 10.0 / 10 · rule-coverage 100% · ceiling Documented

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

✓ On the Gold path — maintain.

Detailed fixes: d28_recommendation.md.

D29 · Static Analysis (SAST)8.6 / 10Adequategated by 3 critical findings✓ Tool-verified

What it measures: Real static-analysis (SAST) findings — likely security bugs in the code, any language.

Method: Polyglot static analysis via semgrep across the repo using the pinned, image-baked p/security-audit + p/owasp-top-ten rulesets (no scan-time registry fetch); severity rules (ERROR/WARNING/INFO) map to a full-band severity-weighted score. Exhaustive, deterministic; degrades on parse failure.

Coverage: semgrep pattern rules over all files — exhaustive for the rule set, blind to classes of bug without a rule (clean = no rule matched).

Maturity: Documented → Verified → Prevented · effective 8.6 / 10 · rule-coverage 100% · ceiling Documented

6 finding(s): 0 critical, 3 high, 3 medium, 0 low. 3 unpinned-GitHub-Actions row(s) are reported here but scored by D36 (supply-chain provenance), which measures that posture as `pinned_actions` — one pinning decision is charged once, not once per lens. semgrep hit a parse error in 30 file(s) — `components/apps/Terminal/useCommandInterpreter.ts`, `components/system/Desktop/Wallpapers/Galaxy/generate.ts`, `components/system/Desktop/Wallpapers/Galaxy/renderer.ts`, `components/system/Taskbar/AI/builtInAI.ts` (line 21), `e2e/functions.ts`, … (+25 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.

REDACTED
REDACTED
REDACTED
REDACTED

What to do

  1. Resolve the 1 REDACTED finding(s) in Static Analysis (SAST) — start with REDACTED. — One of this dimension's main actionable groups (1 warning-level).
  2. Resolve the 1 REDACTED finding(s) in Static Analysis (SAST) — start with REDACTED. — One of this dimension's main actionable groups (1 warning-level).
  3. No action in Static Analysis (SAST) — all 3 REDACTED finding(s) are reported here at file:line but scored by D36 (supply-chain provenance), so none is charged to this dimension. — One of this dimension's main actionable groups (3 issue-level, 0 of them charged here).

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

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

What it measures: Whether any dependency has a known published vulnerability (CVE), direct or transitive, in ANY ecosystem the repository declares — Dart pub, Elixir and Erlang via Hex, Go modules, Java and Kotlin via Maven/Gradle, JavaScript/npm, .NET/NuGet, PHP/Composer, Python/PyPI, RubyGems, Rust/Cargo and Swift.

Method: Dependency-CVE scan across every ecosystem the repository declares, scored ONCE. Three sources are unioned and deduplicated by advisory identity (rule id + alias closure, CVE<->GHSA) scoped to package+version, keeping the worst severity: `osv-scanner --recursive` over osv.dev for Dart pub, Elixir/Hex (and Erlang, whose `rebar.lock` syft first converts to a CycloneDX SBOM the scanner reads, with rows attributed back to the lock), Go, Java and Kotlin via Maven/Gradle (and Scala, whose sbt build's pinned direct declarations are written into a CycloneDX SBOM the scanner reads, with rows attributed back to the build file), npm, PHP/Composer, Python/PyPI, RubyGems, Rust/Cargo and Swift; `trivy fs --scanners vuln` for npm lockfiles; and `dotnet list package --vulnerable --include-transitive` for NuGet (with per-advisory collapse of the project x target-framework fan-out), plus a DECLARED-dependency arm that resolves a published gem's gemspec against rubygems.org where no Gemfile.lock is committed. `SeverityScore(c,h,m,l, normalizer 8.0)`. NotApplicable only when NO ecosystem is readable; if any applicable ecosystem could not be scanned the findings are REPORTED and the score is withheld. Supersedes the npm and OSV arms, retired 2026-09-05. Advisory since rubric-2026.11.2 (CAI decision 0006): every row is a match against a vulnerability database that changes daily, so the reading is shown and never moves a scored dimension, lens or the headline.

Maturity: Documented → Verified → Prevented · effective 0.0 / 10 · rule-coverage 100% · ceiling Documented

34 finding(s): 4 critical, 19 high, 8 medium, 3 low.

REDACTED
REDACTED
REDACTED
REDACTED

What to do

  1. Resolve the 19 High CVE finding(s) in Dependency Vulnerabilities — start with REDACTED (18), REDACTED. — One of this dimension's main actionable groups (19 issue-level).
  2. Resolve the 8 Medium CVE finding(s) in Dependency Vulnerabilities — start with REDACTED (8). — One of this dimension's main actionable groups (8 warning-level).
  3. Resolve the 4 Critical CVE finding(s) in Dependency Vulnerabilities — start with REDACTED (4). — One of this dimension's main actionable groups (4 issue-level).

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

D31 · IaC & Container Security9.2 / 10Adequategated by 1 critical finding✓ Tool-verified

What it measures: Whether Dockerfiles / Terraform / Kubernetes config follow security best practices.

Method: IaC/container misconfiguration scan via trivy config (REDACTED/Terraform/K8s/Helm/CloudFormation); severity rules to 0-10 moderate normalizer. NotApplicable without manifests. Exhaustive, deterministic.

Maturity: Documented → Verified → Prevented · effective 9.2 / 10 · rule-coverage 100% · ceiling Documented

6 finding(s): 0 critical, 1 high, 5 medium, 0 low.

REDACTED
REDACTED

What to do

  1. Resolve the 1 High IaC finding(s) in IaC & Container Security — start with REDACTED. — One of this dimension's main actionable groups (1 issue-level).
  2. Resolve the 5 Medium IaC finding(s) in IaC & Container Security — start with REDACTED (3), REDACTED (2). — One of this dimension's main actionable groups (5 warning-level).

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

D34 · Knowledge Freshness10.0 / 10Exemplary✓ Tool-verified

What it measures: Whether anyone still has living knowledge of each file, or it has been orphaned — last understood long ago by someone now gone quiet. The sibling of the bus factor: D16 asks who owns it, D34 asks whether anyone still knows it.

Method: File orphaning as total living-knowledge decay below one focused-commit's worth within a year, computed per-file from the D16 decay model. Exhaustive, deterministic over fixed history.

Maturity: Documented → Verified → Prevented · effective 10.0 / 10 · rule-coverage 100% · ceiling Documented

Every significant source file has living knowledge — recently and meaningfully worked. Counted over 185 of the 447 production source files in this repository: the rest are under the ~2,400-byte size floor this dimension measures over.

✓ On the Gold path — maintain.

Detailed fixes: d34_recommendation.md.

D35 · Change Coupling10.0 / 10Stronggated by 1 serious finding✓ Tool-verified

What it measures: Whether files that change together actually belong together — pairs that repeatedly co-change in git history despite having no explicit code dependency, surfacing the hidden/logical coupling (and boundaries in the wrong place) a static scan can't see.

Method: Pairwise co-occurrence over the per-commit file sets in git history (production source only — tests and generated dropped): Degree-of-Coupling = shared ÷ min individual revisions, reported above noise floors (each file ≥10 revisions, ≥5 shared commits, ≥50% strength); sweeping commits excluded. Deterministic over fixed history.

Coverage: Population: PRODUCTION source files only — test and generated files are dropped before pairing, so a class co-changing with its own test (trivially ~100%) can't drown the real production↔production coupling. Pairs ranked by Degree-of-Coupling. A non-source file is never a coupling PARTICIPANT either: documentation, schemas, config and data files are dropped with the rest, so a code↔docs pair — a command and the reference page that restates it — is not reported however strongly the two co-change; nor is coupling that runs THROUGH a build step or config file.

Maturity: Documented → Verified → Prevented · effective 10.0 / 10 · rule-coverage 100% · ceiling Documented

Strongest change-coupling: index.tsx↔SidebarButton.tsx 58%

Change coupling: index.tsx ↔ SidebarButton.tsxcomponents/system/Files/FileEntry/index.tsx:1

What to do

  1. Resolve the 1 Change coupling finding(s) in Change Coupling — start with index.tsx. — One of this dimension's main actionable groups (1 warning-level).

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

D43 · Malicious Dependencies10.0 / 10Exemplary✓ Tool-verified

What it measures: Whether any dependency the repository declares is published as MALICIOUS rather than merely vulnerable — a package that is an attacker's work, in any ecosystem osv-scanner reads. Reported apart from D30 because the answer is binary: there is no safe version to upgrade to, and the fix is to remove the package and rotate every credential it could have read.

Method: The same dependency scan D30 reads, partitioned on the scanner's own classification rather than rescanned: a row is MALICIOUS when its id is in the `MAL-` space (the ossf/malicious-packages feed) OR its `database_specific.cwe_ids` carries `CWE-506` ("Embedded Malicious Code"). Both channels are structural; the summary text is deliberately NOT read, because a malicious-package record whose summary says only "Critical severity vulnerability" is a real shape ([GHSA redacted]) and a text matcher misses it. Scored BINARY: any surviving row is 0, whatever its severity and however many CVEs sit beside it — a hostile dependency is not a quantity. Applicability and degradation are D30's: NotApplicable only when no ecosystem is readable, and an unscannable ecosystem degrades rather than reading clean. Advisory since rubric-2026.11.2 (CAI decision 0006): the malicious-package feed is a database that changes daily, so the reading is shown and never moves a scored dimension, lens or the headline.

Maturity: Documented → Verified → Prevented · effective 10.0 / 10 · rule-coverage 100% · ceiling Documented

No dependency in any ecosystem this repository declares is published as malicious.

✓ On the Gold path — maintain.

Detailed fixes: d43_recommendation.md.

D44 · Platform End-of-Life10.0 / 10Exemplary✓ Tool-verified

What it measures: Whether anyone still ships security patches for the platform this repository RUNS ON — the runtime it pins and the framework majors its own constraints hold it to. Separate from D12 because the question differs: a current Django on an end-of-life Python is perfectly up to date and completely unsupported, and the fix is a migration rather than a version bump. What the repository says it merely SUPPORTS is never charged.

Method: End-of-life PLATFORM read from the repository's own declarations and graded against a FROZEN, dated table of vendor support dates — no network, no feed, no API, so this dimension answers identically inside a closed scan fence. Two subjects: a RUNTIME the project pins (a single or all-end-of-life TargetFramework, a .nvmrc or .python-version, a requires-python CAP) and a FRAMEWORK major a dependency constraint cannot move off (a caret, tilde or exact version; `vue@^2.7.16` pins Vue 2). A FLOOR is deliberately never charged — `requires-python = ">=3.8"` states what a package SUPPORTS, not what it runs on — and a multi-target project is charged only when EVERY target is out of support. Runtime 4.0/product capped 8.0, framework 1.5 capped 4.5. The table is safe to freeze because a statement about support that ended in the past cannot become false: it loses recall as it ages, never precision, and a test asserts every entry predates the freeze date. Disjoint from D31 (a container image's OS layer) and D29 (the toolchain a CI workflow installs). Abstains when the repository declares no platform this pass reads — never scores it clean.

Maturity: Documented → Verified → Prevented · effective 10.0 / 10 · rule-coverage 100% · ceiling Documented

0 end-of-life runtime(s) and 0 end-of-life framework(s), read from 0 platform declaration(s) and 44 dependency declaration(s). This dimension reads what the repository says about ITSELF — a pinned target framework, a version file, a capped requires-python, a Rust toolchain pin, a framework major a constraint cannot move off. A FLOOR is deliberately never charged: `requires-python = ">=3.8"` states what the package SUPPORTS, not what it runs on, and a well-maintained library declares exactly that while running its own CI on a current release. The end-of-life facts are FROZEN and dated, so this dimension needs no network and answers identically inside a closed scan fence; as the table ages it loses recall and never precision, because a statement about support that ended in the past cannot become false. The OS layer of a container image is D31's question and the toolchain a CI workflow installs is D29's; this row is neither.

✓ On the Gold path — maintain.

Detailed fixes: d44_recommendation.md.

Frontend & cross-cutting dimensions

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

AC1 · Text alternatives5.1 / 10Adequate✓ Tool-verified

Other · Accessibility — Whether non-text content carries a text alternative — img/area/input[type=image] have alt, a meaningful svg has a title or aria-label, video has a captions track, and object/embed/canvas have a name or fallback content. Static markup readiness, not a WCAG conformance claim.

Method: Static markup-model scan: every img/area/input[type=image] checked for alt, svg[role=img] for a title/aria-label, video for a captions <track>. Components skipped, spreads suppressed. Deterministic, hard fact per element.

Coverage: Population: image/media elements — img, area, input[type=image], svg, video, object, embed, canvas — across the PARSED MARKUP files only (.html/.htm/.cshtml/.razor/.vue/.svelte/.jsx/.tsx); components, hidden subtrees and dynamic-attribute elements are skipped. Markup built in script — tagged-template (html`…`) UIs and hyperscript DOM factories — is NOT read by any producer, so it contributes no element to this population; where such a frontend is present the card discloses it as an analyzer gap rather than scoring around it.

  • 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. (×2) — components/system/Taskbar/TaskbarEntry/Peek/PeekWindow.tsx:141, public/Program Files/jspaint/lib/tracky-mouse/tracky-mouse.js:52
  • An image with no alt (and no aria-label/aria-labelledby) is unreadable to assistive tech. Add alt — alt="" if it's purely decorative. (×11) — public/Program Files/Browser/dino/index.html:19, public/Program Files/Browser/dino/index.html:20, public/Program Files/jspaint/help/paint_color_box.html:10, …

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 & labels6.8 / 10Adequate✓ Tool-verified

Other · Accessibility — Whether form controls have a programmatic label (an associated label, aria-label or aria-labelledby), buttons have text, links have an accessible name, a click handler on a plain element names the control it declares, fieldsets have a non-empty legend, known UI-library field components carry a label prop, and a placeholder isn't used as the only label. Static markup readiness, not a WCAG conformance claim.

Method: Static markup-model scan: inputs/selects/textareas checked for an associated label[for]/wrapping label/aria-label/aria-labelledby (per document), buttons for accessible text, fieldsets for a legend; placeholder-only labelling flagged. Deterministic, hard fact per control.

Coverage: Population: form controls, buttons, links, fieldsets and known UI-library field components in the PARSED MARKUP files only (.html/.htm/.cshtml/.razor/.vue/.svelte/.jsx/.tsx); components, hidden subtrees and spread/dynamic-attribute elements are skipped, so a control whose label arrives through a spread or a runtime expression is deliberately not judged. Markup built in script — tagged-template (html`…`) UIs and hyperscript DOM factories — is not read at all.

  • A button with no text and no aria-label has no accessible name. Add visible text or an aria-label (an icon-only button still needs one). (×3) — public/Program Files/jspaint/src/edit-colors.js:275, public/Program Files/jspaint/src/edit-colors.js:585, public/Program Files/jspaint/src/help.js:39

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 structure4.4 / 10Weak✓ Tool-verified

Other · Accessibility — Whether pages declare a language (well-formed BCP-47) and a non-empty title, expose exactly one main landmark and a sane heading order with non-empty headings, keep zoom enabled, title their iframes, give data tables header cells, and avoid meta-refresh. Static markup readiness, not a WCAG conformance claim.

Method: Static markup-model scan: html lang, document <title>, a main landmark and heading order on full documents only, plus zoom-disabling viewports, untitled iframes and meta-refresh anywhere. Deterministic, per structural checkpoint.

Coverage: Population: the PARSED MARKUP documents (.html/.htm/.cshtml/.razor/.vue/.svelte/.jsx/.tsx). The page-level checks — lang, title, single main landmark — fire ONCE PER FULL DOCUMENT (an <html> root) and never on a partial or component fragment, so a repo of fragments is assessed only on the per-element checks (heading order, table headers, iframe titles, meta-refresh, zoom). Markup built in script — tagged-template (html`…`) UIs and hyperscript DOM factories — is not read at all.

  • user-scalable=no/0 or a maximum-scale below 2 stops low-vision users zooming to 200%. Remove the zoom restriction from the viewport meta. (×2) — components/pages/Metadata.tsx:50, public/Program Files/Browser/dino/index.html:6
  • Skipping heading levels breaks the document outline assistive tech relies on. Don't jump levels — increase by at most one. (×5) — components/system/Dialogs/OpenWith/index.tsx:162, components/system/Taskbar/AI/AIChat.tsx:744, components/system/Taskbar/AI/AIChat.tsx:757, …
  • An empty heading appears in the document outline announced with no text. Give the heading text, or remove it if it's decorative. — REDACTED:173
  • The page declares no language, so assistive tech can't pick the right pronunciation. Add lang (e.g. lang="en"). (×2) — public/Program Files/Browser/dino/index.html:2, public/Program Files/jspaint/help/online_support.htm:2
  • No <main> (or role="main") means no "skip to content" target and a weaker landmark map. Wrap the primary content in <main>. (×30) — public/Program Files/Browser/dino/index.html:2, public/Program Files/jspaint/help/default.html:2, public/Program Files/jspaint/help/memcopy.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 semantics1.0 / 10Critical✓ Tool-verified

Other · Accessibility — Whether interactive behaviour is keyboard-reachable — no click handler on a non-interactive element lacking a role, tabindex and key handler, no element the repo's own CSS styles `cursor: pointer` without giving it any of the three, no unfocusable element whose only binding is a mouse enter/leave pair or a double-click, no positive tabindex, no href-less anchor, no placeholder-href (#/javascript) link acting as a button. Static markup readiness, not a WCAG conformance claim.

Method: Static markup-model scan: click handlers on non-interactive elements lacking role+tabindex+key handler, positive tabindex values, and href-less anchors. Components skipped, spreads suppressed. Deterministic, hard fact per element.

Coverage: Population: elements that pose a keyboard-semantics question, in the PARSED MARKUP files only (.html/.htm/.cshtml/.razor/.vue/.svelte/.jsx/.tsx) — a non-natively-interactive element carrying a click handler, a double-click or hover enter/leave binding, a pointer-only gesture on a tabindex="0" element, or `cursor: pointer` from the repo's own CSS; an href-less or placeholder-href (#, javascript:) anchor; and any element with a positive tabindex. Natively interactive elements used correctly (<button>, <a href>, form controls) are NOT in the population — there is nothing to judge — so a page of nothing but correct controls gives AC4 nothing to measure. Keyboard reachability is judged from the markup, never from a rendered page. ★ An interactive element declared in a tagged-template (html`…`) or hyperscript frontend is NOT in this population — no producer reads either — so an empty population is reported as an analyzer gap, never as "this repository has no interactive elements".

  • A click handler on a plain element with no role and no tabindex: even where another element's key handler can reach it, assistive tech can neither focus it nor announce what it is. Use a <button>, or add role + tabIndex={0}. (×2) — components/system/Taskbar/AI/AIChat.tsx:777, components/system/Taskbar/Calendar/index.tsx:151
  • A click handler on a plain element isn't keyboard-operable. Use a <button>, or add role + tabIndex={0} + a key handler. — components/system/Taskbar/Search/Details.tsx:108
  • 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. (×24) — public/Program Files/jspaint/help/paint_airbrush.html:17, public/Program Files/jspaint/help/paint_brush.html:17, public/Program Files/jspaint/help/paint_clear_image.html:17, …
  • A positive tabindex forces a manual tab order that fights the DOM and is fragile. Use tabindex="0" (or restructure the DOM). (×5) — public/Program Files/jspaint/lib/pdf.js/web/viewer.html:44, public/Program Files/jspaint/lib/pdf.js/web/viewer.html:51, public/Program Files/jspaint/lib/pdf.js/web/viewer.html:54, …

What to do

  • Make custom controls keyboard-operable (role + tabindex + key handler), drop positive tabindex, and give anchors a real href.
AC5 · ARIA correctness10.0 / 10Exemplary○ Nothing flagged

Other · Accessibility — Whether ARIA is used correctly — valid non-abstract roles, the ARIA state a role requires, valid (non-misspelled) aria-* attribute names, in-enum values for token-typed aria-* attributes, and no aria-hidden on (or wrapping) a focusable element. Static markup readiness, not a WCAG conformance claim.

Method: Static markup-model scan: role values checked against the WAI-ARIA role set (abstract/invalid flagged), required ARIA state for a role, and aria-hidden on a focusable element. Deterministic, role/attribute level.

Coverage: Population: elements in the PARSED MARKUP files (.html/.htm/.cshtml/.razor/.vue/.svelte/.jsx/.tsx) that carry a role or an aria-* attribute; roles and token values are checked against the ARIA enums exhaustively within that set. An expression-valued (dynamic) role or aria-* value is skipped rather than guessed, and markup built in script — tagged-template (html`…`) UIs and hyperscript DOM factories — is not read at all.

AX10 · Code composition9.9 / 10Exemplary✓ Tool-verified

Other · Architecture — How the codebase splits by code ROLE — domain, application, infrastructure, test, generated. The significance map behind the knowledge/coupling weighting, and a DDD signal in its own right: a thin domain core under fat infrastructure is the anemic-domain smell, quantified. How each file's role is decided, because the split is only as good as that: a generated name or a build-output tree makes it Generated, a test project makes it Test, and otherwise the file's NAMESPACE and PATH words are matched against fixed vocabularies in a fixed ORDER — domain, then infrastructure, then application — so a file whose words hit two layers is counted under the earlier one. A production file matching none of them counts as application, so that share reads 'application or unclassified' rather than a measured application layer. Roles come from naming convention, never from what the code does. On this repository the split was taken from the source tree on disk rather than from a loaded .NET workspace, so a file's role is decided by its PATH segments alone — no declared namespace was available to add to the evidence — and generated output is excluded from the census entirely rather than counted as a generated share.

Method: Roslyn line-count by code ROLE: every source file classified Domain/Application/Infrastructure/Test/Generated by namespace + path convention (the shared CodeRoleClassifier), then significant lines summed per role. Deterministic; the advisory score is the business-logic (domain+application) share of production code.

Coverage: Population: ALL source files, each bucketed into ONE of five roles (Domain/Application/Infrastructure/Test/Generated) by namespace + path convention — a file whose layer isn't named in the convention falls to Application (the neutral default), and the split is line-count, not semantic depth or business value.

AX3 · Project dependency cycles10.0 / 10Exemplary✓ Tool-verified

Other · Architecture — Whether the project-reference graph is acyclic (cycles block independent build/deploy and signal eroding boundaries).

Method: Project reference cycles via elementary-DFS over real .csproj references, using the engine shared with D5/D7; cyclic versus acyclic. Exhaustive, deterministic.

AX4 · Dependency direction10.0 / 10Exemplary✓ Tool-verified

Other · Architecture — Whether dependencies point inward (Domain ← Application ← Infrastructure/Web) — the clean-architecture dependency rule, checked across the project graph.

Method: Layer violations by name-segment inference (Domain/Core to Application to Infrastructure/Web) over the project-reference graph. Exhaustive over all projects, deterministic.

AX6 · Interface segregation10.0 / 10Exemplary✓ Tool-verified

Other · Architecture — Whether interfaces stay focused rather than fat — the Interface-Segregation principle (SOLID 'I').

Method: Roslyn scan: public interface declared-member counts (accessors fold into their property/event); fat-interface threshold (over 15 declared members) flagged per type. Each finding also reports the distinct-OPERATION count — members counted by name, so an overload group counts once — which decides whether it states the caller-side ISP harm or the implementer-side burden of an overload set. TypeScript: exported interfaces that declare behaviour, counted over their REQUIRED operations (method signatures and function-typed properties with no `?`, once per signature) — data-shape interfaces and ambient .d.ts declarations are outside the population; JavaScript declares no interfaces and is not applicable. Deterministic, type-level.

GD1 · Unfinished & placeholder code10.0 / 10Exemplary○ Nothing flagged

Other · Code Health — Unreviewed-generation residue in this repository's JavaScript/TypeScript: functions whose whole body still throws a "not implemented" error, and placeholder text (lorem ipsum, changeme/replace_me…) left in strings and JSX of non-test, non-generated code. Scored as a quality signature, never as a claim about authorship.

Method: Roslyn syntax scan: NotImplementedException throws and placeholder string literals in non-test, non-generated shipped code. Deterministic, code-shape signature.

IC1 · Incompleteness & stubs10.0 / 10Exemplary○ Nothing flagged

Other · Code Health — Unfinished work detected by code SHAPE, not keywords, in this repository's JavaScript/TypeScript: functions that only throw a "not implemented" error, functions that take inputs and return a constant or do nothing, async functions that never await, dead `if (false)` branches, and skeleton classes most of whose methods are holes.

Method: Roslyn syntax scan: incompleteness by code shape (constant-returning methods, async-never-await, #if false branches, guards that return what the code already falls through to, tests an earlier guard already decided, comparisons against NaN, skeleton types), not keyword-gated. Deterministic, code-shape heuristic.

  • A bare `eslint-disable` or `@ts-nocheck` with no rule list switches every lint rule or the whole type checker off for the rest of the file — hidden debt. Disable the specific rule on the specific line, with a justification, instead. (×2) — components/apps/Photos/qoi.ts:1, components/apps/Photos/qoi.ts:2
  • A test is skipped/ignored — coverage that looks present but never runs. Re-enable it or delete it so the green run means something. (×8) — e2e/components/apps/FileExplorer.spec.ts:267, e2e/components/apps/FileExplorer.spec.ts:365, e2e/components/apps/FileExplorer.spec.ts:406, …

What to do

  • Clear the softer debt: re-enable or delete skipped tests, decide whether each empty function is a deliberate no-op (and say so in a comment), and replace blanket `eslint-disable` / `@ts-nocheck` with targeted, justified suppressions.
M1 · Documentation (README)7.3 / 10Strong✓ Tool-verified

Maturity · Maturity — Whether the repository and its projects have a README, and whether it is substantive.

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

M2 · Architecture documentation0.0 / 10Critical✓ Tool-verified

Maturity · Maturity — Whether key decisions (ADRs) and the high-level shape (C4/diagrams) are written down.

Method: Filesystem scan: ADR folder/naming conventions or content, plus Mermaid/PlantUML/C4/architecture.md discovery. Exhaustive, deterministic.

  • No Architecture Decision Records found — no conventional ADR directory, no numbered `NNNN-title` documents in any markup this check reads, and nothing ADR-shaped by content. Design rationale recorded elsewhere (a design-notes tree, a mailing list, pull-request discussion) is not visible to this check and is not re-findable per decision, so a future maintainer cannot ask why one choice was made and get an answer.
  • No C4/Structurizr/PlantUML/Mermaid/Graphviz/D2 diagram, no drawn diagram named for the architecture, no file named `architecture` or `design` in any markup this check reads, and nothing in the README, docs or contributor guides that announces the shape — no `## Architecture` heading, no "architecture overview"/"high-level design" phrasing, no "the architecture is …" introduction, no guided code tour. A shape laid out in prose that never names itself as the architecture is not visible to this check, and neither is one kept outside the repository, so this row reports the absence of a re-findable shape document — not evidence that nobody wrote the shape down.

What to do

  • Record your significant design decisions. Write one short document per decision, giving its date, the situation, the decision and its consequences, and keep them together with your other design documents. A docs/adr folder with each file named by number and title is the easiest place to find them.
  • Add a C4 context/container diagram (Structurizr, PlantUML or Mermaid) or an architecture.md overview.
M3 · Folder & project structure10.0 / 10Exemplary✓ Tool-verified

Maturity · Maturity — Whether the repository is organised deliberately: production code and tests are set apart in a way its ecosystem or the repository itself declares.

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

M4 · Documentation accuracy10.0 / 10Exemplary○ Nothing flagged

Maturity · Maturity — Whether the project's current-state documentation describes the code that exists.

Method: Every current-state document's checkable claims looked up in the tree (links, versions, and artefact counts an order of magnitude off), plus two README checks: an advertised infrastructure product with no footprint, and a module the CHANGELOG records as removed. Deterministic, no model. Advisory.

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

Readiness · Readiness — Whether an automated pipeline builds and tests every change.

Method: Filesystem scan: CI workflow files (.github/workflows, .gitlab-ci.yml, etc.) for build and test stages. Exhaustive, deterministic.

P2 · Observability0.0 / 10Critical✓ Tool-verified

Readiness · Readiness — Whether the code is diagnosable in production — structured logging, tracing/metrics, health checks.

Method: Filesystem/Roslyn scan: structured-logging frameworks (Serilog, NLog), OpenTelemetry, and health-check endpoint patterns. Exhaustive, deterministic.

  • No logging call was found in the 430 JavaScript/TypeScript production file(s) this check read across 1 module(s). Each was searched for its ecosystem's logging libraries (JavaScript/TypeScript: pino, winston, bunyan, log4js, loglevel, consola, the NestJS Logger) and for a call on a receiver named `log`/`logger` (or ending in `Logger`/`_logger`) with a level verb. It cannot see logging through a repo-local wrapper named otherwise, or in source it did not read — this is 'no logging found by this walk', not a verdict that nothing here logs. If it is right, production issues will be hard to diagnose.

What to do

  • Adopt pino (or winston) and log at meaningful points in the services you run.
  • Add a health-check endpoint (@godaddy/terminus or a /health route) so orchestrators and load balancers can probe liveness/readiness.
P3 · Security & performance tooling0.0 / 10Critical✓ Tool-verified

Readiness · Readiness — Whether SAST, secret/dependency scanning and performance benchmarking are wired in (presence, not runtime).

Method: Filesystem scan: SAST configuration, dependency-update automation, secret scanning, and a benchmark harness or benchmark step — in this repository's own ecosystem. Exhaustive, deterministic.

  • No static application security testing detected. For this repository's stack, add CodeQL's javascript-typescript pack, `semgrep --config=p/typescript`, or eslint-plugin-security as a CI step. What was searched, so you can tell an absence from a miss: the 1 CI workflow file(s) in this repository, and the scanner and linter configuration checked in beside them. A scan that runs outside CI, one configured in your forge's web UI rather than in a committed file, or a tool whose name is none of those this check carries, is not seen — if that is your case the row is wrong, and saying so is more useful than adding a second scanner.
  • `REDACTED` declares packages, and nothing in the repository keeps them current: no Dependabot or Renovate configuration that schedules updates, and no dependency-review gate on pull requests. A pinned dependency stays at the version it was added at until someone notices — including after an advisory is published against it. Add a `.github/dependabot.yml` with one `package-ecosystem` entry per ecosystem the tree uses (or an enabled `renovate.json`), and gate pull requests with `actions/dependency-review-action`. — REDACTED:48

What to do

  • Add a SAST step to CI running what this repository's stack ships: CodeQL's javascript-typescript pack, `semgrep --config=p/typescript`, or eslint-plugin-security — so a security regression fails the build instead of landing.
  • Enable Dependabot/Renovate or a dependency-review gate.
  • Add gitleaks/trufflehog in CI to block PRs that introduce committed secrets.
P4 · Deployment & Rollback8.0 / 10Strong✓ Tool-verified

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

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

What to do

  • Nothing pauses a release for a human: publish as a draft release (or gate the release job on a protected tag/manual dispatch) so a bad build can be stopped before users can download it.
P6 · Release Hygiene5.0 / 10Adequate✓ Tool-verified

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

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

  • No CHANGELOG/HISTORY/RELEASES file — what shipped when isn't easy to reconstruct for support or audit. (Versioning/tagging makes releases traceable, but a changelog records the what.)

What to do

  • Keep a changelog (e.g. Keep-a-Changelog) recording what shipped in each release.
PF3 · Async & latency hygiene10.0 / 10Exemplary✓ Tool-verified

Readiness · Performance — Whether asynchronous code stays responsive — it avoids sync-over-async blocking (a .NET .Wait()/.GetAwaiter().GetResult(), a time.sleep or blocking HTTP call inside a Python coroutine, a *Sync call inside an async JavaScript function, block_on inside a Rust async fn, runBlocking inside a Kotlin suspend function, block() inside a Reactor publisher) that stalls a thread or event loop and risks deadlock, and, where the code is a reusable library on .NET, awaits with ConfigureAwait(false) so it never captures and stalls its caller's context.

Method: Production-source scan: sync-over-async blocking counted everywhere — .Wait()/.GetAwaiter().GetResult() in .NET; off .NET, read from each language's code model, a blocking call inside an async function (Python, TS/JS, Rust, Kotlin, Swift, Dart) or inside a Java method returning a Reactor Mono/Flux or a Scala method returning a Future or effect — and, for a .NET library with ≥5 awaits, the share of awaits using ConfigureAwait(false). Deterministic, syntax/text detection.

R1 · Type Safety9.8 / 10Exemplary✓ Tool-verified

React / JS · Code Health — How much of the frontend is typed TypeScript vs untyped JavaScript.

Method: Frontend file inventory: the share of typed TypeScript vs untyped JavaScript across the source tree. Deterministic, exhaustive over frontend files.

R10 · Code Duplication9.2 / 10Exemplary✓ Tool-verified

React / JS · Code Health — The share of the scored frontend lines inside a near-exact copy-pasted block of substantial extent (the D4 clone algorithm over JS/TS tokens, D-386; each line once, 10 at none and 0 at a quarter of the lines, as D4): a block is reported only where its copies still agree on most of their own identifiers and literals, or were renamed as they were pasted but kept most of their constants, and where the copies carry enough code to stand on their own or the copied extent reaches 30 lines — so a re-implementation sharing neither names nor values, and a small pasted declaration, are both found and deliberately not reported, and a clean R10 is not a claim that nothing was copied.

Method: Near-exact copy-pasted blocks of substantial extent across the frontend (the D4 clone algorithm run over JS/TS tokens). Masking finds the candidates; a block is reported when its copies still agree on most of their own identifiers and literals, or when a renamed copy still agrees on most of its constants, AND the copies carry enough code to stand on their own — or when the copied extent reaches 30 lines. So a re-implementation sharing neither names nor values, and a small pasted declaration, are deliberately not counted. Scored on the share of the scored frontend lines inside a reported copy, on the same curve as D4. Deterministic.

  • 22 duplicated blocks under components/apps/ have copies in at least two of the sibling directories BoxedWine, Browser, Chess, ClassiCube, DX-Ball, DevTools (+14 more sibling(s) not listed) — 7 of them are reported below, and 15 are 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 22 and which does not depend on how exactly each block's copies still match. That concentration is one structural fact, not 22 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 22 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. — components/apps/ClassiCube/useClassiCube.ts:75
  • 7 duplicated blocks under components/ have copies in at least two of the sibling directories apps, system — 4 of them are reported below, and 3 are 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 7 and which does not depend on how exactly each block's copies still match. That concentration is one structural fact, not 7 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 7 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. — components/apps/Terminal/useCommandInterpreter.ts:137
  • components/system/Desktop/Wallpapers/Galaxy/generate.ts:487 · components/system/Desktop/Wallpapers/Galaxy/generate.ts:1210 — 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. — components/system/Desktop/Wallpapers/Galaxy/generate.ts:487
  • components/system/Desktop/Wallpapers/Galaxy/generate.ts:1369 · components/system/Desktop/Wallpapers/Galaxy/generate.ts:1401 — 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. — components/system/Desktop/Wallpapers/Galaxy/generate.ts:1369
  • components/system/Window/RndWindow/useRnd.ts:57 · components/system/Window/RndWindow/useRnd.ts:100 — the two spans are one implementation copied and then locally edited — 62 tokens are still identical, in the same order in both spans, 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. — components/system/Window/RndWindow/useRnd.ts:57
  • components/apps/ClassiCube/useClassiCube.ts:75 · components/apps/SpaceCadet/useSpaceCadet.ts:51 — the two spans are one implementation copied and then locally edited — 113 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. — components/apps/ClassiCube/useClassiCube.ts:75
  • components/apps/FileExplorer/NavigationIcons.tsx:6 · components/apps/PDF/ControlIcons.tsx:6 · components/apps/Photos/PhotoIcons.tsx:6 · components/system/StartMenu/Sidebar/SidebarIcons.tsx:9 · +2 more site(s) not listed — the 6 copies are spread across 6 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. — components/apps/FileExplorer/NavigationIcons.tsx:6
  • components/system/Dialogs/Properties/GeneralTab.tsx:251 · components/system/Taskbar/Search/Details.tsx:105 — the two spans are one implementation copied and then locally edited — 60 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. — components/system/Dialogs/Properties/GeneralTab.tsx:251
  • components/apps/Browser/NavigationIcons.tsx:26 · components/apps/FileExplorer/NavigationIcons.tsx:7 · components/apps/PDF/ControlIcons.tsx:7 · components/apps/Photos/PhotoIcons.tsx:7 · +3 more site(s) not listed — the 7 copies are spread across 7 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. — components/apps/Browser/NavigationIcons.tsx:26
  • components/system/Desktop/Wallpapers/ShaderToy/CoastalLandscape/index.ts:15 · components/system/Desktop/Wallpapers/hexells/index.ts: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. — components/system/Desktop/Wallpapers/ShaderToy/CoastalLandscape/index.ts:15
  • components/apps/Photos/index.tsx:62 · components/system/Desktop/Wallpapers/useWallpaper.ts:392 — 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. — components/apps/Photos/index.tsx:62
  • utils/desktopFly/terrain.ts:25 · utils/desktopFly/vision.ts:31 — 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. — utils/desktopFly/terrain.ts:25
  • components/apps/BoxedWine/index.tsx:3 · components/apps/DX-Ball/index.tsx:3 · components/apps/V86/index.tsx:3 — the 3 copies are spread across 3 files, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct — and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal's entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins — a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are. — components/apps/BoxedWine/index.tsx:3
  • components/apps/FileExplorer/NavigationIcons.tsx:3 · components/apps/PDF/ControlIcons.tsx:3 · components/apps/Photos/PhotoIcons.tsx:3 · components/system/StartMenu/Sidebar/SidebarIcons.tsx:15 · +4 more site(s) not listed — the 8 copies are spread across 7 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. — components/apps/FileExplorer/NavigationIcons.tsx:3
  • contexts/fileSystem/core.ts:135 · contexts/fileSystem/core.ts:174 — the two spans are one implementation copied and then locally edited — 60 tokens are still identical, in the same order in both spans, 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. — contexts/fileSystem/core.ts:135
  • utils/desktopFly/lif.ts:1065 · utils/desktopFly/lif.ts:1123 — 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. — utils/desktopFly/lif.ts:1065
  • components/apps/Emulator/useEmulator.ts:42 · components/apps/Ruffle/useRuffle.ts:12 — the two spans are one implementation copied and then locally edited — 65 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. — components/apps/Emulator/useEmulator.ts:42
  • components/apps/Terminal/useCommandInterpreter.ts:1058 · components/apps/Terminal/useCommandInterpreter.ts:1077 — 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. — components/apps/Terminal/useCommandInterpreter.ts:1058
  • components/system/Desktop/Wallpapers/ShaderToy/CoastalLandscape/wallpaper.worker.ts:6 · components/system/Desktop/Wallpapers/hexells/wallpaper.worker.ts:6 — 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. — components/system/Desktop/Wallpapers/ShaderToy/CoastalLandscape/wallpaper.worker.ts:6
  • components/apps/ClassiCube/index.tsx:1 · components/apps/DevTools/index.tsx:1 · components/apps/Marked/index.tsx:1 · components/apps/MonacoEditor/index.tsx:2 · +2 more site(s) not listed — the 6 copies are spread across 6 files, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct — and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal's entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins — a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are. — components/apps/ClassiCube/index.tsx:1
  • components/system/Desktop/Wallpapers/Galaxy/generate.ts:1464 · components/system/Desktop/Wallpapers/Galaxy/generate.ts:1514 — 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. — components/system/Desktop/Wallpapers/Galaxy/generate.ts:1464
  • components/system/Desktop/Wallpapers/Galaxy/generate.ts:1486 · components/system/Desktop/Wallpapers/Galaxy/generate.ts:1512 — 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. — components/system/Desktop/Wallpapers/Galaxy/generate.ts:1486
  • components/system/Desktop/Wallpapers/Matrix/index.ts:16 · components/system/Desktop/Wallpapers/StableDiffusion/index.ts:55 — the two spans are one implementation copied and then locally edited — 67 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. — components/system/Desktop/Wallpapers/Matrix/index.ts:16
  • components/system/Files/FileEntry/useFileContextMenu.ts:207 · components/system/Files/FileManager/useFolderContextMenu.ts:499 — 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. — components/system/Files/FileEntry/useFileContextMenu.ts:207
  • components/system/Taskbar/AI/AIChat.tsx:723 · components/system/Taskbar/AI/AIChat.tsx:736 · components/system/Taskbar/AI/AIChat.tsx:746 — all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites — resolving only two of them leaves the rest to drift apart the first time one is edited. — components/system/Taskbar/AI/AIChat.tsx:723
  • utils/desktopFly/senses.ts:230 · utils/desktopFly/senses.ts:261 — 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. — utils/desktopFly/senses.ts:230
  • components/apps/ClassiCube/index.tsx:1 · components/apps/DevTools/index.tsx:1 · components/apps/Emulator/index.tsx:1 · components/apps/JSDOS/index.tsx:1 · +6 more site(s) not listed — the 10 copies are spread across 10 files, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct — and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal's entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins — a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are. — components/apps/ClassiCube/index.tsx:1
  • components/apps/Emulator/index.tsx:2 · components/apps/JSDOS/index.tsx:2 · components/apps/Quake3/index.tsx:1 · components/apps/Ruffle/index.tsx:2 · +2 more site(s) not listed — the 6 copies are spread across 6 files, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct — and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal's entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins — a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are. — components/apps/Emulator/index.tsx:2
  • components/apps/JSDOS/useDosCI.ts:84 · components/apps/V86/useV86.ts:99 — 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. — components/apps/JSDOS/useDosCI.ts:84
  • components/apps/Terminal/useCommandInterpreter.ts:549 · components/apps/Terminal/useCommandInterpreter.ts:1182 — 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. — components/apps/Terminal/useCommandInterpreter.ts:549
  • components/system/Dialogs/Run/index.tsx:127 · components/system/Dialogs/Run/index.tsx:168 — the two spans are one implementation copied and then locally edited — 56 tokens are still identical, in the same order in both spans, 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. — components/system/Dialogs/Run/index.tsx:127
  • scripts/searchIndex.js:100 · utils/search.ts:179 — the two spans are one implementation copied and then locally edited — 51 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. — scripts/searchIndex.js:100
  • utils/desktopFly/app.ts:1251 · utils/desktopFly/app.ts:1281 — 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. — utils/desktopFly/app.ts:1251
  • components/system/Desktop/Wallpapers/ShaderToy/CoastalLandscape/wallpaper.worker.ts:11 · components/system/Desktop/Wallpapers/hexells/wallpaper.worker.ts:11 · components/system/Desktop/Wallpapers/vantaWaves/wallpaper.worker.ts:19 — the 3 copies are spread across 3 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. — components/system/Desktop/Wallpapers/ShaderToy/CoastalLandscape/wallpaper.worker.ts:11
  • utils/desktopFly/fly.ts:1361 · utils/desktopFly/fly.ts:1554 — 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. — utils/desktopFly/fly.ts:1361
  • utils/desktopFly/senses.ts:83 · utils/desktopFly/senses.ts:238 · utils/desktopFly/senses.ts:270 — all 3 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. — utils/desktopFly/senses.ts:83
  • scripts/cacheShortcuts.js:9 · scripts/preloadIcons.js:92 — 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. — scripts/cacheShortcuts.js:9
  • scripts/minifyJs.js:50 · scripts/rssBuilder.js:19 — 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. — scripts/minifyJs.js:50
  • utils/keyboard.ts:504 · utils/keyboard.ts:514 — 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. — utils/keyboard.ts:504
  • components/system/Desktop/Wallpapers/Galaxy/renderer.ts:614 · utils/closeEffect.ts:175 · utils/closeEffectShaders.ts:356 — the 3 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. 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. — components/system/Desktop/Wallpapers/Galaxy/renderer.ts:614

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 Boundaries4.8 / 10Weak✓ Tool-verified

React / JS · Architecture — Conformance to the detected frontend architecture layout (feature-sliced / layered src) plus cross-package deep-import rules (D-386).

Method: Conformance to the detected frontend layout (feature-sliced / layered src) plus cross-package deep-import rules, over the module graph. Deterministic.

  • components/apps/Chess/index.tsx:2 imports @chrisoakman/chessboard2/dist/chessboard2.min.mjs, reaching past a declared dependency's public entry into its build output — that path is the package's toolchain layout, not its API, and a minor version bump can relocate it with no semver signal. Import from the package's documented entry point instead. — components/apps/Chess/index.tsx:2
  • components/apps/JSDOS/types.ts:1 imports emulators-ui/dist/types/js-dos, reaching past a declared dependency's public entry into its build output — that path is the package's toolchain layout, not its API, and a minor version bump can relocate it with no semver signal. Import from the package's documented entry point instead. — components/apps/JSDOS/types.ts:1
  • components/apps/JSDOS/useDosCI.ts:3 imports emulators-ui/dist/types/js-dos, reaching past a declared dependency's public entry into its build output — that path is the package's toolchain layout, not its API, and a minor version bump can relocate it with no semver signal. Import from the package's documented entry point instead. — components/apps/JSDOS/useDosCI.ts:3
  • components/apps/JSDOS/useJSDOS.ts:2 imports emulators-ui/dist/types/js-dos, reaching past a declared dependency's public entry into its build output — that path is the package's toolchain layout, not its API, and a minor version bump can relocate it with no semver signal. Import from the package's documented entry point instead. — components/apps/JSDOS/useJSDOS.ts:2
  • components/apps/Photos/usePanZoom.ts:3 imports @panzoom/panzoom/dist/src/types, reaching past a declared dependency's public entry into its build output — that path is the package's toolchain layout, not its API, and a minor version bump can relocate it with no semver signal. Import from the package's documented entry point instead. — components/apps/Photos/usePanZoom.ts:3
  • components/apps/Terminal/loadWapm.ts:183 imports wasi-js/dist/bindings/browser, reaching past a declared dependency's public entry into its build output — that path is the package's toolchain layout, not its API, and a minor version bump can relocate it with no semver signal. Import from the package's documented entry point instead. — components/apps/Terminal/loadWapm.ts:183
  • components/apps/Terminal/processGit.ts:2 imports browserfs/dist/node/core/FS, reaching past a declared dependency's public entry into its build output — that path is the package's toolchain layout, not its API, and a minor version bump can relocate it with no semver signal. Import from the package's documented entry point instead. — components/apps/Terminal/processGit.ts:2
  • components/system/Apps/AppContainer.tsx:3 imports styled-components/dist/types, reaching past a declared dependency's public entry into its build output — that path is the package's toolchain layout, not its API, and a minor version bump can relocate it with no semver signal. Import from the package's documented entry point instead. — components/system/Apps/AppContainer.tsx:3
  • components/system/Files/FileEntry/functions.ts:2 imports browserfs/dist/node/core/FS, reaching past a declared dependency's public entry into its build output — that path is the package's toolchain layout, not its API, and a minor version bump can relocate it with no semver signal. Import from the package's documented entry point instead. — components/system/Files/FileEntry/functions.ts:2
  • components/system/Files/FileManager/useFolder.ts:2 imports browserfs/dist/node/core/api_error, reaching past a declared dependency's public entry into its build output — that path is the package's toolchain layout, not its API, and a minor version bump can relocate it with no semver signal. Import from the package's documented entry point instead. — components/system/Files/FileManager/useFolder.ts:2
  • components/system/Taskbar/Search/functions.ts:2 imports browserfs/dist/node/core/FS, reaching past a declared dependency's public entry into its build output — that path is the package's toolchain layout, not its API, and a minor version bump can relocate it with no semver signal. Import from the package's documented entry point instead. — components/system/Taskbar/Search/functions.ts:2
  • contexts/fileSystem/useAsyncFs.ts:5 imports browserfs/dist/node/core/FS, reaching past a declared dependency's public entry into its build output — that path is the package's toolchain layout, not its API, and a minor version bump can relocate it with no semver signal. Import from the package's documented entry point instead. — contexts/fileSystem/useAsyncFs.ts:5
  • contexts/fileSystem/useAsyncFs.ts:6 imports browserfs/dist/node/core/node_fs_stats, reaching past a declared dependency's public entry into its build output — that path is the package's toolchain layout, not its API, and a minor version bump can relocate it with no semver signal. Import from the package's documented entry point instead. — contexts/fileSystem/useAsyncFs.ts:6
  • contexts/fileSystem/useFileSystemContextState.ts:5 imports browserfs/dist/node/core/api_error, reaching past a declared dependency's public entry into its build output — that path is the package's toolchain layout, not its API, and a minor version bump can relocate it with no semver signal. Import from the package's documented entry point instead. — contexts/fileSystem/useFileSystemContextState.ts:5
  • contexts/fileSystem/useFileSystemContextState.ts:6 imports browserfs/dist/node/core/file_system, reaching past a declared dependency's public entry into its build output — that path is the package's toolchain layout, not its API, and a minor version bump can relocate it with no semver signal. Import from the package's documented entry point instead. — contexts/fileSystem/useFileSystemContextState.ts:6
  • contexts/fileSystem/useFileSystemContextState.ts:10 imports browserfs/dist/node/core/FS, reaching past a declared dependency's public entry into its build output — that path is the package's toolchain layout, not its API, and a minor version bump can relocate it with no semver signal. Import from the package's documented entry point instead. — contexts/fileSystem/useFileSystemContextState.ts:10
  • contexts/session/useSessionContextState.ts:2 imports browserfs/dist/node/core/api_error, reaching past a declared dependency's public entry into its build output — that path is the package's toolchain layout, not its API, and a minor version bump can relocate it with no semver signal. Import from the package's documented entry point instead. — contexts/session/useSessionContextState.ts:2
  • utils/imageDecoder.ts:78 imports ani-cursor/dist/parser, reaching past a declared dependency's public entry into its build output — that path is the package's toolchain layout, not its API, and a minor version bump can relocate it with no semver signal. Import from the package's documented entry point instead. — utils/imageDecoder.ts:78
  • utils/imageDecoder.ts:128 imports ani-cursor/dist/parser, reaching past a declared dependency's public entry into its build output — that path is the package's toolchain layout, not its API, and a minor version bump can relocate it with no semver signal. Import from the package's documented entry point instead. — utils/imageDecoder.ts:128
  • utils/imageDecoder.ts:151 imports ani-cursor/dist/parser, reaching past a declared dependency's public entry into its build output — that path is the package's toolchain layout, not its API, and a minor version bump can relocate it with no semver signal. Import from the package's documented entry point instead. — utils/imageDecoder.ts:151
  • utils/search.ts:3 imports browserfs/dist/node/core/file_system, reaching past a declared dependency's public entry into its build output — that path is the package's toolchain layout, not its API, and a minor version bump can relocate it with no semver signal. Import from the package's documented entry point instead. — utils/search.ts:3

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 Complexity6.0 / 10Adequate✓ Tool-verified

React / JS · Code Health — Per-function cyclomatic/cognitive complexity from the token-level function scanner (D-386) — real branching, not a regex heuristic.

Method: Per-function cyclomatic/cognitive complexity from a token-level function scanner (real branching, not a regex heuristic), computed over every frontend function. Deterministic.

  • (anonymous) has cyclomatic complexity 232 and cognitive complexity 389; 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. — components/apps/Terminal/useCommandInterpreter.ts:244
  • (anonymous) has cyclomatic complexity 91 and cognitive complexity 183; 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. — components/system/Desktop/Wallpapers/Galaxy/generate.ts:477
  • (anonymous) has cyclomatic complexity 60 and cognitive complexity 106; 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. — components/system/Files/FileEntry/useFileContextMenu.ts:147
  • (anonymous) has cyclomatic complexity 59 and cognitive complexity 96; 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. — components/system/Files/FileManager/useFileKeyboardShortcuts.ts:147
  • stepOneMs has cyclomatic complexity 45 and cognitive complexity 84; 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. — utils/desktopFly/lif.ts:1004
  • brainBehavior has cyclomatic complexity 45 and cognitive complexity 47; 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. — utils/desktopFly/fly.ts:1405
  • (anonymous) has cyclomatic complexity 34 and cognitive complexity 21; 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. — utils/desktopFly/lif.ts:414
  • (anonymous) has cyclomatic complexity 33 and cognitive complexity 66; 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. — components/system/Dialogs/Run/index.tsx:74
  • (anonymous) has cyclomatic complexity 33 and cognitive complexity 28; 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. — utils/closeEffect.ts:453
  • (anonymous) has cyclomatic complexity 32 and cognitive complexity 63; 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. — components/system/Desktop/Wallpapers/useWallpaper.ts:298
  • (anonymous) has cyclomatic complexity 32 and cognitive complexity 34; 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. — utils/desktopFly/app.ts:1082
  • (anonymous) has cyclomatic complexity 31 and cognitive complexity 31; 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. — contexts/session/useSessionContextState.ts:250
  • (anonymous) has cyclomatic complexity 31 and cognitive complexity 27; 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. — components/system/Taskbar/AI/AIChat.tsx:778
  • FileEntry has cyclomatic complexity 31 and cognitive complexity 25; 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. — components/system/Files/FileEntry/index.tsx:138
  • constructor has cyclomatic complexity 30 and cognitive complexity 55; 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. — utils/desktopFly/lif.ts:380
  • (anonymous) has cyclomatic complexity 30 and cognitive complexity 33; 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. — utils/desktopFly/app.ts:1410
  • startFlight has cyclomatic complexity 29 and cognitive complexity 47; 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. — utils/desktopFly/fly.ts:598
  • FileManager has cyclomatic complexity 29 and cognitive complexity 24; 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. — components/system/Files/FileManager/index.tsx:66
  • (anonymous) has cyclomatic complexity 28 and cognitive complexity 40; 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. — components/system/Desktop/Wallpapers/useWallpaper.ts:111
  • (anonymous) has cyclomatic complexity 28 and cognitive complexity 26; 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. — hooks/useGlobalKeyboardShortcuts.ts:142
  • ResultEntry has cyclomatic complexity 28 and cognitive complexity 22; 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. — REDACTED:48
  • (anonymous) has cyclomatic complexity 27 and cognitive complexity 33; 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. — utils/desktopFly/app.ts:230
  • updateWalk has cyclomatic complexity 26 and cognitive complexity 42; 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. — utils/desktopFly/fly.ts:1551
  • update has cyclomatic complexity 26 and cognitive complexity 29; 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. — utils/desktopFly/fly.ts:1237
  • updateRates has cyclomatic complexity 26 and cognitive complexity 27; 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. — utils/desktopFly/lif.ts:1318
  • Search has cyclomatic complexity 26 and cognitive complexity 21; 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. — components/system/Taskbar/Search/index.tsx:119
  • GeneralTab has cyclomatic complexity 25 and cognitive complexity 23; 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. — components/system/Dialogs/Properties/GeneralTab.tsx:49
  • MenuItemEntry has cyclomatic complexity 25 and cognitive complexity 22; 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. — components/system/Menu/MenuItemEntry.tsx:34
  • updateNavigation has cyclomatic complexity 23 and cognitive complexity 28; 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. — utils/desktopFly/fly.ts:849
  • (anonymous) has cyclomatic complexity 23 and cognitive complexity 18; 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. — components/system/Taskbar/Search/Details.tsx:31
  • (anonymous) has cyclomatic complexity 21 and cognitive complexity 28; 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. — components/system/Desktop/Wallpapers/Galaxy/renderer.ts:890
  • (anonymous) has cyclomatic complexity 21 and cognitive complexity 26; 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. — components/system/Taskbar/AI/functions.ts:16
  • (anonymous) has cyclomatic complexity 21 and cognitive complexity 22; 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. — components/system/Desktop/Wallpapers/Galaxy/renderer.ts:372
  • (anonymous) has cyclomatic complexity 21 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 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. — components/system/Files/FileManager/useFolderContextMenu.ts:229
  • AIChat has cyclomatic complexity 21 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 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. — components/system/Taskbar/AI/AIChat.tsx:200
  • onKeyDown has cyclomatic complexity 21 and cognitive complexity 17; 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. — components/system/Taskbar/Search/index.tsx:295
  • (anonymous) has cyclomatic complexity 20 and cognitive complexity 25; 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. (×2) — components/apps/Terminal/loadWapm.ts:159, components/system/Files/FileEntry/index.tsx:311
  • (anonymous) has cyclomatic complexity 19 and cognitive complexity 41; 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. — components/apps/Browser/index.tsx:129
  • (anonymous) has cyclomatic complexity 19 and cognitive complexity 25; 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. — components/system/Menu/index.tsx:92
R3 · Large Files7.6 / 10Strong✓ Tool-verified

React / JS · Code Health — How many source files exceed the large-file threshold.

Method: Components/modules exceeding the large-file threshold, counted exhaustively across the frontend source tree. Deterministic.

  • utils/desktopFly/fly.ts has 1685 significant lines (blank lines excluded), over the 400-line bar, and contains logic — a file this long is usually several responsibilities in one module. — utils/desktopFly/fly.ts:1
  • components/system/Desktop/Wallpapers/Galaxy/generate.ts has 1505 significant lines (blank lines excluded), over the 400-line bar, and contains logic — a file this long is usually several responsibilities in one module. — components/system/Desktop/Wallpapers/Galaxy/generate.ts:1
  • utils/desktopFly/app.ts has 1481 significant lines (blank lines excluded), over the 400-line bar, and contains logic — a file this long is usually several responsibilities in one module. — utils/desktopFly/app.ts:1
  • utils/desktopFly/lif.ts has 1267 significant lines (blank lines excluded), over the 400-line bar, and contains logic — a file this long is usually several responsibilities in one module. — utils/desktopFly/lif.ts:1
  • components/apps/Terminal/useCommandInterpreter.ts has 1188 significant lines (blank lines excluded), over the 400-line bar, and contains logic — a file this long is usually several responsibilities in one module. — components/apps/Terminal/useCommandInterpreter.ts:1
  • utils/functions.ts has 1116 significant lines (blank lines excluded), over the 400-line bar, and contains logic — a file this long is usually several responsibilities in one module. — utils/functions.ts:1
  • components/system/Desktop/Wallpapers/Galaxy/renderer.ts has 1024 significant lines (blank lines excluded), over the 400-line bar, and contains logic — a file this long is usually several responsibilities in one module. — components/system/Desktop/Wallpapers/Galaxy/renderer.ts:1
  • components/system/Taskbar/AI/AIChat.tsx has 1013 significant lines (blank lines excluded), over the 400-line bar, and contains logic — a file this long is usually several responsibilities in one module. — components/system/Taskbar/AI/AIChat.tsx:1
  • components/system/Files/FileEntry/functions.ts has 844 significant lines (blank lines excluded), over the 400-line bar, and contains logic — a file this long is usually several responsibilities in one module. — components/system/Files/FileEntry/functions.ts:1
  • components/apps/Chess/index.tsx has 812 significant lines (blank lines excluded), over the 400-line bar, and contains logic — a file this long is usually several responsibilities in one module. — components/apps/Chess/index.tsx:1
  • components/system/Files/FileManager/useFolder.ts has 728 significant lines (blank lines excluded), over the 400-line bar, and contains logic — a file this long is usually several responsibilities in one module. — components/system/Files/FileManager/useFolder.ts:1
  • components/system/Taskbar/AI/StyledAIChat.ts has 671 significant lines (blank lines excluded), over the 400-line bar, and contains logic — a file this long is usually several responsibilities in one module. — components/system/Taskbar/AI/StyledAIChat.ts:1
  • contexts/fileSystem/useFileSystemContextState.ts has 629 significant lines (blank lines excluded), over the 400-line bar, and contains logic — a file this long is usually several responsibilities in one module. — contexts/fileSystem/useFileSystemContextState.ts:1
  • components/system/Files/FileEntry/index.tsx has 609 significant lines (blank lines excluded), over the 400-line bar, and contains logic — a file this long is usually several responsibilities in one module. — components/system/Files/FileEntry/index.tsx:1
  • components/system/Files/FileEntry/useFileContextMenu.ts has 609 significant lines (blank lines excluded), over the 400-line bar, and contains logic — a file this long is usually several responsibilities in one module. — components/system/Files/FileEntry/useFileContextMenu.ts:1
  • components/system/Taskbar/Search/index.tsx has 580 significant lines (blank lines excluded), over the 400-line bar, and contains logic — a file this long is usually several responsibilities in one module. — components/system/Taskbar/Search/index.tsx:1
  • utils/keyboard.ts has 536 significant lines (blank lines excluded), over the 400-line bar, and contains logic — a file this long is usually several responsibilities in one module. — utils/keyboard.ts:1
  • components/system/Files/FileManager/useFolderContextMenu.ts has 514 significant lines (blank lines excluded), over the 400-line bar, and contains logic — a file this long is usually several responsibilities in one module. — components/system/Files/FileManager/useFolderContextMenu.ts:1
  • utils/closeEffect.ts has 504 significant lines (blank lines excluded), over the 400-line bar, and contains logic — a file this long is usually several responsibilities in one module. — utils/closeEffect.ts:1
  • utils/desktopFly/render.ts has 498 significant lines (blank lines excluded), over the 400-line bar, and contains logic — a file this long is usually several responsibilities in one module. — utils/desktopFly/render.ts:1
  • utils/closeEffectShaders.ts has 491 significant lines (blank lines excluded), over the 400-line bar, and contains logic — a file this long is usually several responsibilities in one module. — utils/closeEffectShaders.ts:1
  • components/system/Desktop/Wallpapers/useWallpaper.ts has 490 significant lines (blank lines excluded), over the 400-line bar, and contains logic — a file this long is usually several responsibilities in one module. — components/system/Desktop/Wallpapers/useWallpaper.ts:1
  • components/apps/Messenger/functions.ts has 486 significant lines (blank lines excluded), over the 400-line bar, and contains logic — a file this long is usually several responsibilities in one module. — components/apps/Messenger/functions.ts:1
  • components/apps/Browser/index.tsx has 459 significant lines (blank lines excluded), over the 400-line bar, and contains logic — a file this long is usually several responsibilities in one module. — components/apps/Browser/index.tsx:1
  • contexts/process/directory.ts has 427 significant lines (blank lines excluded), over the 400-line bar, and contains logic — a file this long is usually several responsibilities in one module. — contexts/process/directory.ts:1
  • contexts/session/useSessionContextState.ts has 410 significant lines (blank lines excluded), over the 400-line bar, and contains logic — a file this long is usually several responsibilities in one module. — contexts/session/useSessionContextState.ts:1
  • components/apps/VideoPlayer/useVideoPlayer.ts has 406 significant lines (blank lines excluded), over the 400-line bar, and contains logic — a file this long is usually several responsibilities in one module. — components/apps/VideoPlayer/useVideoPlayer.ts:1

What to do

  • Split each oversized file along the responsibilities already in it, into smaller focused modules in the same package.
R4 · Test Coverage8.8 / 10Strong✓ Tool-verified

React / JS · Readiness — Static test reachability (D-386): the share of production files reachable from any test via the import graph — measured without running anything.

Method: Static test reachability: the share of production files reachable from any test via the import graph — measured without running anything. Deterministic.

  • No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL — if neither does, no test reaches this one. (×40) — components/system/Desktop/Wallpapers/useWallpaper.ts:1, components/system/Desktop/Wallpapers/handlers.ts:1, components/system/Taskbar/TaskbarEntry/Peek/functions.ts:1, …

What to do

  • Add tests that import the unreached modules (directly or through their public entry).
R6 · Tooling6.7 / 10Adequate✓ Tool-verified

React / JS · Readiness — Whether the project wires up test, lint and typecheck — detected from each REDACTED script's COMMAND (eslint / tsc / vitest / jest / playwright), not just its name, and corroborated against CI-workflow invocations so a tool run only in CI still counts.

Method: REDACTED scanned for test/lint/typecheck script wiring. Deterministic presence check.

  • test ✓ · lint ✓ · typecheck ✗ — read from this repository's REDACTED 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 `tsc --noEmit` as REDACTED scripts and run them in CI.
R7 · Dead Code9.6 / 10Exemplary✓ Tool-verified

React / JS · Code Health — Files unreachable from every application/tooling/test entry point, and exports nothing imports (module-graph reachability, D-386).

Method: Dead code: files unreachable from every application/tooling/test entry point plus exports nothing imports, via module-graph reachability. Deterministic, exhaustive over the import graph.

  • Unreachable from the 12 application, 11 tooling and 20 test entry point(s) detected in this repo. Gate removals on `yarn run build` — an undetected custom entry would make these reachable.
  • no import path from any entry point (12 application, 11 tooling, 20 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 (×9) — components/system/Taskbar/Clock/clock.worker.ts, components/system/Taskbar/AI/ai.worker.ts, components/system/Desktop/Wallpapers/Galaxy/wallpaper.worker.ts, …
  • no import path from any entry point (12 application, 11 tooling, 20 test roots considered), but 1 in-repo import(s) from 1 other file(s) do name it (components/system/Taskbar/Clock/clock.worker.ts) — every one of those referrers is itself unreachable, so this file is dead only as a member of that cluster: if any referrer is in fact alive, this row falls with it — components/system/Taskbar/Clock/ntp.ts

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 Hygiene5.0 / 10Adequate✓ Tool-verified

React / JS · Readiness — npm dependency truthfulness (D-386): unused dependencies, imports not declared anywhere, and type-/test-only packages shipped as production deps.

Method: npm dependency truthfulness: unused dependencies, imports declared nowhere, and type-/test-only packages shipped as production deps — from the manifest + import graph. Deterministic.

  • Imported but not declared in any reachable REDACTED — installs work only by hoisting accident. (×2) — utils/search.ts:6, components/apps/VideoPlayer/config.ts:1
  • Declared in the root REDACTED 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. (×2)

What to do

  • Remove unused dependencies, declare unlisted imports explicitly, and demote type-/test-only packages to devDependencies.
R9 · Circular Imports0.0 / 10Critical✓ Tool-verified

React / JS · Architecture — Import cycles in the module graph (D-386) — files that can only be understood and changed together.

Method: Import cycles in the module graph, detected exhaustively over JS/TS imports (the same cycle detection as the .NET coupling dimension). Deterministic.

  • components/system/Window/RndWindow/useResizable.ts → components/system/Window/RndWindow/useDefaultSize.ts → components/system/Window/RndWindow/useResizable.ts (one verified cycle inside a mutually-dependent group of 252 files) — components/system/Window/RndWindow/useResizable.ts:5
  • utils/desktopFly/fly.ts → utils/desktopFly/memory.ts → utils/desktopFly/fly.ts — utils/desktopFly/fly.ts:10

What to do

  • Break each cycle by extracting the shared piece into a module both sides can import.
X1 · Async correctness7.5 / 10Strong✓ Tool-verified

Other · Code Health — Whether the code avoids sync-over-async (deadlock-prone blocking on tasks) and async void.

Method: Roslyn syntax scan: async methods scanned for .Wait()/.GetAwaiter().GetResult() and async-void outside event handlers. Deterministic, hard fact per invocation.

  • `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. (×5) — components/system/Files/FileManager/useFileKeyboardShortcuts.ts:239, components/system/Files/FileEntry/functions.ts:769, components/system/Files/FileEntry/useFileContextMenu.ts:183, …

What to do

  • `async` callback passed to `forEach`
X12 · Unreachable branch10.0 / 10Exemplary○ Nothing flagged

Other · Code Health — Whether any branch is dead by construction — a switch arm whose label can never equal a case-normalised subject, or an `else if` whose predicate the arm above has already swallowed.

Method: Roslyn syntax + semantics: switch labels compared against the subject's own case normaliser, and if/else-if chains checked for a literal an earlier arm's containment test already swallows. Deterministic, provable per finding. Advisory.

X15 · Unvalidated length from an untrusted reader3.5 / 10Weak✓ Tool-verified

Other · Security — Whether a length read out of the stream being parsed is bounded before it is allocated or read — an unchecked count taken from the input lets the input choose the allocation.

Method: Roslyn syntax + semantics: integer lengths read from a BinaryReader and spent on a bulk read or an array allocation, checked for any comparison or bounding call on the value anywhere in the method. Deterministic, provable per finding. Advisory.

  • `edgeCount` is read from the bytes being parsed at line 151 (`getUint32`), then used to size a `new Uint16Array` at line 182 — and nowhere in its scope is `edgeCount` bounded from above — compared to a limit, clamped, or checked against the input that remains (a zero or sign test, or the loop that counts up to it, bounds nothing). Whoever wrote those bytes therefore chooses the allocation directly: a 32-bit length asks for up to 4 GiB before a single byte of the payload is known to exist, which either exhausts the process's memory or throws a `RangeError` out of a parser whose failure path was written for malformed input, not for hostile input. Bound `edgeCount` against the bytes actually remaining and a maximum the format allows before allocating. — utils/desktopFly/circuit.ts:182

What to do

  • Each finding names the read that takes the length from the input and the site that spends it, and states that the value is never compared in between. Confirm from the two, then bound the length against the remaining stream before using it.
X16 · Unfloored truncation loop10.0 / 10Exemplary○ Nothing flagged

Other · Code Health — Whether a loop that shortens a string until it fits a length budget has a floor — one with none grinds the value down to the empty string, or past it into a negative-length `Substring`.

Method: Roslyn syntax + semantics: while/do loops whose body's only effect on a string is to drop its last character, checked for whether anything — a direct comparison on the length, a body guard, a break — bounds that length below. On a repository with no .NET source it reads JavaScript/TypeScript off the engine’s own token stream (test, vendored and minified paths not) with the same rule: a `while`/`do` loop whose body’s one assignment to a value is `x = x.slice(0, -1)` or `x = x.slice|substring|substr(0, x.length - 1)`, driven by a condition that reads `x.length` only as a term of a larger expression — never compared directly, never tested for truthiness, and with no other read of `x` — and whose body has no `break`, `return`, `throw` or `if` naming `x`. Deterministic, provable per finding. Advisory.

X2 · Cancellation propagation4.4 / 10Weak✓ Tool-verified

Other · Code Health — Whether async functions that make a cancellable request accept or pass on an AbortSignal (adoption curve).

Method: Roslyn scan: every async method (excluding framework-fixed overrides/Blazor handlers) checked for CancellationToken parameter presence. Deterministic, adoption percentage. On a repository with no .NET source it reads JavaScript/TypeScript off the engine’s own token stream (test, vendored and minified paths not) with the same question: every named async function that itself makes a request an AbortSignal can cancel (global `fetch`, axios and its file-local instances, ky, ofetch) counts, and it is compliant when its parameters or body name a signal or it hands one of its own parameters to the request as options; signatures a framework fixes (JSX event handlers, route and lifecycle exports, request-first handlers, `override`, `'use server'` modules, TanStack `mutationFn`) are exempt unless they take a signal. Deterministic, adoption percentage.

  • Only 1/16 async functions that make a cancellable request (fetch, axios, ky, ofetch, got, undici, node:http) 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.
  • `fetchBlob` 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 })`. — utils/functions.ts:235
  • `copyBufferUrl` 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 })`. — utils/functions.ts:256
  • `fitImageToDecodeLimit` 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 })`. — utils/functions.ts:944
  • `getIpfsResource` 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 })`. — utils/ipfs.ts:105
  • `search` 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 })`. — utils/search.ts:51
  • `mountHttpRequestFs` 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 })`. — contexts/fileSystem/useFileSystemContextState.ts:322
  • `getNtpResponse` 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 })`. — components/system/Taskbar/Clock/ntp.ts:23
  • `action` 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 })`. — components/system/Files/FileManager/useFolderContextMenu.ts:521
  • `getTokenizer` 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 })`. — components/system/Desktop/Wallpapers/StableDiffusion/index.ts:24
  • `handleUrl` 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 })`. — components/apps/Webamp/useWebamp.ts:69
  • `fetchCommandFromWAPM` 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 })`. — components/apps/Terminal/loadWapm.ts:96
  • `runCommand` 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 })`. — components/apps/Terminal/useCommandInterpreter.ts:244
  • `nsLookup` 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 })`. — components/apps/Terminal/useCommandInterpreter.ts:933
  • `fetchNip05Json` 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 })`. — components/apps/Messenger/functions.ts:168
  • `WAYBACK_MACHINE` 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:91

What to do

  • Thread an AbortSignal through async functions that make requests, so the work stops when its caller gives up.
X21 · Side-effecting pattern guard10.0 / 10Exemplary○ Nothing flagged

Other · Code Health — Whether a `when` guard is free of side effects — a guard that increments a counter or assigns while deciding whether its arm matches applies that change during PATTERN MATCHING, on an arm that may not be selected, and skips it entirely when a short-circuit to its left answers first.

Method: Roslyn syntax: `when` guards on case labels and switch-expression arms, read for a mutation (`++`/`--`/assignment) sitting in a position the guard's own `&&`/`||`/`??`/`?:`/`?.` can skip. Deterministic, provable per finding. Advisory.

X24 · Document value interpolated into markup unescaped3.8 / 10Weak✓ Tool-verified

Other · Security — Whether text read out of the document being converted is escaped before it is written into generated markup — a value the document's author chose, interpolated into an attribute the surrounding literal delimits, can close that attribute and open another.

Method: Roslyn semantic model over the whole compilation: a string-typed `Value`/`InnerText`/`InnerXml`/`Text` member declared inside `DocumentFormat.OpenXml` or `System.Xml` is a taint SOURCE, propagated through assignments, returns, arguments, tuple elements and string composition to its transitive closure, then read at interpolated-string holes that sit in a markup position the surrounding literal itself delimits. Escaper/encoder calls and enclosing validator conditions cut the flow. Flow- and container-insensitive by construction. A second arm needs no provenance at all and reports a type that CONTRADICTS ITSELF — the same expression escaped at one delimited markup hole and interpolated raw at another hole in the same markup position of the same type, which the type's own escaping proves is a defect without knowing where the value came from. On a repository with no .NET source it reads JavaScript/TypeScript off the token stream with the same rule: a DOM read of raw document text (`getAttribute`, `textContent`, `innerText`, `nodeValue`) is the source, propagated through local bindings and string composition, and judged at template-literal and concatenation holes in the same two delimited markup positions; escapers and validating conditions cut it, and documentation-site, test, vendored and minified scripts are not read. Deterministic, provable per finding. Advisory.

  • `contents.toString()` 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. — components/system/Files/FileEntry/functions.ts:616
  • `formatMarkdown(thoughts as string,markedLoaded,!isResponding)` is text this program did not author, and it is written into the text of an element through `dangerouslySetInnerHTML` 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. — components/system/Taskbar/AI/AIChat.tsx:818
  • `withCanvas?GENERATE_RESPONSE:type==="ai"?formatMarkdown(answer,markedLoaded,!isResponding):escapeHtml(answer)` is text this program did not author, and it is written into the text of an element through `dangerouslySetInnerHTML` 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. — components/system/Taskbar/AI/AIChat.tsx:831
  • `name` is text this program did not author, and it is written into the text of an element through `dangerouslySetInnerHTML` 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. — REDACTED:176

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.
X28 · Index access outside its own emptiness guard10.0 / 10Exemplary○ Nothing flagged

Other · Code Health — Whether a condition that tests a value for emptiness indexes that same value only where the test holds — an `||` written one parenthesis too far to the left leaves an index access outside the guard beside it, so the empty case the guard exists to anticipate reaches the index and throws.

Method: Roslyn syntax only, no semantic model: the OUTERMOST `&&`/`||` of every boolean condition, read for a symbol the condition tests for emptiness (`string.IsNullOrEmpty`/`IsNullOrWhiteSpace`, a `Length`/`Count` comparison against a literal, `Any()`, a `Length`/`Count` pattern, or a comparison against `""`) and ALSO indexes. Each `symbol[...]` access is placed by a boolean-reachability walk from the access up to the outermost connective: an access is COVERED when some enclosing step has it in the right operand and the left operand, under the truth value that step forces, proves the symbol non-empty — a recursion over `&&`/`||` whose true- and false-directions are asymmetric. A finding needs BOTH an uncovered access and a covered one on the same symbol in the same condition, which is the agreeing twin that separates a misplaced parenthesis from an unrelated length test. Bare index accesses with no emptiness test in the condition are neither counted nor reported; a non-identifier receiver and a lambda nested inside the condition are outside the population. Deterministic, provable per finding. Advisory.

X29 · Per-element action decided by a fixed element6.5 / 10Adequate✓ Tool-verified

Other · Code Health — Whether a decision taken once per element is taken ABOUT that element — a test inside a counted loop that reads a fixed subscript of the very collection its guarded statement indexes by the loop variable applies element zero's answer to all of them, so the elements that differ from it are all handled wrongly, and in the same direction.

Method: Roslyn syntax only, no semantic model: every `for` statement declaring exactly ONE loop variable, and every `if` inside its body that is not under a nested loop or a lambda. A site enters the population when the `if`’s condition never mentions the loop variable while the statement it guards indexes some collection by that variable ALONE (`c[i]`; `c[i + 1]` and `c[i, j]` are outside it). A finding additionally needs the AGREEING TWIN at the same-collection grain: the condition must read THAT SAME collection at a subscript that does not move — written into the condition, or reached through a local declared BEFORE the loop, so an alias bound inside the body is not followed. Both collection expressions must be simple identifiers. On a repository with no .NET source the same rule reads JavaScript/TypeScript off the engine’s own token stream (tests included, bundles and vendored paths not): a `for (let|var|const x = …; …; …)` with one declarator and a braced body, an alias followed only when it is declared before the loop in a block that encloses it and never assigned inside the loop. Deterministic, provable per finding. Advisory.

  • This loop runs once per element of `buttons`, and the statement it guards acts on the element it is on — `index`. The test deciding whether that statement runs does not: `distance > 1 && offset < (vertical ? from.width : from.height) / 2 && score <...` reads `buttons[fromIndex]`, a subscript that does not move, so whatever it answers for that one element it answers for ALL of them. One `if` names the same collection at two different subscripts — the fixed one at line 47, which is the contradiction: either the test was meant to be per-element, in which case every element that differs from the fixed one is handled wrongly and all in the same direction, or it really is one answer for the whole collection, in which case it is being re-asked on every pass and belongs above the loop. The `if` is in the wrong place under both readings. Give the test the loop variable, or hoist it out. — components/system/Files/FileManager/useFileKeyboardShortcuts.ts:70

What to do

  • Each finding names the test and the statement it guards, which index the same collection at two different subscripts — one fixed, one the loop variable. Confirm from the two, then decide which subscript the test meant. If it was meant to be per-element, give it the loop variable so each element is judged on itself. If it really is one answer for the whole collection, hoist the test OUT of the loop, where a reader can see it is asked once and where it is not re-evaluated on every pass — leaving it inside, reading a fixed element, is the one arrangement that cannot be right under either reading.
X3 · Exception handling3.4 / 10Weak✓ Tool-verified

Other · Code Health — Whether exceptions are handled rather than silently swallowed or rethrown with lost stack traces.

Method: Roslyn syntax scan: every catch clause counted; empty catches and bare rethrows flagged. Population is all catch clauses, not estimated. Deterministic, hard fact.

  • `catch` takes every exception and records none of it — the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, or keep only the failure you expect and rethrow the rest (`catch (e) { if (!(e instanceof SyntaxError)) throw e; … }`, or test `e.name`), because a JavaScript catch takes every exception, programming errors included. — utils/closeEffectShaders.ts:349
  • `.catch(() => {})` handles the rejection by doing nothing — the failure is discarded with no log and no rethrow, and the chain carries on as if the work succeeded. Log it through whatever this codebase already uses to report problems, hand it to a caller that can (`next(error)`, a returned rejection), or don't catch it. (×8) — utils/closeEffectShaders.ts:561, utils/functions.ts:97, utils/resizeImage.worker.ts:19, …
  • 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. (×31) — utils/functions.ts:551, utils/functions.ts:927, utils/functions.ts:1118, …

What to do

  • Swallowed exception (caught, then discarded)
X30 · Support guard that admits what it rejects10.0 / 10Exemplary○ Nothing flagged

Other · Code Health — Whether a guard written as a NEGATED `||` says what its author meant — `!(a || b || x != k)` is `!a && !b && x == k` by De Morgan, so a bail-out that mixes capabilities the code needs with a fault it refuses turns inside out: it fires only where the capabilities are ABSENT, and lets every value the fault term names walk straight into the body that cannot handle it.

Method: Roslyn syntax only, no semantic model: every logical-not whose operand is a parenthesised `||` chain of two or more disjuncts, flattened (a left-nested `a || b || c` read once would see `(a || b)` as one disjunct). A site enters the population on that shape alone. A finding additionally needs the disjuncts to DISAGREE in polarity: at least one bare boolean read — an identifier or member access, never an invocation, which is a predicate rather than a capability flag — and at least one `x != <constant>`, the only form that negates into an exact-value pin (`== null` negates into a looser requirement and is outside the fault set). Consistently-polarised disjunctions, all-fault or all-capability, are counted and never reported; a negated `&&` is outside the population entirely. No same-receiver gate: it was measured to cost a real defect and remove no false positive. Deterministic, provable per finding. Advisory.

X5 · Nullable reference types2.0 / 10Critical✓ Tool-verified

Other · Code Health — Whether strict null checking is enabled and not undermined by heavy `!` assertion — TypeScript's `strictNullChecks` (which `strict` turns on) is what makes `string` exclude `null` and `undefined`, and the postfix `!` is the operator that silences it.

Method: Roslyn compiler-options scan: NullableContextOptions per project; null-forgiving (!) suppression density per 1k syntax nodes. Deterministic, adoption plus suppression penalty.

  • 0/1 of this repository's type-checking configuration(s) turn on strict null checking (`"strict": true`, or `"strictNullChecks": true`). A configuration that states neither is counted as OFF, because off is tsc's own default; a solution-style one whose `"files"` is empty and whose `"references"` point at other projects is in neither number, because it checks no source itself. Where it is off, `string` admits `null` and `undefined`: passing a value that is null compiles silently and throws on the first property access.

What to do

  • The findings name the configuration each number was taken from and, for the assertions, the files that hold them. Turn null checking on where it is off — `"strict": true` in the base tsconfig that the others extend switches `strictNullChecks` on with the rest of the family — and then resolve the assertions rather than adding to them. A `!` on a value the checker could show to be null is a promise the author cannot check from where they are standing, and each one is a `TypeError: Cannot read properties of null` waiting for the path that makes it true; where the value genuinely cannot be null, say something the checker can see instead (narrow it with a test, make the property required, drop the `?`).

WCAG coverage — what static analysis assessed

Statically assessed 13 of 55 WCAG 2.2 Level A/AA success criteria (24%; ≈26% of the 50 WCAG 2.1 AA criteria for EN 301 549). The other 42 require runtime or manual evaluation. Partial signal only (a clean result is necessary, not sufficient; static analysis fully verifies none). This is accessibility readiness, not a conformance claim — a WCAG conformance claim requires manual evaluation (WCAG-EM 1.0).

DimensionWCAG 2.2 A/AA criteriaCoverage
AC1 · Text alternatives1.1.1, 1.2.2, 1.2.5Partial signal
AC2 · Forms & labels1.3.1, 3.3.2, 4.1.2Partial signal
AC3 · Page structure1.4.4, 2.2.1, 2.4.1, 2.4.2, 3.1.1, 4.1.2Partial signal
AC4 · Keyboard semantics2.1.1, 2.4.3Partial signal
AC5 · ARIA correctness4.1.2Partial signal

Not statically assessed — these 42 Level A/AA criteria need runtime or manual evaluation (WCAG-EM): 1.2.1, 1.2.3, 1.2.4, 1.3.2, 1.3.3, 1.3.4, 1.3.5, 1.4.1, 1.4.2, 1.4.3, 1.4.5, 1.4.10, 1.4.11, 1.4.12, 1.4.13, 2.1.2, 2.1.4, 2.2.2, 2.3.1, 2.4.4, 2.4.5, 2.4.6, 2.4.7, 2.4.11, 2.5.1, 2.5.2, 2.5.3, 2.5.4, 2.5.7, 2.5.8, 3.1.2, 3.2.1, 3.2.2, 3.2.3, 3.2.4, 3.2.6, 3.3.1, 3.3.3, 3.3.4, 3.3.7, 3.3.8, 4.1.3.

Reference — by lens

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

LensScoreRatingImpact
Code Health44%Weak — gated by D1, D2, X3, X5Capped at Fair by a Critical contributor — resolve it before relying on this lens.
Architecture58%Adequate — gated by R9Capped at Fair by a Critical contributor — resolve it before relying on this lens.
Maturity60%Adequate — gated by M2Capped at Fair by a Critical contributor — resolve it before relying on this lens.
Readiness33%Weak — gated by D14, P2, P3Capped at Fair by a Critical contributor — resolve it before relying on this lens.
Security94%ExemplarySolid.
Accessibility43%Weak — gated by AC4Capped at Fair by a Critical contributor — resolve it before relying on this lens.
Performance100%ExemplaryStrongest area.
Unscored — 5 check(s) recorded observations but carry no score

These checks ran and found something, but they do not carry a score — either by design (an advisory check reports evidence rather than grading it) or because they could not be scored here. They are excluded from the score for that reason, not because there was nothing to see.

  • D36 Supply-chain Provenance & Signing — 1 observation(s) recorded · The CI pipeline publishes no artifact — no package publish, container push or release with files to download. Supply-chain provenance, signing and an SBOM describe a PUBLISHED artifact for the people who obtain it, so there is nothing to attest here; a deployment of the service itself publishes nothing for anyone else to verify. Add them to the release pipeline when this repo starts publishing artifacts (a package, a container image, or a release with downloadable files). Build integrity and workflow-token hygiene are reported below: they describe what the CI runs and the token it runs with, neither of which is affected by whether the pipeline ships an artifact.
  • P12 CI test-gate honesty — 1 observation(s) recorded · Reported, not scored — this card publishes what the CI gate does with the test inventory rather than grading it. The findings above are its output.
  • X10 Duplicated predicate — 30 observation(s) recorded · Advisory — this card reports evidence and never carries a score.
  • X6 Hand-rolled structured-format parsing — 1 observation(s) recorded · Advisory — this card reports evidence and never carries a score.
  • X7 Silent fallback defaults — 4 observation(s) recorded · Advisory — this card reports evidence and never carries a score.
Not evidenced — 1 control(s) we could not find positive evidence for

These checks grade a working control, and the repository shows no evidence of one. That is deliberately not scored as a zero: a repository cannot show an ops runbook, a database TTL or an infrastructure-side audit log, so absence of evidence here is not evidence the control is missing. It is also not a statement that the check is irrelevant to this codebase — the thing it grades applies; we just could not see it. Excluded from the score either way.

  • P5 DR & Backup — not evidenced — repo shows no backup/RTO/RPO controls; absence of evidence is not evidence of a working control
Not included — 57 check(s) not relevant to this codebase

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

  • AC6 Visual & motion safety — Visual & motion safety could not be assessed in this run — the check did not complete, so it is not scored. This is a gap in the analyzer, not a finding about this repository.
  • AX1 Captive dependencies — Not applicable: this repository's TypeScript 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.
  • AX2 Stateful singletons — Not applicable: 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
  • 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 — docker build failed (exit 1) — 2 | * Copyright (c) Microsoft Corporation. All rights reserved. 3 | * Version: 0.32.1(29a273516805a852aa8edc5e05059f119b13eff0) -------------------- ERROR: failed to solve: dockerfile parse error on line 1: unknown instruction: /*!-----------------------------------------------------------------------------; runtime evidence skipped 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 — No personal data detected in a persisted data model — no PII-named field (email, firstName, dateOfBirth, phoneNumber, …) or stored credential on a TypeORM/MikroORM/sequelize-typescript/NestJS-Mongoose entity, a Mongoose schema, a Sequelize or Drizzle table, a Knex migration or a Prisma model — and no database or data-store client in the source either, so this repository keeps no data at rest for these controls to protect. If it does persist personal data (through a hosted backend configured outside this repository, for instance), the controls belong to wherever that data is stored.
  • C2 Access Controls — No access-control surface detected in the analyzed source — this repository stands up no server (no Express, Fastify, Koa, Hono, NestJS or similar app, no Next.js/SvelteKit/Nuxt server route, no edge function), creates no Supabase tables and talks to no hosted backend. Access control is therefore N/A here — a browser application or library is authorized by the server it calls, not by itself; a client-side route guard hides a page and authorizes nothing. If this codebase grows request handlers, the dimension reactivates and a default-deny posture is expected then.
  • C3 Audit Trail — No personal data detected in a persisted data model — no PII-named field (email, firstName, dateOfBirth, phoneNumber, …) or stored credential on a TypeORM/MikroORM/sequelize-typescript/NestJS-Mongoose entity, a Mongoose schema, a Sequelize or Drizzle table, a Knex migration or a Prisma model — and no database or data-store client in the source either, so this repository keeps no sensitive data whose changes an audit trail would record. If it does (through a hosted backend configured outside this repository, for instance), the trail belongs to wherever that data is stored.
  • C4 Data Retention — No personal data detected in a persisted data model — no PII-named field (email, firstName, dateOfBirth, phoneNumber, …) or stored credential on a TypeORM/MikroORM/sequelize-typescript/NestJS-Mongoose entity, a Mongoose schema, a Sequelize or Drizzle table, a Knex migration or a Prisma model — and no database or data-store client in the source either, so this repository keeps no personal data whose lifetime a retention limit would bound. If it does (through a hosted backend configured outside this repository, for instance), the limit belongs wherever that data is stored.
  • C5 Data-Subject Rights — No personal data detected in a persisted data model — no PII-named field (email, firstName, dateOfBirth, phoneNumber, …) or stored credential on a TypeORM/MikroORM/sequelize-typescript/NestJS-Mongoose entity, a Mongoose schema, a Sequelize or Drizzle table, a Knex migration or a Prisma model — and no database or data-store client in the source either, so this repository keeps no personal data for a data subject to erase, export or consent over. If it does (through a hosted backend configured outside this repository, for instance), the rights are served wherever that data is stored.
  • D11 Test Reliability — Test reliability not measured — JavaScript/TypeScript suite did not run
  • D16 Bus Factor — single-contributor repository — bus factor is not applicable
  • 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.
  • D21 Naming Consistency — Naming consistency does not read html yet; 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"]`.
  • D25 ADR Conformance — no ADRs to check
  • D26 Project Cohesion — D26 could not read how the parts of this repository's one build unit reference each other, so its cohesion was not measured. Not scored: this is a gap in the analyzer, not a verdict about this repository.
  • D32 Data Compliance (PII/GDPR) — 9 file(s) were not parsed by semgrep — the PII/GDPR ruleset never ran over them
  • 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.
  • D4 Code Duplication — This repository's production source (.ts, .tsx) is not read by D4's token comparison, which compares .NET source: duplication in it is measured by R10 Code Duplication, the frontend lens's card running the same clone algorithm over the JS/TS token stream. Not scored here — read the R10 card for this repository's duplication.
  • D40 Network Egress Confinement — No Kubernetes/orchestration workloads found in the repository manifests; network egress policy is a cluster-native control that may live at the platform/firewall layer, so there is nothing to assess here.
  • D41 Kernel & Syscall Confinement — No Kubernetes/orchestration workloads found in the repository manifests; seccomp/AppArmor/SELinux confinement is a workload-level control, so there is nothing to assess here.
  • D42 Runtime Threat Enforcement — No Kubernetes/orchestration workloads found in the repository manifests; runtime threat-detection and admission-control policy are cluster-level controls, so there is nothing to assess here.
  • D5 Coupling — Not applicable — this npm build ships 1 production module(s), so there is no coupling BETWEEN modules to measure. (Its test and non-production modules are not part of the shipped graph.)
  • 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 — JavaScript/TypeScript suite
  • DM1 Domain Modelling — not scored — this repository shows only 1 of the 3 signals this lens looks for (1 domain event(s); its domain events are published by services or handlers — no domain entity raises one)
  • ED1 Event-Driven — not scored — this repository shows none of the 3 signals this lens looks for
  • ED5 Idempotency — no mutating command handlers or message consumers detected — idempotency check not applicable
  • ES1 Event Sourcing — not scored — this repository shows none of the 3 signals this lens looks for
  • P7 Outbound HTTP resilience — not applicable — no HTTP server, API framework or worker entry point was found in the JavaScript/TypeScript 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 — coverage not measured: this check compares the coverage of the analyzer's own test run across the domain and web layers, and that run measured none here — Test coverage (D8) says why
  • PF1 Benchmark discipline — 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 REDACTED, 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 scored: this check counted allocation-aware idioms (Span, pools, stackalloc) per line, which describes what kind of code a repository is rather than whether it has an allocation problem, so it was withdrawn. Nothing here is a finding about your code.
  • R5 Dependency Freshness — uses a yarn lockfile — dependency freshness not measured here; JS/npm CVEs are scored in D30 (Dependency Vulnerabilities), which answers every ecosystem
  • S1 Web-Security Posture — Not assessed: 447 JavaScript/TypeScript file(s) were read for weak hashes and ciphers, key material fixed in the source, disabled TLS certificate validation, obsolete TLS versions, passwords stored or checked as plaintext and session cookies set without HttpOnly, Secure or SameSite, and none was found. That half of the dimension is clean, but it is not scored on its own: a C# repository with the same clean reading is scored on its server controls as well, or is N/A for having no web surface, and neither can be decided here. Of the server controls, two are read where the source shows them: every session or sign-in cookie the code sets is read for HttpOnly, Secure and SameSite at the line that sets it (a raw `Set-Cookie` header, Express, Fastify, Hono, Koa, Next.js, `cookie.serialize`, express-session and cookie-session), and every Node listener for HTTPS enforcement. HSTS, security response headers and input validation are NOT assessed for JavaScript/TypeScript: each is scored as an absence, an absence is only reportable over the production HTTP server, and in this ecosystem the file that opens the port is build output or a framework launcher rather than a file in the source tree. Their absence here is not a finding about this repository.
  • SC1 Supply-chain hygiene — Advisory — this card reports evidence and never carries a score, so there is nothing missing here.
  • X13 Undrained process stream — not applicable — the code was read and holds no site of this kind, so there is nothing for this check to judge
  • X14 Bypassable address classification — not applicable — the code was read and holds no site of this kind, so there is nothing for this check to judge
  • X17 Uncapped recursion over a caller-supplied document — not applicable — the code was read and holds no site of this kind, so there is nothing for this check to judge
  • X18 Disposal-pattern correctness — not applicable — the code was read and holds no site of this kind, so there is nothing for this check to judge
  • X19 Unrestored process-global state — not applicable — the code was read and holds no site of this kind, so there is nothing for this check to judge
  • X20 Mistyped argument guard — This check asks whether an argument guard reports an EMPTY value as a NULL one, which needs a language that throws a null-specific argument exception — .NET's ArgumentNullException, the JVM's NullPointerException, Dart's ArgumentError.notNull. This repository contains none of those languages: the ones it is written in have a single exception for a bad argument, so there is no pair of exceptions to confuse and nothing here for it to assess. Not a gap in the analyzer and not a finding about your code.
  • X22 Contradicted release guard — not applicable — the code was read and holds no site of this kind, so there is nothing for this check to judge
  • X23 Unguarded diagnostic materialisation — not applicable — the code was read and holds no site of this kind, so there is nothing for this check to judge
  • X25 Inert configuration knob — not applicable — the code was read and holds no site of this kind, so there is nothing for this check to judge
  • X26 Unsynchronised callback handoff — Not applicable: this check looks for a collection written by a callback on one thread while the body waiting on it touches it on another, and in this repository's languages no collection is reachable from two threads at once. TypeScript/JavaScript runs every callback on the one thread that owns its objects: a callback runs only when the body waiting on it has yielded, never alongside it, and a worker thread receives a COPY of what it is sent. A SharedArrayBuffer carries raw bytes, never an Array, Map or Set, so no collection is reachable from two threads at once. Not a gap in the analyzer and not a finding about your code.
  • X27 Collection changed while being enumerated — Not applicable: this check looks for a loop whose body adds to or removes from the very collection the loop is walking, invalidating the enumerator it holds, and in this repository's languages that cannot happen. JavaScript and TypeScript have no iterator that a change can invalidate: an `Array` is walked by index against its live length, and a `Map` or `Set` by the ECMAScript specification's live entry list, so a body that adds to, removes from or empties what it walks raises nothing — every loop form (`for…of`, `for…in`, `forEach`, `map`, `filter`, `reduce`, `entries()`) on every built-in collection (`Array`, `Map`, `Set`, plain objects, `URLSearchParams`, `Headers`, `FormData`) runs to completion. Such a loop can still skip an element or never end, which is a different defect and not the one this check asks about. Not a gap in the analyzer and not a finding about your code.
  • 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 — not analysed — these correctness checks read a source model that was not loaded for this repository, because the repository is written in a language this check does not yet model, or because its projects failed to load. This is a gap in the analyzer, not a finding about this repository
  • X9 Subsumed condition operand — Advisory — this card reports evidence and never carries a score, so there is nothing missing here.

Appendix A — Findings (grouped)

The findings behind the scores, grouped by severity, then by dimension and kind. The high-severity issues are enumerated in full below; items per group are capped at 25 with any overflow stated explicitly per group, never silently truncated. The complete machine-readable list of every finding (all severities) is the companion findings.md in this report's bundle.

Critical — 67 finding(s)
D30 · Dependency Vulnerabilities · High CVE · ×19
  • REDACTED
  • REDACTED
  • REDACTED
  • REDACTED
  • REDACTED
  • REDACTED
  • REDACTED
  • REDACTED
  • REDACTED
  • REDACTED
  • REDACTED
  • REDACTED
  • REDACTED
  • REDACTED
  • REDACTED
  • REDACTED
  • REDACTED
  • REDACTED
  • REDACTED
D14 · License Compliance · Banned license · ×15
  • Banned license: @img/sharp-libvips-darwin-arm64 REDACTED:721 — `@img/sharp-libvips-darwin-arm64` 1.3.4 is published on registry.npmjs.org under `LGPL-3.0-or-later`, which this policy bans, and it is not declared by this repository but is installed by one of its production, optional or peer dependencies, as its committed lockfile resolves — a transitive dependency ships its licence just the same — so it is installed by everything that depends on this repository, not just by its build toolchain. A package offering SEVERAL licences is a choice and is only charged when every one of them is banned. Replace the package (or the dependency that pulls it in), or record an accepted exception. ★ The licence that makes this row is LGPL-3.0, and unmodified use is often permitted: the LGPL lets your code use an UNMODIFIED copy of the library that stays a separately installed package (its own entry in node_modules, site-packages or the gem path, which a user can replace) without your code coming under the LGPL. What it then asks is that you pass on its licence and notices and let users swap in their own build of it (LGPL-3.0 section 4). Modifying it, copying its code into yours, or merging it into one bundled or statically linked artifact is where the obligations grow, and this policy cannot see which you do — that is why it denies LGPL-3.0 by default. If you use it unmodified and separately installed, allow it in your repository's licence policy rather than replacing it: add `LGPL-3.0-only` / `LGPL-3.0-or-later` to the allow-list of the licence check your CI runs (`license-checker --onlyAllow`, the `allow-licenses` input of GitHub's dependency-review-action, `[licenses] allow` in cargo-deny's deny.toml), record why in the same change, and hide this row on the findings page with that reason. This scan's banned set is not read from that file, so the row stays until it is hidden.
  • Banned license: @img/sharp-libvips-darwin-x64 REDACTED:726 — `@img/sharp-libvips-darwin-x64` 1.3.4 is published on registry.npmjs.org under `LGPL-3.0-or-later`, which this policy bans, and it is not declared by this repository but is installed by one of its production, optional or peer dependencies, as its committed lockfile resolves — a transitive dependency ships its licence just the same — so it is installed by everything that depends on this repository, not just by its build toolchain. A package offering SEVERAL licences is a choice and is only charged when every one of them is banned. Replace the package (or the dependency that pulls it in), or record an accepted exception. ★ The licence that makes this row is LGPL-3.0, and unmodified use is often permitted: the LGPL lets your code use an UNMODIFIED copy of the library that stays a separately installed package (its own entry in node_modules, site-packages or the gem path, which a user can replace) without your code coming under the LGPL. What it then asks is that you pass on its licence and notices and let users swap in their own build of it (LGPL-3.0 section 4). Modifying it, copying its code into yours, or merging it into one bundled or statically linked artifact is where the obligations grow, and this policy cannot see which you do — that is why it denies LGPL-3.0 by default. If you use it unmodified and separately installed, allow it in your repository's licence policy rather than replacing it: add `LGPL-3.0-only` / `LGPL-3.0-or-later` to the allow-list of the licence check your CI runs (`license-checker --onlyAllow`, the `allow-licenses` input of GitHub's dependency-review-action, `[licenses] allow` in cargo-deny's deny.toml), record why in the same change, and hide this row on the findings page with that reason. This scan's banned set is not read from that file, so the row stays until it is hidden.
  • Banned license: @img/sharp-libvips-linux-arm REDACTED:736 — `@img/sharp-libvips-linux-arm` 1.3.4 is published on registry.npmjs.org under `LGPL-3.0-or-later`, which this policy bans, and it is not declared by this repository but is installed by one of its production, optional or peer dependencies, as its committed lockfile resolves — a transitive dependency ships its licence just the same — so it is installed by everything that depends on this repository, not just by its build toolchain. A package offering SEVERAL licences is a choice and is only charged when every one of them is banned. Replace the package (or the dependency that pulls it in), or record an accepted exception. ★ The licence that makes this row is LGPL-3.0, and unmodified use is often permitted: the LGPL lets your code use an UNMODIFIED copy of the library that stays a separately installed package (its own entry in node_modules, site-packages or the gem path, which a user can replace) without your code coming under the LGPL. What it then asks is that you pass on its licence and notices and let users swap in their own build of it (LGPL-3.0 section 4). Modifying it, copying its code into yours, or merging it into one bundled or statically linked artifact is where the obligations grow, and this policy cannot see which you do — that is why it denies LGPL-3.0 by default. If you use it unmodified and separately installed, allow it in your repository's licence policy rather than replacing it: add `LGPL-3.0-only` / `LGPL-3.0-or-later` to the allow-list of the licence check your CI runs (`license-checker --onlyAllow`, the `allow-licenses` input of GitHub's dependency-review-action, `[licenses] allow` in cargo-deny's deny.toml), record why in the same change, and hide this row on the findings page with that reason. This scan's banned set is not read from that file, so the row stays until it is hidden.
  • Banned license: @img/sharp-libvips-linux-arm64 REDACTED:731 — `@img/sharp-libvips-linux-arm64` 1.3.4 is published on registry.npmjs.org under `LGPL-3.0-or-later`, which this policy bans, and it is not declared by this repository but is installed by one of its production, optional or peer dependencies, as its committed lockfile resolves — a transitive dependency ships its licence just the same — so it is installed by everything that depends on this repository, not just by its build toolchain. A package offering SEVERAL licences is a choice and is only charged when every one of them is banned. Replace the package (or the dependency that pulls it in), or record an accepted exception. ★ The licence that makes this row is LGPL-3.0, and unmodified use is often permitted: the LGPL lets your code use an UNMODIFIED copy of the library that stays a separately installed package (its own entry in node_modules, site-packages or the gem path, which a user can replace) without your code coming under the LGPL. What it then asks is that you pass on its licence and notices and let users swap in their own build of it (LGPL-3.0 section 4). Modifying it, copying its code into yours, or merging it into one bundled or statically linked artifact is where the obligations grow, and this policy cannot see which you do — that is why it denies LGPL-3.0 by default. If you use it unmodified and separately installed, allow it in your repository's licence policy rather than replacing it: add `LGPL-3.0-only` / `LGPL-3.0-or-later` to the allow-list of the licence check your CI runs (`license-checker --onlyAllow`, the `allow-licenses` input of GitHub's dependency-review-action, `[licenses] allow` in cargo-deny's deny.toml), record why in the same change, and hide this row on the findings page with that reason. This scan's banned set is not read from that file, so the row stays until it is hidden.
  • Banned license: @img/sharp-libvips-linux-ppc64 REDACTED:741 — `@img/sharp-libvips-linux-ppc64` 1.3.4 is published on registry.npmjs.org under `LGPL-3.0-or-later`, which this policy bans, and it is not declared by this repository but is installed by one of its production, optional or peer dependencies, as its committed lockfile resolves — a transitive dependency ships its licence just the same — so it is installed by everything that depends on this repository, not just by its build toolchain. A package offering SEVERAL licences is a choice and is only charged when every one of them is banned. Replace the package (or the dependency that pulls it in), or record an accepted exception. ★ The licence that makes this row is LGPL-3.0, and unmodified use is often permitted: the LGPL lets your code use an UNMODIFIED copy of the library that stays a separately installed package (its own entry in node_modules, site-packages or the gem path, which a user can replace) without your code coming under the LGPL. What it then asks is that you pass on its licence and notices and let users swap in their own build of it (LGPL-3.0 section 4). Modifying it, copying its code into yours, or merging it into one bundled or statically linked artifact is where the obligations grow, and this policy cannot see which you do — that is why it denies LGPL-3.0 by default. If you use it unmodified and separately installed, allow it in your repository's licence policy rather than replacing it: add `LGPL-3.0-only` / `LGPL-3.0-or-later` to the allow-list of the licence check your CI runs (`license-checker --onlyAllow`, the `allow-licenses` input of GitHub's dependency-review-action, `[licenses] allow` in cargo-deny's deny.toml), record why in the same change, and hide this row on the findings page with that reason. This scan's banned set is not read from that file, so the row stays until it is hidden.
  • Banned license: @img/sharp-libvips-linux-riscv64 REDACTED:746 — `@img/sharp-libvips-linux-riscv64` 1.3.4 is published on registry.npmjs.org under `LGPL-3.0-or-later`, which this policy bans, and it is not declared by this repository but is installed by one of its production, optional or peer dependencies, as its committed lockfile resolves — a transitive dependency ships its licence just the same — so it is installed by everything that depends on this repository, not just by its build toolchain. A package offering SEVERAL licences is a choice and is only charged when every one of them is banned. Replace the package (or the dependency that pulls it in), or record an accepted exception. ★ The licence that makes this row is LGPL-3.0, and unmodified use is often permitted: the LGPL lets your code use an UNMODIFIED copy of the library that stays a separately installed package (its own entry in node_modules, site-packages or the gem path, which a user can replace) without your code coming under the LGPL. What it then asks is that you pass on its licence and notices and let users swap in their own build of it (LGPL-3.0 section 4). Modifying it, copying its code into yours, or merging it into one bundled or statically linked artifact is where the obligations grow, and this policy cannot see which you do — that is why it denies LGPL-3.0 by default. If you use it unmodified and separately installed, allow it in your repository's licence policy rather than replacing it: add `LGPL-3.0-only` / `LGPL-3.0-or-later` to the allow-list of the licence check your CI runs (`license-checker --onlyAllow`, the `allow-licenses` input of GitHub's dependency-review-action, `[licenses] allow` in cargo-deny's deny.toml), record why in the same change, and hide this row on the findings page with that reason. This scan's banned set is not read from that file, so the row stays until it is hidden.
  • Banned license: @img/sharp-libvips-linux-s390x REDACTED:751 — `@img/sharp-libvips-linux-s390x` 1.3.4 is published on registry.npmjs.org under `LGPL-3.0-or-later`, which this policy bans, and it is not declared by this repository but is installed by one of its production, optional or peer dependencies, as its committed lockfile resolves — a transitive dependency ships its licence just the same — so it is installed by everything that depends on this repository, not just by its build toolchain. A package offering SEVERAL licences is a choice and is only charged when every one of them is banned. Replace the package (or the dependency that pulls it in), or record an accepted exception. ★ The licence that makes this row is LGPL-3.0, and unmodified use is often permitted: the LGPL lets your code use an UNMODIFIED copy of the library that stays a separately installed package (its own entry in node_modules, site-packages or the gem path, which a user can replace) without your code coming under the LGPL. What it then asks is that you pass on its licence and notices and let users swap in their own build of it (LGPL-3.0 section 4). Modifying it, copying its code into yours, or merging it into one bundled or statically linked artifact is where the obligations grow, and this policy cannot see which you do — that is why it denies LGPL-3.0 by default. If you use it unmodified and separately installed, allow it in your repository's licence policy rather than replacing it: add `LGPL-3.0-only` / `LGPL-3.0-or-later` to the allow-list of the licence check your CI runs (`license-checker --onlyAllow`, the `allow-licenses` input of GitHub's dependency-review-action, `[licenses] allow` in cargo-deny's deny.toml), record why in the same change, and hide this row on the findings page with that reason. This scan's banned set is not read from that file, so the row stays until it is hidden.
  • Banned license: @img/sharp-libvips-linux-x64 REDACTED:756 — `@img/sharp-libvips-linux-x64` 1.3.4 is published on registry.npmjs.org under `LGPL-3.0-or-later`, which this policy bans, and it is not declared by this repository but is installed by one of its production, optional or peer dependencies, as its committed lockfile resolves — a transitive dependency ships its licence just the same — so it is installed by everything that depends on this repository, not just by its build toolchain. A package offering SEVERAL licences is a choice and is only charged when every one of them is banned. Replace the package (or the dependency that pulls it in), or record an accepted exception. ★ The licence that makes this row is LGPL-3.0, and unmodified use is often permitted: the LGPL lets your code use an UNMODIFIED copy of the library that stays a separately installed package (its own entry in node_modules, site-packages or the gem path, which a user can replace) without your code coming under the LGPL. What it then asks is that you pass on its licence and notices and let users swap in their own build of it (LGPL-3.0 section 4). Modifying it, copying its code into yours, or merging it into one bundled or statically linked artifact is where the obligations grow, and this policy cannot see which you do — that is why it denies LGPL-3.0 by default. If you use it unmodified and separately installed, allow it in your repository's licence policy rather than replacing it: add `LGPL-3.0-only` / `LGPL-3.0-or-later` to the allow-list of the licence check your CI runs (`license-checker --onlyAllow`, the `allow-licenses` input of GitHub's dependency-review-action, `[licenses] allow` in cargo-deny's deny.toml), record why in the same change, and hide this row on the findings page with that reason. This scan's banned set is not read from that file, so the row stays until it is hidden.
  • Banned license: @img/sharp-libvips-linuxmusl-arm64 REDACTED:761 — `@img/sharp-libvips-linuxmusl-arm64` 1.3.4 is published on registry.npmjs.org under `LGPL-3.0-or-later`, which this policy bans, and it is not declared by this repository but is installed by one of its production, optional or peer dependencies, as its committed lockfile resolves — a transitive dependency ships its licence just the same — so it is installed by everything that depends on this repository, not just by its build toolchain. A package offering SEVERAL licences is a choice and is only charged when every one of them is banned. Replace the package (or the dependency that pulls it in), or record an accepted exception. ★ The licence that makes this row is LGPL-3.0, and unmodified use is often permitted: the LGPL lets your code use an UNMODIFIED copy of the library that stays a separately installed package (its own entry in node_modules, site-packages or the gem path, which a user can replace) without your code coming under the LGPL. What it then asks is that you pass on its licence and notices and let users swap in their own build of it (LGPL-3.0 section 4). Modifying it, copying its code into yours, or merging it into one bundled or statically linked artifact is where the obligations grow, and this policy cannot see which you do — that is why it denies LGPL-3.0 by default. If you use it unmodified and separately installed, allow it in your repository's licence policy rather than replacing it: add `LGPL-3.0-only` / `LGPL-3.0-or-later` to the allow-list of the licence check your CI runs (`license-checker --onlyAllow`, the `allow-licenses` input of GitHub's dependency-review-action, `[licenses] allow` in cargo-deny's deny.toml), record why in the same change, and hide this row on the findings page with that reason. This scan's banned set is not read from that file, so the row stays until it is hidden.
  • Banned license: @img/sharp-libvips-linuxmusl-x64 REDACTED:766 — `@img/sharp-libvips-linuxmusl-x64` 1.3.4 is published on registry.npmjs.org under `LGPL-3.0-or-later`, which this policy bans, and it is not declared by this repository but is installed by one of its production, optional or peer dependencies, as its committed lockfile resolves — a transitive dependency ships its licence just the same — so it is installed by everything that depends on this repository, not just by its build toolchain. A package offering SEVERAL licences is a choice and is only charged when every one of them is banned. Replace the package (or the dependency that pulls it in), or record an accepted exception. ★ The licence that makes this row is LGPL-3.0, and unmodified use is often permitted: the LGPL lets your code use an UNMODIFIED copy of the library that stays a separately installed package (its own entry in node_modules, site-packages or the gem path, which a user can replace) without your code coming under the LGPL. What it then asks is that you pass on its licence and notices and let users swap in their own build of it (LGPL-3.0 section 4). Modifying it, copying its code into yours, or merging it into one bundled or statically linked artifact is where the obligations grow, and this policy cannot see which you do — that is why it denies LGPL-3.0 by default. If you use it unmodified and separately installed, allow it in your repository's licence policy rather than replacing it: add `LGPL-3.0-only` / `LGPL-3.0-or-later` to the allow-list of the licence check your CI runs (`license-checker --onlyAllow`, the `allow-licenses` input of GitHub's dependency-review-action, `[licenses] allow` in cargo-deny's deny.toml), record why in the same change, and hide this row on the findings page with that reason. This scan's banned set is not read from that file, so the row stays until it is hidden.
  • Banned license: @img/sharp-wasm32 REDACTED:827 — `@img/sharp-wasm32` 0.35.5 is published on registry.npmjs.org under `Apache-2.0 AND LGPL-3.0-or-later AND MIT`, which this policy bans, and it is not declared by this repository but is installed by one of its production, optional or peer dependencies, as its committed lockfile resolves — a transitive dependency ships its licence just the same — so it is installed by everything that depends on this repository, not just by its build toolchain. A package offering SEVERAL licences is a choice and is only charged when every one of them is banned. Replace the package (or the dependency that pulls it in), or record an accepted exception. ★ The licence that makes this row is LGPL-3.0, and unmodified use is often permitted: the LGPL lets your code use an UNMODIFIED copy of the library that stays a separately installed package (its own entry in node_modules, site-packages or the gem path, which a user can replace) without your code coming under the LGPL. What it then asks is that you pass on its licence and notices and let users swap in their own build of it (LGPL-3.0 section 4). Modifying it, copying its code into yours, or merging it into one bundled or statically linked artifact is where the obligations grow, and this policy cannot see which you do — that is why it denies LGPL-3.0 by default. If you use it unmodified and separately installed, allow it in your repository's licence policy rather than replacing it: add `LGPL-3.0-only` / `LGPL-3.0-or-later` to the allow-list of the licence check your CI runs (`license-checker --onlyAllow`, the `allow-licenses` input of GitHub's dependency-review-action, `[licenses] allow` in cargo-deny's deny.toml), record why in the same change, and hide this row on the findings page with that reason. This scan's banned set is not read from that file, so the row stays until it is hidden.
  • Banned license: @img/sharp-win32-arm64 REDACTED:841 — `@img/sharp-win32-arm64` 0.35.5 is published on registry.npmjs.org under `Apache-2.0 AND LGPL-3.0-or-later`, which this policy bans, and it is not declared by this repository but is installed by one of its production, optional or peer dependencies, as its committed lockfile resolves — a transitive dependency ships its licence just the same — so it is installed by everything that depends on this repository, not just by its build toolchain. A package offering SEVERAL licences is a choice and is only charged when every one of them is banned. Replace the package (or the dependency that pulls it in), or record an accepted exception. ★ The licence that makes this row is LGPL-3.0, and unmodified use is often permitted: the LGPL lets your code use an UNMODIFIED copy of the library that stays a separately installed package (its own entry in node_modules, site-packages or the gem path, which a user can replace) without your code coming under the LGPL. What it then asks is that you pass on its licence and notices and let users swap in their own build of it (LGPL-3.0 section 4). Modifying it, copying its code into yours, or merging it into one bundled or statically linked artifact is where the obligations grow, and this policy cannot see which you do — that is why it denies LGPL-3.0 by default. If you use it unmodified and separately installed, allow it in your repository's licence policy rather than replacing it: add `LGPL-3.0-only` / `LGPL-3.0-or-later` to the allow-list of the licence check your CI runs (`license-checker --onlyAllow`, the `allow-licenses` input of GitHub's dependency-review-action, `[licenses] allow` in cargo-deny's deny.toml), record why in the same change, and hide this row on the findings page with that reason. This scan's banned set is not read from that file, so the row stays until it is hidden.
  • Banned license: @img/sharp-win32-ia32 REDACTED:846 — `@img/sharp-win32-ia32` 0.35.5 is published on registry.npmjs.org under `Apache-2.0 AND LGPL-3.0-or-later`, which this policy bans, and it is not declared by this repository but is installed by one of its production, optional or peer dependencies, as its committed lockfile resolves — a transitive dependency ships its licence just the same — so it is installed by everything that depends on this repository, not just by its build toolchain. A package offering SEVERAL licences is a choice and is only charged when every one of them is banned. Replace the package (or the dependency that pulls it in), or record an accepted exception. ★ The licence that makes this row is LGPL-3.0, and unmodified use is often permitted: the LGPL lets your code use an UNMODIFIED copy of the library that stays a separately installed package (its own entry in node_modules, site-packages or the gem path, which a user can replace) without your code coming under the LGPL. What it then asks is that you pass on its licence and notices and let users swap in their own build of it (LGPL-3.0 section 4). Modifying it, copying its code into yours, or merging it into one bundled or statically linked artifact is where the obligations grow, and this policy cannot see which you do — that is why it denies LGPL-3.0 by default. If you use it unmodified and separately installed, allow it in your repository's licence policy rather than replacing it: add `LGPL-3.0-only` / `LGPL-3.0-or-later` to the allow-list of the licence check your CI runs (`license-checker --onlyAllow`, the `allow-licenses` input of GitHub's dependency-review-action, `[licenses] allow` in cargo-deny's deny.toml), record why in the same change, and hide this row on the findings page with that reason. This scan's banned set is not read from that file, so the row stays until it is hidden.
  • Banned license: @img/sharp-win32-x64 REDACTED:851 — `@img/sharp-win32-x64` 0.35.5 is published on registry.npmjs.org under `Apache-2.0 AND LGPL-3.0-or-later`, which this policy bans, and it is not declared by this repository but is installed by one of its production, optional or peer dependencies, as its committed lockfile resolves — a transitive dependency ships its licence just the same — so it is installed by everything that depends on this repository, not just by its build toolchain. A package offering SEVERAL licences is a choice and is only charged when every one of them is banned. Replace the package (or the dependency that pulls it in), or record an accepted exception. ★ The licence that makes this row is LGPL-3.0, and unmodified use is often permitted: the LGPL lets your code use an UNMODIFIED copy of the library that stays a separately installed package (its own entry in node_modules, site-packages or the gem path, which a user can replace) without your code coming under the LGPL. What it then asks is that you pass on its licence and notices and let users swap in their own build of it (LGPL-3.0 section 4). Modifying it, copying its code into yours, or merging it into one bundled or statically linked artifact is where the obligations grow, and this policy cannot see which you do — that is why it denies LGPL-3.0 by default. If you use it unmodified and separately installed, allow it in your repository's licence policy rather than replacing it: add `LGPL-3.0-only` / `LGPL-3.0-or-later` to the allow-list of the licence check your CI runs (`license-checker --onlyAllow`, the `allow-licenses` input of GitHub's dependency-review-action, `[licenses] allow` in cargo-deny's deny.toml), record why in the same change, and hide this row on the findings page with that reason. This scan's banned set is not read from that file, so the row stays until it is hidden.
  • Banned license: stockfish REDACTED:89 — `stockfish` 19.0.0 is published on registry.npmjs.org under `GPL-3.0`, which this policy bans, and it is a production, optional or peer dependency this repository's committed lockfile resolves — so it is installed by everything that depends on this repository, not just by its build toolchain. A package offering SEVERAL licences is a choice and is only charged when every one of them is banned. Replace the package (or the dependency that pulls it in), or record an accepted exception.
AC1 · Text alternatives · <img> without a text alternative · ×11
  • <img> without a text alternative public/Program Files/Browser/dino/index.html:19 — An image with no alt (and no aria-label/aria-labelledby) is unreadable to assistive tech. Add alt — alt="" if it's purely decorative.
  • <img> without a text alternative public/Program Files/Browser/dino/index.html:20 — An image with no alt (and no aria-label/aria-labelledby) is unreadable to assistive tech. Add alt — alt="" if it's purely decorative.
  • <img> without a text alternative public/Program Files/jspaint/help/paint_color_box.html:10 — An image with no alt (and no aria-label/aria-labelledby) is unreadable to assistive tech. Add alt — alt="" if it's purely decorative.
  • <img> without a text alternative public/Program Files/jspaint/help/paint_cutout_select.html:11 — An image with no alt (and no aria-label/aria-labelledby) is unreadable to assistive tech. Add alt — alt="" if it's purely decorative.
  • <img> without a text alternative public/Program Files/jspaint/help/paint_enlarge_area.html:11 — An image with no alt (and no aria-label/aria-labelledby) is unreadable to assistive tech. Add alt — alt="" if it's purely decorative.
  • <img> without a text alternative public/Program Files/jspaint/help/paint_invert.html:10 — An image with no alt (and no aria-label/aria-labelledby) is unreadable to assistive tech. Add alt — alt="" if it's purely decorative.
  • <img> without a text alternative public/Program Files/jspaint/help/paint_print.html:10 — An image with no alt (and no aria-label/aria-labelledby) is unreadable to assistive tech. Add alt — alt="" if it's purely decorative.
  • <img> without a text alternative public/Program Files/jspaint/help/paint_toolbox.html:10 — An image with no alt (and no aria-label/aria-labelledby) is unreadable to assistive tech. Add alt — alt="" if it's purely decorative.
  • <img> without a text alternative public/Program Files/jspaint/help/paint_trans_opaque.html:10 — An image with no alt (and no aria-label/aria-labelledby) is unreadable to assistive tech. Add alt — alt="" if it's purely decorative.
  • <img> without a text alternative public/Program Files/jspaint/help/paint_undo.html:11 — An image with no alt (and no aria-label/aria-labelledby) is unreadable to assistive tech. Add alt — alt="" if it's purely decorative.
  • <img> without a text alternative public/Program Files/jspaint/help/paint_zoom.html:11 — An image with no alt (and no aria-label/aria-labelledby) is unreadable to assistive tech. Add alt — alt="" if it's purely decorative.
D30 · Dependency Vulnerabilities · Critical CVE · ×4
  • REDACTED
  • REDACTED
  • REDACTED
  • REDACTED
AC2 · Forms & labels · <button> with no accessible text · ×3
  • <button> with no accessible text public/Program Files/jspaint/src/edit-colors.js:275 — A button with no text and no aria-label has no accessible name. Add visible text or an aria-label (an icon-only button still needs one).
  • <button> with no accessible text public/Program Files/jspaint/src/edit-colors.js:585 — A button with no text and no aria-label has no accessible name. Add visible text or an aria-label (an icon-only button still needs one).
  • <button> with no accessible text public/Program Files/jspaint/src/help.js:39 — A button with no text and no aria-label has no accessible name. Add visible text or an aria-label (an icon-only button still needs one).
D29 · Static Analysis (SAST) · REDACTED
  • REDACTED
  • REDACTED
  • REDACTED
AC3 · Page structure · Viewport restricts zoom · ×2
  • Viewport restricts zoom components/pages/Metadata.tsx:50 — user-scalable=no/0 or a maximum-scale below 2 stops low-vision users zooming to 200%. Remove the zoom restriction from the viewport meta.
  • Viewport restricts zoom public/Program Files/Browser/dino/index.html:6 — user-scalable=no/0 or a maximum-scale below 2 stops low-vision users zooming to 200%. Remove the zoom restriction from the viewport meta.
AC3 · Page structure · <html> without a lang · ×2
  • <html> without a lang public/Program Files/Browser/dino/index.html:2 — The page declares no language, so assistive tech can't pick the right pronunciation. Add lang (e.g. lang="en").
  • <html> without a lang public/Program Files/jspaint/help/online_support.htm:2 — The page declares no language, so assistive tech can't pick the right pronunciation. Add lang (e.g. lang="en").
AC4 · Keyboard semantics · Click handler on a non-interactive <td> · ×2
  • Click handler on a non-interactive <td> components/system/Taskbar/Calendar/index.tsx:151 — A click handler on a plain element with no role and no tabindex: even where another element's key handler can reach it, assistive tech can neither focus it nor announce what it is. Use a <button>, or add role + tabIndex={0}.
  • Click handler on a non-interactive <td> components/system/Taskbar/Search/Details.tsx:108 — A click handler on a plain element isn't keyboard-operable. Use a <button>, or add role + tabIndex={0} + a key handler.
R9 · Circular Imports · Import cycle (2 files) · ×2
  • Import cycle (2 files) components/system/Window/RndWindow/useResizable.ts:5 — components/system/Window/RndWindow/useResizable.ts → components/system/Window/RndWindow/useDefaultSize.ts → components/system/Window/RndWindow/useResizable.ts (one verified cycle inside a mutually-dependent group of 252 files)
  • Import cycle (2 files) utils/desktopFly/fly.ts:10 — utils/desktopFly/fly.ts → utils/desktopFly/memory.ts → utils/desktopFly/fly.ts
AC4 · Keyboard semantics · Click handler on a non-interactive <div> · ×1
  • Click handler on a non-interactive <div> components/system/Taskbar/AI/AIChat.tsx:777 — A click handler on a plain element with no role and no tabindex: even where another element's key handler can reach it, assistive tech can neither focus it nor announce what it is. Use a <button>, or add role + tabIndex={0}.
D31 · IaC & Container Security · High IaC · ×1
  • REDACTED
R8 · Dependency Hygiene · Unlisted import 'scripts' · ×1
  • Unlisted import 'scripts' utils/search.ts:6 — Imported but not declared in any reachable REDACTED — installs work only by hoisting accident.
R8 · Dependency Hygiene · Unlisted import 'video.js' · ×1
  • Unlisted import 'video.js' components/apps/VideoPlayer/config.ts:1 — Imported but not declared in any reachable REDACTED — installs work only by hoisting accident.
Serious — 675 finding(s)
D15 · Churn × Complexity Hotspots · Hotspot · ×61
  • Hotspot: components/apps/Terminal/useCommandInterpreter.ts components/apps/Terminal/useCommandInterpreter.ts:130 — components/apps/Terminal/useCommandInterpreter.ts changed 7 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 273 in useCommandInterpreter.useCommandInterpreter at line 130. 2 of those changes were fix/bug commits, and the other 5 changed it for other reasons — this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one — a file this often edited pays the complexity back every time. Counted over 2026-07-23..2026-10-21, the 90 days ending at the analysed commit. Reproduce with `git log --since='2026-07-23 20:45:53 -07:00' --until='2026-10-21 20:45:53 -07:00' --full-history --no-merges -- components/apps/Terminal/useCommandInterpreter.ts`: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each — a difference of several commits on a file whose history was re-landed or reverted inside the window.
  • Hotspot: components/system/Desktop/Wallpapers/useWallpaper.ts components/system/Desktop/Wallpapers/useWallpaper.ts:79 — components/system/Desktop/Wallpapers/useWallpaper.ts changed 10 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 91 in useWallpaper.useWallpaper at line 79. 2 of those changes were fix/bug commits, and the other 8 changed it for other reasons — this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one — a file this often edited pays the complexity back every time. Counted over 2026-07-23..2026-10-21, the 90 days ending at the analysed commit. Reproduce with `git log --since='2026-07-23 20:45:53 -07:00' --until='2026-10-21 20:45:53 -07:00' --full-history --no-merges -- components/system/Desktop/Wallpapers/useWallpaper.ts`: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each — a difference of several commits on a file whose history was re-landed or reverted inside the window.
  • Hotspot: components/apps/Chess/index.tsx components/apps/Chess/index.tsx:92 — components/apps/Chess/index.tsx changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 127 in index.Chess at line 92. 2 of those changes were fix/bug commits, and the other 4 changed it for other reasons — this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one — a file this often edited pays the complexity back every time. Counted over 2026-07-23..2026-10-21, the 90 days ending at the analysed commit. Reproduce with `git log --since='2026-07-23 20:45:53 -07:00' --until='2026-10-21 20:45:53 -07:00' --full-history --no-merges -- components/apps/Chess/index.tsx`: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each — a difference of several commits on a file whose history was re-landed or reverted inside the window.
  • Hotspot: components/system/Taskbar/AI/AIChat.tsx components/system/Taskbar/AI/AIChat.tsx:200 — components/system/Taskbar/AI/AIChat.tsx changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 119 in AIChat.AIChat at line 200. 3 of those changes were fix/bug commits, and the other 3 changed it for other reasons — this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one — a file this often edited pays the complexity back every time. Counted over 2026-07-23..2026-10-21, the 90 days ending at the analysed commit. Reproduce with `git log --since='2026-07-23 20:45:53 -07:00' --until='2026-10-21 20:45:53 -07:00' --full-history --no-merges -- components/system/Taskbar/AI/AIChat.tsx`: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each — a difference of several commits on a file whose history was re-landed or reverted inside the window.
  • Hotspot: components/system/Files/FileEntry/index.tsx components/system/Files/FileEntry/index.tsx:138 — components/system/Files/FileEntry/index.tsx changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 115 in index.FileEntry at line 138. 2 of those changes were fix/bug commits, and the other 4 changed it for other reasons — this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one — a file this often edited pays the complexity back every time. Counted over 2026-07-23..2026-10-21, the 90 days ending at the analysed commit. Reproduce with `git log --since='2026-07-23 20:45:53 -07:00' --until='2026-10-21 20:45:53 -07:00' --full-history --no-merges -- components/system/Files/FileEntry/index.tsx`: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each — a difference of several commits on a file whose history was re-landed or reverted inside the window.
  • Hotspot: components/system/Files/FileEntry/functions.ts components/system/Files/FileEntry/functions.ts:348 — components/system/Files/FileEntry/functions.ts changed 7 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 88 in functions.getInfoWithExtension at line 348. 1 of those changes was a fix/bug commit, and the other 6 changed it for other reasons — this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one — a file this often edited pays the complexity back every time. Counted over 2026-07-23..2026-10-21, the 90 days ending at the analysed commit. Reproduce with `git log --since='2026-07-23 20:45:53 -07:00' --until='2026-10-21 20:45:53 -07:00' --full-history --no-merges -- components/system/Files/FileEntry/functions.ts`: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each — a difference of several commits on a file whose history was re-landed or reverted inside the window.
  • Hotspot: components/system/Desktop/Wallpapers/Galaxy/generate.ts components/system/Desktop/Wallpapers/Galaxy/generate.ts:473 — components/system/Desktop/Wallpapers/Galaxy/generate.ts changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 97 in generate.generateGalaxy at line 473. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-07-23..2026-10-21, the 90 days ending at the analysed commit. Reproduce with `git log --since='2026-07-23 20:45:53 -07:00' --until='2026-10-21 20:45:53 -07:00' --full-history --no-merges -- components/system/Desktop/Wallpapers/Galaxy/generate.ts`: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each — a difference of several commits on a file whose history was re-landed or reverted inside the window.
  • Hotspot: components/system/Taskbar/Search/index.tsx components/system/Taskbar/Search/index.tsx:119 — components/system/Taskbar/Search/index.tsx changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 93 in index.Search at line 119. 2 of those changes were fix/bug commits, and the other 4 changed it for other reasons — this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one — a file this often edited pays the complexity back every time. Counted over 2026-07-23..2026-10-21, the 90 days ending at the analysed commit. Reproduce with `git log --since='2026-07-23 20:45:53 -07:00' --until='2026-10-21 20:45:53 -07:00' --full-history --no-merges -- components/system/Taskbar/Search/index.tsx`: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each — a difference of several commits on a file whose history was re-landed or reverted inside the window.
  • Hotspot: components/apps/VideoPlayer/useVideoPlayer.ts components/apps/VideoPlayer/useVideoPlayer.ts:44 — components/apps/VideoPlayer/useVideoPlayer.ts changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 84 in useVideoPlayer.useVideoPlayer at line 44. 3 of those changes were fix/bug commits, and the other 3 changed it for other reasons — this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one — a file this often edited pays the complexity back every time. Counted over 2026-07-23..2026-10-21, the 90 days ending at the analysed commit. Reproduce with `git log --since='2026-07-23 20:45:53 -07:00' --until='2026-10-21 20:45:53 -07:00' --full-history --no-merges -- components/apps/VideoPlayer/useVideoPlayer.ts`: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each — a difference of several commits on a file whose history was re-landed or reverted inside the window.
  • Hotspot: contexts/session/useSessionContextState.ts contexts/session/useSessionContextState.ts:51 — contexts/session/useSessionContextState.ts changed 7 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 67 in useSessionContextState.useSessionContextState at line 51. 3 of those changes were fix/bug commits, and the other 4 changed it for other reasons — this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one — a file this often edited pays the complexity back every time. Counted over 2026-07-23..2026-10-21, the 90 days ending at the analysed commit. Reproduce with `git log --since='2026-07-23 20:45:53 -07:00' --until='2026-10-21 20:45:53 -07:00' --full-history --no-merges -- contexts/session/useSessionContextState.ts`: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each — a difference of several commits on a file whose history was re-landed or reverted inside the window.
  • Hotspot: components/system/Files/FileManager/index.tsx components/system/Files/FileManager/index.tsx:66 — components/system/Files/FileManager/index.tsx changed 8 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 55 in index.FileManager at line 66. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-07-23..2026-10-21, the 90 days ending at the analysed commit. Reproduce with `git log --since='2026-07-23 20:45:53 -07:00' --until='2026-10-21 20:45:53 -07:00' --full-history --no-merges -- components/system/Files/FileManager/index.tsx`: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each — a difference of several commits on a file whose history was re-landed or reverted inside the window.
  • Hotspot: contexts/fileSystem/useFileSystemContextState.ts contexts/fileSystem/useFileSystemContextState.ts:160 — contexts/fileSystem/useFileSystemContextState.ts changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 85 in useFileSystemContextState.useFileSystemContextState at line 160. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-07-23..2026-10-21, the 90 days ending at the analysed commit. Reproduce with `git log --since='2026-07-23 20:45:53 -07:00' --until='2026-10-21 20:45:53 -07:00' --full-history --no-merges -- contexts/fileSystem/useFileSystemContextState.ts`: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each — a difference of several commits on a file whose history was re-landed or reverted inside the window.
  • Hotspot: components/system/Files/FileEntry/useFileContextMenu.ts components/system/Files/FileEntry/useFileContextMenu.ts:104 — components/system/Files/FileEntry/useFileContextMenu.ts changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 81 in useFileContextMenu.useFileContextMenu at line 104. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-07-23..2026-10-21, the 90 days ending at the analysed commit. Reproduce with `git log --since='2026-07-23 20:45:53 -07:00' --until='2026-10-21 20:45:53 -07:00' --full-history --no-merges -- components/system/Files/FileEntry/useFileContextMenu.ts`: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each — a difference of several commits on a file whose history was re-landed or reverted inside the window.
  • Hotspot: components/system/Files/FileManager/useFileKeyboardShortcuts.ts components/system/Files/FileManager/useFileKeyboardShortcuts.ts:147 — components/system/Files/FileManager/useFileKeyboardShortcuts.ts changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 80 in useFileKeyboardShortcuts.useFileKeyboardShortcuts.<returned closure> at line 147. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-07-23..2026-10-21, the 90 days ending at the analysed commit. Reproduce with `git log --since='2026-07-23 20:45:53 -07:00' --until='2026-10-21 20:45:53 -07:00' --full-history --no-merges -- components/system/Files/FileManager/useFileKeyboardShortcuts.ts`: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each — a difference of several commits on a file whose history was re-landed or reverted inside the window.
  • Hotspot: components/system/Menu/index.tsx components/system/Menu/index.tsx:58 — components/system/Menu/index.tsx changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 77 in index.Menu at line 58. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-07-23..2026-10-21, the 90 days ending at the analysed commit. Reproduce with `git log --since='2026-07-23 20:45:53 -07:00' --until='2026-10-21 20:45:53 -07:00' --full-history --no-merges -- components/system/Menu/index.tsx`: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each — a difference of several commits on a file whose history was re-landed or reverted inside the window.
  • Hotspot: components/apps/Browser/index.tsx components/apps/Browser/index.tsx:67 — components/apps/Browser/index.tsx changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 73 in index.Browser at line 67. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-07-23..2026-10-21, the 90 days ending at the analysed commit. Reproduce with `git log --since='2026-07-23 20:45:53 -07:00' --until='2026-10-21 20:45:53 -07:00' --full-history --no-merges -- components/apps/Browser/index.tsx`: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each — a difference of several commits on a file whose history was re-landed or reverted inside the window.
  • Hotspot: components/system/Dialogs/Run/index.tsx components/system/Dialogs/Run/index.tsx:57 — components/system/Dialogs/Run/index.tsx changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 48 in index.Run at line 57. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-07-23..2026-10-21, the 90 days ending at the analysed commit. Reproduce with `git log --since='2026-07-23 20:45:53 -07:00' --until='2026-10-21 20:45:53 -07:00' --full-history --no-merges -- components/system/Dialogs/Run/index.tsx`: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each — a difference of several commits on a file whose history was re-landed or reverted inside the window.
  • Hotspot: REDACTED REDACTED:48 — REDACTED changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 45 in ResultEntry.ResultEntry at line 48. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-07-23..2026-10-21, the 90 days ending at the analysed commit. Reproduce with `git log --since='2026-07-23 20:45:53 -07:00' --until='2026-10-21 20:45:53 -07:00' --full-history --no-merges -- REDACTED`: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each — a difference of several commits on a file whose history was re-landed or reverted inside the window.
  • Hotspot: components/system/Dialogs/Properties/GeneralTab.tsx components/system/Dialogs/Properties/GeneralTab.tsx:49 — components/system/Dialogs/Properties/GeneralTab.tsx changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 48 in GeneralTab.GeneralTab at line 49. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-07-23..2026-10-21, the 90 days ending at the analysed commit. Reproduce with `git log --since='2026-07-23 20:45:53 -07:00' --until='2026-10-21 20:45:53 -07:00' --full-history --no-merges -- components/system/Dialogs/Properties/GeneralTab.tsx`: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each — a difference of several commits on a file whose history was re-landed or reverted inside the window.
  • Hotspot: hooks/useGlobalKeyboardShortcuts.ts hooks/useGlobalKeyboardShortcuts.ts:112 — hooks/useGlobalKeyboardShortcuts.ts changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 46 in useGlobalKeyboardShortcuts.useGlobalKeyboardShortcuts at line 112. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-07-23..2026-10-21, the 90 days ending at the analysed commit. Reproduce with `git log --since='2026-07-23 20:45:53 -07:00' --until='2026-10-21 20:45:53 -07:00' --full-history --no-merges -- hooks/useGlobalKeyboardShortcuts.ts`: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each — a difference of several commits on a file whose history was re-landed or reverted inside the window.
  • Hotspot: utils/desktopFly/app.ts utils/desktopFly/app.ts:1373 — utils/desktopFly/app.ts changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 46 in FlyApp.senseFrame at line 1373. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-07-23..2026-10-21, the 90 days ending at the analysed commit. Reproduce with `git log --since='2026-07-23 20:45:53 -07:00' --until='2026-10-21 20:45:53 -07:00' --full-history --no-merges -- utils/desktopFly/app.ts`: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each — a difference of several commits on a file whose history was re-landed or reverted inside the window.
  • Hotspot: components/system/Menu/MenuItemEntry.tsx components/system/Menu/MenuItemEntry.tsx:34 — components/system/Menu/MenuItemEntry.tsx changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 50 in MenuItemEntry.MenuItemEntry at line 34. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-07-23..2026-10-21, the 90 days ending at the analysed commit. Reproduce with `git log --since='2026-07-23 20:45:53 -07:00' --until='2026-10-21 20:45:53 -07:00' --full-history --no-merges -- components/system/Menu/MenuItemEntry.tsx`: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each — a difference of several commits on a file whose history was re-landed or reverted inside the window.
  • Hotspot: components/apps/Photos/index.tsx components/apps/Photos/index.tsx:45 — components/apps/Photos/index.tsx changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 39 in index.Photos at line 45. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-07-23..2026-10-21, the 90 days ending at the analysed commit. Reproduce with `git log --since='2026-07-23 20:45:53 -07:00' --until='2026-10-21 20:45:53 -07:00' --full-history --no-merges -- components/apps/Photos/index.tsx`: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each — a difference of several commits on a file whose history was re-landed or reverted inside the window.
  • Hotspot: components/apps/Messenger/ProfileBanner.tsx components/apps/Messenger/ProfileBanner.tsx:43 — components/apps/Messenger/ProfileBanner.tsx changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 28 in ProfileBanner.ProfileBanner at line 43. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-07-23..2026-10-21, the 90 days ending at the analysed commit. Reproduce with `git log --since='2026-07-23 20:45:53 -07:00' --until='2026-10-21 20:45:53 -07:00' --full-history --no-merges -- components/apps/Messenger/ProfileBanner.tsx`: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each — a difference of several commits on a file whose history was re-landed or reverted inside the window.
  • Hotspot: components/apps/MonacoEditor/useMonaco.ts components/apps/MonacoEditor/useMonaco.ts:29 — components/apps/MonacoEditor/useMonaco.ts changed 7 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 24 in useMonaco.useMonaco at line 29. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-07-23..2026-10-21, the 90 days ending at the analysed commit. Reproduce with `git log --since='2026-07-23 20:45:53 -07:00' --until='2026-10-21 20:45:53 -07:00' --full-history --no-merges -- components/apps/MonacoEditor/useMonaco.ts`: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each — a difference of several commits on a file whose history was re-landed or reverted inside the window.
  • + 36 more in this group — see findings.md.
D3 · God Classes · FunctionTooLong · ×47
  • FunctionTooLong: generate.generateGalaxy components/system/Desktop/Wallpapers/Galaxy/generate.ts:473 — FunctionTooLong — generateGalaxy runs 870 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 770 over it, 8.70× the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body — the runs of statements that work on the same values and would earn the same name — into its own named unit, and have this one call them in order.
  • FunctionTooLong: renderer.createGalaxyRenderer components/system/Desktop/Wallpapers/Galaxy/renderer.ts:369 — FunctionTooLong — createGalaxyRenderer runs 532 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 432 over it, 5.32× the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body — the runs of statements that work on the same values and would earn the same name — into its own named unit, and have this one call them in order.
  • FunctionTooLong: useFolder.useFolder components/system/Files/FileManager/useFolder.ts:172 — FunctionTooLong — useFolder runs 439 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 339 over it, 4.39× the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body — the runs of statements that work on the same values and would earn the same name — into its own named unit, and have this one call them in order.
  • FunctionTooLong: index.FileEntry components/system/Files/FileEntry/index.tsx:138 — FunctionTooLong — FileEntry runs 405 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 305 over it, 4.05× the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body — the runs of statements that work on the same values and would earn the same name — into its own named unit, and have this one call them in order.
  • FunctionTooLong: index.Search components/system/Taskbar/Search/index.tsx:119 — FunctionTooLong — Search runs 401 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 301 over it, 4.01× the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body — the runs of statements that work on the same values and would earn the same name — into its own named unit, and have this one call them in order.
  • FunctionTooLong: useFileSystemContextState.useFileSystemContextState contexts/fileSystem/useFileSystemContextState.ts:160 — FunctionTooLong — useFileSystemContextState runs 376 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 276 over it, 3.76× the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body — the runs of statements that work on the same values and would earn the same name — into its own named unit, and have this one call them in order.
  • FunctionTooLong: functions.getInfoWithExtension components/system/Files/FileEntry/functions.ts:348 — FunctionTooLong — getInfoWithExtension runs 331 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 231 over it, 3.31× the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body — the runs of statements that work on the same values and would earn the same name — into its own named unit, and have this one call them in order.
  • FunctionTooLong: index.Browser components/apps/Browser/index.tsx:67 — FunctionTooLong — Browser runs 320 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 220 over it, 3.20× the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body — the runs of statements that work on the same values and would earn the same name — into its own named unit, and have this one call them in order.
  • FunctionTooLong: useSessionContextState.useSessionContextState contexts/session/useSessionContextState.ts:51 — FunctionTooLong — useSessionContextState runs 290 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 190 over it, 2.90× the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body — the runs of statements that work on the same values and would earn the same name — into its own named unit, and have this one call them in order.
  • FunctionTooLong: useVideoPlayer.useVideoPlayer components/apps/VideoPlayer/useVideoPlayer.ts:44 — FunctionTooLong — useVideoPlayer runs 286 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 186 over it, 2.86× the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body — the runs of statements that work on the same values and would earn the same name — into its own named unit, and have this one call them in order.
  • FunctionTooLong: useFolderContextMenu.useFolderContextMenu components/system/Files/FileManager/useFolderContextMenu.ts:147 — FunctionTooLong — useFolderContextMenu runs 273 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 173 over it, 2.73× the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body — the runs of statements that work on the same values and would earn the same name — into its own named unit, and have this one call them in order.
  • FunctionTooLong: useFileKeyboardShortcuts.useFileKeyboardShortcuts components/system/Files/FileManager/useFileKeyboardShortcuts.ts:107 — FunctionTooLong — useFileKeyboardShortcuts runs 240 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 140 over it, 2.40× the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body — the runs of statements that work on the same values and would earn the same name — into its own named unit, and have this one call them in order.
  • FunctionTooLong: index.FileManager components/system/Files/FileManager/index.tsx:66 — FunctionTooLong — FileManager runs 234 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 134 over it, 2.34× the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body — the runs of statements that work on the same values and would earn the same name — into its own named unit, and have this one call them in order.
  • FunctionTooLong: useFileKeyboardShortcuts.useFileKeyboardShortcuts.<returned closure> components/system/Files/FileManager/useFileKeyboardShortcuts.ts:147 — FunctionTooLong — useFileKeyboardShortcuts.<returned closure> runs 208 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 108 over it, 2.08× the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body — the runs of statements that work on the same values and would earn the same name — into its own named unit, and have this one call them in order.
  • FunctionTooLong: render.shade utils/desktopFly/render.ts:37 — FunctionTooLong — shade runs 206 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 106 over it, 2.06× the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body — the runs of statements that work on the same values and would earn the same name — into its own named unit, and have this one call them in order.
  • FunctionTooLong: index.Menu components/system/Menu/index.tsx:58 — FunctionTooLong — Menu runs 194 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 94 over it, 1.94× the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body — the runs of statements that work on the same values and would earn the same name — into its own named unit, and have this one call them in order.
  • FunctionTooLong: index.Run components/system/Dialogs/Run/index.tsx:57 — FunctionTooLong — Run runs 190 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 90 over it, 1.90× the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body — the runs of statements that work on the same values and would earn the same name — into its own named unit, and have this one call them in order.
  • FunctionTooLong: MenuItemEntry.MenuItemEntry components/system/Menu/MenuItemEntry.tsx:34 — FunctionTooLong — MenuItemEntry runs 165 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 65 over it, 1.65× the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body — the runs of statements that work on the same values and would earn the same name — into its own named unit, and have this one call them in order.
  • FunctionTooLong: useWebamp.useWebamp components/apps/Webamp/useWebamp.ts:96 — FunctionTooLong — useWebamp runs 158 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 58 over it, 1.58× the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body — the runs of statements that work on the same values and would earn the same name — into its own named unit, and have this one call them in order.
  • FunctionTooLong: useAsyncFs.useAsyncFs contexts/fileSystem/useAsyncFs.ts:95 — FunctionTooLong — useAsyncFs runs 152 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 52 over it, 1.52× the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body — the runs of statements that work on the same values and would earn the same name — into its own named unit, and have this one call them in order.
  • FunctionTooLong: useTinyMCE.useTinyMCE components/apps/TinyMCE/useTinyMCE.ts:37 — FunctionTooLong — useTinyMCE runs 148 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 48 over it, 1.48× the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body — the runs of statements that work on the same values and would earn the same name — into its own named unit, and have this one call them in order.
  • FunctionTooLong: useDraggableEntries.useDraggableEntries components/system/Files/FileManager/useDraggableEntries.ts:47 — FunctionTooLong — useDraggableEntries runs 146 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 46 over it, 1.46× the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body — the runs of statements that work on the same values and would earn the same name — into its own named unit, and have this one call them in order.
  • FunctionTooLong: ProfileBanner.ProfileBanner components/apps/Messenger/ProfileBanner.tsx:43 — FunctionTooLong — ProfileBanner runs 142 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 42 over it, 1.42× the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body — the runs of statements that work on the same values and would earn the same name — into its own named unit, and have this one call them in order.
  • FunctionTooLong: index.NostrChat components/apps/Messenger/index.tsx:58 — FunctionTooLong — NostrChat runs 142 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 42 over it, 1.42× the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body — the runs of statements that work on the same values and would earn the same name — into its own named unit, and have this one call them in order.
  • FunctionTooLong: index.Photos components/apps/Photos/index.tsx:45 — FunctionTooLong — Photos runs 140 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 40 over it, 1.40× the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body — the runs of statements that work on the same values and would earn the same name — into its own named unit, and have this one call them in order.
  • + 22 more in this group — see findings.md.
R4 · Test Coverage · No test reaches this file · ×40
  • No test reaches this file components/system/Desktop/Wallpapers/useWallpaper.ts:1 — No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL — if neither does, no test reaches this one.
  • No test reaches this file components/system/Desktop/Wallpapers/handlers.ts:1 — No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL — if neither does, no test reaches this one.
  • No test reaches this file components/system/Taskbar/TaskbarEntry/Peek/functions.ts:1 — No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL — if neither does, no test reaches this one.
  • No test reaches this file components/system/Taskbar/Clock/index.tsx:1 — No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL — if neither does, no test reaches this one.
  • No test reaches this file components/system/Taskbar/TaskbarEntry/Peek/useWindowPeek.ts:1 — No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL — if neither does, no test reaches this one.
  • No test reaches this file components/system/Taskbar/TaskbarEntry/Peek/PeekWindow.tsx:1 — No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL — if neither does, no test reaches this one.
  • No test reaches this file components/system/Taskbar/TaskbarEntry/index.tsx:1 — No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL — if neither does, no test reaches this one.
  • No test reaches this file components/system/Taskbar/Clock/clock.worker.ts:1 — No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL — if neither does, no test reaches this one.
  • No test reaches this file components/system/Taskbar/AI/ai.worker.ts:1 — No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL — if neither does, no test reaches this one.
  • No test reaches this file components/pages/hooks/useFaviconAndTitle.tsx:1 — No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL — if neither does, no test reaches this one.
  • No test reaches this file components/system/Taskbar/TaskbarEntry/StyledTaskbarEntry.ts:1 — No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL — if neither does, no test reaches this one.
  • No test reaches this file styles/GlobalStyle.ts:1 — No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL — if neither does, no test reaches this one.
  • No test reaches this file components/system/Taskbar/index.tsx:1 — No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL — if neither does, no test reaches this one.
  • No test reaches this file components/system/Desktop/Wallpapers/Galaxy/wallpaper.worker.ts:1 — No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL — if neither does, no test reaches this one.
  • No test reaches this file components/system/Taskbar/TaskbarEntry/Peek/StyledPeekWindow.ts:1 — No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL — if neither does, no test reaches this one.
  • No test reaches this file hooks/useUrlLoader.ts:1 — No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL — if neither does, no test reaches this one.
  • No test reaches this file components/pages/Metadata.tsx:1 — No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL — if neither does, no test reaches this one.
  • No test reaches this file components/system/Taskbar/StartButton/index.tsx:1 — No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL — if neither does, no test reaches this one.
  • No test reaches this file components/system/Desktop/Wallpapers/vantaWaves/wallpaper.worker.ts:1 — No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL — if neither does, no test reaches this one.
  • No test reaches this file components/system/Taskbar/Clock/ntp.ts:1 — No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL — if neither does, no test reaches this one.
  • No test reaches this file components/system/Taskbar/TaskbarEntry/Peek/usePeekTransition.ts:1 — No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL — if neither does, no test reaches this one.
  • No test reaches this file pages/_document.tsx:1 — No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL — if neither does, no test reaches this one.
  • No test reaches this file components/system/Taskbar/Search/SearchButton.tsx:1 — No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL — if neither does, no test reaches this one.
  • No test reaches this file components/system/Taskbar/StyledTaskbarButton.ts:1 — No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL — if neither does, no test reaches this one.
  • No test reaches this file utils/resizeImage.worker.ts:1 — No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL — if neither does, no test reaches this one.
  • + 15 more in this group — see findings.md.
X3 · Exception handling · Swallowed exception (empty catch) · ×39
  • Swallowed exception (empty catch) utils/closeEffectShaders.ts:561 — `.catch(() => {})` handles the rejection by doing nothing — the failure is discarded with no log and no rethrow, and the chain carries on as if the work succeeded. Log it through whatever this codebase already uses to report problems, hand it to a caller that can (`next(error)`, a returned rejection), or don't catch it.
  • Swallowed exception (empty catch) utils/functions.ts:97 — `.catch(() => {})` handles the rejection by doing nothing — the failure is discarded with no log and no rethrow, and the chain carries on as if the work succeeded. Log it through whatever this codebase already uses to report problems, hand it to a caller that can (`next(error)`, a returned rejection), or don't catch it.
  • Swallowed exception (empty catch) utils/functions.ts:551 — 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.
  • Swallowed exception (empty catch) utils/functions.ts:927 — 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.
  • Swallowed exception (empty catch) utils/functions.ts:1118 — 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.
  • Swallowed exception (empty catch) utils/functions.ts:1135 — 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.
  • Swallowed exception (empty catch) utils/imageDecoder.ts:137 — 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.
  • Swallowed exception (empty catch) utils/ipfs.ts:96 — 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.
  • Swallowed exception (empty catch) utils/keyboard.ts:160 — 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.
  • Swallowed exception (empty catch) utils/resizeImage.worker.ts:19 — `.catch(() => {})` handles the rejection by doing nothing — the failure is discarded with no log and no rethrow, and the chain carries on as if the work succeeded. Log it through whatever this codebase already uses to report problems, hand it to a caller that can (`next(error)`, a returned rejection), or don't catch it.
  • Swallowed exception (empty catch) utils/search.ts:68 — 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.
  • Swallowed exception (empty catch) utils/search.ts:95 — 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.
  • Swallowed exception (empty catch) utils/zipFunctions.ts:169 — 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.
  • Swallowed exception (empty catch) utils/desktopFly/audio.ts:117 — `.catch(() => {})` handles the rejection by doing nothing — the failure is discarded with no log and no rethrow, and the chain carries on as if the work succeeded. Log it through whatever this codebase already uses to report problems, hand it to a caller that can (`next(error)`, a returned rejection), or don't catch it.
  • Swallowed exception (empty catch) utils/desktopFly/audio.ts:170 — 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.
  • Swallowed exception (empty catch) utils/desktopFly/audio.ts:174 — `.catch(() => {})` handles the rejection by doing nothing — the failure is discarded with no log and no rethrow, and the chain carries on as if the work succeeded. Log it through whatever this codebase already uses to report problems, hand it to a caller that can (`next(error)`, a returned rejection), or don't catch it.
  • Swallowed exception (empty catch) utils/desktopFly/audio.ts:189 — 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.
  • Swallowed exception (empty catch) utils/desktopFly/brain.worker.ts:134 — `.catch(() => {})` handles the rejection by doing nothing — the failure is discarded with no log and no rethrow, and the chain carries on as if the work succeeded. Log it through whatever this codebase already uses to report problems, hand it to a caller that can (`next(error)`, a returned rejection), or don't catch it.
  • Swallowed exception (empty catch) styles/common/Icon.tsx:115 — 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.
  • Swallowed exception (empty catch) hooks/useSnapshots.ts:40 — 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.
  • Swallowed exception (empty catch) hooks/useSnapshots.ts:47 — 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.
  • Swallowed exception (empty catch) hooks/useUrlLoader.ts:72 — 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.
  • Swallowed exception (empty catch) contexts/viewport/useViewportContextState.ts:24 — 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.
  • Swallowed exception (empty catch) contexts/viewport/useViewportContextState.ts:40 — 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.
  • Swallowed exception (empty catch) contexts/viewport/useViewportContextState.ts:67 — 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.
  • + 14 more in this group — see findings.md.
AC3 · Page structure · Page without a main landmark · ×30
  • Page without a main landmark public/Program Files/Browser/dino/index.html:2 — No <main> (or role="main") means no "skip to content" target and a weaker landmark map. Wrap the primary content in <main>.
  • Page without a main landmark public/Program Files/jspaint/help/default.html:2 — No <main> (or role="main") means no "skip to content" target and a weaker landmark map. Wrap the primary content in <main>.
  • Page without a main landmark public/Program Files/jspaint/help/memcopy.html:2 — No <main> (or role="main") means no "skip to content" target and a weaker landmark map. Wrap the primary content in <main>.
  • Page without a main landmark public/Program Files/jspaint/help/online_support.htm:2 — No <main> (or role="main") means no "skip to content" target and a weaker landmark map. Wrap the primary content in <main>.
  • Page without a main landmark public/Program Files/jspaint/help/paint_airbrush.html:2 — No <main> (or role="main") means no "skip to content" target and a weaker landmark map. Wrap the primary content in <main>.
  • Page without a main landmark public/Program Files/jspaint/help/paint_blackwhite.html:2 — No <main> (or role="main") means no "skip to content" target and a weaker landmark map. Wrap the primary content in <main>.
  • Page without a main landmark public/Program Files/jspaint/help/paint_brush.html:2 — No <main> (or role="main") means no "skip to content" target and a weaker landmark map. Wrap the primary content in <main>.
  • Page without a main landmark public/Program Files/jspaint/help/paint_change_color.html:2 — No <main> (or role="main") means no "skip to content" target and a weaker landmark map. Wrap the primary content in <main>.
  • Page without a main landmark public/Program Files/jspaint/help/paint_change_size.html:2 — No <main> (or role="main") means no "skip to content" target and a weaker landmark map. Wrap the primary content in <main>.
  • Page without a main landmark public/Program Files/jspaint/help/paint_clear_image.html:2 — No <main> (or role="main") means no "skip to content" target and a weaker landmark map. Wrap the primary content in <main>.
  • Page without a main landmark public/Program Files/jspaint/help/paint_color_box.html:2 — No <main> (or role="main") means no "skip to content" target and a weaker landmark map. Wrap the primary content in <main>.
  • Page without a main landmark public/Program Files/jspaint/help/paint_curves.html:2 — No <main> (or role="main") means no "skip to content" target and a weaker landmark map. Wrap the primary content in <main>.
  • Page without a main landmark public/Program Files/jspaint/help/paint_custom_colors.html:2 — No <main> (or role="main") means no "skip to content" target and a weaker landmark map. Wrap the primary content in <main>.
  • Page without a main landmark public/Program Files/jspaint/help/paint_cutout_copy_move.html:2 — No <main> (or role="main") means no "skip to content" target and a weaker landmark map. Wrap the primary content in <main>.
  • Page without a main landmark public/Program Files/jspaint/help/paint_cutout_save.html:2 — No <main> (or role="main") means no "skip to content" target and a weaker landmark map. Wrap the primary content in <main>.
  • Page without a main landmark public/Program Files/jspaint/help/paint_cutout_select.html:2 — No <main> (or role="main") means no "skip to content" target and a weaker landmark map. Wrap the primary content in <main>.
  • Page without a main landmark public/Program Files/jspaint/help/paint_enlarge_area.html:2 — No <main> (or role="main") means no "skip to content" target and a weaker landmark map. Wrap the primary content in <main>.
  • Page without a main landmark public/Program Files/jspaint/help/paint_erase_large.html:2 — No <main> (or role="main") means no "skip to content" target and a weaker landmark map. Wrap the primary content in <main>.
  • Page without a main landmark public/Program Files/jspaint/help/paint_erase_small.html:2 — No <main> (or role="main") means no "skip to content" target and a weaker landmark map. Wrap the primary content in <main>.
  • Page without a main landmark public/Program Files/jspaint/help/paint_fill.html:2 — No <main> (or role="main") means no "skip to content" target and a weaker landmark map. Wrap the primary content in <main>.
  • Page without a main landmark public/Program Files/jspaint/help/paint_flip_picture.html:2 — No <main> (or role="main") means no "skip to content" target and a weaker landmark map. Wrap the primary content in <main>.
  • Page without a main landmark public/Program Files/jspaint/help/paint_freeform_lines.html:2 — No <main> (or role="main") means no "skip to content" target and a weaker landmark map. Wrap the primary content in <main>.
  • Page without a main landmark public/Program Files/jspaint/help/paint_grid.html:2 — No <main> (or role="main") means no "skip to content" target and a weaker landmark map. Wrap the primary content in <main>.
  • Page without a main landmark public/Program Files/jspaint/help/paint_insert_file.html:2 — No <main> (or role="main") means no "skip to content" target and a weaker landmark map. Wrap the primary content in <main>.
  • Page without a main landmark public/Program Files/jspaint/help/paint_invert.html:2 — No <main> (or role="main") means no "skip to content" target and a weaker landmark map. Wrap the primary content in <main>.
  • + 5 more in this group — see findings.md.
AC4 · Keyboard semantics · Anchor without href · ×24
  • Anchor without href public/Program Files/jspaint/help/paint_airbrush.html:17 — 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.
  • Anchor without href public/Program Files/jspaint/help/paint_brush.html:17 — 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.
  • Anchor without href public/Program Files/jspaint/help/paint_clear_image.html:17 — 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.
  • Anchor without href public/Program Files/jspaint/help/paint_curves.html:18 — 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.
  • Anchor without href public/Program Files/jspaint/help/paint_cutout_copy_move.html:15 — 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.
  • Anchor without href public/Program Files/jspaint/help/paint_cutout_copy_move.html:16 — 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.
  • Anchor without href public/Program Files/jspaint/help/paint_erase_large.html:18 — 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.
  • Anchor without href public/Program Files/jspaint/help/paint_erase_small.html:18 — 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.
  • Anchor without href public/Program Files/jspaint/help/paint_erase_small.html:19 — 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.
  • Anchor without href public/Program Files/jspaint/help/paint_fill.html:17 — 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.
  • Anchor without href public/Program Files/jspaint/help/paint_flip_picture.html:15 — 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.
  • Anchor without href public/Program Files/jspaint/help/paint_flip_picture.html:16 — 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.
  • Anchor without href public/Program Files/jspaint/help/paint_freeform_lines.html:16 — 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.
  • Anchor without href public/Program Files/jspaint/help/paint_lines.html:17 — 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.
  • Anchor without href public/Program Files/jspaint/help/paint_not_in_color_box.html:19 — 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.
  • Anchor without href public/Program Files/jspaint/help/paint_ovals.html:19 — 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.
  • Anchor without href public/Program Files/jspaint/help/paint_polygons.html:18 — 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.
  • Anchor without href public/Program Files/jspaint/help/paint_rectangles.html:17 — 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.
  • Anchor without href public/Program Files/jspaint/help/paint_set_default_colors.html:11 — 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.
  • Anchor without href public/Program Files/jspaint/help/paint_set_default_colors.html:12 — 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.
  • Anchor without href public/Program Files/jspaint/help/paint_skew_picture.html:17 — 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.
  • Anchor without href public/Program Files/jspaint/help/paint_skew_picture.html:18 — 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.
  • Anchor without href public/Program Files/jspaint/help/paint_trans_opaque.html:10 — 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.
  • Anchor without href public/Program Files/jspaint/src/help.js:370 — 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.
R11 · Import Boundaries · Boundary violation [package · ×21
  • Boundary violation [package:third-party-deep-import] components/apps/Chess/index.tsx:2 — components/apps/Chess/index.tsx:2 imports @chrisoakman/chessboard2/dist/chessboard2.min.mjs, reaching past a declared dependency's public entry into its build output — that path is the package's toolchain layout, not its API, and a minor version bump can relocate it with no semver signal. Import from the package's documented entry point instead.
  • Boundary violation [package:third-party-deep-import] components/apps/JSDOS/types.ts:1 — components/apps/JSDOS/types.ts:1 imports emulators-ui/dist/types/js-dos, reaching past a declared dependency's public entry into its build output — that path is the package's toolchain layout, not its API, and a minor version bump can relocate it with no semver signal. Import from the package's documented entry point instead.
  • Boundary violation [package:third-party-deep-import] components/apps/JSDOS/useDosCI.ts:3 — components/apps/JSDOS/useDosCI.ts:3 imports emulators-ui/dist/types/js-dos, reaching past a declared dependency's public entry into its build output — that path is the package's toolchain layout, not its API, and a minor version bump can relocate it with no semver signal. Import from the package's documented entry point instead.
  • Boundary violation [package:third-party-deep-import] components/apps/JSDOS/useJSDOS.ts:2 — components/apps/JSDOS/useJSDOS.ts:2 imports emulators-ui/dist/types/js-dos, reaching past a declared dependency's public entry into its build output — that path is the package's toolchain layout, not its API, and a minor version bump can relocate it with no semver signal. Import from the package's documented entry point instead.
  • Boundary violation [package:third-party-deep-import] components/apps/Photos/usePanZoom.ts:3 — components/apps/Photos/usePanZoom.ts:3 imports @panzoom/panzoom/dist/src/types, reaching past a declared dependency's public entry into its build output — that path is the package's toolchain layout, not its API, and a minor version bump can relocate it with no semver signal. Import from the package's documented entry point instead.
  • Boundary violation [package:third-party-deep-import] components/apps/Terminal/loadWapm.ts:183 — components/apps/Terminal/loadWapm.ts:183 imports wasi-js/dist/bindings/browser, reaching past a declared dependency's public entry into its build output — that path is the package's toolchain layout, not its API, and a minor version bump can relocate it with no semver signal. Import from the package's documented entry point instead.
  • Boundary violation [package:third-party-deep-import] components/apps/Terminal/processGit.ts:2 — components/apps/Terminal/processGit.ts:2 imports browserfs/dist/node/core/FS, reaching past a declared dependency's public entry into its build output — that path is the package's toolchain layout, not its API, and a minor version bump can relocate it with no semver signal. Import from the package's documented entry point instead.
  • Boundary violation [package:third-party-deep-import] components/system/Apps/AppContainer.tsx:3 — components/system/Apps/AppContainer.tsx:3 imports styled-components/dist/types, reaching past a declared dependency's public entry into its build output — that path is the package's toolchain layout, not its API, and a minor version bump can relocate it with no semver signal. Import from the package's documented entry point instead.
  • Boundary violation [package:third-party-deep-import] components/system/Files/FileEntry/functions.ts:2 — components/system/Files/FileEntry/functions.ts:2 imports browserfs/dist/node/core/FS, reaching past a declared dependency's public entry into its build output — that path is the package's toolchain layout, not its API, and a minor version bump can relocate it with no semver signal. Import from the package's documented entry point instead.
  • Boundary violation [package:third-party-deep-import] components/system/Files/FileManager/useFolder.ts:2 — components/system/Files/FileManager/useFolder.ts:2 imports browserfs/dist/node/core/api_error, reaching past a declared dependency's public entry into its build output — that path is the package's toolchain layout, not its API, and a minor version bump can relocate it with no semver signal. Import from the package's documented entry point instead.
  • Boundary violation [package:third-party-deep-import] components/system/Taskbar/Search/functions.ts:2 — components/system/Taskbar/Search/functions.ts:2 imports browserfs/dist/node/core/FS, reaching past a declared dependency's public entry into its build output — that path is the package's toolchain layout, not its API, and a minor version bump can relocate it with no semver signal. Import from the package's documented entry point instead.
  • Boundary violation [package:third-party-deep-import] contexts/fileSystem/useAsyncFs.ts:5 — contexts/fileSystem/useAsyncFs.ts:5 imports browserfs/dist/node/core/FS, reaching past a declared dependency's public entry into its build output — that path is the package's toolchain layout, not its API, and a minor version bump can relocate it with no semver signal. Import from the package's documented entry point instead.
  • Boundary violation [package:third-party-deep-import] contexts/fileSystem/useAsyncFs.ts:6 — contexts/fileSystem/useAsyncFs.ts:6 imports browserfs/dist/node/core/node_fs_stats, reaching past a declared dependency's public entry into its build output — that path is the package's toolchain layout, not its API, and a minor version bump can relocate it with no semver signal. Import from the package's documented entry point instead.
  • Boundary violation [package:third-party-deep-import] contexts/fileSystem/useFileSystemContextState.ts:5 — contexts/fileSystem/useFileSystemContextState.ts:5 imports browserfs/dist/node/core/api_error, reaching past a declared dependency's public entry into its build output — that path is the package's toolchain layout, not its API, and a minor version bump can relocate it with no semver signal. Import from the package's documented entry point instead.
  • Boundary violation [package:third-party-deep-import] contexts/fileSystem/useFileSystemContextState.ts:6 — contexts/fileSystem/useFileSystemContextState.ts:6 imports browserfs/dist/node/core/file_system, reaching past a declared dependency's public entry into its build output — that path is the package's toolchain layout, not its API, and a minor version bump can relocate it with no semver signal. Import from the package's documented entry point instead.
  • Boundary violation [package:third-party-deep-import] contexts/fileSystem/useFileSystemContextState.ts:10 — contexts/fileSystem/useFileSystemContextState.ts:10 imports browserfs/dist/node/core/FS, reaching past a declared dependency's public entry into its build output — that path is the package's toolchain layout, not its API, and a minor version bump can relocate it with no semver signal. Import from the package's documented entry point instead.
  • Boundary violation [package:third-party-deep-import] contexts/session/useSessionContextState.ts:2 — contexts/session/useSessionContextState.ts:2 imports browserfs/dist/node/core/api_error, reaching past a declared dependency's public entry into its build output — that path is the package's toolchain layout, not its API, and a minor version bump can relocate it with no semver signal. Import from the package's documented entry point instead.
  • Boundary violation [package:third-party-deep-import] utils/imageDecoder.ts:78 — utils/imageDecoder.ts:78 imports ani-cursor/dist/parser, reaching past a declared dependency's public entry into its build output — that path is the package's toolchain layout, not its API, and a minor version bump can relocate it with no semver signal. Import from the package's documented entry point instead.
  • Boundary violation [package:third-party-deep-import] utils/imageDecoder.ts:128 — utils/imageDecoder.ts:128 imports ani-cursor/dist/parser, reaching past a declared dependency's public entry into its build output — that path is the package's toolchain layout, not its API, and a minor version bump can relocate it with no semver signal. Import from the package's documented entry point instead.
  • Boundary violation [package:third-party-deep-import] utils/imageDecoder.ts:151 — utils/imageDecoder.ts:151 imports ani-cursor/dist/parser, reaching past a declared dependency's public entry into its build output — that path is the package's toolchain layout, not its API, and a minor version bump can relocate it with no semver signal. Import from the package's documented entry point instead.
  • Boundary violation [package:third-party-deep-import] utils/search.ts:3 — utils/search.ts:3 imports browserfs/dist/node/core/file_system, reaching past a declared dependency's public entry into its build output — that path is the package's toolchain layout, not its API, and a minor version bump can relocate it with no semver signal. Import from the package's documented entry point instead.
X2 · Cancellation propagation · Async function without AbortSignal · ×15
  • Async function without AbortSignal: fetchBlob utils/functions.ts:235 — `fetchBlob` 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 })`.
  • Async function without AbortSignal: copyBufferUrl utils/functions.ts:256 — `copyBufferUrl` 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 })`.
  • Async function without AbortSignal: fitImageToDecodeLimit utils/functions.ts:944 — `fitImageToDecodeLimit` 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 })`.
  • Async function without AbortSignal: getIpfsResource utils/ipfs.ts:105 — `getIpfsResource` 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 })`.
  • Async function without AbortSignal: search utils/search.ts:51 — `search` 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 })`.
  • Async function without AbortSignal: mountHttpRequestFs contexts/fileSystem/useFileSystemContextState.ts:322 — `mountHttpRequestFs` 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 })`.
  • Async function without AbortSignal: getNtpResponse components/system/Taskbar/Clock/ntp.ts:23 — `getNtpResponse` 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 })`.
  • Async function without AbortSignal: action components/system/Files/FileManager/useFolderContextMenu.ts:521 — `action` 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 })`.
  • Async function without AbortSignal: getTokenizer components/system/Desktop/Wallpapers/StableDiffusion/index.ts:24 — `getTokenizer` 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 })`.
  • Async function without AbortSignal: handleUrl components/apps/Webamp/useWebamp.ts:69 — `handleUrl` 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 })`.
  • Async function without AbortSignal: fetchCommandFromWAPM components/apps/Terminal/loadWapm.ts:96 — `fetchCommandFromWAPM` 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 })`.
  • Async function without AbortSignal: runCommand components/apps/Terminal/useCommandInterpreter.ts:244 — `runCommand` 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 })`.
  • Async function without AbortSignal: nsLookup components/apps/Terminal/useCommandInterpreter.ts:933 — `nsLookup` 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 })`.
  • Async function without AbortSignal: fetchNip05Json components/apps/Messenger/functions.ts:168 — `fetchNip05Json` 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 })`.
  • Async function without AbortSignal: WAYBACK_MACHINE REDACTED:91 — `WAYBACK_MACHINE` 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 })`.
D3 · God Classes · FileTooLong · ×13
  • FileTooLong: Galaxy/generate.ts components/system/Desktop/Wallpapers/Galaxy/generate.ts — FileTooLong — 1133 significant lines (blank, comment-only and punctuation-only lines excluded), about 77% of them inside a single declaration: generateGalaxy (473-1681). The bar is 500 significant lines; this is 633 over it, 2.27× the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body — the parts that share the same inputs and are named together — into its own unit in a sibling file, and have the original call them.
  • FileTooLong: Terminal/useCommandInterpreter.ts components/apps/Terminal/useCommandInterpreter.ts — FileTooLong — 977 significant lines (blank, comment-only and punctuation-only lines excluded), about 89% of them inside a single declaration: useCommandInterpreter (130-1323). The bar is 500 significant lines; this is 477 over it, 1.95× the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body — the parts that share the same inputs and are named together — into its own unit in a sibling file, and have the original call them.
  • FileTooLong: desktopFly/fly.ts utils/desktopFly/fly.ts — FileTooLong — 963 significant lines (blank, comment-only and punctuation-only lines excluded), about 88% of them inside a single declaration: Fly (297-1912). The bar is 500 significant lines; this is 463 over it, 1.93× the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body — the parts that share the same inputs and are named together — into its own unit in a sibling file, and have the original call them.
  • FileTooLong: desktopFly/app.ts utils/desktopFly/app.ts — FileTooLong — 948 significant lines (blank, comment-only and punctuation-only lines excluded), about 79% of them inside a single declaration: FlyApp (361-1725). The bar is 500 significant lines; this is 448 over it, 1.90× the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body — the parts that share the same inputs and are named together — into its own unit in a sibling file, and have the original call them.
  • FileTooLong: utils/functions.ts utils/functions.ts — FileTooLong — 944 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 444 over it, 1.89× the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them.
  • FileTooLong: AI/AIChat.tsx components/system/Taskbar/AI/AIChat.tsx — FileTooLong — 852 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 352 over it, 1.70× the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them.
  • FileTooLong: desktopFly/lif.ts utils/desktopFly/lif.ts — FileTooLong — 827 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 327 over it, 1.65× the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them.
  • FileTooLong: Galaxy/renderer.ts components/system/Desktop/Wallpapers/Galaxy/renderer.ts — FileTooLong — 776 significant lines (blank, comment-only and punctuation-only lines excluded), about 69% of them inside a single declaration: createGalaxyRenderer (369-1153). The bar is 500 significant lines; this is 276 over it, 1.55× the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body — the parts that share the same inputs and are named together — into its own unit in a sibling file, and have the original call them.
  • FileTooLong: FileEntry/functions.ts components/system/Files/FileEntry/functions.ts — FileTooLong — 680 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 180 over it, 1.36× the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them.
  • FileTooLong: Chess/index.tsx components/apps/Chess/index.tsx — FileTooLong — 661 significant lines (blank, comment-only and punctuation-only lines excluded), about 90% of them inside a single declaration: Chess (92-972). The bar is 500 significant lines; this is 161 over it, 1.32× the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body — the parts that share the same inputs and are named together — into its own unit in a sibling file, and have the original call them.
  • FileTooLong: FileManager/useFolder.ts components/system/Files/FileManager/useFolder.ts — FileTooLong — 580 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 80 over it, 1.16× the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them.
  • FileTooLong: FileEntry/index.tsx components/system/Files/FileEntry/index.tsx — FileTooLong — 524 significant lines (blank, comment-only and punctuation-only lines excluded), about 77% of them inside a single declaration: FileEntry (138-660). The bar is 500 significant lines; this is 24 over it, 1.05× the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body — the parts that share the same inputs and are named together — into its own unit in a sibling file, and have the original call them.
  • FileTooLong: fileSystem/useFileSystemContextState.ts contexts/fileSystem/useFileSystemContextState.ts — FileTooLong — 509 significant lines (blank, comment-only and punctuation-only lines excluded), about 74% of them inside a single declaration: useFileSystemContextState (160-703). The bar is 500 significant lines; this is 9 over it, 1.02× the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body — the parts that share the same inputs and are named together — into its own unit in a sibling file, and have the original call them.
D15 · Churn × Complexity Hotspots · Repeated repair · ×9
  • Repeated repair: components/apps/Messenger/ChatLog.tsx components/apps/Messenger/ChatLog.tsx:25 — components/apps/Messenger/ChatLog.tsx changed 5 times in last 90 days and 3 of those changes were fix/bug commits, so repair is the majority of this file's churn. Its max cyclomatic complexity is 13 (its worst body is ChatLog.ChatLog at line 25), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn × complexity hotspot — the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: “A11y upgrades + bug fixes”; “Upgrade to React Compiler + bug fixes & improvements”; “Fixes, upgrades & overhauls to Talos & Messenger”. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-07-23..2026-10-21, the 90 days ending at the analysed commit. Reproduce with `git log --since='2026-07-23 20:45:53 -07:00' --until='2026-10-21 20:45:53 -07:00' --full-history --no-merges -- components/apps/Messenger/ChatLog.tsx`: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each — a difference of several commits on a file whose history was re-landed or reverted inside the window.
  • Repeated repair: components/apps/Messenger/Contact.tsx components/apps/Messenger/Contact.tsx:26 — components/apps/Messenger/Contact.tsx changed 5 times in last 90 days and 3 of those changes were fix/bug commits, so repair is the majority of this file's churn. Its max cyclomatic complexity is 10 (its worst body is Contact.Contact at line 26), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn × complexity hotspot — the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: “A11y upgrades + bug fixes”; “Upgrade to React Compiler + bug fixes & improvements”; “Fixes, upgrades & overhauls to Talos & Messenger”. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-07-23..2026-10-21, the 90 days ending at the analysed commit. Reproduce with `git log --since='2026-07-23 20:45:53 -07:00' --until='2026-10-21 20:45:53 -07:00' --full-history --no-merges -- components/apps/Messenger/Contact.tsx`: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each — a difference of several commits on a file whose history was re-landed or reverted inside the window.
  • Repeated repair: components/apps/Messenger/SendMessage.tsx components/apps/Messenger/SendMessage.tsx:14 — components/apps/Messenger/SendMessage.tsx changed 5 times in last 90 days and 3 of those changes were fix/bug commits, so repair is the majority of this file's churn. Its max cyclomatic complexity is 10 (its worst body is SendMessage.SendMessage at line 14), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn × complexity hotspot — the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: “A11y upgrades + bug fixes”; “Upgrade to React Compiler + bug fixes & improvements”; “Fixes, upgrades & overhauls to Talos & Messenger”. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-07-23..2026-10-21, the 90 days ending at the analysed commit. Reproduce with `git log --since='2026-07-23 20:45:53 -07:00' --until='2026-10-21 20:45:53 -07:00' --full-history --no-merges -- components/apps/Messenger/SendMessage.tsx`: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each — a difference of several commits on a file whose history was re-landed or reverted inside the window.
  • Repeated repair: components/system/Files/FileManager/useFocusableEntries.ts components/system/Files/FileManager/useFocusableEntries.ts:89 — components/system/Files/FileManager/useFocusableEntries.ts changed 5 times in last 90 days and 3 of those changes were fix/bug commits, so repair is the majority of this file's churn. Its max cyclomatic complexity is 7 (its worst body is useFocusableEntries.useFocusableEntries.focusableEntry.onMouseUp at line 89), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn × complexity hotspot — the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: “A11y upgrades + bug fixes”; “Upgrade to React Compiler + bug fixes & improvements”; “Fix icon spacing in File Explorer”. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-07-23..2026-10-21, the 90 days ending at the analysed commit. Reproduce with `git log --since='2026-07-23 20:45:53 -07:00' --until='2026-10-21 20:45:53 -07:00' --full-history --no-merges -- components/system/Files/FileManager/useFocusableEntries.ts`: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each — a difference of several commits on a file whose history was re-landed or reverted inside the window.
  • Repeated repair: components/system/Window/Titlebar/useWindowActions.ts components/system/Window/Titlebar/useWindowActions.ts:17 — components/system/Window/Titlebar/useWindowActions.ts changed 5 times in last 90 days and 3 of those changes were fix/bug commits, so repair is the majority of this file's churn. Its max cyclomatic complexity is 5 (its worst body is useWindowActions.useWindowActions.onMinimize at line 17), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn × complexity hotspot — the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: “A11y upgrades + bug fixes”; “Upgrade to React Compiler + bug fixes & improvements”; “Allow restoring max + fix max going off screen”. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-07-23..2026-10-21, the 90 days ending at the analysed commit. Reproduce with `git log --since='2026-07-23 20:45:53 -07:00' --until='2026-10-21 20:45:53 -07:00' --full-history --no-merges -- components/system/Window/Titlebar/useWindowActions.ts`: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each — a difference of several commits on a file whose history was re-landed or reverted inside the window.
  • Repeated repair: components/system/Window/index.tsx components/system/Window/index.tsx:12 — components/system/Window/index.tsx changed 5 times in last 90 days and 3 of those changes were fix/bug commits, so repair is the majority of this file's churn. Its max cyclomatic complexity is 7 (its worst body is index.Window at line 12), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn × complexity hotspot — the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: “A11y upgrades + bug fixes”; “Upgrade to React Compiler + bug fixes & improvements”; “Allow restoring max + fix max going off screen”. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-07-23..2026-10-21, the 90 days ending at the analysed commit. Reproduce with `git log --since='2026-07-23 20:45:53 -07:00' --until='2026-10-21 20:45:53 -07:00' --full-history --no-merges -- components/system/Window/index.tsx`: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each — a difference of several commits on a file whose history was re-landed or reverted inside the window.
  • Repeated repair: components/apps/Messenger/To.tsx components/apps/Messenger/To.tsx:33 — components/apps/Messenger/To.tsx changed 4 times in last 90 days and 3 of those changes were fix/bug commits, so repair is the majority of this file's churn. Its max cyclomatic complexity is 11 (its worst body is To.To at line 33), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn × complexity hotspot — the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: “A11y upgrades + bug fixes”; “Upgrade to React Compiler + bug fixes & improvements”; “Fixes, upgrades & overhauls to Talos & Messenger”. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-07-23..2026-10-21, the 90 days ending at the analysed commit. Reproduce with `git log --since='2026-07-23 20:45:53 -07:00' --until='2026-10-21 20:45:53 -07:00' --full-history --no-merges -- components/apps/Messenger/To.tsx`: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each — a difference of several commits on a file whose history was re-landed or reverted inside the window.
  • Repeated repair: components/system/Window/functions.ts components/system/Window/functions.ts:61 — components/system/Window/functions.ts changed 4 times in last 90 days and 3 of those changes were fix/bug commits, so repair is the majority of this file's churn. Its max cyclomatic complexity is 11 (its worst body is functions.isWindowOutsideBounds at line 61), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn × complexity hotspot — the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: “A11y upgrades + bug fixes”; “Allow restoring max + fix max going off screen”; “Fix aspect ratio not calc'ing right”. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-07-23..2026-10-21, the 90 days ending at the analysed commit. Reproduce with `git log --since='2026-07-23 20:45:53 -07:00' --until='2026-10-21 20:45:53 -07:00' --full-history --no-merges -- components/system/Window/functions.ts`: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each — a difference of several commits on a file whose history was re-landed or reverted inside the window.
  • Repeated repair: components/system/Window/useFocusable.ts components/system/Window/useFocusable.ts:40 — components/system/Window/useFocusable.ts changed 4 times in last 90 days and 3 of those changes were fix/bug commits, so repair is the majority of this file's churn. Its max cyclomatic complexity is 9 (its worst body is useFocusable.useFocusable.onBlurCapture at line 40), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn × complexity hotspot — the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: “A11y upgrades + bug fixes”; “Upgrade to React Compiler + bug fixes & improvements”; “Fix the focus stack so closed windows leave it”. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-07-23..2026-10-21, the 90 days ending at the analysed commit. Reproduce with `git log --since='2026-07-23 20:45:53 -07:00' --until='2026-10-21 20:45:53 -07:00' --full-history --no-merges -- components/system/Window/useFocusable.ts`: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each — a difference of several commits on a file whose history was re-landed or reverted inside the window.
D10 · Test Quality · Skipped test · ×8
  • Skipped test: (unnamed test) e2e/keyboard.spec.ts:330 — Skipped — switched off by test.skip
  • Skipped test: (unnamed test) e2e/components/system/Apps.spec.ts:28 — Skipped — switched off by test.skip
  • Skipped test: (unnamed test) e2e/components/system/Taskbar.spec.ts:208 — Skipped — switched off by test.skip
  • Skipped test: (unnamed test) e2e/components/apps/FileExplorer.spec.ts:267 — Skipped — switched off by test.skip
  • Skipped test: (unnamed test) e2e/components/apps/FileExplorer.spec.ts:365 — Skipped — switched off by test.skip
  • Skipped test: (unnamed test) e2e/components/apps/FileExplorer.spec.ts:406 — Skipped — switched off by test.skip
  • Skipped test: (unnamed test) e2e/components/apps/Terminal.spec.ts:316 — Skipped — switched off by test.skip
  • Skipped test: (unnamed test) e2e/components/apps/index.spec.ts:25 — Skipped — switched off by test.skip
D30 · Dependency Vulnerabilities · Medium CVE · ×8
  • REDACTED
  • REDACTED
  • REDACTED
  • REDACTED
  • REDACTED
  • REDACTED
  • REDACTED
  • REDACTED
D3 · God Classes · MethodTooLong · ×5
  • MethodTooLong: CompiledCircuit.constructor utils/desktopFly/lif.ts:380 — MethodTooLong — constructor runs 235 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 135 over it, 2.35× the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body — the runs of statements that work on the same values and would earn the same name — into its own named unit, and have this one call them in order.
  • MethodTooLong: FlyApp.senseFrame utils/desktopFly/app.ts:1373 — MethodTooLong — senseFrame runs 191 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 91 over it, 1.91× the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body — the runs of statements that work on the same values and would earn the same name — into its own named unit, and have this one call them in order.
  • MethodTooLong: Lif.stepOneMs utils/desktopFly/lif.ts:1004 — MethodTooLong — stepOneMs runs 163 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 63 over it, 1.63× the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body — the runs of statements that work on the same values and would earn the same name — into its own named unit, and have this one call them in order.
  • MethodTooLong: Fly.startFlight utils/desktopFly/fly.ts:598 — MethodTooLong — startFlight runs 106 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 6 over it, 1.06× the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body — the runs of statements that work on the same values and would earn the same name — into its own named unit, and have this one call them in order.
  • MethodTooLong: Lif.updateRates utils/desktopFly/lif.ts:1318 — MethodTooLong — updateRates runs 101 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 1 over it, 1.01× the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body — the runs of statements that work on the same values and would earn the same name — into its own named unit, and have this one call them in order.
D31 · IaC & Container Security · Medium IaC · ×5
  • REDACTED
  • REDACTED
  • REDACTED
  • REDACTED
  • REDACTED
X1 · Async correctness · `async` callback passed to `forEach` · ×5
  • `async` callback passed to `forEach` components/system/Files/FileManager/useFileKeyboardShortcuts.ts:239 — `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.
  • `async` callback passed to `forEach` components/system/Files/FileEntry/functions.ts:769 — `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.
  • `async` callback passed to `forEach` components/system/Files/FileEntry/useFileContextMenu.ts:183 — `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.
  • `async` callback passed to `forEach` components/system/Files/FileEntry/useFileContextMenu.ts:372 — `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.
  • `async` callback passed to `forEach` components/system/Files/FileEntry/useFileContextMenu.ts:409 — `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.
AC3 · Page structure · Heading level jumps from h2 to h4 · ×4
  • Heading level jumps from h2 to h4 components/system/Dialogs/OpenWith/index.tsx:162 — Skipping heading levels breaks the document outline assistive tech relies on. Don't jump levels — increase by at most one.
  • Heading level jumps from h2 to h4 components/system/Taskbar/AI/AIChat.tsx:744 — Skipping heading levels breaks the document outline assistive tech relies on. Don't jump levels — increase by at most one.
  • Heading level jumps from h2 to h4 components/system/Taskbar/AI/AIChat.tsx:757 — Skipping heading levels breaks the document outline assistive tech relies on. Don't jump levels — increase by at most one.
  • Heading level jumps from h2 to h4 components/system/Taskbar/Search/index.tsx:511 — Skipping heading levels breaks the document outline assistive tech relies on. Don't jump levels — increase by at most one.
D3 · God Classes · ClassTooLong · ×4
  • ClassTooLong: useCommandInterpreter components/apps/Terminal/useCommandInterpreter.ts:1 — ClassTooLong — 868 significant lines (blank, comment-only and punctuation-only lines excluded), 3 methods. The bar is 400 significant lines; this is 468 over it, 2.17× the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility.
  • ClassTooLong: Fly utils/desktopFly/fly.ts:297 — ClassTooLong — 850 significant lines (blank, comment-only and punctuation-only lines excluded), 30 methods. The bar is 400 significant lines; this is 450 over it, 2.13× the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility.
  • ClassTooLong: FlyApp utils/desktopFly/app.ts:361 — ClassTooLong — 748 significant lines (blank, comment-only and punctuation-only lines excluded), 28 methods. The bar is 400 significant lines; this is 348 over it, 1.87× the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility.
  • ClassTooLong: Lif utils/desktopFly/lif.ts:698 — ClassTooLong — 438 significant lines (blank, comment-only and punctuation-only lines excluded), 12 methods. The bar is 400 significant lines; this is 38 over it, 1.10× the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility.
R10 · Code Duplication · Duplicated block (10 lines × 2 locations) · ×4
  • Duplicated block (10 lines × 2 locations) components/system/Desktop/Wallpapers/Galaxy/generate.ts:1464 — components/system/Desktop/Wallpapers/Galaxy/generate.ts:1464 · components/system/Desktop/Wallpapers/Galaxy/generate.ts:1514 — 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.
  • Duplicated block (10 lines × 2 locations) components/system/Desktop/Wallpapers/Galaxy/generate.ts:1486 — components/system/Desktop/Wallpapers/Galaxy/generate.ts:1486 · components/system/Desktop/Wallpapers/Galaxy/generate.ts:1512 — 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.
  • Duplicated block (10 lines × 2 locations) components/system/Files/FileEntry/useFileContextMenu.ts:207 — components/system/Files/FileEntry/useFileContextMenu.ts:207 · components/system/Files/FileManager/useFolderContextMenu.ts:499 — 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.
  • Duplicated block (10 lines × 2 locations) utils/desktopFly/senses.ts:230 — utils/desktopFly/senses.ts:230 · utils/desktopFly/senses.ts:261 — 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.
X24 · Document value interpolated into markup unescaped · Untrusted text written into markup unescaped · ×4
  • Untrusted text written into markup unescaped components/system/Files/FileEntry/functions.ts:616 — `contents.toString()` 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.
  • Untrusted text written into markup unescaped components/system/Taskbar/AI/AIChat.tsx:818 — `formatMarkdown(thoughts as string,markedLoaded,!isResponding)` is text this program did not author, and it is written into the text of an element through `dangerouslySetInnerHTML` 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.
  • Untrusted text written into markup unescaped components/system/Taskbar/AI/AIChat.tsx:831 — `withCanvas?GENERATE_RESPONSE:type==="ai"?formatMarkdown(answer,markedLoaded,!isResponding):escapeHtml(answer)` is text this program did not author, and it is written into the text of an element through `dangerouslySetInnerHTML` 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.
  • Untrusted text written into markup unescaped REDACTED:176 — `name` is text this program did not author, and it is written into the text of an element through `dangerouslySetInnerHTML` 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.
D12 · Dependency Hygiene · Deprecated · ×3
  • Deprecated: music-metadata-browser REDACTED:76 — music-metadata-browser 2.5.11, declared in REDACTED, is marked deprecated by its publisher: "No longer support, superseded by music-metadata". Replace it with the package or version that message names, or record why this one must stay.
  • Deprecated: emulators-ui REDACTED:116 — emulators-ui 0.73.9, declared in REDACTED, is marked deprecated by its publisher: "Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.". Replace it with the package or version that message names, or record why this one must stay.
  • Deprecated: xterm REDACTED:148 — xterm 5.3.0, declared in REDACTED, is marked deprecated by its publisher: "This package is now deprecated. Move to @xterm/xterm instead.". Replace it with the package or version that message names, or record why this one must stay.
R10 · Code Duplication · Duplicated block (6 lines × 2 locations) · ×3
  • Duplicated block (6 lines × 2 locations) scripts/cacheShortcuts.js:9 — scripts/cacheShortcuts.js:9 · scripts/preloadIcons.js:92 — 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.
  • Duplicated block (6 lines × 2 locations) scripts/minifyJs.js:50 — scripts/minifyJs.js:50 · scripts/rssBuilder.js:19 — 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.
  • Duplicated block (6 lines × 2 locations) utils/keyboard.ts:504 — utils/keyboard.ts:504 · utils/keyboard.ts:514 — 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.
AC1 · Text alternatives · <canvas> without a text alternative · ×2
  • <canvas> without a text alternative components/system/Taskbar/TaskbarEntry/Peek/PeekWindow.tsx:141 — 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.
  • <canvas> without a text alternative public/Program Files/jspaint/lib/tracky-mouse/tracky-mouse.js:52 — 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.
D1 · Cyclomatic Complexity · useWallpaper.useWallpaper · ×2
  • useWallpaper.useWallpaper::loadFileWallpaper (cyclomatic 31) components/system/Desktop/Wallpapers/useWallpaper.ts:298 — useWallpaper.useWallpaper::loadFileWallpaper has cyclomatic complexity 31 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This shape REPEATS in the file: one other method here (useWallpaper.useWallpaper::loadWallpaper) has the same decision points, in the same order, at the same nesting depths — so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared.
  • useWallpaper.useWallpaper::loadWallpaper (cyclomatic 27) components/system/Desktop/Wallpapers/useWallpaper.ts:111 — useWallpaper.useWallpaper::loadWallpaper has cyclomatic complexity 27 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This shape REPEATS in the file: one other method here (useWallpaper.useWallpaper::loadFileWallpaper) has the same decision points, in the same order, at the same nesting depths — so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared.
D12 · Dependency Hygiene · Floating npm dependency · ×2
  • Floating npm dependency: Burn-My-Windows — `Burn-My-Windows` is declared as `https://github.com/Schneegans/Burn-My-Windows` in REDACTED, which names no releasable version: a remote tarball URL can be replaced in place without the version changing. A production dependency that cannot be resolved to one immutable release makes the build non-reproducible — two installs a day apart can ship different code — and leaves nothing for a vulnerability scanner to match against.
  • Floating npm dependency: utif — `utif` is declared as `https://github.com/photopea/UTIF.js` in REDACTED, which names no releasable version: a remote tarball URL can be replaced in place without the version changing. A production dependency that cannot be resolved to one immutable release makes the build non-reproducible — two installs a day apart can ship different code — and leaves nothing for a vulnerability scanner to match against.
D2 · Cognitive Complexity · useWallpaper.useWallpaper · ×2
  • useWallpaper.useWallpaper::loadFileWallpaper (cognitive 56) components/system/Desktop/Wallpapers/useWallpaper.ts:298 — useWallpaper.useWallpaper::loadFileWallpaper has cognitive complexity 56 (threshold 15). Drivers by points: if/else 20 (39 pts), boolean chains 7, error handling 2 (6 pts), loops 1 (2 pts), ternaries 1 (2 pts) (nesting depth added 25). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: one other method here (useWallpaper.useWallpaper::loadWallpaper) has the same decision points, in the same order, at the same nesting depths — so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared.
  • useWallpaper.useWallpaper::loadWallpaper (cognitive 30) components/system/Desktop/Wallpapers/useWallpaper.ts:111 — useWallpaper.useWallpaper::loadWallpaper has cognitive complexity 30 (threshold 15). Drivers by points: if/else 15 (21 pts), boolean chains 7, ternaries 1 (2 pts) (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: one other method here (useWallpaper.useWallpaper::loadFileWallpaper) has the same decision points, in the same order, at the same nesting depths — so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared.
R10 · Code Duplication · Duplicated block (14 lines × 2 locations) · ×2
  • Duplicated block (14 lines × 2 locations) components/apps/Photos/index.tsx:62 — components/apps/Photos/index.tsx:62 · components/system/Desktop/Wallpapers/useWallpaper.ts:392 — 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.
  • Duplicated block (14 lines × 2 locations) utils/desktopFly/terrain.ts:25 — utils/desktopFly/terrain.ts:25 · utils/desktopFly/vision.ts:31 — 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.
R10 · Code Duplication · Duplicated block (12 lines × 2 locations) · ×2
  • Duplicated block (12 lines × 2 locations) components/apps/Terminal/useCommandInterpreter.ts:1058 — components/apps/Terminal/useCommandInterpreter.ts:1058 · components/apps/Terminal/useCommandInterpreter.ts:1077 — 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.
  • Duplicated block (12 lines × 2 locations) components/system/Desktop/Wallpapers/ShaderToy/CoastalLandscape/wallpaper.worker.ts:6 — components/system/Desktop/Wallpapers/ShaderToy/CoastalLandscape/wallpaper.worker.ts:6 · components/system/Desktop/Wallpapers/hexells/wallpaper.worker.ts:6 — 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.
R10 · Code Duplication · Duplicated block (9 lines × 2 locations) · ×2
  • Duplicated block (9 lines × 2 locations) components/apps/JSDOS/useDosCI.ts:84 — components/apps/JSDOS/useDosCI.ts:84 · components/apps/V86/useV86.ts:99 — 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.
  • Duplicated block (9 lines × 2 locations) components/apps/Terminal/useCommandInterpreter.ts:549 — components/apps/Terminal/useCommandInterpreter.ts:549 · components/apps/Terminal/useCommandInterpreter.ts:1182 — 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.
R10 · Code Duplication · Duplicated block (7 lines × 3 locations) · ×2
  • Duplicated block (7 lines × 3 locations) components/system/Desktop/Wallpapers/ShaderToy/CoastalLandscape/wallpaper.worker.ts:11 — components/system/Desktop/Wallpapers/ShaderToy/CoastalLandscape/wallpaper.worker.ts:11 · components/system/Desktop/Wallpapers/hexells/wallpaper.worker.ts:11 · components/system/Desktop/Wallpapers/vantaWaves/wallpaper.worker.ts:19 — the 3 copies are spread across 3 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.
  • Duplicated block (7 lines × 3 locations) utils/desktopFly/senses.ts:83 — utils/desktopFly/senses.ts:83 · utils/desktopFly/senses.ts:238 · utils/desktopFly/senses.ts:270 — all 3 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.
R2 · Cyclomatic Complexity · Complex function (anonymous) (cyclomatic 20, cognitive 25) · ×2
  • Complex function (anonymous) (cyclomatic 20, cognitive 25) components/apps/Terminal/loadWapm.ts:159 — (anonymous) has cyclomatic complexity 20 and cognitive complexity 25; 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.
  • Complex function (anonymous) (cyclomatic 20, cognitive 25) components/system/Files/FileEntry/index.tsx:311 — (anonymous) has cyclomatic complexity 20 and cognitive complexity 25; 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.
AC3 · Page structure · Empty <h1> heading · ×1
  • Empty <h1> heading REDACTED:173 — An empty heading appears in the document outline announced with no text. Give the heading text, or remove it if it's decorative.
AC3 · Page structure · Heading level jumps from h1 to h3 · ×1
  • Heading level jumps from h1 to h3 components/system/Taskbar/Search/index.tsx:525 — Skipping heading levels breaks the document outline assistive tech relies on. Don't jump levels — increase by at most one.
AC4 · Keyboard semantics · Positive tabindex (1) · ×1
  • Positive tabindex (1) public/Program Files/jspaint/lib/pdf.js/web/viewer.html:44 — A positive tabindex forces a manual tab order that fights the DOM and is fragile. Use tabindex="0" (or restructure the DOM).
AC4 · Keyboard semantics · Positive tabindex (2) · ×1
  • Positive tabindex (2) public/Program Files/jspaint/lib/pdf.js/web/viewer.html:51 — A positive tabindex forces a manual tab order that fights the DOM and is fragile. Use tabindex="0" (or restructure the DOM).
AC4 · Keyboard semantics · Positive tabindex (3) · ×1
  • Positive tabindex (3) public/Program Files/jspaint/lib/pdf.js/web/viewer.html:54 — A positive tabindex forces a manual tab order that fights the DOM and is fragile. Use tabindex="0" (or restructure the DOM).
AC4 · Keyboard semantics · Positive tabindex (4) · ×1
  • Positive tabindex (4) public/Program Files/jspaint/lib/pdf.js/web/viewer.html:57 — A positive tabindex forces a manual tab order that fights the DOM and is fragile. Use tabindex="0" (or restructure the DOM).
AC4 · Keyboard semantics · Positive tabindex (5) · ×1
  • Positive tabindex (5) public/Program Files/jspaint/lib/pdf.js/web/viewer.html:60 — A positive tabindex forces a manual tab order that fights the DOM and is fragile. Use tabindex="0" (or restructure the DOM).
D1 · Cyclomatic Complexity · useCommandInterpreter.useCommandInterpreter · ×1
  • useCommandInterpreter.useCommandInterpreter::commandInterpreter::runCommand (cyclomatic 232) components/apps/Terminal/useCommandInterpreter.ts:244 — useCommandInterpreter.useCommandInterpreter::commandInterpreter::runCommand has cyclomatic complexity 232 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top.
D1 · Cyclomatic Complexity · index.Chess (cyclomatic 127) · ×1
  • index.Chess (cyclomatic 127) components/apps/Chess/index.tsx:92 — index.Chess has cyclomatic complexity 127 (threshold 15). Most of this is not in the body itself: 9 of the 127 points are its own statements and the rest belongs to 34 function items inside it that branch (computeStatus, applyEngineMove, a function literal at line 453, …). The named helpers are already separate functions; the literals' work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal's work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest.
D1 · Cyclomatic Complexity · AIChat.AIChat (cyclomatic 119) · ×1
  • AIChat.AIChat (cyclomatic 119) components/system/Taskbar/AI/AIChat.tsx:200 — AIChat.AIChat has cyclomatic complexity 119 (threshold 15). Of this number, 22 points are the body's own statements and 97 belong to 34 function items inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages.
D1 · Cyclomatic Complexity · index.FileEntry (cyclomatic 115) · ×1
  • index.FileEntry (cyclomatic 115) components/system/Files/FileEntry/index.tsx:138 — index.FileEntry has cyclomatic complexity 115 (threshold 15). Of this number, 31 points are the body's own statements and 84 belong to 15 function items inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top.
D1 · Cyclomatic Complexity · generate.generateGalaxy (cyclomatic 97) · ×1
  • generate.generateGalaxy (cyclomatic 97) components/system/Desktop/Wallpapers/Galaxy/generate.ts:473 — generate.generateGalaxy has cyclomatic complexity 97 (threshold 15). Of this number, 91 points are the body's own statements and 6 belong to one function item inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top.
D1 · Cyclomatic Complexity · functions.getInfoWithExtension (cyclomatic 88) · ×1
  • functions.getInfoWithExtension (cyclomatic 88) components/system/Files/FileEntry/functions.ts:348 — functions.getInfoWithExtension has cyclomatic complexity 88 (threshold 15). Of this number, 18 points are the body's own statements and 70 belong to 21 function items inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top.
D1 · Cyclomatic Complexity · useVideoPlayer.useVideoPlayer (cyclomatic 84) · ×1
  • useVideoPlayer.useVideoPlayer (cyclomatic 84) components/apps/VideoPlayer/useVideoPlayer.ts:44 — useVideoPlayer.useVideoPlayer has cyclomatic complexity 84 (threshold 15). Most of this is not in the body itself: 1 of the 84 points is its own statement and the rest belongs to 25 function items inside it that branch (canvasMode, a function literal at line 325, a function literal at line 147, …). The named helpers are already separate functions; the literals' work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal's work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest.
D1 · Cyclomatic Complexity · useFileContextMenu.useFileContextMenu (cyclomatic 81) · ×1
  • useFileContextMenu.useFileContextMenu (cyclomatic 81) components/system/Files/FileEntry/useFileContextMenu.ts:104 — useFileContextMenu.useFileContextMenu has cyclomatic complexity 81 (threshold 15). Most of this is not in the body itself: 1 of the 81 points is its own statement and the rest belongs to 13 function literals inside it that branch (lines 147, 209, 637, …). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals' work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest.
D1 · Cyclomatic Complexity · useFileKeyboardShortcuts.useFileKeyboardShortcuts.<returned closure> (cyclomatic 80) · ×1
  • useFileKeyboardShortcuts.useFileKeyboardShortcuts.<returned closure> (cyclomatic 80) components/system/Files/FileManager/useFileKeyboardShortcuts.ts:147 — useFileKeyboardShortcuts.useFileKeyboardShortcuts.<returned closure> has cyclomatic complexity 80 (threshold 15). Of this number, 59 points are the body's own statements and 21 belong to 5 function items inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top.
D1 · Cyclomatic Complexity · useSessionContextState.useSessionContextState (cyclomatic 67) · ×1
  • useSessionContextState.useSessionContextState (cyclomatic 67) contexts/session/useSessionContextState.ts:51 — useSessionContextState.useSessionContextState has cyclomatic complexity 67 (threshold 15). Most of this is not in the body itself: 1 of the 67 points is its own statement and the rest belongs to 14 function items inside it that branch (a function literal at line 250, a function literal at line 305, setAndUpdateIconPositions, …). The named helpers are already separate functions; the literals' work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal's work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest.
D1 · Cyclomatic Complexity · CompiledCircuit.constructor (cyclomatic 63) · ×1
  • CompiledCircuit.constructor (cyclomatic 63) utils/desktopFly/lif.ts:380 — CompiledCircuit.constructor has cyclomatic complexity 63 (threshold 15). Of this number, 30 points are the body's own statements and 33 belong to one function literal inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top.
D1 · Cyclomatic Complexity · index.FileManager (cyclomatic 55) · ×1
  • index.FileManager (cyclomatic 55) components/system/Files/FileManager/index.tsx:66 — index.FileManager has cyclomatic complexity 55 (threshold 15). Of this number, 31 points are the body's own statements and 24 belong to 12 function items inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top.
D1 · Cyclomatic Complexity · MenuItemEntry.MenuItemEntry (cyclomatic 50) · ×1
  • MenuItemEntry.MenuItemEntry (cyclomatic 50) components/system/Menu/MenuItemEntry.tsx:34 — MenuItemEntry.MenuItemEntry has cyclomatic complexity 50 (threshold 15). Of this number, 25 points are the body's own statements and 25 belong to 11 function items inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top.
D1 · Cyclomatic Complexity · GeneralTab.GeneralTab (cyclomatic 48) · ×1
  • GeneralTab.GeneralTab (cyclomatic 48) components/system/Dialogs/Properties/GeneralTab.tsx:49 — GeneralTab.GeneralTab has cyclomatic complexity 48 (threshold 15). Of this number, 25 points are the body's own statements and 23 belong to 7 function items inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top.
D1 · Cyclomatic Complexity · useGlobalKeyboardShortcuts.useGlobalKeyboardShortcuts (cyclomatic 46) · ×1
  • useGlobalKeyboardShortcuts.useGlobalKeyboardShortcuts (cyclomatic 46) hooks/useGlobalKeyboardShortcuts.ts:112 — useGlobalKeyboardShortcuts.useGlobalKeyboardShortcuts has cyclomatic complexity 46 (threshold 15). Most of this is not in the body itself: 1 of the 46 points is its own statement and the rest belongs to 9 function literals inside it that branch (lines 142, 218, 260, …). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals' work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest.
D1 · Cyclomatic Complexity · FlyApp.senseFrame (cyclomatic 46) · ×1
  • FlyApp.senseFrame (cyclomatic 46) utils/desktopFly/app.ts:1373 — FlyApp.senseFrame has cyclomatic complexity 46 (threshold 15). Most of this is not in the body itself: 13 of the 46 points are its own statements and the rest belongs to 4 function literals inside it that branch (lines 1410, 1556, 1424, …). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals' work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest.
D1 · Cyclomatic Complexity · ResultEntry.ResultEntry (cyclomatic 45) · ×1
  • ResultEntry.ResultEntry (cyclomatic 45) REDACTED:48 — ResultEntry.ResultEntry has cyclomatic complexity 45 (threshold 15). Of this number, 28 points are the body's own statements and 17 belong to 5 function items inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages.
D1 · Cyclomatic Complexity · Fly.brainBehavior (cyclomatic 45) · ×1
  • Fly.brainBehavior (cyclomatic 45) utils/desktopFly/fly.ts:1405 — Fly.brainBehavior has cyclomatic complexity 45 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages.
D1 · Cyclomatic Complexity · Lif.stepOneMs (cyclomatic 45) · ×1
  • Lif.stepOneMs (cyclomatic 45) utils/desktopFly/lif.ts:1004 — Lif.stepOneMs has cyclomatic complexity 45 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top.
D1 · Cyclomatic Complexity · useFolderContextMenu.useFolderContextMenu (cyclomatic 42) · ×1
  • useFolderContextMenu.useFolderContextMenu (cyclomatic 42) components/system/Files/FileManager/useFolderContextMenu.ts:147 — useFolderContextMenu.useFolderContextMenu has cyclomatic complexity 42 (threshold 15). Most of this is not in the body itself: 5 of the 42 points are its own statements and the rest belongs to 9 function items inside it that branch (a function literal at line 229, updateDesktopIconPositions, a function literal at line 416, …). The named helpers are already separate functions; the literals' work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal's work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest.
D1 · Cyclomatic Complexity · useAsyncFs.useAsyncFs (cyclomatic 42) · ×1
  • useAsyncFs.useAsyncFs (cyclomatic 42) contexts/fileSystem/useAsyncFs.ts:95 — useAsyncFs.useAsyncFs has cyclomatic complexity 42 (threshold 15). Most of this is not in the body itself: 1 of the 42 points is its own statement and the rest belongs to 17 function literals inside it that branch (lines 236, 124, 141, …). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals' work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest.
D1 · Cyclomatic Complexity · index.Photos (cyclomatic 39) · ×1
  • index.Photos (cyclomatic 39) components/apps/Photos/index.tsx:45 — index.Photos has cyclomatic complexity 39 (threshold 15). Most of this is not in the body itself: 11 of the 39 points are its own statements and the rest belongs to 6 function items inside it that branch (onKeyDown, onKeyDown::nextPhoto, loadPhoto, …). The named helpers are already separate functions; the literals' work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal's work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest.
D1 · Cyclomatic Complexity · useTerminal.useTerminal (cyclomatic 36) · ×1
  • useTerminal.useTerminal (cyclomatic 36) components/apps/Terminal/useTerminal.ts:39 — useTerminal.useTerminal has cyclomatic complexity 36 (threshold 15). Most of this is not in the body itself: 5 of the 36 points are its own statements and the rest belongs to 10 function literals inside it that branch (lines 59, 96, 176, …). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals' work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest.
D1 · Cyclomatic Complexity · FlyApp.pollVision (cyclomatic 35) · ×1
  • FlyApp.pollVision (cyclomatic 35) utils/desktopFly/app.ts:1079 — FlyApp.pollVision has cyclomatic complexity 35 (threshold 15). Most of this is not in the body itself: 1 of the 35 points is its own statement and the rest belongs to 2 function literals inside it that branch (lines 1082, 1122). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals' work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest.
D1 · Cyclomatic Complexity · index.Run · ×1
  • index.Run::runResource (cyclomatic 34) components/system/Dialogs/Run/index.tsx:74 — index.Run::runResource has cyclomatic complexity 34 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top.
D1 · Cyclomatic Complexity · index.Search (cyclomatic 33) · ×1
  • index.Search (cyclomatic 33) components/system/Taskbar/Search/index.tsx:119 — index.Search has cyclomatic complexity 33 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators. This shape REPEATS in the file: one other method here (index.Search::onKeyDown) has the same decision points, in the same order, at the same nesting depths — so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared.
D1 · Cyclomatic Complexity · index.FileExplorer (cyclomatic 31) · ×1
  • index.FileExplorer (cyclomatic 31) components/apps/FileExplorer/index.tsx:27 — index.FileExplorer has cyclomatic complexity 31 (threshold 15). Most of this is not in the body itself: 3 of the 31 points are its own statements and the rest belongs to 4 function items inside it that branch (onKeyDown, a function literal at line 86, a function literal at line 128, …). The named helpers are already separate functions; the literals' work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal's work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest.
D1 · Cyclomatic Complexity · index.Transfer (cyclomatic 30) · ×1
  • index.Transfer (cyclomatic 30) components/system/Dialogs/Transfer/index.tsx:22 — index.Transfer has cyclomatic complexity 30 (threshold 15). Of this number, 19 points are the body's own statements and 11 belong to 5 function literals inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top.
D1 · Cyclomatic Complexity · useDraggableEntries.useDraggableEntries (cyclomatic 30) · ×1
  • useDraggableEntries.useDraggableEntries (cyclomatic 30) components/system/Files/FileManager/useDraggableEntries.ts:47 — useDraggableEntries.useDraggableEntries has cyclomatic complexity 30 (threshold 15). Most of this is not in the body itself: 1 of the 30 points is its own statement and the rest belongs to 6 function items inside it that branch (a function literal at line 154, updateDragImage, a function literal at line 243, …). The named helpers are already separate functions; the literals' work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal's work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest.
D1 · Cyclomatic Complexity · useWindowPeek.useWindowPeek (cyclomatic 30) · ×1
  • useWindowPeek.useWindowPeek (cyclomatic 30) components/system/Taskbar/TaskbarEntry/Peek/useWindowPeek.ts:23 — useWindowPeek.useWindowPeek has cyclomatic complexity 30 (threshold 15). Most of this is not in the body itself: 2 of the 30 points are its own statements and the rest belongs to 8 function literals inside it that branch (lines 35, 103, 109, …). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals' work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest.
D1 · Cyclomatic Complexity · useV86.useV86 (cyclomatic 29) · ×1
  • useV86.useV86 (cyclomatic 29) components/apps/V86/useV86.ts:37 — useV86.useV86 has cyclomatic complexity 29 (threshold 15). Most of this is not in the body itself: 1 of the 29 points is its own statement and the rest belongs to 9 function items inside it that branch (loadDiskImage, takeScreenshot, a function literal at line 193, …). The named helpers are already separate functions; the literals' work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal's work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest.
D1 · Cyclomatic Complexity · ProfileBanner.ProfileBanner (cyclomatic 28) · ×1
  • ProfileBanner.ProfileBanner (cyclomatic 28) components/apps/Messenger/ProfileBanner.tsx:43 — ProfileBanner.ProfileBanner has cyclomatic complexity 28 (threshold 15). Most of this is not in the body itself: 9 of the 28 points are its own statements and the rest belongs to 9 function items inside it that branch (a function literal at line 110, updateProfile, a function literal at line 125, …). The named helpers are already separate functions; the literals' work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal's work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest.
D1 · Cyclomatic Complexity · useTinyMCE.useTinyMCE (cyclomatic 28) · ×1
  • useTinyMCE.useTinyMCE (cyclomatic 28) components/apps/TinyMCE/useTinyMCE.ts:37 — useTinyMCE.useTinyMCE has cyclomatic complexity 28 (threshold 15). Most of this is not in the body itself: 1 of the 28 points is its own statement and the rest belongs to 13 function items inside it that branch (a function literal at line 82, loadFile, a function literal at line 66, …). The named helpers are already separate functions; the literals' work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal's work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest.
D1 · Cyclomatic Complexity · Details.Details (cyclomatic 28) · ×1
  • Details.Details (cyclomatic 28) components/system/Taskbar/Search/Details.tsx:31 — Details.Details has cyclomatic complexity 28 (threshold 15). Of this number, 23 points are the body's own statements and 5 belong to 3 function items inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators.
D1 · Cyclomatic Complexity · index.Titlebar (cyclomatic 28) · ×1
  • index.Titlebar (cyclomatic 28) components/system/Window/Titlebar/index.tsx:30 — index.Titlebar has cyclomatic complexity 28 (threshold 15). Of this number, 16 points are the body's own statements and 12 belong to 6 function items inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators.
D1 · Cyclomatic Complexity · closeEffect.startCloseEffect (cyclomatic 28) · ×1
  • closeEffect.startCloseEffect (cyclomatic 28) utils/closeEffect.ts:450 — closeEffect.startCloseEffect has cyclomatic complexity 28 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators.
D1 · Cyclomatic Complexity · app.socialContact (cyclomatic 28) · ×1
  • app.socialContact (cyclomatic 28) utils/desktopFly/app.ts:230 — app.socialContact has cyclomatic complexity 28 (threshold 15). Of this number, 27 points are the body's own statements and 1 belongs to one function literal inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top.
D1 · Cyclomatic Complexity · Fly.startFlight (cyclomatic 28) · ×1
  • Fly.startFlight (cyclomatic 28) utils/desktopFly/fly.ts:598 — Fly.startFlight has cyclomatic complexity 28 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top.
D1 · Cyclomatic Complexity · Fly.updateWalk (cyclomatic 28) · ×1
  • Fly.updateWalk (cyclomatic 28) utils/desktopFly/fly.ts:1551 — Fly.updateWalk has cyclomatic complexity 28 (threshold 15). Of this number, 25 points are the body's own statements and 3 belong to 2 function literals inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top.
D1 · Cyclomatic Complexity · useWebamp.useWebamp.initWebamp (cyclomatic 27) · ×1
  • useWebamp.useWebamp.initWebamp (cyclomatic 27) components/apps/Webamp/useWebamp.ts:139 — useWebamp.useWebamp.initWebamp has cyclomatic complexity 27 (threshold 15). Most of this is not in the body itself: 2 of the 27 points are its own statements and the rest belongs to 5 function items inside it that branch (a function literal at line 210, setupElements, a function literal at line 223, …). The named helpers are already separate functions; the literals' work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal's work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest.
D1 · Cyclomatic Complexity · closeEffectShaders.setUniformsFromGSchema (cyclomatic 27) · ×1
  • closeEffectShaders.setUniformsFromGSchema (cyclomatic 27) utils/closeEffectShaders.ts:194 — closeEffectShaders.setUniformsFromGSchema has cyclomatic complexity 27 (threshold 15). Most of this is not in the body itself: 8 of the 27 points are its own statements and the rest belongs to 2 function items inside it that branch (setRuntimeUniform, setGSchemaUniform). Those helpers are already separate functions, so extracting the branching again is not available. To reduce it, move them out of the body to the enclosing scope, where each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest.
D1 · Cyclomatic Complexity · Fly.update (cyclomatic 26) · ×1
  • Fly.update (cyclomatic 26) utils/desktopFly/fly.ts:1237 — Fly.update has cyclomatic complexity 26 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages.
D1 · Cyclomatic Complexity · Lif.updateRates (cyclomatic 26) · ×1
  • Lif.updateRates (cyclomatic 26) utils/desktopFly/lif.ts:1318 — Lif.updateRates has cyclomatic complexity 26 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top.
D1 · Cyclomatic Complexity · StatusBar.StatusBar (cyclomatic 25) · ×1
  • StatusBar.StatusBar (cyclomatic 25) components/apps/MonacoEditor/StatusBar.tsx:28 — StatusBar.StatusBar has cyclomatic complexity 25 (threshold 15). Most of this is not in the body itself: 11 of the 25 points are its own statements and the rest belongs to 8 function literals inside it that branch (lines 64, 133, 88, …). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals' work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest.
D1 · Cyclomatic Complexity · AddressBar.AddressBar (cyclomatic 24) · ×1
  • AddressBar.AddressBar (cyclomatic 24) components/apps/FileExplorer/AddressBar.tsx:35 — AddressBar.AddressBar has cyclomatic complexity 24 (threshold 15). Most of this is not in the body itself: 7 of the 24 points are its own statements and the rest belongs to 5 function items inside it that branch (goToAddress, a function literal at line 75, a function literal at line 107, …). The named helpers are already separate functions; the literals' work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal's work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest.
D1 · Cyclomatic Complexity · useMonaco.useMonaco (cyclomatic 24) · ×1
  • useMonaco.useMonaco (cyclomatic 24) components/apps/MonacoEditor/useMonaco.ts:29 — useMonaco.useMonaco has cyclomatic complexity 24 (threshold 15). Most of this is not in the body itself: 1 of the 24 points is its own statement and the rest belongs to 8 function items inside it that branch (loadFile, a function literal at line 89, a function literal at line 106, …). The named helpers are already separate functions; the literals' work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal's work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest.
D1 · Cyclomatic Complexity · useFolder.useFolder.pasteToFolder (cyclomatic 24) · ×1
  • useFolder.useFolder.pasteToFolder (cyclomatic 24) components/system/Files/FileManager/useFolder.ts:609 — useFolder.useFolder.pasteToFolder has cyclomatic complexity 24 (threshold 15). Most of this is not in the body itself: 7 of the 24 points are its own statements and the rest belongs to 5 function items inside it that branch (copyFiles, a function literal at line 661, a function literal at line 680, …). The named helpers are already separate functions; the literals' work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal's work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest.
D1 · Cyclomatic Complexity · useDosCI.useDosCI (cyclomatic 23) · ×1
  • useDosCI.useDosCI (cyclomatic 23) components/apps/JSDOS/useDosCI.ts:42 — useDosCI.useDosCI has cyclomatic complexity 23 (threshold 15). Most of this is not in the body itself: 1 of the 23 points is its own statement and the rest belongs to 5 function items inside it that branch (loadBundle, closeBundle, a function literal at line 150, …). The named helpers are already separate functions; the literals' work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal's work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest.
D1 · Cyclomatic Complexity · useQuake3.useQuake3 (cyclomatic 23) · ×1
  • useQuake3.useQuake3 (cyclomatic 23) components/apps/Quake3/useQuake3.ts:39 — useQuake3.useQuake3 has cyclomatic complexity 23 (threshold 15). Most of this is not in the body itself: 1 of the 23 points is its own statement and the rest belongs to 7 function literals inside it that branch (lines 126, 123, 73, …). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals' work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest.
D1 · Cyclomatic Complexity · renderer.createGalaxyRenderer (cyclomatic 23) · ×1
  • renderer.createGalaxyRenderer (cyclomatic 23) components/system/Desktop/Wallpapers/Galaxy/renderer.ts:369 — renderer.createGalaxyRenderer has cyclomatic complexity 23 (threshold 15). Of this number, 21 points are the body's own statements and 2 belong to one function literal inside it that branches. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages.
D1 · Cyclomatic Complexity · index.Properties (cyclomatic 23) · ×1
  • index.Properties (cyclomatic 23) components/system/Dialogs/Properties/index.tsx:37 — index.Properties has cyclomatic complexity 23 (threshold 15). Of this number, 13 points are the body's own statements and 10 belong to 3 function items inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top.
D1 · Cyclomatic Complexity · useSelection.useSelection (cyclomatic 23) · ×1
  • useSelection.useSelection (cyclomatic 23) components/system/Files/FileManager/Selection/useSelection.ts:24 — useSelection.useSelection has cyclomatic complexity 23 (threshold 15). Most of this is not in the body itself: 7 of the 23 points are its own statements and the rest belongs to 5 function items inside it that branch (onMouseMove, onMouseLeave::externalMouseMove, onMouseDown, …). The named helpers are already separate functions; the literals' work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal's work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest.
D1 · Cyclomatic Complexity · useFolder.useFolder.updateFiles (cyclomatic 23) · ×1
  • useFolder.useFolder.updateFiles (cyclomatic 23) components/system/Files/FileManager/useFolder.ts:233 — useFolder.useFolder.updateFiles has cyclomatic complexity 23 (threshold 15). Most of this is not in the body itself: 8 of the 23 points are its own statements and the rest belongs to 3 function items inside it that branch (readFiles, a function literal at line 295, a function literal at line 244). The named helpers are already separate functions; the literals' work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal's work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest.
D1 · Cyclomatic Complexity · Icon.Icon (cyclomatic 23) · ×1
  • Icon.Icon (cyclomatic 23) styles/common/Icon.tsx:91 — Icon.Icon has cyclomatic complexity 23 (threshold 15). Of this number, 15 points are the body's own statements and 8 belong to 3 function items inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators.
D1 · Cyclomatic Complexity · Fly.updateNavigation (cyclomatic 23) · ×1
  • Fly.updateNavigation (cyclomatic 23) utils/desktopFly/fly.ts:849 — Fly.updateNavigation has cyclomatic complexity 23 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages.
D1 · Cyclomatic Complexity · loadWapm.loadWapm (cyclomatic 22) · ×1
  • loadWapm.loadWapm (cyclomatic 22) components/apps/Terminal/loadWapm.ts:153 — loadWapm.loadWapm has cyclomatic complexity 22 (threshold 15). Of this number, 20 points are the body's own statements and 2 belong to 2 function literals inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top.
D1 · Cyclomatic Complexity · renderer.createGalaxyRenderer.renderFrame (cyclomatic 21) · ×1
  • renderer.createGalaxyRenderer.renderFrame (cyclomatic 21) components/system/Desktop/Wallpapers/Galaxy/renderer.ts:890 — renderer.createGalaxyRenderer.renderFrame has cyclomatic complexity 21 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top.
D1 · Cyclomatic Complexity · index.OpenWith (cyclomatic 21) · ×1
  • index.OpenWith (cyclomatic 21) components/system/Dialogs/OpenWith/index.tsx:68 — index.OpenWith has cyclomatic complexity 21 (threshold 15). Most of this is not in the body itself: 9 of the 21 points are its own statements and the rest belongs to 6 function items inside it that branch (a function literal at line 133, a function literal at line 104, runApp, …). The named helpers are already separate functions; the literals' work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal's work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest.
D1 · Cyclomatic Complexity · functions.formatWebLlmProgress (cyclomatic 21) · ×1
  • functions.formatWebLlmProgress (cyclomatic 21) components/system/Taskbar/AI/functions.ts:16 — functions.formatWebLlmProgress has cyclomatic complexity 21 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages.
D1 · Cyclomatic Complexity · index.Calendar (cyclomatic 21) · ×1
  • index.Calendar (cyclomatic 21) components/system/Taskbar/Calendar/index.tsx:25 — index.Calendar has cyclomatic complexity 21 (threshold 15). Most of this is not in the body itself: 5 of the 21 points are its own statements and the rest belongs to 6 function items inside it that branch (a function literal at line 68, changeMonth, spotlightCell, …). The named helpers are already separate functions; the literals' work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal's work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest.
D1 · Cyclomatic Complexity · index.Search · ×1
  • index.Search::onKeyDown (cyclomatic 21) components/system/Taskbar/Search/index.tsx:295 — index.Search::onKeyDown has cyclomatic complexity 21 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators. This shape REPEATS in the file: one other method here (index.Search) has the same decision points, in the same order, at the same nesting depths — so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared.
D1 · Cyclomatic Complexity · useUrlLoader.useUrlLoader (cyclomatic 21) · ×1
  • useUrlLoader.useUrlLoader (cyclomatic 21) hooks/useUrlLoader.ts:14 — useUrlLoader.useUrlLoader has cyclomatic complexity 21 (threshold 15). Most of this is not in the body itself: 1 of the 21 points is its own statement and the rest belongs to 3 function literals inside it that branch (lines 21, 37, 65). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals' work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest.
D1 · Cyclomatic Complexity · useBoxedWine.useBoxedWine (cyclomatic 20) · ×1
  • useBoxedWine.useBoxedWine (cyclomatic 20) components/apps/BoxedWine/useBoxedWine.ts:40 — useBoxedWine.useBoxedWine has cyclomatic complexity 20 (threshold 15). Most of this is not in the body itself: 1 of the 20 points is its own statement and the rest belongs to 7 function items inside it that branch (loadEmulator, a function literal at line 121, a function literal at line 154, …). The named helpers are already separate functions; the literals' work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal's work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest.
D1 · Cyclomatic Complexity · directoryIndex.createDirectoryIndex (cyclomatic 20) · ×1
  • directoryIndex.createDirectoryIndex (cyclomatic 20) components/apps/Browser/directoryIndex.ts:100 — directoryIndex.createDirectoryIndex has cyclomatic complexity 20 (threshold 15). Of this number, 10 points are the body's own statements and 10 belong to one function literal inside it that branches. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators.
D1 · Cyclomatic Complexity · Navigation.Navigation (cyclomatic 20) · ×1
  • Navigation.Navigation (cyclomatic 20) components/apps/FileExplorer/Navigation.tsx:36 — Navigation.Navigation has cyclomatic complexity 20 (threshold 15). Of this number, 10 points are the body's own statements and 10 belong to 3 function items inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages.
D1 · Cyclomatic Complexity · index.Browser · ×1
  • index.Browser::setUrl (cyclomatic 19) components/apps/Browser/index.tsx:129 — index.Browser::setUrl has cyclomatic complexity 19 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top.
D1 · Cyclomatic Complexity · index.Webamp (cyclomatic 19) · ×1
  • index.Webamp (cyclomatic 19) components/apps/Webamp/index.tsx:21 — index.Webamp has cyclomatic complexity 19 (threshold 15). Most of this is not in the body itself: 3 of the 19 points are its own statements and the rest belongs to 7 function items inside it that branch (getUrlOptions, loadWebampUrl, a function literal at line 74, …). The named helpers are already separate functions; the literals' work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal's work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest.
D1 · Cyclomatic Complexity · useFileDrop.useFileDrop.onDrop (cyclomatic 19) · ×1
  • useFileDrop.useFileDrop.onDrop (cyclomatic 19) components/system/Files/FileManager/useFileDrop.ts:94 — useFileDrop.useFileDrop.onDrop has cyclomatic complexity 19 (threshold 15). Of this number, 11 points are the body's own statements and 8 belong to one function item inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top.
D1 · Cyclomatic Complexity · useFolder.useFolder (cyclomatic 19) · ×1
  • useFolder.useFolder (cyclomatic 19) components/system/Files/FileManager/useFolder.ts:172 — useFolder.useFolder has cyclomatic complexity 19 (threshold 15). Most of this is not in the body itself: 6 of the 19 points are its own statements and the rest belongs to 5 function literals inside it that branch (lines 744, 764, 771, …). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals' work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest.
D1 · Cyclomatic Complexity · index.Menu · ×1
  • index.Menu::calculateOffset (cyclomatic 19) components/system/Menu/index.tsx:92 — index.Menu::calculateOffset has cyclomatic complexity 19 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top.
D1 · Cyclomatic Complexity · PeekWindow.PeekWindow (cyclomatic 19) · ×1
  • PeekWindow.PeekWindow (cyclomatic 19) components/system/Taskbar/TaskbarEntry/Peek/PeekWindow.tsx:44 — PeekWindow.PeekWindow has cyclomatic complexity 19 (threshold 15). Of this number, 10 points are the body's own statements and 9 belong to 5 function items inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages.
D1 · Cyclomatic Complexity · index.TaskbarEntry (cyclomatic 19) · ×1
  • index.TaskbarEntry (cyclomatic 19) components/system/Taskbar/TaskbarEntry/index.tsx:31 — index.TaskbarEntry has cyclomatic complexity 19 (threshold 15). Most of this is not in the body itself: 3 of the 19 points are its own statements and the rest belongs to 8 function items inside it that branch (onClick, a function literal at line 117, a function literal at line 129, …). The named helpers are already separate functions; the literals' work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal's work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest.
D1 · Cyclomatic Complexity · vision.classifyPoint (cyclomatic 19) · ×1
  • vision.classifyPoint (cyclomatic 19) utils/desktopFly/vision.ts:75 — vision.classifyPoint has cyclomatic complexity 19 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top.
D1 · Cyclomatic Complexity · usePDF.usePDF (cyclomatic 18) · ×1
  • usePDF.usePDF (cyclomatic 18) components/apps/PDF/usePDF.ts:33 — usePDF.usePDF has cyclomatic complexity 18 (threshold 15). Most of this is not in the body itself: 1 of the 18 points is its own statement and the rest belongs to 5 function items inside it that branch (renderPages, a function literal at line 161, a function literal at line 179, …). The named helpers are already separate functions; the literals' work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal's work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest.
D1 · Cyclomatic Complexity · index.Sidebar (cyclomatic 18) · ×1
  • index.Sidebar (cyclomatic 18) components/system/StartMenu/Sidebar/index.tsx:39 — index.Sidebar has cyclomatic complexity 18 (threshold 15). Of this number, 10 points are the body's own statements and 8 belong to 3 function items inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators.
D1 · Cyclomatic Complexity · index.StartMenu (cyclomatic 18) · ×1
  • index.StartMenu (cyclomatic 18) components/system/StartMenu/index.tsx:45 — index.StartMenu has cyclomatic complexity 18 (threshold 15). Most of this is not in the body itself: 2 of the 18 points are its own statements and the rest belongs to 5 function items inside it that branch (onKeyDown, a function literal at line 81, focusOnRenderCallback, …). The named helpers are already separate functions; the literals' work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal's work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest.
D1 · Cyclomatic Complexity · useJSDOS.useJSDOS (cyclomatic 17) · ×1
  • useJSDOS.useJSDOS (cyclomatic 17) components/apps/JSDOS/useJSDOS.ts:22 — useJSDOS.useJSDOS has cyclomatic complexity 17 (threshold 15). Most of this is not in the body itself: 1 of the 17 points is its own statement and the rest belongs to 6 function literals inside it that branch (lines 86, 68, 38, …). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals' work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest.
D1 · Cyclomatic Complexity · useFileKeyboardShortcuts.getNeighborIndex (cyclomatic 17) · ×1
  • useFileKeyboardShortcuts.getNeighborIndex (cyclomatic 17) components/system/Files/FileManager/useFileKeyboardShortcuts.ts:40 — useFileKeyboardShortcuts.getNeighborIndex has cyclomatic complexity 17 (threshold 15). Most of this is not in the body itself: 8 of the 17 points are its own statements and the rest belongs to one function literal inside it that branches (line 56). The decisions are inside the literal, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literal's work into a named function or method at the enclosing scope and have the literal call it, then reduce whichever part then reads as the largest.
D1 · Cyclomatic Complexity · useTitlebarContextMenu.useTitlebarContextMenu (cyclomatic 17) · ×1
  • useTitlebarContextMenu.useTitlebarContextMenu (cyclomatic 17) components/system/Window/Titlebar/useTitlebarContextMenu.ts:21 — useTitlebarContextMenu.useTitlebarContextMenu has cyclomatic complexity 17 (threshold 15). Most of this is not in the body itself: 1 of the 17 points is its own statement and the rest belongs to 3 function literals inside it that branch (lines 37, 47, 73). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals' work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest.
D1 · Cyclomatic Complexity · useWindowTransitions.useWindowTransitions (cyclomatic 17) · ×1
  • useWindowTransitions.useWindowTransitions (cyclomatic 17) components/system/Window/useWindowTransitions.ts:48 — useWindowTransitions.useWindowTransitions has cyclomatic complexity 17 (threshold 15). Most of this is not in the body itself: 8 of the 17 points are its own statements and the rest belongs to 4 function literals inside it that branch (lines 69, 90, 86, …). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals' work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest.
D1 · Cyclomatic Complexity · FlyApp.interactFlies (cyclomatic 17) · ×1
  • FlyApp.interactFlies (cyclomatic 17) utils/desktopFly/app.ts:1001 — FlyApp.interactFlies has cyclomatic complexity 17 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top.
D1 · Cyclomatic Complexity · useFile.useFile.<returned closure> (cyclomatic 16) · ×1
  • useFile.useFile.<returned closure> (cyclomatic 16) components/system/Files/FileEntry/useFile.ts:27 — useFile.useFile.<returned closure> has cyclomatic complexity 16 (threshold 15). Of this number, 15 points are the body's own statements and 1 belongs to one function literal inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top.
D1 · Cyclomatic Complexity · useFolderContextMenu.captureScreen (cyclomatic 16) · ×1
  • useFolderContextMenu.captureScreen (cyclomatic 16) components/system/Files/FileManager/useFolderContextMenu.ts:68 — useFolderContextMenu.captureScreen has cyclomatic complexity 16 (threshold 15). Of this number, 13 points are the body's own statements and 3 belong to one function literal inside it that branches. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages.
D1 · Cyclomatic Complexity · useDraggable.useDraggable (cyclomatic 16) · ×1
  • useDraggable.useDraggable (cyclomatic 16) components/system/Window/RndWindow/useDraggable.ts:28 — useDraggable.useDraggable has cyclomatic complexity 16 (threshold 15). Most of this is not in the body itself: 1 of the 16 points is its own statement and the rest belongs to 5 function literals inside it that branch (lines 77, 40, 89, …). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals' work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest.
D1 · Cyclomatic Complexity · useFileSystemContextState.useFileSystemContextState · ×1
  • useFileSystemContextState.useFileSystemContextState::createPath (cyclomatic 16) contexts/fileSystem/useFileSystemContextState.ts:569 — useFileSystemContextState.useFileSystemContextState::createPath has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top.
D2 · Cognitive Complexity · useCommandInterpreter.useCommandInterpreter · ×1
  • useCommandInterpreter.useCommandInterpreter::commandInterpreter::runCommand (cognitive 384) components/apps/Terminal/useCommandInterpreter.ts:244 — useCommandInterpreter.useCommandInterpreter::commandInterpreter::runCommand has cognitive complexity 384 (threshold 15). Drivers by points: if/else 110 (245 pts), ternaries 23 (84 pts), boolean chains 37, error handling 5 (17 pts), match/switch 1 (nesting depth added 208). The drivers above price the dispatch low by construction — a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full — so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident.
D2 · Cognitive Complexity · generate.generateGalaxy (cognitive 168) · ×1
  • generate.generateGalaxy (cognitive 168) components/system/Desktop/Wallpapers/Galaxy/generate.ts:473 — generate.generateGalaxy has cognitive complexity 168 (threshold 15). Drivers by points: ternaries 34 (79 pts), loops 31 (45 pts), if/else 22 (40 pts), boolean chains 4 (nesting depth added 77). Of this number, 157 points are the body's own statements and 11 belong to one function item inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body.
D2 · Cognitive Complexity · useFileContextMenu.useFileContextMenu (cognitive 164) · ×1
  • useFileContextMenu.useFileContextMenu (cognitive 164) components/system/Files/FileEntry/useFileContextMenu.ts:104 — useFileContextMenu.useFileContextMenu has cognitive complexity 164 (threshold 15). Drivers by points: if/else 33 (81 pts), ternaries 15 (49 pts), boolean chains 24, error handling 2 (10 pts) (nesting depth added 90). None of this is in the body itself: all 164 points belong to 13 function literals inside it that branch (lines 147, 209, 291, …). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals' work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest.
D2 · Cognitive Complexity · index.Chess (cognitive 124) · ×1
  • index.Chess (cognitive 124) components/apps/Chess/index.tsx:92 — index.Chess has cognitive complexity 124 (threshold 15). Drivers by points: if/else 72 (73 pts), boolean chains 30, ternaries 11 (13 pts), error handling 5 (6 pts), loops 2 (nesting depth added 4). Most of this is not in the body itself: 7 of the 124 points are its own statements and the rest belongs to 34 function items inside it that branch (computeStatus, a function literal at line 479, applyEngineMove, …). The named helpers are already separate functions; the literals' work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal's work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest.
D2 · Cognitive Complexity · useFileKeyboardShortcuts.useFileKeyboardShortcuts.<returned closure> (cognitive 124) · ×1
  • useFileKeyboardShortcuts.useFileKeyboardShortcuts.<returned closure> (cognitive 124) components/system/Files/FileManager/useFileKeyboardShortcuts.ts:147 — useFileKeyboardShortcuts.useFileKeyboardShortcuts.<returned closure> has cognitive complexity 124 (threshold 15). Drivers by points: if/else 40 (80 pts), ternaries 9 (22 pts), boolean chains 18, match/switch 2 (4 pts) (nesting depth added 55). Of this number, 93 points are the body's own statements and 31 belong to 5 function items inside it that branch. To reduce it, flatten the nesting: this score is depth rather than breadth — most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language's equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function.
D2 · Cognitive Complexity · AIChat.AIChat (cognitive 112) · ×1
  • AIChat.AIChat (cognitive 112) components/system/Taskbar/AI/AIChat.tsx:200 — AIChat.AIChat has cognitive complexity 112 (threshold 15). Drivers by points: boolean chains 50, if/else 39 (43 pts), ternaries 13 (18 pts), error handling 1 (nesting depth added 9). Of this number, 17 points are the body's own statements and 95 belong to 34 function items inside it that branch. To reduce it, split the body: most of this score is breadth rather than depth — checks laid out side by side rather than stacked — so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level.
D2 · Cognitive Complexity · useSessionContextState.useSessionContextState (cognitive 98) · ×1
  • useSessionContextState.useSessionContextState (cognitive 98) contexts/session/useSessionContextState.ts:51 — useSessionContextState.useSessionContextState has cognitive complexity 98 (threshold 15). Drivers by points: if/else 32 (63 pts), boolean chains 26, error handling 3 (7 pts), ternaries 2 (nesting depth added 35). None of this is in the body itself: all 98 points belong to 14 function items inside it that branch (a function literal at line 250, setAndUpdateIconPositions, a function literal at line 305, …). The named helpers are already separate functions; the literals' work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal's work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest.
D2 · Cognitive Complexity · useVideoPlayer.useVideoPlayer (cognitive 91) · ×1
  • useVideoPlayer.useVideoPlayer (cognitive 91) components/apps/VideoPlayer/useVideoPlayer.ts:44 — useVideoPlayer.useVideoPlayer has cognitive complexity 91 (threshold 15). Drivers by points: if/else 38 (49 pts), boolean chains 20, ternaries 13 (19 pts), match/switch 1 (2 pts), error handling 1 (nesting depth added 18). None of this is in the body itself: all 91 points belong to 25 function items inside it that branch (canvasMode, a function literal at line 325, a function literal at line 147, …). The named helpers are already separate functions; the literals' work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal's work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest.
D2 · Cognitive Complexity · Lif.stepOneMs (cognitive 83) · ×1
  • Lif.stepOneMs (cognitive 83) utils/desktopFly/lif.ts:1004 — Lif.stepOneMs has cognitive complexity 83 (threshold 15). Drivers by points: if/else 36 (63 pts), loops 8 (14 pts), ternaries 2 (4 pts), boolean chains 2 (nesting depth added 35). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body.
D2 · Cognitive Complexity · CompiledCircuit.constructor (cognitive 66) · ×1
  • CompiledCircuit.constructor (cognitive 66) utils/desktopFly/lif.ts:380 — CompiledCircuit.constructor has cognitive complexity 66 (threshold 15). Drivers by points: if/else 24 (47 pts), boolean chains 11, ternaries 1 (4 pts), loops 3, match/switch 1 (nesting depth added 26). Of this number, 45 points are the body's own statements and 21 belong to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body.
D2 · Cognitive Complexity · index.Run · ×1
  • index.Run::runResource (cognitive 65) components/system/Dialogs/Run/index.tsx:74 — index.Run::runResource has cognitive complexity 65 (threshold 15). Drivers by points: if/else 22 (42 pts), ternaries 3 (11 pts), boolean chains 9, error handling 1 (3 pts) (nesting depth added 30). To reduce it, flatten the nesting: this score is depth rather than breadth — most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language's equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function.
D2 · Cognitive Complexity · index.FileManager (cognitive 57) · ×1
  • index.FileManager (cognitive 57) components/system/Files/FileManager/index.tsx:66 — index.FileManager has cognitive complexity 57 (threshold 15). Drivers by points: boolean chains 23, if/else 10 (18 pts), ternaries 12 (16 pts) (nesting depth added 12). Of this number, 29 points are the body's own statements and 28 belong to 12 function items inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body.
D2 · Cognitive Complexity · MenuItemEntry.MenuItemEntry (cognitive 56) · ×1
  • MenuItemEntry.MenuItemEntry (cognitive 56) components/system/Menu/MenuItemEntry.tsx:34 — MenuItemEntry.MenuItemEntry has cognitive complexity 56 (threshold 15). Drivers by points: boolean chains 21, if/else 18 (21 pts), ternaries 8 (14 pts) (nesting depth added 9). Of this number, 27 points are the body's own statements and 29 belong to 11 function items inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body.
D2 · Cognitive Complexity · useAsyncFs.useAsyncFs (cognitive 55) · ×1
  • useAsyncFs.useAsyncFs (cognitive 55) contexts/fileSystem/useAsyncFs.ts:95 — useAsyncFs.useAsyncFs has cognitive complexity 55 (threshold 15). Drivers by points: if/else 22 (27 pts), ternaries 11 (16 pts), boolean chains 12 (nesting depth added 10). None of this is in the body itself: all 55 points belong to 17 function literals inside it that branch (lines 236, 124, 141, …). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals' work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest.
D2 · Cognitive Complexity · useFolderContextMenu.useFolderContextMenu (cognitive 54) · ×1
  • useFolderContextMenu.useFolderContextMenu (cognitive 54) components/system/Files/FileManager/useFolderContextMenu.ts:147 — useFolderContextMenu.useFolderContextMenu has cognitive complexity 54 (threshold 15). Drivers by points: ternaries 13 (21 pts), if/else 9 (17 pts), boolean chains 16 (nesting depth added 16). Most of this is not in the body itself: 2 of the 54 points are its own statements and the rest belongs to 9 function items inside it that branch (a function literal at line 229, updateDesktopIconPositions, a function literal at line 501, …). The named helpers are already separate functions; the literals' work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal's work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest.
D2 · Cognitive Complexity · useTinyMCE.useTinyMCE (cognitive 52) · ×1
  • useTinyMCE.useTinyMCE (cognitive 52) components/apps/TinyMCE/useTinyMCE.ts:37 — useTinyMCE.useTinyMCE has cognitive complexity 52 (threshold 15). Drivers by points: if/else 17 (35 pts), ternaries 3 (8 pts), boolean chains 7, error handling 1 (2 pts) (nesting depth added 24). None of this is in the body itself: all 52 points belong to 13 function items inside it that branch (loadFile, a function literal at line 82, a function literal at line 66, …). The named helpers are already separate functions; the literals' work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal's work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest.
D2 · Cognitive Complexity · useWebamp.useWebamp.initWebamp (cognitive 49) · ×1
  • useWebamp.useWebamp.initWebamp (cognitive 49) components/apps/Webamp/useWebamp.ts:139 — useWebamp.useWebamp.initWebamp has cognitive complexity 49 (threshold 15). Drivers by points: if/else 17 (33 pts), boolean chains 9, ternaries 2 (7 pts) (nesting depth added 21). Most of this is not in the body itself: 1 of the 49 points is its own statement and the rest belongs to 5 function items inside it that branch (a function literal at line 210, setupElements, a function literal at line 223, …). The named helpers are already separate functions; the literals' work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal's work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest.
D2 · Cognitive Complexity · FlyApp.senseFrame (cognitive 47) · ×1
  • FlyApp.senseFrame (cognitive 47) utils/desktopFly/app.ts:1373 — FlyApp.senseFrame has cognitive complexity 47 (threshold 15). Drivers by points: if/else 27 (32 pts), boolean chains 12, ternaries 2 (3 pts) (nesting depth added 6). Most of this is not in the body itself: 12 of the 47 points are its own statements and the rest belongs to 4 function literals inside it that branch (lines 1410, 1556, 1424, …). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals' work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest.
D2 · Cognitive Complexity · useGlobalKeyboardShortcuts.useGlobalKeyboardShortcuts (cognitive 44) · ×1
  • useGlobalKeyboardShortcuts.useGlobalKeyboardShortcuts (cognitive 44) hooks/useGlobalKeyboardShortcuts.ts:112 — useGlobalKeyboardShortcuts.useGlobalKeyboardShortcuts has cognitive complexity 44 (threshold 15). Drivers by points: if/else 21 (28 pts), boolean chains 16 (nesting depth added 7). None of this is in the body itself: all 44 points belong to 9 function literals inside it that branch (lines 142, 218, 260, …). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals' work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest.
D2 · Cognitive Complexity · useTerminal.useTerminal (cognitive 42) · ×1
  • useTerminal.useTerminal (cognitive 42) components/apps/Terminal/useTerminal.ts:39 — useTerminal.useTerminal has cognitive complexity 42 (threshold 15). Drivers by points: if/else 16 (24 pts), boolean chains 12, error handling 1 (3 pts), ternaries 1 (3 pts) (nesting depth added 12). Most of this is not in the body itself: 2 of the 42 points are its own statements and the rest belongs to 10 function literals inside it that branch (lines 59, 117, 176, …). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals' work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest.
D2 · Cognitive Complexity · useFolder.useFolder.updateFiles (cognitive 42) · ×1
  • useFolder.useFolder.updateFiles (cognitive 42) components/system/Files/FileManager/useFolder.ts:233 — useFolder.useFolder.updateFiles has cognitive complexity 42 (threshold 15). Drivers by points: if/else 13 (25 pts), ternaries 4 (9 pts), boolean chains 6, error handling 1 (2 pts) (nesting depth added 18). Of this number, 16 points are the body's own statements and 26 belong to 3 function items inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body.
D2 · Cognitive Complexity · ResultEntry.ResultEntry (cognitive 42) · ×1
  • ResultEntry.ResultEntry (cognitive 42) REDACTED:48 — ResultEntry.ResultEntry has cognitive complexity 42 (threshold 15). Drivers by points: boolean chains 16, ternaries 14 (15 pts), if/else 8 (10 pts), error handling 1 (nesting depth added 3). Of this number, 22 points are the body's own statements and 20 belong to 5 function items inside it that branch. To reduce it, split the body: most of this score is breadth rather than depth — checks laid out side by side rather than stacked — so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition.
D2 · Cognitive Complexity · index.Transfer (cognitive 40) · ×1
  • index.Transfer (cognitive 40) components/system/Dialogs/Transfer/index.tsx:22 — index.Transfer has cognitive complexity 40 (threshold 15). Drivers by points: if/else 15 (22 pts), boolean chains 10, ternaries 7 (8 pts) (nesting depth added 8). Of this number, 18 points are the body's own statements and 22 belong to 5 function literals inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body.
D2 · Cognitive Complexity · Fly.startFlight (cognitive 40) · ×1
  • Fly.startFlight (cognitive 40) utils/desktopFly/fly.ts:598 — Fly.startFlight has cognitive complexity 40 (threshold 15). Drivers by points: if/else 9 (21 pts), ternaries 4 (11 pts), boolean chains 4, loops 2 (4 pts) (nesting depth added 21). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body.
D2 · Cognitive Complexity · index.FileExplorer (cognitive 37) · ×1
  • index.FileExplorer (cognitive 37) components/apps/FileExplorer/index.tsx:27 — index.FileExplorer has cognitive complexity 37 (threshold 15). Drivers by points: if/else 10 (16 pts), boolean chains 12, ternaries 3 (9 pts) (nesting depth added 12). Most of this is not in the body itself: 2 of the 37 points are its own statements and the rest belongs to 4 function items inside it that branch (a function literal at line 86, onKeyDown, a function literal at line 128, …). The named helpers are already separate functions; the literals' work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal's work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest.
D2 · Cognitive Complexity · index.Photos (cognitive 37) · ×1
  • index.Photos (cognitive 37) components/apps/Photos/index.tsx:45 — index.Photos has cognitive complexity 37 (threshold 15). Drivers by points: if/else 15 (21 pts), boolean chains 11, ternaries 4, match/switch 1 (nesting depth added 6). Most of this is not in the body itself: 8 of the 37 points are its own statements and the rest belongs to 6 function items inside it that branch (onKeyDown, loadPhoto, onKeyDown::nextPhoto, …). The named helpers are already separate functions; the literals' work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal's work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest.
D2 · Cognitive Complexity · Fly.updateWalk (cognitive 37) · ×1
  • Fly.updateWalk (cognitive 37) utils/desktopFly/fly.ts:1551 — Fly.updateWalk has cognitive complexity 37 (threshold 15). Drivers by points: if/else 15 (26 pts), boolean chains 9, ternaries 1 (2 pts) (nesting depth added 12). Of this number, 35 points are the body's own statements and 2 belong to 2 function literals inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body.
D2 · Cognitive Complexity · index.Browser · ×1
  • index.Browser::setUrl (cognitive 36) components/apps/Browser/index.tsx:129 — index.Browser::setUrl has cognitive complexity 36 (threshold 15). Drivers by points: if/else 12 (25 pts), boolean chains 7, ternaries 1 (4 pts) (nesting depth added 16). To reduce it, flatten the nesting: this score is depth rather than breadth — most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language's equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function.
D2 · Cognitive Complexity · useFileDrop.useFileDrop.onDrop (cognitive 36) · ×1
  • useFileDrop.useFileDrop.onDrop (cognitive 36) components/system/Files/FileManager/useFileDrop.ts:94 — useFileDrop.useFileDrop.onDrop has cognitive complexity 36 (threshold 15). Drivers by points: if/else 12 (27 pts), boolean chains 5, error handling 1 (4 pts) (nesting depth added 18). Most of this is not in the body itself: 13 of the 36 points are its own statements and the rest belongs to one function item inside it that branches (checkUpdatableIcons). Those helpers are already separate functions, so extracting the branching again is not available. To reduce it, move them out of the body to the enclosing scope, where each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest.
D2 · Cognitive Complexity · useWindowPeek.useWindowPeek (cognitive 34) · ×1
  • useWindowPeek.useWindowPeek (cognitive 34) components/system/Taskbar/TaskbarEntry/Peek/useWindowPeek.ts:23 — useWindowPeek.useWindowPeek has cognitive complexity 34 (threshold 15). Drivers by points: if/else 10 (21 pts), boolean chains 12, ternaries 1 (nesting depth added 11). Most of this is not in the body itself: 1 of the 34 points is its own statement and the rest belongs to 8 function literals inside it that branch (lines 35, 103, 69, …). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals' work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest.
D2 · Cognitive Complexity · Fly.brainBehavior (cognitive 34) · ×1
  • Fly.brainBehavior (cognitive 34) utils/desktopFly/fly.ts:1405 — Fly.brainBehavior has cognitive complexity 34 (threshold 15). Drivers by points: if/else 17 (22 pts), boolean chains 12 (nesting depth added 5). To reduce it, split the body: most of this score is breadth rather than depth — checks laid out side by side rather than stacked — so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition.
D2 · Cognitive Complexity · ProfileBanner.ProfileBanner (cognitive 33) · ×1
  • ProfileBanner.ProfileBanner (cognitive 33) components/apps/Messenger/ProfileBanner.tsx:43 — ProfileBanner.ProfileBanner has cognitive complexity 33 (threshold 15). Drivers by points: if/else 11 (15 pts), ternaries 8 (9 pts), boolean chains 8, error handling 1 (nesting depth added 5). Most of this is not in the body itself: 8 of the 33 points are its own statements and the rest belongs to 9 function items inside it that branch (a function literal at line 110, updateProfile, a function literal at line 173, …). The named helpers are already separate functions; the literals' work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal's work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest.
D2 · Cognitive Complexity · useV86.useV86 (cognitive 33) · ×1
  • useV86.useV86 (cognitive 33) components/apps/V86/useV86.ts:37 — useV86.useV86 has cognitive complexity 33 (threshold 15). Drivers by points: if/else 15 (18 pts), boolean chains 5, error handling 2 (5 pts), ternaries 5 (nesting depth added 6). None of this is in the body itself: all 33 points belong to 9 function items inside it that branch (takeScreenshot, loadDiskImage, a function literal at line 199, …). The named helpers are already separate functions; the literals' work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal's work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest.
D2 · Cognitive Complexity · FlyApp.pollVision (cognitive 32) · ×1
  • FlyApp.pollVision (cognitive 32) utils/desktopFly/app.ts:1079 — FlyApp.pollVision has cognitive complexity 32 (threshold 15). Drivers by points: if/else 12 (20 pts), boolean chains 12 (nesting depth added 8). None of this is in the body itself: all 32 points belong to 2 function literals inside it that branch (lines 1082, 1122). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals' work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest.
D2 · Cognitive Complexity · AddressBar.AddressBar (cognitive 31) · ×1
  • AddressBar.AddressBar (cognitive 31) components/apps/FileExplorer/AddressBar.tsx:35 — AddressBar.AddressBar has cognitive complexity 31 (threshold 15). Drivers by points: if/else 17 (23 pts), boolean chains 5, ternaries 3 (nesting depth added 6). Most of this is not in the body itself: 5 of the 31 points are its own statements and the rest belongs to 5 function items inside it that branch (goToAddress, a function literal at line 75, a function literal at line 107, …). The named helpers are already separate functions; the literals' work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal's work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest.
D2 · Cognitive Complexity · loadWapm.loadWapm (cognitive 31) · ×1
  • loadWapm.loadWapm (cognitive 31) components/apps/Terminal/loadWapm.ts:153 — loadWapm.loadWapm has cognitive complexity 31 (threshold 15). Drivers by points: ternaries 6 (13 pts), boolean chains 9, if/else 4 (6 pts), error handling 2 (3 pts) (nesting depth added 10). Of this number, 26 points are the body's own statements and 5 belong to 2 function literals inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body.
D2 · Cognitive Complexity · useFolder.useFolder (cognitive 31) · ×1
  • useFolder.useFolder (cognitive 31) components/system/Files/FileManager/useFolder.ts:172 — useFolder.useFolder has cognitive complexity 31 (threshold 15). Drivers by points: if/else 10 (20 pts), ternaries 1 (6 pts), boolean chains 5 (nesting depth added 15). Most of this is not in the body itself: 3 of the 31 points are its own statements and the rest belongs to 5 function literals inside it that branch (lines 744, 764, 771, …). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals' work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest.
D2 · Cognitive Complexity · useDosCI.useDosCI (cognitive 30) · ×1
  • useDosCI.useDosCI (cognitive 30) components/apps/JSDOS/useDosCI.ts:42 — useDosCI.useDosCI has cognitive complexity 30 (threshold 15). Drivers by points: if/else 14 (20 pts), error handling 2 (4 pts), ternaries 4, boolean chains 2 (nesting depth added 8). None of this is in the body itself: all 30 points belong to 5 function items inside it that branch (loadBundle, closeBundle, a function literal at line 156, …). The named helpers are already separate functions; the literals' work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal's work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest.
D2 · Cognitive Complexity · usePDF.usePDF · ×1
  • usePDF.usePDF::renderPages (cognitive 29) components/apps/PDF/usePDF.ts:93 — usePDF.usePDF::renderPages has cognitive complexity 29 (threshold 15). Drivers by points: if/else 7 (21 pts), boolean chains 4, loops 1 (4 pts) (nesting depth added 17). To reduce it, flatten the nesting: this score is depth rather than breadth — most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language's equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function.
D2 · Cognitive Complexity · renderer.createGalaxyRenderer.renderFrame (cognitive 28) · ×1
  • renderer.createGalaxyRenderer.renderFrame (cognitive 28) components/system/Desktop/Wallpapers/Galaxy/renderer.ts:890 — renderer.createGalaxyRenderer.renderFrame has cognitive complexity 28 (threshold 15). Drivers by points: if/else 13 (19 pts), boolean chains 4, ternaries 2 (3 pts), loops 2 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body.
D2 · Cognitive Complexity · useSelection.useSelection (cognitive 28) · ×1
  • useSelection.useSelection (cognitive 28) components/system/Files/FileManager/Selection/useSelection.ts:24 — useSelection.useSelection has cognitive complexity 28 (threshold 15). Drivers by points: if/else 9 (12 pts), boolean chains 10, ternaries 2 (6 pts) (nesting depth added 7). Most of this is not in the body itself: 5 of the 28 points are its own statements and the rest belongs to 5 function items inside it that branch (onMouseMove, onMouseLeave::externalMouseMove, onMouseDown, …). The named helpers are already separate functions; the literals' work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal's work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest.
D2 · Cognitive Complexity · useFolder.useFolder.pasteToFolder (cognitive 27) · ×1
  • useFolder.useFolder.pasteToFolder (cognitive 27) components/system/Files/FileManager/useFolder.ts:609 — useFolder.useFolder.pasteToFolder has cognitive complexity 27 (threshold 15). Drivers by points: if/else 12 (14 pts), boolean chains 9, ternaries 2 (3 pts), error handling 1 (nesting depth added 3). Most of this is not in the body itself: 7 of the 27 points are its own statements and the rest belongs to 5 function items inside it that branch (copyFiles, a function literal at line 661, a function literal at line 680, …). The named helpers are already separate functions; the literals' work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal's work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest.
D2 · Cognitive Complexity · app.socialContact (cognitive 27) · ×1
  • app.socialContact (cognitive 27) utils/desktopFly/app.ts:230 — app.socialContact has cognitive complexity 27 (threshold 15). Drivers by points: ternaries 5 (13 pts), if/else 8 (11 pts), boolean chains 3 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body.
D2 · Cognitive Complexity · useQuake3.useQuake3 (cognitive 26) · ×1
  • useQuake3.useQuake3 (cognitive 26) components/apps/Quake3/useQuake3.ts:39 — useQuake3.useQuake3 has cognitive complexity 26 (threshold 15). Drivers by points: if/else 10 (13 pts), boolean chains 6, ternaries 4 (5 pts), error handling 1 (2 pts) (nesting depth added 5). None of this is in the body itself: all 26 points belong to 7 function literals inside it that branch (lines 126, 73, 123, …). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals' work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest.
D2 · Cognitive Complexity · index.FileEntry (cognitive 26) · ×1
  • index.FileEntry (cognitive 26) components/system/Files/FileEntry/index.tsx:138 — index.FileEntry has cognitive complexity 26 (threshold 15). Drivers by points: if/else 45 (105 pts), boolean chains 40, ternaries 16 (33 pts), error handling 1 (7 pts) (nesting depth added 83). To reduce it, flatten the nesting: this score is depth rather than breadth — most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language's equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function. This shape REPEATS in the file: one other method here (index.FileEntry::createTooltip) has the same decision points, in the same order, at the same nesting depths — so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared.
D2 · Cognitive Complexity · index.Search (cognitive 26) · ×1
  • index.Search (cognitive 26) components/system/Taskbar/Search/index.tsx:119 — index.Search has cognitive complexity 26 (threshold 15). Drivers by points: boolean chains 41, if/else 26 (29 pts), ternaries 9, loops 1 (nesting depth added 3). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators. This shape REPEATS in the file: one other method here (index.Search::onKeyDown) has the same decision points, in the same order, at the same nesting depths — so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared.
D2 · Cognitive Complexity · index.Webamp (cognitive 25) · ×1
  • index.Webamp (cognitive 25) components/apps/Webamp/index.tsx:21 — index.Webamp has cognitive complexity 25 (threshold 15). Drivers by points: if/else 11 (16 pts), boolean chains 6, ternaries 1 (3 pts) (nesting depth added 7). Most of this is not in the body itself: 2 of the 25 points are its own statements and the rest belongs to 7 function items inside it that branch (getUrlOptions, loadWebampUrl, a function literal at line 74, …). The named helpers are already separate functions; the literals' work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal's work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest.
D2 · Cognitive Complexity · closeEffect.startCloseEffect (cognitive 25) · ×1
  • closeEffect.startCloseEffect (cognitive 25) utils/closeEffect.ts:450 — closeEffect.startCloseEffect has cognitive complexity 25 (threshold 15). Drivers by points: boolean chains 11, if/else 6 (7 pts), ternaries 4, loops 2, error handling 1 (nesting depth added 1). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body.
D2 · Cognitive Complexity · Lif.updateRates (cognitive 25) · ×1
  • Lif.updateRates (cognitive 25) utils/desktopFly/lif.ts:1318 — Lif.updateRates has cognitive complexity 25 (threshold 15). Drivers by points: if/else 10 (21 pts), loops 2, match/switch 1 (2 pts) (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body.
D2 · Cognitive Complexity · GeneralTab.GeneralTab (cognitive 24) · ×1
  • GeneralTab.GeneralTab (cognitive 24) components/system/Dialogs/Properties/GeneralTab.tsx:49 — GeneralTab.GeneralTab has cognitive complexity 24 (threshold 15). Drivers by points: if/else 14 (29 pts), boolean chains 18, ternaries 9 (15 pts), loops 1 (2 pts) (nesting depth added 22). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: one other method here (GeneralTab.GeneralTab::okAction) has the same decision points, in the same order, at the same nesting depths — so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared.
D2 · Cognitive Complexity · functions.handleFileInputEvent (cognitive 24) · ×1
  • functions.handleFileInputEvent (cognitive 24) components/system/Files/FileManager/functions.ts:252 — functions.handleFileInputEvent has cognitive complexity 24 (threshold 15). Drivers by points: if/else 8 (16 pts), boolean chains 4, error handling 1 (2 pts), ternaries 1 (2 pts) (nesting depth added 10). Of this number, 19 points are the body's own statements and 5 belong to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body.
D2 · Cognitive Complexity · PeekWindow.PeekWindow (cognitive 24) · ×1
  • PeekWindow.PeekWindow (cognitive 24) components/system/Taskbar/TaskbarEntry/Peek/PeekWindow.tsx:44 — PeekWindow.PeekWindow has cognitive complexity 24 (threshold 15). Drivers by points: if/else 9 (10 pts), boolean chains 7, ternaries 4 (7 pts) (nesting depth added 4). Most of this is not in the body itself: 9 of the 24 points are its own statements and the rest belongs to 5 function items inside it that branch (a function literal at line 83, onClick, hide, …). The named helpers are already separate functions; the literals' work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal's work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest.
D2 · Cognitive Complexity · useFileSystemContextState.useFileSystemContextState · ×1
  • useFileSystemContextState.useFileSystemContextState::createPath (cognitive 24) contexts/fileSystem/useFileSystemContextState.ts:569 — useFileSystemContextState.useFileSystemContextState::createPath has cognitive complexity 24 (threshold 15). Drivers by points: if/else 8 (16 pts), ternaries 3 (4 pts), boolean chains 2, error handling 1 (2 pts) (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body.
D2 · Cognitive Complexity · functions.getUptime (cognitive 23) · ×1
  • functions.getUptime (cognitive 23) components/apps/Terminal/functions.ts:264 — functions.getUptime has cognitive complexity 23 (threshold 15). Drivers by points: ternaries 9 (22 pts), if/else 1 (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body.
D2 · Cognitive Complexity · index.OpenWith (cognitive 23) · ×1
  • index.OpenWith (cognitive 23) components/system/Dialogs/OpenWith/index.tsx:68 — index.OpenWith has cognitive complexity 23 (threshold 15). Drivers by points: if/else 9 (12 pts), boolean chains 10, ternaries 1 (nesting depth added 3). Most of this is not in the body itself: 6 of the 23 points are its own statements and the rest belongs to 6 function items inside it that branch (a function literal at line 104, a function literal at line 133, runApp, …). The named helpers are already separate functions; the literals' work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal's work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest.
D2 · Cognitive Complexity · index.Properties (cognitive 23) · ×1
  • index.Properties (cognitive 23) components/system/Dialogs/Properties/index.tsx:37 — index.Properties has cognitive complexity 23 (threshold 15). Drivers by points: ternaries 6 (10 pts), boolean chains 7, if/else 5 (6 pts) (nesting depth added 5). Most of this is not in the body itself: 8 of the 23 points are its own statements and the rest belongs to 3 function items inside it that branch (onTabKeyDown, a function literal at line 84, a function literal at line 124). The named helpers are already separate functions; the literals' work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal's work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest.
D2 · Cognitive Complexity · index.TaskbarEntry (cognitive 23) · ×1
  • index.TaskbarEntry (cognitive 23) components/system/Taskbar/TaskbarEntry/index.tsx:31 — index.TaskbarEntry has cognitive complexity 23 (threshold 15). Drivers by points: if/else 11 (13 pts), boolean chains 7, ternaries 1 (3 pts) (nesting depth added 4). Most of this is not in the body itself: 2 of the 23 points are its own statements and the rest belongs to 8 function items inside it that branch (onClick, a function literal at line 117, a function literal at line 129, …). The named helpers are already separate functions; the literals' work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal's work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest.
D2 · Cognitive Complexity · Lif.applyPlasticity (cognitive 23) · ×1
  • Lif.applyPlasticity (cognitive 23) utils/desktopFly/lif.ts:930 — Lif.applyPlasticity has cognitive complexity 23 (threshold 15). Drivers by points: if/else 6 (16 pts), loops 2 (3 pts), ternaries 1 (3 pts), boolean chains 1 (nesting depth added 13). To reduce it, flatten the nesting: this score is depth rather than breadth — most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language's equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function.
D2 · Cognitive Complexity · useJSDOS.useJSDOS (cognitive 22) · ×1
  • useJSDOS.useJSDOS (cognitive 22) components/apps/JSDOS/useJSDOS.ts:22 — useJSDOS.useJSDOS has cognitive complexity 22 (threshold 15). Drivers by points: if/else 8 (14 pts), boolean chains 6, ternaries 1 (2 pts) (nesting depth added 7). None of this is in the body itself: all 22 points belong to 6 function literals inside it that branch (lines 68, 86, 74, …). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals' work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest.
D2 · Cognitive Complexity · useMonaco.useMonaco (cognitive 22) · ×1
  • useMonaco.useMonaco (cognitive 22) components/apps/MonacoEditor/useMonaco.ts:29 — useMonaco.useMonaco has cognitive complexity 22 (threshold 15). Drivers by points: if/else 9 (11 pts), boolean chains 10, ternaries 1 (nesting depth added 2). None of this is in the body itself: all 22 points belong to 8 function items inside it that branch (loadFile, a function literal at line 89, a function literal at line 106, …). The named helpers are already separate functions; the literals' work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal's work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest.
D2 · Cognitive Complexity · renderer.createGalaxyRenderer (cognitive 22) · ×1
  • renderer.createGalaxyRenderer (cognitive 22) components/system/Desktop/Wallpapers/Galaxy/renderer.ts:369 — renderer.createGalaxyRenderer has cognitive complexity 22 (threshold 15). Drivers by points: if/else 7 (9 pts), boolean chains 7, ternaries 5, error handling 1 (nesting depth added 2). Of this number, 20 points are the body's own statements and 2 belong to one function literal inside it that branches. To reduce it, split the body: most of this score is breadth rather than depth — checks laid out side by side rather than stacked — so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level.
D2 · Cognitive Complexity · useFolder.useFolder.renameFile (cognitive 22) · ×1
  • useFolder.useFolder.renameFile (cognitive 22) components/system/Files/FileManager/useFolder.ts:363 — useFolder.useFolder.renameFile has cognitive complexity 22 (threshold 15). Drivers by points: if/else 7 (15 pts), ternaries 2 (6 pts), boolean chains 1 (nesting depth added 12). Of this number, 14 points are the body's own statements and 8 belong to 2 function literals inside it that branch. To reduce it, flatten the nesting: this score is depth rather than breadth — most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language's equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function.
D2 · Cognitive Complexity · ai.worker.globalThis.addEventListener("message") (cognitive 22) · ×1
  • ai.worker.globalThis.addEventListener("message") (cognitive 22) components/system/Taskbar/AI/ai.worker.ts:46 — ai.worker.globalThis.addEventListener("message") has cognitive complexity 22 (threshold 15). Drivers by points: if/else 8 (13 pts), error handling 2 (3 pts), loops 1 (3 pts), ternaries 1 (2 pts), boolean chains 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body.
D2 · Cognitive Complexity · Details.Details (cognitive 22) · ×1
  • Details.Details (cognitive 22) components/system/Taskbar/Search/Details.tsx:31 — Details.Details has cognitive complexity 22 (threshold 15). Drivers by points: boolean chains 13, ternaries 7 (8 pts), if/else 1 (nesting depth added 1). Of this number, 18 points are the body's own statements and 4 belong to 3 function items inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators.
D2 · Cognitive Complexity · Fly.update (cognitive 22) · ×1
  • Fly.update (cognitive 22) utils/desktopFly/fly.ts:1237 — Fly.update has cognitive complexity 22 (threshold 15). Drivers by points: if/else 12 (15 pts), boolean chains 6, ternaries 1 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth — checks laid out side by side rather than stacked — so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level.
D2 · Cognitive Complexity · Navigation.Navigation (cognitive 21) · ×1
  • Navigation.Navigation (cognitive 21) components/apps/FileExplorer/Navigation.tsx:36 — Navigation.Navigation has cognitive complexity 21 (threshold 15). Drivers by points: boolean chains 9, ternaries 6 (8 pts), if/else 4 (nesting depth added 2). Most of this is not in the body itself: 9 of the 21 points are its own statements and the rest belongs to 3 function items inside it that branch (a function literal at line 117, resizeCallback, a function literal at line 50). The named helpers are already separate functions; the literals' work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal's work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest.
D2 · Cognitive Complexity · renderer.createGalaxyRenderer.drawGroup (cognitive 21) · ×1
  • renderer.createGalaxyRenderer.drawGroup (cognitive 21) components/system/Desktop/Wallpapers/Galaxy/renderer.ts:775 — renderer.createGalaxyRenderer.drawGroup has cognitive complexity 21 (threshold 15). Drivers by points: if/else 4 (11 pts), ternaries 4 (7 pts), boolean chains 2, loops 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body.
D2 · Cognitive Complexity · useFile.useFile.<returned closure> (cognitive 21) · ×1
  • useFile.useFile.<returned closure> (cognitive 21) components/system/Files/FileEntry/useFile.ts:27 — useFile.useFile.<returned closure> has cognitive complexity 21 (threshold 15). Drivers by points: ternaries 4 (8 pts), if/else 5 (7 pts), boolean chains 6 (nesting depth added 6). Of this number, 20 points are the body's own statements and 1 belongs to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body.
D2 · Cognitive Complexity · index.Menu · ×1
  • index.Menu::calculateOffset (cognitive 21) components/system/Menu/index.tsx:92 — index.Menu::calculateOffset has cognitive complexity 21 (threshold 15). Drivers by points: if/else 6 (8 pts), boolean chains 7, ternaries 3 (6 pts) (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body.
D2 · Cognitive Complexity · useUrlLoader.useUrlLoader (cognitive 21) · ×1
  • useUrlLoader.useUrlLoader (cognitive 21) hooks/useUrlLoader.ts:14 — useUrlLoader.useUrlLoader has cognitive complexity 21 (threshold 15). Drivers by points: if/else 8 (9 pts), boolean chains 5, ternaries 2 (4 pts), error handling 1 (3 pts) (nesting depth added 5). None of this is in the body itself: all 21 points belong to 3 function literals inside it that branch (lines 21, 37, 65). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals' work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest.
D2 · Cognitive Complexity · FlyApp.interactFlies (cognitive 21) · ×1
  • FlyApp.interactFlies (cognitive 21) utils/desktopFly/app.ts:1001 — FlyApp.interactFlies has cognitive complexity 21 (threshold 15). Drivers by points: if/else 5 (15 pts), loops 2 (4 pts), boolean chains 2 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body.
D2 · Cognitive Complexity · processGit.processGit (cognitive 20) · ×1
  • processGit.processGit (cognitive 20) components/apps/Terminal/processGit.ts:44 — processGit.processGit has cognitive complexity 20 (threshold 15). Drivers by points: if/else 8 (16 pts), boolean chains 2, error handling 1 (2 pts) (nesting depth added 9). Of this number, 18 points are the body's own statements and 2 belong to one function item inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body.
D2 · Cognitive Complexity · functions.formatWebLlmProgress (cognitive 20) · ×1
  • functions.formatWebLlmProgress (cognitive 20) components/system/Taskbar/AI/functions.ts:16 — functions.formatWebLlmProgress has cognitive complexity 20 (threshold 15). Drivers by points: if/else 9, ternaries 3 (6 pts), boolean chains 5 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth — checks laid out side by side rather than stacked — so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition.
D2 · Cognitive Complexity · index.Titlebar (cognitive 20) · ×1
  • index.Titlebar (cognitive 20) components/system/Window/Titlebar/index.tsx:30 — index.Titlebar has cognitive complexity 20 (threshold 15). Drivers by points: boolean chains 11, if/else 7, ternaries 2. Most of this is not in the body itself: 9 of the 20 points are its own statements and the rest belongs to 6 function items inside it that branch (onTouchEnd, onMouseDownCapture, onMouseUpCapture, …). Those helpers are already separate functions, so extracting the branching again is not available. To reduce it, move them out of the body to the enclosing scope, where each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest.
D2 · Cognitive Complexity · useEruda.useEruda (cognitive 19) · ×1
  • useEruda.useEruda (cognitive 19) components/apps/DevTools/useEruda.ts:28 — useEruda.useEruda has cognitive complexity 19 (threshold 15). Drivers by points: if/else 8 (17 pts), boolean chains 2 (nesting depth added 9). None of this is in the body itself: all 19 points belong to 3 function literals inside it that branch (lines 38, 83, 88). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals' work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest.
D2 · Cognitive Complexity · closeEffectShaders.setUniformsFromGSchema · ×1
  • closeEffectShaders.setUniformsFromGSchema::setRuntimeUniform (cognitive 19) utils/closeEffectShaders.ts:212 — closeEffectShaders.setUniformsFromGSchema::setRuntimeUniform has cognitive complexity 19 (threshold 15). Drivers by points: if/else 8 (10 pts), ternaries 3 (8 pts), boolean chains 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body.
D2 · Cognitive Complexity · Fly.updateNavigation (cognitive 19) · ×1
  • Fly.updateNavigation (cognitive 19) utils/desktopFly/fly.ts:849 — Fly.updateNavigation has cognitive complexity 19 (threshold 15). Drivers by points: if/else 11 (14 pts), boolean chains 5 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth — checks laid out side by side rather than stacked — so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level.
D2 · Cognitive Complexity · directoryIndex.createDirectoryIndex (cognitive 18) · ×1
  • directoryIndex.createDirectoryIndex (cognitive 18) components/apps/Browser/directoryIndex.ts:100 — directoryIndex.createDirectoryIndex has cognitive complexity 18 (threshold 15). Drivers by points: boolean chains 9, ternaries 8 (9 pts) (nesting depth added 1). Of this number, 9 points are the body's own statements and 9 belong to one function literal inside it that branches. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators.
D2 · Cognitive Complexity · SearchBar.SearchBar (cognitive 18) · ×1
  • SearchBar.SearchBar (cognitive 18) components/apps/FileExplorer/SearchBar.tsx:26 — SearchBar.SearchBar has cognitive complexity 18 (threshold 15). Drivers by points: if/else 8 (13 pts), boolean chains 5 (nesting depth added 5). None of this is in the body itself: all 18 points belong to 5 function literals inside it that branch (lines 80, 61, 39, …). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals' work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest.
D2 · Cognitive Complexity · index.NostrChat (cognitive 18) · ×1
  • index.NostrChat (cognitive 18) components/apps/Messenger/index.tsx:58 — index.NostrChat has cognitive complexity 18 (threshold 15). Drivers by points: ternaries 5 (9 pts), boolean chains 5, if/else 4 (nesting depth added 4). Most of this is not in the body itself: 6 of the 18 points are its own statements and the rest belongs to 7 function items inside it that branch (a function literal at line 123, a function literal at line 80, markRead, …). The named helpers are already separate functions; the literals' work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal's work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest.
D2 · Cognitive Complexity · StatusBar.StatusBar (cognitive 18) · ×1
  • StatusBar.StatusBar (cognitive 18) components/apps/MonacoEditor/StatusBar.tsx:28 — StatusBar.StatusBar has cognitive complexity 18 (threshold 15). Drivers by points: boolean chains 12, ternaries 3 (4 pts), if/else 2 (nesting depth added 1). Of this number, 9 points are the body's own statements and 9 belong to 8 function literals inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators.
D2 · Cognitive Complexity · GeneralTab.GeneralTab · ×1
  • GeneralTab.GeneralTab::okAction (cognitive 18) components/system/Dialogs/Properties/GeneralTab.tsx:73 — GeneralTab.GeneralTab::okAction has cognitive complexity 18 (threshold 15). Drivers by points: if/else 6 (14 pts), ternaries 1 (3 pts), boolean chains 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: one other method here (GeneralTab.GeneralTab) has the same decision points, in the same order, at the same nesting depths — so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared.
D2 · Cognitive Complexity · functions.getInfoWithExtension · ×1
  • functions.getInfoWithExtension::handleShortcut (cognitive 18) components/system/Files/FileEntry/functions.ts:394 — functions.getInfoWithExtension::handleShortcut has cognitive complexity 18 (threshold 15). Drivers by points: ternaries 4 (8 pts), boolean chains 5, if/else 5 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body.
D2 · Cognitive Complexity · Icon.Icon (cognitive 18) · ×1
  • Icon.Icon (cognitive 18) styles/common/Icon.tsx:91 — Icon.Icon has cognitive complexity 18 (threshold 15). Drivers by points: boolean chains 10, ternaries 5, if/else 2, error handling 1. Of this number, 12 points are the body's own statements and 6 belong to 3 function items inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators.
D2 · Cognitive Complexity · closeEffect.bakeShadowAndOutline (cognitive 18) · ×1
  • closeEffect.bakeShadowAndOutline (cognitive 18) utils/closeEffect.ts:384 — closeEffect.bakeShadowAndOutline has cognitive complexity 18 (threshold 15). Drivers by points: if/else 7 (12 pts), boolean chains 6 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body.
D2 · Cognitive Complexity · vision.classifyPoint (cognitive 18) · ×1
  • vision.classifyPoint (cognitive 18) utils/desktopFly/vision.ts:75 — vision.classifyPoint has cognitive complexity 18 (threshold 15). Drivers by points: if/else 7 (13 pts), boolean chains 4, loops 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body.
D2 · Cognitive Complexity · usePanZoom.usePanZoom (cognitive 17) · ×1
  • usePanZoom.usePanZoom (cognitive 17) components/apps/Photos/usePanZoom.ts:26 — usePanZoom.usePanZoom has cognitive complexity 17 (threshold 15). Drivers by points: boolean chains 7, if/else 5 (7 pts), ternaries 1 (3 pts) (nesting depth added 4). Most of this is not in the body itself: 1 of the 17 points is its own statement and the rest belongs to 3 function items inside it that branch (zoomUpdate, a function literal at line 66, a function literal at line 78). The named helpers are already separate functions; the literals' work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal's work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest.
D2 · Cognitive Complexity · python.runPython (cognitive 17) · ×1
  • python.runPython (cognitive 17) components/apps/Terminal/python.ts:32 — python.runPython has cognitive complexity 17 (threshold 15). Drivers by points: if/else 6 (11 pts), boolean chains 2, error handling 1 (2 pts), ternaries 1 (2 pts) (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body.
D2 · Cognitive Complexity · useFaviconAndTitle.useFaviconAndTitle (cognitive 17) · ×1
  • useFaviconAndTitle.useFaviconAndTitle (cognitive 17) components/pages/hooks/useFaviconAndTitle.tsx:30 — useFaviconAndTitle.useFaviconAndTitle has cognitive complexity 17 (threshold 15). Drivers by points: if/else 6 (8 pts), boolean chains 4, ternaries 2 (3 pts), error handling 1 (2 pts) (nesting depth added 4). None of this is in the body itself: all 17 points belong to 4 function literals inside it that branch (lines 50, 75, 44, …). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals' work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest.
D2 · Cognitive Complexity · useTransferDialog.useTransferDialog.openTransferDialog (cognitive 17) · ×1
  • useTransferDialog.useTransferDialog.openTransferDialog (cognitive 17) components/system/Dialogs/Transfer/useTransferDialog.ts:43 — useTransferDialog.useTransferDialog.openTransferDialog has cognitive complexity 17 (threshold 15). Drivers by points: if/else 7 (14 pts), boolean chains 3 (nesting depth added 7). Of this number, 16 points are the body's own statements and 1 belongs to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body.
D2 · Cognitive Complexity · index.Sidebar (cognitive 17) · ×1
  • index.Sidebar (cognitive 17) components/system/StartMenu/Sidebar/index.tsx:39 — index.Sidebar has cognitive complexity 17 (threshold 15). Drivers by points: boolean chains 10, ternaries 4, if/else 3. Of this number, 9 points are the body's own statements and 8 belong to 3 function items inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators.
D2 · Cognitive Complexity · index.Search · ×1
  • index.Search::onKeyDown (cognitive 17) components/system/Taskbar/Search/index.tsx:295 — index.Search::onKeyDown has cognitive complexity 17 (threshold 15). Drivers by points: boolean chains 10, if/else 6, ternaries 1. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators. This shape REPEATS in the file: one other method here (index.Search) has the same decision points, in the same order, at the same nesting depths — so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared.
D2 · Cognitive Complexity · index.StableDiffusion (cognitive 16) · ×1
  • index.StableDiffusion (cognitive 16) components/apps/StableDiffusion/index.tsx:28 — index.StableDiffusion has cognitive complexity 16 (threshold 15). Drivers by points: if/else 5 (8 pts), boolean chains 6, ternaries 2 (nesting depth added 3). Most of this is not in the body itself: 7 of the 16 points are its own statements and the rest belongs to one function item inside it that branches (generateImage). Those helpers are already separate functions, so extracting the branching again is not available. To reduce it, move them out of the body to the enclosing scope, where each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest.
D2 · Cognitive Complexity · useExif.useExif (cognitive 16) · ×1
  • useExif.useExif (cognitive 16) components/system/Dialogs/Properties/useExif.ts:24 — useExif.useExif has cognitive complexity 16 (threshold 15). Drivers by points: ternaries 4 (12 pts), boolean chains 3, if/else 1 (nesting depth added 8). None of this is in the body itself: all 16 points belong to 3 function literals inside it that branch (lines 38, 29, 31). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals' work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest.
D2 · Cognitive Complexity · functions.getInfoWithoutExtension (cognitive 16) · ×1
  • functions.getInfoWithoutExtension (cognitive 16) components/system/Files/FileEntry/functions.ts:296 — functions.getInfoWithoutExtension has cognitive complexity 16 (threshold 15). Drivers by points: if/else 10 (16 pts) (nesting depth added 6). Most of this is not in the body itself: 5 of the 16 points are its own statements and the rest belongs to 2 function items inside it that branch (getDynamicIcon, getFolderIcon). Those helpers are already separate functions, so extracting the branching again is not available. To reduce it, move them out of the body to the enclosing scope, where each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest.
D2 · Cognitive Complexity · index.FileEntry · ×1
  • index.FileEntry::createTooltip (cognitive 16) components/system/Files/FileEntry/index.tsx:230 — index.FileEntry::createTooltip has cognitive complexity 16 (threshold 15). Drivers by points: if/else 5 (9 pts), ternaries 3 (5 pts), boolean chains 2 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: one other method here (index.FileEntry) has the same decision points, in the same order, at the same nesting depths — so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared.
D2 · Cognitive Complexity · useDraggableEntries.useDraggableEntries · ×1
  • useDraggableEntries.useDraggableEntries::updateDragImage (cognitive 16) components/system/Files/FileManager/useDraggableEntries.ts:69 — useDraggableEntries.useDraggableEntries::updateDragImage has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (13 pts), error handling 1 (3 pts) (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body.
D2 · Cognitive Complexity · useFolderContextMenu.captureScreen (cognitive 16) · ×1
  • useFolderContextMenu.captureScreen (cognitive 16) components/system/Files/FileManager/useFolderContextMenu.ts:68 — useFolderContextMenu.captureScreen has cognitive complexity 16 (threshold 15). Drivers by points: if/else 5 (6 pts), boolean chains 5, error handling 2 (3 pts), ternaries 2 (nesting depth added 2). Of this number, 12 points are the body's own statements and 4 belong to one function literal inside it that branches. To reduce it, split the body: this score is breadth rather than depth — many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages.
D2 · Cognitive Complexity · index.StartMenu (cognitive 16) · ×1
  • index.StartMenu (cognitive 16) components/system/StartMenu/index.tsx:45 — index.StartMenu has cognitive complexity 16 (threshold 15). Drivers by points: if/else 8 (10 pts), boolean chains 5, ternaries 1 (nesting depth added 2). None of this is in the body itself: all 16 points belong to 5 function items inside it that branch (onKeyDown, a function literal at line 81, focusOnRenderCallback, …). The named helpers are already separate functions; the literals' work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal's work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest.
D2 · Cognitive Complexity · useIsolatedContentWindow.useIsolatedContentWindow (cognitive 16) · ×1
  • useIsolatedContentWindow.useIsolatedContentWindow (cognitive 16) hooks/useIsolatedContentWindow.ts:68 — useIsolatedContentWindow.useIsolatedContentWindow has cognitive complexity 16 (threshold 15). Drivers by points: if/else 11 (13 pts), boolean chains 2, ternaries 1 (nesting depth added 2). Most of this is not in the body itself: 1 of the 16 points is its own statement and the rest belongs to 6 function items inside it that branch (createContentWindow::focusContentWindow, a function literal at line 116, createContentWindow, …). The named helpers are already separate functions; the literals' work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal's work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest.
D29 · Static Analysis (SAST) · REDACTED · ×1
  • REDACTED
D29 · Static Analysis (SAST) · REDACTED · ×1
  • REDACTED
D29 · Static Analysis (SAST) · REDACTED · ×1
  • REDACTED
D35 · Change Coupling · Change coupling · ×1
  • Change coupling: index.tsx ↔ SidebarButton.tsx components/system/Files/FileEntry/index.tsx:1 — `components/system/Files/FileEntry/index.tsx` and `components/system/StartMenu/Sidebar/SidebarButton.tsx` change together 58% of the time (7 of the 12 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well — a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) with no explicit dependency — the edge is real but nothing declares it. Read the pair before acting: if one registers itself into the other through a hook or an initialiser, the missing dependency is DELIBERATE — the registration is the link, and it is meant not to be an import — and the thing to add is a comment on each side naming the other, not a merge; if they simply belong together, co-locate them; if neither holds, the coupling is hidden and worth breaking. You can check this without leaving the row: of the 7 shared commits counted here, the most recent 3 are `c9be03af` Don't need fine pointer hook; `759c16a6` Don't return in `ref` ever; `ba8d5bc7` Don't use spotlight for hover, only fine pointer — run `git show` on any of them.
D36 · Supply-chain Provenance & Signing · REDACTED · ×1
  • REDACTED
P12 · CI test-gate honesty · Test suite runs only after the merge · ×1
  • Test suite runs only after the merge — `REDACTED` run(s) the test suite, but no workflow that runs tests is triggered by a pull request (or a merge queue) — so the suite reports on code that is already on the default branch. A red build there blocks nothing and the only remedy is a revert. Add the pull-request trigger to the workflow that runs your suite so the gate applies before the merge, not after it.
P2 · Observability · No structured logging · ×1
  • No structured logging — No logging call was found in the 430 JavaScript/TypeScript production file(s) this check read across 1 module(s). Each was searched for its ecosystem's logging libraries (JavaScript/TypeScript: pino, winston, bunyan, log4js, loglevel, consola, the NestJS Logger) and for a call on a receiver named `log`/`logger` (or ending in `Logger`/`_logger`) with a level verb. It cannot see logging through a repo-local wrapper named otherwise, or in source it did not read — this is 'no logging found by this walk', not a verdict that nothing here logs. If it is right, production issues will be hard to diagnose.
R10 · Code Duplication · Duplication concentrated across 20 sibling directories (22 clone groups) · ×1
  • Duplication concentrated across 20 sibling directories (22 clone groups) components/apps/ClassiCube/useClassiCube.ts:75 — 22 duplicated blocks under components/apps/ have copies in at least two of the sibling directories BoxedWine, Browser, Chess, ClassiCube, DX-Ball, DevTools (+14 more sibling(s) not listed) — 7 of them are reported below, and 15 are 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 22 and which does not depend on how exactly each block's copies still match. That concentration is one structural fact, not 22 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 22 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.
R10 · Code Duplication · Duplication concentrated across 2 sibling directories (7 clone groups) · ×1
  • Duplication concentrated across 2 sibling directories (7 clone groups) components/apps/Terminal/useCommandInterpreter.ts:137 — 7 duplicated blocks under components/ have copies in at least two of the sibling directories apps, system — 4 of them are reported below, and 3 are 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 7 and which does not depend on how exactly each block's copies still match. That concentration is one structural fact, not 7 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 7 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.
R10 · Code Duplication · Duplicated block (30 lines × 2 locations) · ×1
  • Duplicated block (30 lines × 2 locations) components/system/Desktop/Wallpapers/Galaxy/generate.ts:487 — components/system/Desktop/Wallpapers/Galaxy/generate.ts:487 · components/system/Desktop/Wallpapers/Galaxy/generate.ts:1210 — 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.
R10 · Code Duplication · Duplicated block (20 lines × 2 locations) · ×1
  • Duplicated block (20 lines × 2 locations) components/system/Desktop/Wallpapers/Galaxy/generate.ts:1369 — components/system/Desktop/Wallpapers/Galaxy/generate.ts:1369 · components/system/Desktop/Wallpapers/Galaxy/generate.ts:1401 — 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.
R10 · Code Duplication · Duplicated block with local edits (18 matched lines × 2 locations) · ×1
  • Duplicated block with local edits (18 matched lines × 2 locations) components/system/Window/RndWindow/useRnd.ts:57 — components/system/Window/RndWindow/useRnd.ts:57 · components/system/Window/RndWindow/useRnd.ts:100 — the two spans are one implementation copied and then locally edited — 62 tokens are still identical, in the same order in both spans, 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.
R10 · Code Duplication · Duplicated block with local edits (17 matched lines × 2 locations) · ×1
  • Duplicated block with local edits (17 matched lines × 2 locations) components/apps/ClassiCube/useClassiCube.ts:75 — components/apps/ClassiCube/useClassiCube.ts:75 · components/apps/SpaceCadet/useSpaceCadet.ts:51 — the two spans are one implementation copied and then locally edited — 113 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.
R10 · Code Duplication · Duplicated block (16 lines × 6 locations) · ×1
  • Duplicated block (16 lines × 6 locations) components/apps/FileExplorer/NavigationIcons.tsx:6 — components/apps/FileExplorer/NavigationIcons.tsx:6 · components/apps/PDF/ControlIcons.tsx:6 · components/apps/Photos/PhotoIcons.tsx:6 · components/system/StartMenu/Sidebar/SidebarIcons.tsx:9 · +2 more site(s) not listed — the 6 copies are spread across 6 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.
R10 · Code Duplication · Duplicated block with local edits (16 matched lines × 2 locations) · ×1
  • Duplicated block with local edits (16 matched lines × 2 locations) components/system/Dialogs/Properties/GeneralTab.tsx:251 — components/system/Dialogs/Properties/GeneralTab.tsx:251 · components/system/Taskbar/Search/Details.tsx:105 — the two spans are one implementation copied and then locally edited — 60 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.
R10 · Code Duplication · Duplicated block (15 lines × 7 locations) · ×1
  • Duplicated block (15 lines × 7 locations) components/apps/Browser/NavigationIcons.tsx:26 — components/apps/Browser/NavigationIcons.tsx:26 · components/apps/FileExplorer/NavigationIcons.tsx:7 · components/apps/PDF/ControlIcons.tsx:7 · components/apps/Photos/PhotoIcons.tsx:7 · +3 more site(s) not listed — the 7 copies are spread across 7 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.
R10 · Code Duplication · Duplicated block (15 lines × 2 locations) · ×1
  • Duplicated block (15 lines × 2 locations) components/system/Desktop/Wallpapers/ShaderToy/CoastalLandscape/index.ts:15 — components/system/Desktop/Wallpapers/ShaderToy/CoastalLandscape/index.ts:15 · components/system/Desktop/Wallpapers/hexells/index.ts: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.
R10 · Code Duplication · Duplicated block (13 lines × 3 locations) · ×1
  • Duplicated block (13 lines × 3 locations) components/apps/BoxedWine/index.tsx:3 — components/apps/BoxedWine/index.tsx:3 · components/apps/DX-Ball/index.tsx:3 · components/apps/V86/index.tsx:3 — the 3 copies are spread across 3 files, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct — and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal's entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins — a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are.
R10 · Code Duplication · Duplicated block (13 lines × 8 locations) · ×1
  • Duplicated block (13 lines × 8 locations) components/apps/FileExplorer/NavigationIcons.tsx:3 — components/apps/FileExplorer/NavigationIcons.tsx:3 · components/apps/PDF/ControlIcons.tsx:3 · components/apps/Photos/PhotoIcons.tsx:3 · components/system/StartMenu/Sidebar/SidebarIcons.tsx:15 · +4 more site(s) not listed — the 8 copies are spread across 7 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.
R10 · Code Duplication · Duplicated block with local edits (13 matched lines × 2 locations) · ×1
  • Duplicated block with local edits (13 matched lines × 2 locations) contexts/fileSystem/core.ts:135 — contexts/fileSystem/core.ts:135 · contexts/fileSystem/core.ts:174 — the two spans are one implementation copied and then locally edited — 60 tokens are still identical, in the same order in both spans, 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.
R10 · Code Duplication · Duplicated block (13 lines × 2 locations) · ×1
  • Duplicated block (13 lines × 2 locations) utils/desktopFly/lif.ts:1065 — utils/desktopFly/lif.ts:1065 · utils/desktopFly/lif.ts:1123 — 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.
R10 · Code Duplication · Duplicated block with local edits (12 matched lines × 2 locations) · ×1
  • Duplicated block with local edits (12 matched lines × 2 locations) components/apps/Emulator/useEmulator.ts:42 — components/apps/Emulator/useEmulator.ts:42 · components/apps/Ruffle/useRuffle.ts:12 — the two spans are one implementation copied and then locally edited — 65 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.
R10 · Code Duplication · Duplicated block (11 lines × 6 locations) · ×1
  • Duplicated block (11 lines × 6 locations) components/apps/ClassiCube/index.tsx:1 — components/apps/ClassiCube/index.tsx:1 · components/apps/DevTools/index.tsx:1 · components/apps/Marked/index.tsx:1 · components/apps/MonacoEditor/index.tsx:2 · +2 more site(s) not listed — the 6 copies are spread across 6 files, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct — and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal's entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins — a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are.
R10 · Code Duplication · Duplicated block with local edits (10 matched lines × 2 locations) · ×1
  • Duplicated block with local edits (10 matched lines × 2 locations) components/system/Desktop/Wallpapers/Matrix/index.ts:16 — components/system/Desktop/Wallpapers/Matrix/index.ts:16 · components/system/Desktop/Wallpapers/StableDiffusion/index.ts:55 — the two spans are one implementation copied and then locally edited — 67 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.
R10 · Code Duplication · Duplicated block (10 lines × 3 locations) · ×1
  • Duplicated block (10 lines × 3 locations) components/system/Taskbar/AI/AIChat.tsx:723 — components/system/Taskbar/AI/AIChat.tsx:723 · components/system/Taskbar/AI/AIChat.tsx:736 · components/system/Taskbar/AI/AIChat.tsx:746 — all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites — resolving only two of them leaves the rest to drift apart the first time one is edited.
R10 · Code Duplication · Duplicated block (9 lines × 10 locations) · ×1
  • Duplicated block (9 lines × 10 locations) components/apps/ClassiCube/index.tsx:1 — components/apps/ClassiCube/index.tsx:1 · components/apps/DevTools/index.tsx:1 · components/apps/Emulator/index.tsx:1 · components/apps/JSDOS/index.tsx:1 · +6 more site(s) not listed — the 10 copies are spread across 10 files, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct — and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal's entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins — a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are.
R10 · Code Duplication · Duplicated block (9 lines × 6 locations) · ×1
  • Duplicated block (9 lines × 6 locations) components/apps/Emulator/index.tsx:2 — components/apps/Emulator/index.tsx:2 · components/apps/JSDOS/index.tsx:2 · components/apps/Quake3/index.tsx:1 · components/apps/Ruffle/index.tsx:2 · +2 more site(s) not listed — the 6 copies are spread across 6 files, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct — and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal's entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins — a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are.
R10 · Code Duplication · Duplicated block with local edits (9 matched lines × 2 locations) · ×1
  • Duplicated block with local edits (9 matched lines × 2 locations) components/system/Dialogs/Run/index.tsx:127 — components/system/Dialogs/Run/index.tsx:127 · components/system/Dialogs/Run/index.tsx:168 — the two spans are one implementation copied and then locally edited — 56 tokens are still identical, in the same order in both spans, 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.
R10 · Code Duplication · Duplicated block with local edits (8 matched lines × 2 locations) · ×1
  • Duplicated block with local edits (8 matched lines × 2 locations) scripts/searchIndex.js:100 — scripts/searchIndex.js:100 · utils/search.ts:179 — the two spans are one implementation copied and then locally edited — 51 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.
R10 · Code Duplication · Duplicated block (8 lines × 2 locations) · ×1
  • Duplicated block (8 lines × 2 locations) utils/desktopFly/app.ts:1251 — utils/desktopFly/app.ts:1251 · utils/desktopFly/app.ts:1281 — 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.
R10 · Code Duplication · Duplicated block (7 lines × 2 locations) · ×1
  • Duplicated block (7 lines × 2 locations) utils/desktopFly/fly.ts:1361 — utils/desktopFly/fly.ts:1361 · utils/desktopFly/fly.ts:1554 — 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.
R10 · Code Duplication · Duplicated block (5 lines × 3 locations) · ×1
  • Duplicated block (5 lines × 3 locations) components/system/Desktop/Wallpapers/Galaxy/renderer.ts:614 — components/system/Desktop/Wallpapers/Galaxy/renderer.ts:614 · utils/closeEffect.ts:175 · utils/closeEffectShaders.ts:356 — the 3 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. 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.
R2 · Cyclomatic Complexity · Complex function (anonymous) (cyclomatic 232, cognitive 389) · ×1
  • Complex function (anonymous) (cyclomatic 232, cognitive 389) components/apps/Terminal/useCommandInterpreter.ts:244 — (anonymous) has cyclomatic complexity 232 and cognitive complexity 389; 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.
R2 · Cyclomatic Complexity · Complex function (anonymous) (cyclomatic 91, cognitive 183) · ×1
  • Complex function (anonymous) (cyclomatic 91, cognitive 183) components/system/Desktop/Wallpapers/Galaxy/generate.ts:477 — (anonymous) has cyclomatic complexity 91 and cognitive complexity 183; 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.
R2 · Cyclomatic Complexity · Complex function (anonymous) (cyclomatic 60, cognitive 106) · ×1
  • Complex function (anonymous) (cyclomatic 60, cognitive 106) components/system/Files/FileEntry/useFileContextMenu.ts:147 — (anonymous) has cyclomatic complexity 60 and cognitive complexity 106; 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.
R2 · Cyclomatic Complexity · Complex function (anonymous) (cyclomatic 59, cognitive 96) · ×1
  • Complex function (anonymous) (cyclomatic 59, cognitive 96) components/system/Files/FileManager/useFileKeyboardShortcuts.ts:147 — (anonymous) has cyclomatic complexity 59 and cognitive complexity 96; 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.
R2 · Cyclomatic Complexity · Complex function stepOneMs (cyclomatic 45, cognitive 84) · ×1
  • Complex function stepOneMs (cyclomatic 45, cognitive 84) utils/desktopFly/lif.ts:1004 — stepOneMs has cyclomatic complexity 45 and cognitive complexity 84; 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.
R2 · Cyclomatic Complexity · Complex function brainBehavior (cyclomatic 45, cognitive 47) · ×1
  • Complex function brainBehavior (cyclomatic 45, cognitive 47) utils/desktopFly/fly.ts:1405 — brainBehavior has cyclomatic complexity 45 and cognitive complexity 47; 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.
R2 · Cyclomatic Complexity · Complex function (anonymous) (cyclomatic 34, cognitive 21) · ×1
  • Complex function (anonymous) (cyclomatic 34, cognitive 21) utils/desktopFly/lif.ts:414 — (anonymous) has cyclomatic complexity 34 and cognitive complexity 21; 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.
R2 · Cyclomatic Complexity · Complex function (anonymous) (cyclomatic 33, cognitive 66) · ×1
  • Complex function (anonymous) (cyclomatic 33, cognitive 66) components/system/Dialogs/Run/index.tsx:74 — (anonymous) has cyclomatic complexity 33 and cognitive complexity 66; 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.
R2 · Cyclomatic Complexity · Complex function (anonymous) (cyclomatic 33, cognitive 28) · ×1
  • Complex function (anonymous) (cyclomatic 33, cognitive 28) utils/closeEffect.ts:453 — (anonymous) has cyclomatic complexity 33 and cognitive complexity 28; 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.
R2 · Cyclomatic Complexity · Complex function (anonymous) (cyclomatic 32, cognitive 63) · ×1
  • Complex function (anonymous) (cyclomatic 32, cognitive 63) components/system/Desktop/Wallpapers/useWallpaper.ts:298 — (anonymous) has cyclomatic complexity 32 and cognitive complexity 63; 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.
R2 · Cyclomatic Complexity · Complex function (anonymous) (cyclomatic 32, cognitive 34) · ×1
  • Complex function (anonymous) (cyclomatic 32, cognitive 34) utils/desktopFly/app.ts:1082 — (anonymous) has cyclomatic complexity 32 and cognitive complexity 34; 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.
R2 · Cyclomatic Complexity · Complex function (anonymous) (cyclomatic 31, cognitive 31) · ×1
  • Complex function (anonymous) (cyclomatic 31, cognitive 31) contexts/session/useSessionContextState.ts:250 — (anonymous) has cyclomatic complexity 31 and cognitive complexity 31; 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.
R2 · Cyclomatic Complexity · Complex function (anonymous) (cyclomatic 31, cognitive 27) · ×1
  • Complex function (anonymous) (cyclomatic 31, cognitive 27) components/system/Taskbar/AI/AIChat.tsx:778 — (anonymous) has cyclomatic complexity 31 and cognitive complexity 27; 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.
R2 · Cyclomatic Complexity · Complex function FileEntry (cyclomatic 31, cognitive 25) · ×1
  • Complex function FileEntry (cyclomatic 31, cognitive 25) components/system/Files/FileEntry/index.tsx:138 — FileEntry has cyclomatic complexity 31 and cognitive complexity 25; 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.
R2 · Cyclomatic Complexity · Complex function constructor (cyclomatic 30, cognitive 55) · ×1
  • Complex function constructor (cyclomatic 30, cognitive 55) utils/desktopFly/lif.ts:380 — constructor has cyclomatic complexity 30 and cognitive complexity 55; 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.
R2 · Cyclomatic Complexity · Complex function (anonymous) (cyclomatic 30, cognitive 33) · ×1
  • Complex function (anonymous) (cyclomatic 30, cognitive 33) utils/desktopFly/app.ts:1410 — (anonymous) has cyclomatic complexity 30 and cognitive complexity 33; 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.
R2 · Cyclomatic Complexity · Complex function startFlight (cyclomatic 29, cognitive 47) · ×1
  • Complex function startFlight (cyclomatic 29, cognitive 47) utils/desktopFly/fly.ts:598 — startFlight has cyclomatic complexity 29 and cognitive complexity 47; 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.
R2 · Cyclomatic Complexity · Complex function FileManager (cyclomatic 29, cognitive 24) · ×1
  • Complex function FileManager (cyclomatic 29, cognitive 24) components/system/Files/FileManager/index.tsx:66 — FileManager has cyclomatic complexity 29 and cognitive complexity 24; 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.
R2 · Cyclomatic Complexity · Complex function (anonymous) (cyclomatic 28, cognitive 40) · ×1
  • Complex function (anonymous) (cyclomatic 28, cognitive 40) components/system/Desktop/Wallpapers/useWallpaper.ts:111 — (anonymous) has cyclomatic complexity 28 and cognitive complexity 40; 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.
R2 · Cyclomatic Complexity · Complex function (anonymous) (cyclomatic 28, cognitive 26) · ×1
  • Complex function (anonymous) (cyclomatic 28, cognitive 26) hooks/useGlobalKeyboardShortcuts.ts:142 — (anonymous) has cyclomatic complexity 28 and cognitive complexity 26; 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.
R2 · Cyclomatic Complexity · Complex function ResultEntry (cyclomatic 28, cognitive 22) · ×1
  • Complex function ResultEntry (cyclomatic 28, cognitive 22) REDACTED:48 — ResultEntry has cyclomatic complexity 28 and cognitive complexity 22; 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.
R2 · Cyclomatic Complexity · Complex function (anonymous) (cyclomatic 27, cognitive 33) · ×1
  • Complex function (anonymous) (cyclomatic 27, cognitive 33) utils/desktopFly/app.ts:230 — (anonymous) has cyclomatic complexity 27 and cognitive complexity 33; 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.
R2 · Cyclomatic Complexity · Complex function updateWalk (cyclomatic 26, cognitive 42) · ×1
  • Complex function updateWalk (cyclomatic 26, cognitive 42) utils/desktopFly/fly.ts:1551 — updateWalk has cyclomatic complexity 26 and cognitive complexity 42; 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.
R2 · Cyclomatic Complexity · Complex function update (cyclomatic 26, cognitive 29) · ×1
  • Complex function update (cyclomatic 26, cognitive 29) utils/desktopFly/fly.ts:1237 — update has cyclomatic complexity 26 and cognitive complexity 29; 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.
R2 · Cyclomatic Complexity · Complex function updateRates (cyclomatic 26, cognitive 27) · ×1
  • Complex function updateRates (cyclomatic 26, cognitive 27) utils/desktopFly/lif.ts:1318 — updateRates has cyclomatic complexity 26 and cognitive complexity 27; 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.
R2 · Cyclomatic Complexity · Complex function Search (cyclomatic 26, cognitive 21) · ×1
  • Complex function Search (cyclomatic 26, cognitive 21) components/system/Taskbar/Search/index.tsx:119 — Search has cyclomatic complexity 26 and cognitive complexity 21; 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.
R2 · Cyclomatic Complexity · Complex function GeneralTab (cyclomatic 25, cognitive 23) · ×1
  • Complex function GeneralTab (cyclomatic 25, cognitive 23) components/system/Dialogs/Properties/GeneralTab.tsx:49 — GeneralTab has cyclomatic complexity 25 and cognitive complexity 23; 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.
R2 · Cyclomatic Complexity · Complex function MenuItemEntry (cyclomatic 25, cognitive 22) · ×1
  • Complex function MenuItemEntry (cyclomatic 25, cognitive 22) components/system/Menu/MenuItemEntry.tsx:34 — MenuItemEntry has cyclomatic complexity 25 and cognitive complexity 22; 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.
R2 · Cyclomatic Complexity · Complex function updateNavigation (cyclomatic 23, cognitive 28) · ×1
  • Complex function updateNavigation (cyclomatic 23, cognitive 28) utils/desktopFly/fly.ts:849 — updateNavigation has cyclomatic complexity 23 and cognitive complexity 28; 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.
R2 · Cyclomatic Complexity · Complex function (anonymous) (cyclomatic 23, cognitive 18) · ×1
  • Complex function (anonymous) (cyclomatic 23, cognitive 18) components/system/Taskbar/Search/Details.tsx:31 — (anonymous) has cyclomatic complexity 23 and cognitive complexity 18; 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.
R2 · Cyclomatic Complexity · Complex function (anonymous) (cyclomatic 21, cognitive 28) · ×1
  • Complex function (anonymous) (cyclomatic 21, cognitive 28) components/system/Desktop/Wallpapers/Galaxy/renderer.ts:890 — (anonymous) has cyclomatic complexity 21 and cognitive complexity 28; 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.
R2 · Cyclomatic Complexity · Complex function (anonymous) (cyclomatic 21, cognitive 26) · ×1
  • Complex function (anonymous) (cyclomatic 21, cognitive 26) components/system/Taskbar/AI/functions.ts:16 — (anonymous) has cyclomatic complexity 21 and cognitive complexity 26; 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.
R2 · Cyclomatic Complexity · Complex function (anonymous) (cyclomatic 21, cognitive 22) · ×1
  • Complex function (anonymous) (cyclomatic 21, cognitive 22) components/system/Desktop/Wallpapers/Galaxy/renderer.ts:372 — (anonymous) has cyclomatic complexity 21 and cognitive complexity 22; 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.
R2 · Cyclomatic Complexity · Complex function (anonymous) (cyclomatic 21, cognitive 19) · ×1
  • Complex function (anonymous) (cyclomatic 21, cognitive 19) components/system/Files/FileManager/useFolderContextMenu.ts:229 — (anonymous) has cyclomatic complexity 21 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 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.
R2 · Cyclomatic Complexity · Complex function AIChat (cyclomatic 21, cognitive 19) · ×1
  • Complex function AIChat (cyclomatic 21, cognitive 19) components/system/Taskbar/AI/AIChat.tsx:200 — AIChat has cyclomatic complexity 21 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 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.
R2 · Cyclomatic Complexity · Complex function onKeyDown (cyclomatic 21, cognitive 17) · ×1
  • Complex function onKeyDown (cyclomatic 21, cognitive 17) components/system/Taskbar/Search/index.tsx:295 — onKeyDown has cyclomatic complexity 21 and cognitive complexity 17; 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.
R2 · Cyclomatic Complexity · Complex function (anonymous) (cyclomatic 19, cognitive 41) · ×1
  • Complex function (anonymous) (cyclomatic 19, cognitive 41) components/apps/Browser/index.tsx:129 — (anonymous) has cyclomatic complexity 19 and cognitive complexity 41; 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.
R2 · Cyclomatic Complexity · Complex function (anonymous) (cyclomatic 19, cognitive 25) · ×1
  • Complex function (anonymous) (cyclomatic 19, cognitive 25) components/system/Menu/index.tsx:92 — (anonymous) has cyclomatic complexity 19 and cognitive complexity 25; 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.
R3 · Large Files · utils/desktopFly/fly.ts · ×1
  • utils/desktopFly/fly.ts: 1685 lines of code utils/desktopFly/fly.ts:1 — utils/desktopFly/fly.ts has 1685 significant lines (blank lines excluded), over the 400-line bar, and contains logic — a file this long is usually several responsibilities in one module.
R3 · Large Files · components/system/Desktop/Wallpapers/Galaxy/generate.ts · ×1
  • components/system/Desktop/Wallpapers/Galaxy/generate.ts: 1505 lines of code components/system/Desktop/Wallpapers/Galaxy/generate.ts:1 — components/system/Desktop/Wallpapers/Galaxy/generate.ts has 1505 significant lines (blank lines excluded), over the 400-line bar, and contains logic — a file this long is usually several responsibilities in one module.
R3 · Large Files · utils/desktopFly/app.ts · ×1
  • utils/desktopFly/app.ts: 1481 lines of code utils/desktopFly/app.ts:1 — utils/desktopFly/app.ts has 1481 significant lines (blank lines excluded), over the 400-line bar, and contains logic — a file this long is usually several responsibilities in one module.
R3 · Large Files · utils/desktopFly/lif.ts · ×1
  • utils/desktopFly/lif.ts: 1267 lines of code utils/desktopFly/lif.ts:1 — utils/desktopFly/lif.ts has 1267 significant lines (blank lines excluded), over the 400-line bar, and contains logic — a file this long is usually several responsibilities in one module.
R3 · Large Files · components/apps/Terminal/useCommandInterpreter.ts · ×1
  • components/apps/Terminal/useCommandInterpreter.ts: 1188 lines of code components/apps/Terminal/useCommandInterpreter.ts:1 — components/apps/Terminal/useCommandInterpreter.ts has 1188 significant lines (blank lines excluded), over the 400-line bar, and contains logic — a file this long is usually several responsibilities in one module.
R3 · Large Files · utils/functions.ts · ×1
  • utils/functions.ts: 1116 lines of code utils/functions.ts:1 — utils/functions.ts has 1116 significant lines (blank lines excluded), over the 400-line bar, and contains logic — a file this long is usually several responsibilities in one module.
R3 · Large Files · components/system/Desktop/Wallpapers/Galaxy/renderer.ts · ×1
  • components/system/Desktop/Wallpapers/Galaxy/renderer.ts: 1024 lines of code components/system/Desktop/Wallpapers/Galaxy/renderer.ts:1 — components/system/Desktop/Wallpapers/Galaxy/renderer.ts has 1024 significant lines (blank lines excluded), over the 400-line bar, and contains logic — a file this long is usually several responsibilities in one module.
R3 · Large Files · components/system/Taskbar/AI/AIChat.tsx · ×1
  • components/system/Taskbar/AI/AIChat.tsx: 1013 lines of code components/system/Taskbar/AI/AIChat.tsx:1 — components/system/Taskbar/AI/AIChat.tsx has 1013 significant lines (blank lines excluded), over the 400-line bar, and contains logic — a file this long is usually several responsibilities in one module.
R3 · Large Files · components/system/Files/FileEntry/functions.ts · ×1
  • components/system/Files/FileEntry/functions.ts: 844 lines of code components/system/Files/FileEntry/functions.ts:1 — components/system/Files/FileEntry/functions.ts has 844 significant lines (blank lines excluded), over the 400-line bar, and contains logic — a file this long is usually several responsibilities in one module.
R3 · Large Files · components/apps/Chess/index.tsx · ×1
  • components/apps/Chess/index.tsx: 812 lines of code components/apps/Chess/index.tsx:1 — components/apps/Chess/index.tsx has 812 significant lines (blank lines excluded), over the 400-line bar, and contains logic — a file this long is usually several responsibilities in one module.
R3 · Large Files · components/system/Files/FileManager/useFolder.ts · ×1
  • components/system/Files/FileManager/useFolder.ts: 728 lines of code components/system/Files/FileManager/useFolder.ts:1 — components/system/Files/FileManager/useFolder.ts has 728 significant lines (blank lines excluded), over the 400-line bar, and contains logic — a file this long is usually several responsibilities in one module.
R3 · Large Files · components/system/Taskbar/AI/StyledAIChat.ts · ×1
  • components/system/Taskbar/AI/StyledAIChat.ts: 671 lines of code components/system/Taskbar/AI/StyledAIChat.ts:1 — components/system/Taskbar/AI/StyledAIChat.ts has 671 significant lines (blank lines excluded), over the 400-line bar, and contains logic — a file this long is usually several responsibilities in one module.
R3 · Large Files · contexts/fileSystem/useFileSystemContextState.ts · ×1
  • contexts/fileSystem/useFileSystemContextState.ts: 629 lines of code contexts/fileSystem/useFileSystemContextState.ts:1 — contexts/fileSystem/useFileSystemContextState.ts has 629 significant lines (blank lines excluded), over the 400-line bar, and contains logic — a file this long is usually several responsibilities in one module.
R3 · Large Files · components/system/Files/FileEntry/index.tsx · ×1
  • components/system/Files/FileEntry/index.tsx: 609 lines of code components/system/Files/FileEntry/index.tsx:1 — components/system/Files/FileEntry/index.tsx has 609 significant lines (blank lines excluded), over the 400-line bar, and contains logic — a file this long is usually several responsibilities in one module.
R3 · Large Files · components/system/Files/FileEntry/useFileContextMenu.ts · ×1
  • components/system/Files/FileEntry/useFileContextMenu.ts: 609 lines of code components/system/Files/FileEntry/useFileContextMenu.ts:1 — components/system/Files/FileEntry/useFileContextMenu.ts has 609 significant lines (blank lines excluded), over the 400-line bar, and contains logic — a file this long is usually several responsibilities in one module.
R3 · Large Files · components/system/Taskbar/Search/index.tsx · ×1
  • components/system/Taskbar/Search/index.tsx: 580 lines of code components/system/Taskbar/Search/index.tsx:1 — components/system/Taskbar/Search/index.tsx has 580 significant lines (blank lines excluded), over the 400-line bar, and contains logic — a file this long is usually several responsibilities in one module.
R3 · Large Files · utils/keyboard.ts · ×1
  • utils/keyboard.ts: 536 lines of code utils/keyboard.ts:1 — utils/keyboard.ts has 536 significant lines (blank lines excluded), over the 400-line bar, and contains logic — a file this long is usually several responsibilities in one module.
R3 · Large Files · components/system/Files/FileManager/useFolderContextMenu.ts · ×1
  • components/system/Files/FileManager/useFolderContextMenu.ts: 514 lines of code components/system/Files/FileManager/useFolderContextMenu.ts:1 — components/system/Files/FileManager/useFolderContextMenu.ts has 514 significant lines (blank lines excluded), over the 400-line bar, and contains logic — a file this long is usually several responsibilities in one module.
R3 · Large Files · utils/closeEffect.ts · ×1
  • utils/closeEffect.ts: 504 lines of code utils/closeEffect.ts:1 — utils/closeEffect.ts has 504 significant lines (blank lines excluded), over the 400-line bar, and contains logic — a file this long is usually several responsibilities in one module.
R3 · Large Files · utils/desktopFly/render.ts · ×1
  • utils/desktopFly/render.ts: 498 lines of code utils/desktopFly/render.ts:1 — utils/desktopFly/render.ts has 498 significant lines (blank lines excluded), over the 400-line bar, and contains logic — a file this long is usually several responsibilities in one module.
R3 · Large Files · utils/closeEffectShaders.ts · ×1
  • utils/closeEffectShaders.ts: 491 lines of code utils/closeEffectShaders.ts:1 — utils/closeEffectShaders.ts has 491 significant lines (blank lines excluded), over the 400-line bar, and contains logic — a file this long is usually several responsibilities in one module.
R3 · Large Files · components/system/Desktop/Wallpapers/useWallpaper.ts · ×1
  • components/system/Desktop/Wallpapers/useWallpaper.ts: 490 lines of code components/system/Desktop/Wallpapers/useWallpaper.ts:1 — components/system/Desktop/Wallpapers/useWallpaper.ts has 490 significant lines (blank lines excluded), over the 400-line bar, and contains logic — a file this long is usually several responsibilities in one module.
R3 · Large Files · components/apps/Messenger/functions.ts · ×1
  • components/apps/Messenger/functions.ts: 486 lines of code components/apps/Messenger/functions.ts:1 — components/apps/Messenger/functions.ts has 486 significant lines (blank lines excluded), over the 400-line bar, and contains logic — a file this long is usually several responsibilities in one module.
R3 · Large Files · components/apps/Browser/index.tsx · ×1
  • components/apps/Browser/index.tsx: 459 lines of code components/apps/Browser/index.tsx:1 — components/apps/Browser/index.tsx has 459 significant lines (blank lines excluded), over the 400-line bar, and contains logic — a file this long is usually several responsibilities in one module.
R3 · Large Files · contexts/process/directory.ts · ×1
  • contexts/process/directory.ts: 427 lines of code contexts/process/directory.ts:1 — contexts/process/directory.ts has 427 significant lines (blank lines excluded), over the 400-line bar, and contains logic — a file this long is usually several responsibilities in one module.
R3 · Large Files · contexts/session/useSessionContextState.ts · ×1
  • contexts/session/useSessionContextState.ts: 410 lines of code contexts/session/useSessionContextState.ts:1 — contexts/session/useSessionContextState.ts has 410 significant lines (blank lines excluded), over the 400-line bar, and contains logic — a file this long is usually several responsibilities in one module.
R3 · Large Files · components/apps/VideoPlayer/useVideoPlayer.ts · ×1
  • components/apps/VideoPlayer/useVideoPlayer.ts: 406 lines of code components/apps/VideoPlayer/useVideoPlayer.ts:1 — components/apps/VideoPlayer/useVideoPlayer.ts has 406 significant lines (blank lines excluded), over the 400-line bar, and contains logic — a file this long is usually several responsibilities in one module.
R6 · Tooling · No typecheck script · ×1
  • No typecheck script — test ✓ · lint ✓ · typecheck ✗ — read from this repository's REDACTED 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.
R7 · Dead Code · Dead file (~125 LoC) · ×1
  • Dead file (~125 LoC) components/system/Taskbar/Clock/clock.worker.ts — no import path from any entry point (12 application, 11 tooling, 20 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
R7 · Dead Code · Dead file (~123 LoC) · ×1
  • Dead file (~123 LoC) components/system/Taskbar/AI/ai.worker.ts — no import path from any entry point (12 application, 11 tooling, 20 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
R7 · Dead Code · Dead file (~99 LoC) · ×1
  • Dead file (~99 LoC) components/system/Desktop/Wallpapers/Galaxy/wallpaper.worker.ts — no import path from any entry point (12 application, 11 tooling, 20 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
R7 · Dead Code · Dead file (~63 LoC) · ×1
  • Dead file (~63 LoC) components/system/Desktop/Wallpapers/vantaWaves/wallpaper.worker.ts — no import path from any entry point (12 application, 11 tooling, 20 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
R7 · Dead Code · Dead file (~57 LoC) · ×1
  • Dead file (~57 LoC) components/system/Taskbar/Clock/ntp.ts — no import path from any entry point (12 application, 11 tooling, 20 test roots considered), but 1 in-repo import(s) from 1 other file(s) do name it (components/system/Taskbar/Clock/clock.worker.ts) — every one of those referrers is itself unreachable, so this file is dead only as a member of that cluster: if any referrer is in fact alive, this row falls with it
R7 · Dead Code · Dead file (~48 LoC) · ×1
  • Dead file (~48 LoC) utils/resizeImage.worker.ts — no import path from any entry point (12 application, 11 tooling, 20 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
R7 · Dead Code · Dead file (~38 LoC) · ×1
  • Dead file (~38 LoC) utils/heic.worker.ts — no import path from any entry point (12 application, 11 tooling, 20 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
R7 · Dead Code · Dead file (~37 LoC) · ×1
  • Dead file (~37 LoC) components/system/Desktop/Wallpapers/ShaderToy/CoastalLandscape/wallpaper.worker.ts — no import path from any entry point (12 application, 11 tooling, 20 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
R7 · Dead Code · Dead file (~36 LoC) · ×1
  • Dead file (~36 LoC) components/system/Desktop/Wallpapers/hexells/wallpaper.worker.ts — no import path from any entry point (12 application, 11 tooling, 20 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
R7 · Dead Code · Dead file (~28 LoC) · ×1
  • Dead file (~28 LoC) components/apps/StableDiffusion/sd.worker.ts — no import path from any entry point (12 application, 11 tooling, 20 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
R8 · Dependency Hygiene · Unused dependency 'oxlint-tsgolint' · ×1
  • Unused dependency 'oxlint-tsgolint' — Declared in the root REDACTED 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.
R8 · Dependency Hygiene · Unused dependency 'playwright-core' · ×1
  • Unused dependency 'playwright-core' — Declared in the root REDACTED 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.
X15 · Unvalidated length from an untrusted reader · Length read from the parsed input is spent without ever being bounded · ×1
  • Length read from the parsed input is spent without ever being bounded utils/desktopFly/circuit.ts:182 — `edgeCount` is read from the bytes being parsed at line 151 (`getUint32`), then used to size a `new Uint16Array` at line 182 — and nowhere in its scope is `edgeCount` bounded from above — compared to a limit, clamped, or checked against the input that remains (a zero or sign test, or the loop that counts up to it, bounds nothing). Whoever wrote those bytes therefore chooses the allocation directly: a 32-bit length asks for up to 4 GiB before a single byte of the payload is known to exist, which either exhausts the process's memory or throws a `RangeError` out of a parser whose failure path was written for malformed input, not for hostile input. Bound `edgeCount` against the bytes actually remaining and a maximum the format allows before allocating.
X29 · Per-element action decided by a fixed element · Per-element action decided by a fixed element · ×1
  • Per-element action decided by a fixed element components/system/Files/FileManager/useFileKeyboardShortcuts.ts:70 — This loop runs once per element of `buttons`, and the statement it guards acts on the element it is on — `index`. The test deciding whether that statement runs does not: `distance > 1 && offset < (vertical ? from.width : from.height) / 2 && score <...` reads `buttons[fromIndex]`, a subscript that does not move, so whatever it answers for that one element it answers for ALL of them. One `if` names the same collection at two different subscripts — the fixed one at line 47, which is the contradiction: either the test was meant to be per-element, in which case every element that differs from the fixed one is handled wrongly and all in the same direction, or it really is one answer for the whole collection, in which case it is being re-asked on every pass and belongs above the loop. The `if` is in the wrong place under both readings. Give the test the loop variable, or hoist it out.
X3 · Exception handling · Swallowed exception (caught, then discarded) · ×1
  • Swallowed exception (caught, then discarded) utils/closeEffectShaders.ts:349 — `catch` takes every exception and records none of it — the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, or keep only the failure you expect and rethrow the rest (`catch (e) { if (!(e instanceof SyntaxError)) throw e; … }`, or test `e.name`), because a JavaScript catch takes every exception, programming errors included.
Minor — 202 finding(s)
D10 · Test Quality · No direct assertions · ×139
  • No direct assertions: start menu passes accessibility scan e2e/accessibility.spec.ts:110 — No conventional assertion call was detected, and 139 of 222 tests in `the repository root` read the same way — so this is treated as that project's convention rather than a broken test, and it does not drag the score. Two things look like this: verification that happens indirectly (an approval/verifier harness or BDD step methods), or a project of runnable samples compiled as tests, where a run that does not throw is the only check. If it is the latter, these methods genuinely verify nothing.
  • No direct assertions: search menu passes accessibility scan e2e/accessibility.spec.ts:130 — No conventional assertion call was detected, and 139 of 222 tests in `the repository root` read the same way — so this is treated as that project's convention rather than a broken test, and it does not drag the score. Two things look like this: verification that happens indirectly (an approval/verifier harness or BDD step methods), or a project of runnable samples compiled as tests, where a run that does not throw is the only check. If it is the latter, these methods genuinely verify nothing.
  • No direct assertions: window passes accessibility scan e2e/accessibility.spec.ts:247 — No conventional assertion call was detected, and 139 of 222 tests in `the repository root` read the same way — so this is treated as that project's convention rather than a broken test, and it does not drag the score. Two things look like this: verification that happens indirectly (an approval/verifier harness or BDD step methods), or a project of runnable samples compiled as tests, where a run that does not throw is the only check. If it is the latter, these methods genuinely verify nothing.
  • No direct assertions: start menu closes when clicking the desktop e2e/focus.spec.ts:296 — No conventional assertion call was detected, and 139 of 222 tests in `the repository root` read the same way — so this is treated as that project's convention rather than a broken test, and it does not drag the score. Two things look like this: verification that happens indirectly (an approval/verifier harness or BDD step methods), or a project of runnable samples compiled as tests, where a run that does not throw is the only check. If it is the latter, these methods genuinely verify nothing.
  • No direct assertions: search menu closes when clicking the desktop e2e/focus.spec.ts:304 — No conventional assertion call was detected, and 139 of 222 tests in `the repository root` read the same way — so this is treated as that project's convention rather than a broken test, and it does not drag the score. Two things look like this: verification that happens indirectly (an approval/verifier harness or BDD step methods), or a project of runnable samples compiled as tests, where a run that does not throw is the only check. If it is the latter, these methods genuinely verify nothing.
  • No direct assertions: start menu closes on a second start button click e2e/focus.spec.ts:335 — No conventional assertion call was detected, and 139 of 222 tests in `the repository root` read the same way — so this is treated as that project's convention rather than a broken test, and it does not drag the score. Two things look like this: verification that happens indirectly (an approval/verifier harness or BDD step methods), or a project of runnable samples compiled as tests, where a run that does not throw is the only check. If it is the latter, these methods genuinely verify nothing.
  • No direct assertions: search menu closes on a second search button click e2e/focus.spec.ts:343 — No conventional assertion call was detected, and 139 of 222 tests in `the repository root` read the same way — so this is treated as that project's convention rather than a broken test, and it does not drag the score. Two things look like this: verification that happens indirectly (an approval/verifier harness or BDD step methods), or a project of runnable samples compiled as tests, where a run that does not throw is the only check. If it is the latter, these methods genuinely verify nothing.
  • No direct assertions: search menu closes when an entry is clicked e2e/focus.spec.ts:431 — No conventional assertion call was detected, and 139 of 222 tests in `the repository root` read the same way — so this is treated as that project's convention rather than a broken test, and it does not drag the score. Two things look like this: verification that happens indirectly (an approval/verifier harness or BDD step methods), or a project of runnable samples compiled as tests, where a run that does not throw is the only check. If it is the latter, these methods genuinely verify nothing.
  • No direct assertions: can pass accessibility scan e2e/index.spec.ts:23 — No conventional assertion call was detected, and 139 of 222 tests in `the repository root` read the same way — so this is treated as that project's convention rather than a broken test, and it does not drag the score. Two things look like this: verification that happens indirectly (an approval/verifier harness or BDD step methods), or a project of runnable samples compiled as tests, where a run that does not throw is the only check. If it is the latter, these methods genuinely verify nothing.
  • No direct assertions: can drop e2e/components/system/Apps.spec.ts:27 — No conventional assertion call was detected, and 139 of 222 tests in `the repository root` read the same way — so this is treated as that project's convention rather than a broken test, and it does not drag the score. Two things look like this: verification that happens indirectly (an approval/verifier harness or BDD step methods), or a project of runnable samples compiled as tests, where a run that does not throw is the only check. If it is the latter, these methods genuinely verify nothing.
  • No direct assertions: has effect e2e/components/system/Desktop.spec.ts:47 — No conventional assertion call was detected, and 139 of 222 tests in `the repository root` read the same way — so this is treated as that project's convention rather than a broken test, and it does not drag the score. Two things look like this: verification that happens indirectly (an approval/verifier harness or BDD step methods), or a project of runnable samples compiled as tests, where a run that does not throw is the only check. If it is the latter, these methods genuinely verify nothing.
  • No direct assertions: has items e2e/components/system/Desktop.spec.ts:71 — No conventional assertion call was detected, and 139 of 222 tests in `the repository root` read the same way — so this is treated as that project's convention rather than a broken test, and it does not drag the score. Two things look like this: verification that happens indirectly (an approval/verifier harness or BDD step methods), or a project of runnable samples compiled as tests, where a run that does not throw is the only check. If it is the latter, these methods genuinely verify nothing.
  • No direct assertions: can create folder e2e/components/system/Desktop.spec.ts:88 — No conventional assertion call was detected, and 139 of 222 tests in `the repository root` read the same way — so this is treated as that project's convention rather than a broken test, and it does not drag the score. Two things look like this: verification that happens indirectly (an approval/verifier harness or BDD step methods), or a project of runnable samples compiled as tests, where a run that does not throw is the only check. If it is the latter, these methods genuinely verify nothing.
  • No direct assertions: can create file e2e/components/system/Desktop.spec.ts:104 — No conventional assertion call was detected, and 139 of 222 tests in `the repository root` read the same way — so this is treated as that project's convention rather than a broken test, and it does not drag the score. Two things look like this: verification that happens indirectly (an approval/verifier harness or BDD step methods), or a project of runnable samples compiled as tests, where a run that does not throw is the only check. If it is the latter, these methods genuinely verify nothing.
  • No direct assertions: can add file e2e/components/system/Desktop.spec.ts:119 — No conventional assertion call was detected, and 139 of 222 tests in `the repository root` read the same way — so this is treated as that project's convention rather than a broken test, and it does not drag the score. Two things look like this: verification that happens indirectly (an approval/verifier harness or BDD step methods), or a project of runnable samples compiled as tests, where a run that does not throw is the only check. If it is the latter, these methods genuinely verify nothing.
  • No direct assertions: can reopen added file with icon e2e/components/system/Desktop.spec.ts:137 — No conventional assertion call was detected, and 139 of 222 tests in `the repository root` read the same way — so this is treated as that project's convention rather than a broken test, and it does not drag the score. Two things look like this: verification that happens indirectly (an approval/verifier harness or BDD step methods), or a project of runnable samples compiled as tests, where a run that does not throw is the only check. If it is the latter, these methods genuinely verify nothing.
  • No direct assertions: can inspect page e2e/components/system/Desktop.spec.ts:161 — No conventional assertion call was detected, and 139 of 222 tests in `the repository root` read the same way — so this is treated as that project's convention rather than a broken test, and it does not drag the score. Two things look like this: verification that happens indirectly (an approval/verifier harness or BDD step methods), or a project of runnable samples compiled as tests, where a run that does not throw is the only check. If it is the latter, these methods genuinely verify nothing.
  • No direct assertions: can view page source e2e/components/system/Desktop.spec.ts:166 — No conventional assertion call was detected, and 139 of 222 tests in `the repository root` read the same way — so this is treated as that project's convention rather than a broken test, and it does not drag the score. Two things look like this: verification that happens indirectly (an approval/verifier harness or BDD step methods), or a project of runnable samples compiled as tests, where a run that does not throw is the only check. If it is the latter, these methods genuinely verify nothing.
  • No direct assertions: can open terminal e2e/components/system/Desktop.spec.ts:171 — No conventional assertion call was detected, and 139 of 222 tests in `the repository root` read the same way — so this is treated as that project's convention rather than a broken test, and it does not drag the score. Two things look like this: verification that happens indirectly (an approval/verifier harness or BDD step methods), or a project of runnable samples compiled as tests, where a run that does not throw is the only check. If it is the latter, these methods genuinely verify nothing.
  • No direct assertions: can open run dialog (ctrl + shift + r) e2e/components/system/Desktop.spec.ts:178 — No conventional assertion call was detected, and 139 of 222 tests in `the repository root` read the same way — so this is treated as that project's convention rather than a broken test, and it does not drag the score. Two things look like this: verification that happens indirectly (an approval/verifier harness or BDD step methods), or a project of runnable samples compiled as tests, where a run that does not throw is the only check. If it is the latter, these methods genuinely verify nothing.
  • No direct assertions: can open file explorer (ctrl + shift + e) e2e/components/system/Desktop.spec.ts:183 — No conventional assertion call was detected, and 139 of 222 tests in `the repository root` read the same way — so this is treated as that project's convention rather than a broken test, and it does not drag the score. Two things look like this: verification that happens indirectly (an approval/verifier harness or BDD step methods), or a project of runnable samples compiled as tests, where a run that does not throw is the only check. If it is the latter, these methods genuinely verify nothing.
  • No direct assertions: can open terminal (shift + f10) e2e/components/system/Desktop.spec.ts:188 — No conventional assertion call was detected, and 139 of 222 tests in `the repository root` read the same way — so this is treated as that project's convention rather than a broken test, and it does not drag the score. Two things look like this: verification that happens indirectly (an approval/verifier harness or BDD step methods), or a project of runnable samples compiled as tests, where a run that does not throw is the only check. If it is the latter, these methods genuinely verify nothing.
  • No direct assertions: can inspect page (shift + f12) e2e/components/system/Desktop.spec.ts:193 — No conventional assertion call was detected, and 139 of 222 tests in `the repository root` read the same way — so this is treated as that project's convention rather than a broken test, and it does not drag the score. Two things look like this: verification that happens indirectly (an approval/verifier harness or BDD step methods), or a project of runnable samples compiled as tests, where a run that does not throw is the only check. If it is the latter, these methods genuinely verify nothing.
  • No direct assertions: via button e2e/components/system/Search.spec.ts:23 — No conventional assertion call was detected, and 139 of 222 tests in `the repository root` read the same way — so this is treated as that project's convention rather than a broken test, and it does not drag the score. Two things look like this: verification that happens indirectly (an approval/verifier harness or BDD step methods), or a project of runnable samples compiled as tests, where a run that does not throw is the only check. If it is the latter, these methods genuinely verify nothing.
  • No direct assertions: has buttons e2e/components/system/StartMenu.spec.ts:37 — No conventional assertion call was detected, and 139 of 222 tests in `the repository root` read the same way — so this is treated as that project's convention rather than a broken test, and it does not drag the score. Two things look like this: verification that happens indirectly (an approval/verifier harness or BDD step methods), or a project of runnable samples compiled as tests, where a run that does not throw is the only check. If it is the latter, these methods genuinely verify nothing.
  • + 114 more in this group — see findings.md.
X10 · Duplicated predicate · Duplicated predicate · ×30
  • Duplicated predicate public/Program Files/jspaint/src/app.js:1183 — `!navigator.clipboard || !navigator.clipboard.write` appears character-identically in 2 files — public/Program Files/jspaint/src/app.js, public/Program Files/jspaint/src/functions.js. It is one line, so the duplication detector's token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home.
  • Duplicated predicate public/Program Files/BoxedWine/boxedwine.js:2773 — `!stream.seekable || !stream.stream_ops.llseek` appears character-identically in 2 files — public/Program Files/BoxedWine/boxedwine.js, public/System/7zip/7zz.umd.js. It is one line, so the duplication detector's token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home.
  • Duplicated predicate components/system/Files/FileManager/useFolder.ts:696 — `"TouchEvent" in window && event.nativeEvent instanceof TouchEvent` appears character-identically in 2 files — components/system/Files/FileManager/useFolder.ts, components/system/Files/FileManager/useFolderContextMenu.ts. It is one line, so the duplication detector's token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home.
  • Duplicated predicate public/Program Files/BoxedWine/boxedwine.js:3247 — `(header = xhr.getResponseHeader("Accept-Ranges")) && header === "bytes"` appears character-identically in 2 files — public/Program Files/BoxedWine/boxedwine.js, public/System/7zip/7zz.umd.js. It is one line, so the duplication detector's token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home.
  • Duplicated predicate public/Program Files/BoxedWine/boxedwine.js:3248 — `(header = xhr.getResponseHeader("Content-Encoding")) && header === "gzip"` appears character-identically in 2 files — public/Program Files/BoxedWine/boxedwine.js, public/System/7zip/7zz.umd.js. It is one line, so the duplication detector's token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home.
  • Duplicated predicate public/Program Files/BoxedWine/boxedwine.js:125 — `ENVIRONMENT_IS_WEB || ENVIRONMENT_IS_WORKER` appears character-identically in 2 files — public/Program Files/BoxedWine/boxedwine.js, public/System/7zip/7zz.umd.js. It is one line, so the duplication detector's token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home.
  • Duplicated predicate public/Program Files/BoxedWine/boxedwine.js:2425 — `FS.isMountpoint(old_node) || new_node && FS.isMountpoint(new_node)` appears character-identically in 2 files — public/Program Files/BoxedWine/boxedwine.js, public/System/7zip/7zz.umd.js. It is one line, so the duplication detector's token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home.
  • Duplicated predicate public/Program Files/BoxedWine/boxedwine.js:2090 — `FS.isRoot(node) || FS.getPath(node) === FS.cwd()` appears character-identically in 2 files — public/Program Files/BoxedWine/boxedwine.js, public/System/7zip/7zz.umd.js. It is one line, so the duplication detector's token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home.
  • Duplicated predicate public/Program Files/BoxedWine/boxedwine.js:1769 — `buffer.subarray && (!node.contents || node.contents.subarray)` appears character-identically in 2 files — public/Program Files/BoxedWine/boxedwine.js, public/System/7zip/7zz.umd.js. It is one line, so the duplication detector's token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home.
  • Duplicated predicate public/Program Files/jspaint/src/app.js:2367 — `document.fullscreenElement || document.webkitFullscreenElement` appears character-identically in 2 files — public/Program Files/jspaint/src/app.js, public/Program Files/jspaint/src/menus.js. It is one line, so the duplication detector's token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home.
  • Duplicated predicate public/Program Files/BoxedWine/boxedwine.js:6280 — `document.fullscreenEnabled || document.webkitFullscreenEnabled` appears character-identically in 2 files — public/Program Files/BoxedWine/boxedwine.js, public/Program Files/jspaint/src/menus.js. It is one line, so the duplication detector's token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home.
  • Duplicated predicate public/Program Files/jspaint/src/edit-colors.js:519 — `event.altKey && !event.ctrlKey && !event.metaKey && !event.shiftKey` appears character-identically in 2 files — public/Program Files/jspaint/src/edit-colors.js, public/Program Files/jspaint/src/functions.js. It is one line, so the duplication detector's token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home.
  • Duplicated predicate components/apps/Messenger/SendMessage.tsx:71 — `event.key === "Enter" && !event.shiftKey && !isComposingKey(event.nativeEvent)` appears character-identically in 2 files — components/apps/Messenger/SendMessage.tsx, components/system/Taskbar/AI/AIChat.tsx. It is one line, so the duplication detector's token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home.
  • Duplicated predicate components/system/Dialogs/Properties/GeneralTab.tsx:186 — `event.key === "Enter" && !isComposingKey(event.nativeEvent)` appears character-identically in 2 files — components/system/Dialogs/Properties/GeneralTab.tsx, components/system/Dialogs/Run/index.tsx. It is one line, so the duplication detector's token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home.
  • Duplicated predicate components/system/Dialogs/useCloseOnEscape.ts:32 — `event.key === "Escape" && !isComposingKey(event.nativeEvent)` appears character-identically in 2 files — components/system/Dialogs/useCloseOnEscape.ts, components/system/Taskbar/AI/AIChat.tsx. It is one line, so the duplication detector's token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home.
  • Duplicated predicate public/Program Files/jspaint/src/app.js:1203 — `info.image || make_canvas(info.image_data)` appears character-identically in 2 files — public/Program Files/jspaint/src/app.js, public/Program Files/jspaint/src/functions.js. It is one line, so the duplication detector's token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home.
  • Duplicated predicate public/Program Files/BoxedWine/boxedwine.js:1177 — `noExitRuntime || runtimeKeepaliveCounter > 0` appears character-identically in 2 files — public/Program Files/BoxedWine/boxedwine.js, public/System/7zip/7zz.umd.js. It is one line, so the duplication detector's token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home.
  • Duplicated predicate public/Program Files/BoxedWine/boxedwine.js:1784 — `node.contents.subarray && buffer.subarray` appears character-identically in 2 files — public/Program Files/BoxedWine/boxedwine.js, public/System/7zip/7zz.umd.js. It is one line, so the duplication detector's token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home.
  • Duplicated predicate public/Program Files/BoxedWine/boxedwine.js:1982 — `node.parent.id === parent.id && nodeName === name` appears character-identically in 2 files — public/Program Files/BoxedWine/boxedwine.js, public/System/7zip/7zz.umd.js. It is one line, so the duplication detector's token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home.
  • Duplicated predicate public/Program Files/BoxedWine/boxedwine.js:3210 — `obj.isDevice || obj.isFolder || obj.link || obj.contents` appears character-identically in 2 files — public/Program Files/BoxedWine/boxedwine.js, public/System/7zip/7zz.umd.js. It is one line, so the duplication detector's token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home.
  • Duplicated predicate public/Program Files/BoxedWine/boxedwine.js:2892 — `opts.encoding !== "utf8" && opts.encoding !== "binary"` appears character-identically in 2 files — public/Program Files/BoxedWine/boxedwine.js, public/System/7zip/7zz.umd.js. It is one line, so the duplication detector's token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home.
  • Duplicated predicate public/Program Files/BoxedWine/boxedwine.js:1826 — `position > 0 || position + length < contents.length` appears character-identically in 2 files — public/Program Files/BoxedWine/boxedwine.js, public/System/7zip/7zz.umd.js. It is one line, so the duplication detector's token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home.
  • Duplicated predicate public/Program Files/BoxedWine/boxedwine.js:8651 — `stream.getdents && offset === 0 && whence === 0` appears character-identically in 2 files — public/Program Files/BoxedWine/boxedwine.js, public/System/7zip/7zz.umd.js. It is one line, so the duplication detector's token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home.
  • Duplicated predicate public/Program Files/jspaint/lib/imagetracer_v1.2.5.js:1195 — `typeof define === 'function' && define.amd` appears character-identically in 2 files — public/Program Files/jspaint/lib/imagetracer_v1.2.5.js, public/Program Files/jspaint/lib/tracky-mouse/lib/stats.js. It is one line, so the duplication detector's token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home.
  • Duplicated predicate public/Program Files/BoxedWine/boxedwine.js:1488 — `typeof window != "undefined" && typeof window.prompt == "function"` appears character-identically in 2 files — public/Program Files/BoxedWine/boxedwine.js, public/System/7zip/7zz.umd.js. It is one line, so the duplication detector's token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home.
  • + 5 more in this group — see findings.md.
IC1 · Incompleteness & stubs · Disabled test · ×8
  • Disabled test e2e/components/apps/FileExplorer.spec.ts:267 — A test is skipped/ignored — coverage that looks present but never runs. Re-enable it or delete it so the green run means something.
  • Disabled test e2e/components/apps/FileExplorer.spec.ts:365 — A test is skipped/ignored — coverage that looks present but never runs. Re-enable it or delete it so the green run means something.
  • Disabled test e2e/components/apps/FileExplorer.spec.ts:406 — A test is skipped/ignored — coverage that looks present but never runs. Re-enable it or delete it so the green run means something.
  • Disabled test e2e/components/apps/Terminal.spec.ts:316 — A test is skipped/ignored — coverage that looks present but never runs. Re-enable it or delete it so the green run means something.
  • Disabled test e2e/components/apps/index.spec.ts:25 — A test is skipped/ignored — coverage that looks present but never runs. Re-enable it or delete it so the green run means something.
  • Disabled test e2e/components/system/Apps.spec.ts:28 — A test is skipped/ignored — coverage that looks present but never runs. Re-enable it or delete it so the green run means something.
  • Disabled test e2e/components/system/Taskbar.spec.ts:208 — A test is skipped/ignored — coverage that looks present but never runs. Re-enable it or delete it so the green run means something.
  • Disabled test e2e/keyboard.spec.ts:330 — A test is skipped/ignored — coverage that looks present but never runs. Re-enable it or delete it so the green run means something.
D12 · Dependency Hygiene · Deprecated · ×4
  • Deprecated: @ungap/structured-clone REDACTED:2318 — @ungap/structured-clone 1.3.0 is resolved in REDACTED and is marked deprecated by its publisher: "Potential CWE-502 - Update to 1.3.1 or higher". This repository does not declare it — a direct dependency pulls it in, so the move is to upgrade or replace that dependency.
  • Deprecated: glob REDACTED:4048 — glob 10.5.0 is resolved in REDACTED and is marked deprecated by its publisher: "Old versions of glob are not supported, and contain widely publicized security vulnerabilities, which have been fixed in the current version. Please update. Support for old versions may be purchased (at exorbitant rates) by contacting i@izs.me". This repository does not declare it — a direct dependency pulls it in, so the move is to upgrade or replace that dependency.
  • Deprecated: whatwg-encoding REDACTED:7118 — whatwg-encoding 3.1.1 is resolved in REDACTED and is marked deprecated by its publisher: "Use @exodus/bytes instead for a more spec-conformant and faster implementation". This repository does not declare it — a direct dependency pulls it in, so the move is to upgrade or replace that dependency.
  • Deprecated: xmldom REDACTED:7270 — xmldom 0.1.16 is resolved in REDACTED and is marked deprecated by its publisher: "Deprecated due to [CVE redacted] resolved in 0.5.0". This repository does not declare it — a direct dependency pulls it in, so the move is to upgrade or replace that dependency.
X7 · Silent fallback defaults · Silent fallback default in catch · ×4
  • Silent fallback default in catch components/apps/Messenger/functions.ts:173 — `fetchNip05Json` swallows every exception into `return {}` — a data error becomes a silent behavior change with no trail. Log the failure or let it raise. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the handler or in the docstring, and the row stops firing.
  • Silent fallback default in catch hooks/useWindowAI.ts:25 — `getAvailability` swallows every exception into `return "unavailable"` — a data error becomes a silent behavior change with no trail. Log the failure or let it raise. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the handler or in the docstring, and the row stops firing.
  • Silent fallback default in catch public/Program Files/ClassiCube/ClassiCube.js:2874 — `emscripten_realloc_buffer` swallows every exception into `return false` — a data error becomes a silent behavior change with no trail. Log the failure or let it raise. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the handler or in the docstring, and the row stops firing.
  • Silent fallback default in catch utils/imageDecoder.ts:202 — `getLargestIcon` swallows every exception into `return ""` — a data error becomes a silent behavior change with no trail. Log the failure or let it raise. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the handler or in the docstring, and the row stops firing.
D30 · Dependency Vulnerabilities · Low CVE · ×3
  • REDACTED
  • REDACTED
  • REDACTED
D24 · Comment Value · redundant comment · ×2
  • redundant comment e2e/functions.ts:716 — "expect->locator->getBy" repeats the code it sits on: 3 of its 3 words (expect, locator, get) are already in `export const calendarIsVisible = async ({ page }: TestProps): Promise<void> =>`. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence).
  • redundant comment e2e/functions.ts:956 — "expect->locator->first->toPass" repeats the code it sits on: 4 of its 4 words (expect, locator, first, pass) are already in `const entriesAreVisible = async (selector: string, page: Page): Promise<void> =>`. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence).
IC1 · Incompleteness & stubs · Blanket warning suppression · ×2
  • Blanket warning suppression components/apps/Photos/qoi.ts:1 — A bare `eslint-disable` or `@ts-nocheck` with no rule list switches every lint rule or the whole type checker off for the rest of the file — hidden debt. Disable the specific rule on the specific line, with a justification, instead.
  • Blanket warning suppression components/apps/Photos/qoi.ts:2 — A bare `eslint-disable` or `@ts-nocheck` with no rule list switches every lint rule or the whole type checker off for the rest of the file — hidden debt. Disable the specific rule on the specific line, with a justification, instead.
D20 · ADR Quality · No ADRs found · ×1
  • No ADRs found REDACTED:27 — No ADRs found. No recognised ADR directory (`docs/adr/`, `docs/decisions/`, `adr/`, `docs/rfcs/`, an `ADR0001/` folder, or their siblings) exists anywhere in this tree. What was searched, so you can tell an empty log from a search that missed one: every directory under the tree (build output, dependencies and VCS metadata excepted), for a document that is either any non-index page inside a recognised ADR directory, whatever its name and however deeply nested (`docs/adr/use-postgres.md`, `docs/adr/2024/0001-x.md`); or a file anywhere whose name is ADR-shaped (`0001-use-postgres.md`, `adr-012-caching.md`); or, when neither turned anything up, a document carrying the decision-record signature (an "Architecture Decision Record" heading, or Status / Context / Decision / Consequences as section headings). A decision log that clears none of these — unnumbered files outside any recognised directory, without those headings — is not seen by this check and this row is then wrong. If that is your case, say so rather than renaming anything; otherwise, consider recording architectural decisions in `docs/adr/`. ADRs are expected here because `REDACTED` makes this repository a deployable product (line 27).
D36 · Supply-chain Provenance & Signing · REDACTED · ×1
  • REDACTED
M2 · Architecture documentation · No ADRs · ×1
  • No ADRs — No Architecture Decision Records found — no conventional ADR directory, no numbered `NNNN-title` documents in any markup this check reads, and nothing ADR-shaped by content. Design rationale recorded elsewhere (a design-notes tree, a mailing list, pull-request discussion) is not visible to this check and is not re-findable per decision, so a future maintainer cannot ask why one choice was made and get an answer.
M2 · Architecture documentation · No architecture diagram/doc · ×1
  • No architecture diagram/doc — No C4/Structurizr/PlantUML/Mermaid/Graphviz/D2 diagram, no drawn diagram named for the architecture, no file named `architecture` or `design` in any markup this check reads, and nothing in the README, docs or contributor guides that announces the shape — no `## Architecture` heading, no "architecture overview"/"high-level design" phrasing, no "the architecture is …" introduction, no guided code tour. A shape laid out in prose that never names itself as the architecture is not visible to this check, and neither is one kept outside the repository, so this row reports the absence of a re-findable shape document — not evidence that nobody wrote the shape down.
P3 · Security & performance tooling · No SAST · ×1
  • No SAST — No static application security testing detected. For this repository's stack, add CodeQL's javascript-typescript pack, `semgrep --config=p/typescript`, or eslint-plugin-security as a CI step. What was searched, so you can tell an absence from a miss: the 1 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.
P3 · Security & performance tooling · No dependency-update automation · ×1
  • No dependency-update automation REDACTED:48 — `REDACTED` declares packages, and nothing in the repository keeps them current: no Dependabot or Renovate configuration that schedules updates, and no dependency-review gate on pull requests. A pinned dependency stays at the version it was added at until someone notices — including after an advisory is published against it. Add a `.github/dependabot.yml` with one `package-ecosystem` entry per ecosystem the tree uses (or an enabled `renovate.json`), and gate pull requests with `actions/dependency-review-action`.
P6 · Release Hygiene · No changelog · ×1
  • No changelog — No CHANGELOG/HISTORY/RELEASES file — what shipped when isn't easy to reconstruct for support or audit. (Versioning/tagging makes releases traceable, but a changelog records the what.)
X2 · Cancellation propagation · Not all async functions that make a request accept an AbortSignal · ×1
  • Not all async functions that make a request accept an AbortSignal — Only 1/16 async functions that make a cancellable request (fetch, axios, ky, ofetch, got, undici, node:http) 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.
X5 · Nullable reference types · Strict null checking is not enabled everywhere the repository type-checks · ×1
  • Strict null checking is not enabled everywhere the repository type-checks — 0/1 of this repository's type-checking configuration(s) turn on strict null checking (`"strict": true`, or `"strictNullChecks": true`). A configuration that states neither is counted as OFF, because off is tsc's own default; a solution-style one whose `"files"` is empty and whose `"references"` point at other projects is in neither number, because it checks no source itself. Where it is off, `string` admits `null` and `undefined`: passing a value that is null compiles silently and throws on the first property access.
X6 · Hand-rolled structured-format parsing · Hand-rolled JSON/XML parsing via regex · ×1
  • Hand-rolled JSON/XML parsing via regex utils/closeEffectShaders.ts:110 — A regex whose pattern encodes JSON/XML syntax is parsing a structured format by hand — malformed or differently-typed content (e.g. `"amount": "5"` as a string) silently mis-parses instead of failing validation. This JavaScript/TypeScript code already uses a real parser in the same package; use it here too.
Minor — 14 finding(s)
D12 · Dependency Hygiene · Outdated (npm) · ×13
  • Outdated (npm): @mlc-ai/web-llm — @mlc-ai/web-llm is pinned at 0.2.85; registry.npmjs.org publishes 0.2.88 as the latest release. Upgrading is a judgement call — read that package's changelog for what changed between the two — but a direct production dependency several releases behind is where security and compatibility debt accumulates silently.
  • Outdated (npm): dompurify — dompurify is pinned at 3.4.16; registry.npmjs.org publishes 3.4.18 as the latest release. Upgrading is a judgement call — read that package's changelog for what changed between the two — but a direct production dependency several releases behind is where security and compatibility debt accumulates silently.
  • Outdated (npm): file-type — file-type is pinned at 22.1.1; registry.npmjs.org publishes 22.3.0 as the latest release. Upgrading is a judgement call — read that package's changelog for what changed between the two — but a direct production dependency several releases behind is where security and compatibility debt accumulates silently.
  • Outdated (npm): idb — idb is pinned at 8.0.3; registry.npmjs.org publishes 8.0.4 as the latest release. Upgrading is a judgement call — read that package's changelog for what changed between the two — but a direct production dependency several releases behind is where security and compatibility debt accumulates silently.
  • Outdated (npm): isomorphic-git — isomorphic-git is pinned at 1.43.0; registry.npmjs.org publishes 1.44.14 as the latest release. Upgrading is a judgement call — read that package's changelog for what changed between the two — but a direct production dependency several releases behind is where security and compatibility debt accumulates silently.
  • Outdated (npm): motion — motion is pinned at 14.0.0; registry.npmjs.org publishes 14.14.0 as the latest release. Upgrading is a judgement call — read that package's changelog for what changed between the two — but a direct production dependency several releases behind is where security and compatibility debt accumulates silently.
  • Outdated (npm): next — next is pinned at 16.3.8; registry.npmjs.org publishes 16.4.6 as the latest release. Upgrading is a judgement call — read that package's changelog for what changed between the two — but a direct production dependency several releases behind is where security and compatibility debt accumulates silently.
  • Outdated (npm): nostr-tools — nostr-tools is pinned at 2.25.2; registry.npmjs.org publishes 2.26.0 as the latest release. Upgrading is a judgement call — read that package's changelog for what changed between the two — but a direct production dependency several releases behind is where security and compatibility debt accumulates silently.
  • Outdated (npm): prettier — prettier is pinned at 3.9.9; registry.npmjs.org publishes 3.10.1 as the latest release. Upgrading is a judgement call — read that package's changelog for what changed between the two — but a direct production dependency several releases behind is where security and compatibility debt accumulates silently.
  • Outdated (npm): react — react is pinned at 19.3.0; registry.npmjs.org publishes 19.3.1 as the latest release. Upgrading is a judgement call — read that package's changelog for what changed between the two — but a direct production dependency several releases behind is where security and compatibility debt accumulates silently.
  • Outdated (npm): react-dom — react-dom is pinned at 19.3.0; registry.npmjs.org publishes 19.3.1 as the latest release. Upgrading is a judgement call — read that package's changelog for what changed between the two — but a direct production dependency several releases behind is where security and compatibility debt accumulates silently.
  • Outdated (npm): stockfish — stockfish is pinned at 19.0.0; registry.npmjs.org publishes 19.0.1 as the latest release. Upgrading is a judgement call — read that package's changelog for what changed between the two — but a direct production dependency several releases behind is where security and compatibility debt accumulates silently.
  • Outdated (npm): styled-components — styled-components is pinned at 6.5.3; registry.npmjs.org publishes 6.6.0 as the latest release. Upgrading is a judgement call — read that package's changelog for what changed between the two — but a direct production dependency several releases behind is where security and compatibility debt accumulates silently.
D24 · Comment Value · doc comments repeat the names · ×1
  • doc comments repeat the names utils/desktopFly/render.ts:397 — 0 of 0 documented parameters and 1 of 393 summaries in `daedalos` only repeat the member or parameter name (e.g. "Draw one fly." for `drawFly`). Delete the restating tags, or add what the name does not say.

Appendix B — Reproduction & audit trail

Every external tool invocation behind a deep-scan dimension — the tool, its captured version, the exact command, how many findings it yielded, and a link to the retained raw output. To reproduce any finding: check out the same commit and run the command shown (repo-relative — never an absolute scratch path). The complete raw scanner output is retained verbatim under artifacts/raw/ (indexed in artifacts/raw/index.json); per-invocation exit codes and wall-clock durations are in sidecar.json — kept out of this table so the rendered report stays byte-identical across runs of the same commit.

DimensionToolVersionCommandFindingsRaw output
D28 · Secrets (history)gitleaks—gitleaks detect --no-banner --config /opt/gitleaks-rules/canine-gitleaks.toml --report-format json --report-path /tmp/watchdog-gitleaks-54f92000bfa14b43b089994eb3f79ae9/history.json --exit-code 0 --source .58artifacts/raw/gitleaks-history.json
D28 · Secrets (history)gitleaks—gitleaks detect --no-git --no-banner --config /opt/gitleaks-rules/canine-gitleaks.toml --report-format json --report-path /tmp/watchdog-gitleaks-54f92000bfa14b43b089994eb3f79ae9/tree.json --exit-code 0 --source .22artifacts/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/canine-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 "public/Program Files/EmulatorJs/localization" --exclude "public/Program Files/Eruda" --exclude "public/Program Files/Marked" --exclude "public/Program Files/MonacoEditor/vs/base/worker" --exclude "public/Program Files/MonacoEditor/vs/basic-languages" --exclude "public/Program Files/MonacoEditor/vs/editor" --exclude "public/Program Files/MonacoEditor/vs/language" --exclude "public/Program Files/PDF.js" --exclude "public/Program Files/TinyMCE" --exclude "public/Program Files/Webamp" --exclude "public/Program Files/Xterm.js" --exclude "public/Program Files/jspaint/lib/98.css" --exclude "public/Program Files/jspaint/lib/gif.js" --exclude "public/Program Files/jspaint/lib/os-gui" --exclude "public/Program Files/jspaint/lib/pdf.js/build" --exclude "public/Program Files/jspaint/lib/tracky-mouse/tracky-mouse-electron" --exclude "public/Program Files/jspaint/localization" --exclude "public/Program Files/jspaint/src" --exclude "public/Program Files/jspaint/styles" --exclude "public/Program Files/kiwiirc/static/css" --exclude "public/Program Files/kiwiirc/static/js" --exclude "public/Program Files/kiwiirc/static/locales" --exclude "public/Program Files/kiwiirc/static/themes" --exclude public/System/BrowserFS --exclude public/System/Matrix/js --exclude public/System/Matrix/lib --exclude public/System/ShaderToy --exclude public/System/SheetJS --exclude public/System/Vanta.js --exclude public/System/gif.js --exclude public/System/html-to-image --exclude public/System/libheif --exclude public/System/lunr --exclude public/System/tvm .6artifacts/raw/semgrep.json
D30 · Dependency Vulnerabilitiestrivy—trivy fs --scanners vuln --format json --quiet --severity CRITICAL,HIGH,MEDIUM,LOW --skip-dirs **/bin/** --skip-dirs **/obj/** .34artifacts/raw/trivy-fs.json
D31 · IaC & Container Securitytrivy—trivy config --format json --quiet .6artifacts/raw/trivy-config.json
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. semgrep could not parse 9 file(s) — `components/system/Taskbar/AI/builtInAI.ts`, `hooks/useWindowAI.ts`, `public/Program Files/BoxedWine/browserfs.boxedwine.js`, `public/Program Files/EmulatorJs/extract7z.js`, `public/Program Files/EmulatorJs/extractzip.js`, … (+4 more) — so the PII/GDPR sweep did not cover the unparsed regions of them; rows reported elsewhere in those files are real.0—
D37 · Vulnerability-disclosure Policydisclosure—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 Confinementruntime-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 Confinementruntime-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 Enforcementruntime-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 Dependenciestrivy—trivy fs --scanners vuln --format json --quiet --severity CRITICAL,HIGH,MEDIUM,LOW --skip-dirs **/bin/** --skip-dirs **/obj/** .0artifacts/raw/trivy-fs.json

Run 01a1dda2-7bef-763a-80ce-823eba1cf0ff · every finding is also locatable in findings.md, and the complete scoring record (with exit codes + durations) in sidecar.json.

Downloadable artifacts

Machine-readable and reproducible from this commit + frozen rubric — drop them straight into a contract appendix, a CRA dossier, or a downstream SCA / VEX tool.

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