GPU Accelerated JavaScript
This report summarizes scanner evidence for gpujs/gpu.js, a JavaScript project with 15,518 GitHub stars. SynthScan examined 91,921 lines of code across 515 source files, recording 119 pattern matches distributed across 3 syntactic categories. The legacy adjusted pattern signal is 1.3 (Low pattern signal); it is not an authorship estimate.
Use the findings to ask whether maintainers can explain intent, verify dependencies, simplify unnecessary scaffolding, and focus review effort. Risk Payload v1 adds ownership, supply-chain, over-engineering, and review-effort vectors when available. These are prompts for human verification, not probabilities, security findings, or measured maintenance costs.
Use each vector to guide manual verification of the underlying findings.
Payload schema: 1.0.0 · Engine: 2.0.0 · Scoring: heuristic-density-v1 · Scan date: 2026-10-31.
Can maintainers explain intent, assumptions, and trade-offs? 119 finding(s).
Are imports declared and package/API names verified? 0 finding(s).
Are wrappers, guards, and repeated structures necessary? 105 finding(s).
Which changes need focused human review? 119 finding(s).
This chart tracks the legacy adjusted pattern score across scan runs. Changes can reflect source changes, scan coverage, or detector/scoring versions; they do not measure AI adoption or prove that a team refactored code. Compare runs only when their scoring versions are compatible. The dashed line tracks the raw pattern-hit count.
Groups findings by configured severity weight. Severity is not a confidence estimate, security rating, or proof that a package is missing. Verify imports against the project's manifests and inspect each finding in its local design context.
This horizontal bar chart shows where configured pattern scores accumulate across directories. Treat the bars as locations to inspect, not as evidence of authorship or code quality. Use the file-level findings to decide whether a directory needs a focused ownership, dependency, complexity, or review check.
The scanner identified 119 distinct pattern matches across 3 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a detector match to inspect in context. Expand any category row to inspect the individual file paths, line numbers, code snippets, and the lexical context (CODE, COMMENT, or STRING) in which each match was detected.
Reading the findings table: The Severity column indicates the configured finding weight (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — legacy comment-context matches receive a ×1.5 score weight. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier under the legacy scoring model.
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | test/browser-test-utils.js | 84 | function assertVideoFailureIsUnsupportedFormat(assert, error) { | CODE |
| LOW | test/features/boolean-from-expression.js | 6 | function testBooleanFromExpression(mode) { | CODE |
| LOW | test/features/read-from-texture.js | 6 | function readWithoutTextureKernels(mode) { | CODE |
| LOW | test/features/optimize-float-memory.js | 6 | function whenEnabledCallsCorrectRenderFunction(mode) { | CODE |
| LOW | test/features/bitwise-operators.js | 6 | function testBitwiseAndSinglePrecision(mode) { | CODE |
| LOW | test/features/bitwise-operators.js | 47 | function testBitwiseAndUnsignedPrecision(mode) { | CODE |
| LOW | test/features/bitwise-operators.js | 88 | function testBitwiseOrSinglePrecision(mode) { | CODE |
| LOW | test/features/bitwise-operators.js | 129 | function testBitwiseOrUnsignedPrecision(mode) { | CODE |
| LOW | test/features/bitwise-operators.js | 170 | function testBitwiseXORSinglePrecision(mode) { | CODE |
| LOW | test/features/bitwise-operators.js | 211 | function testBitwiseXORUnsignedPrecision(mode) { | CODE |
| LOW | test/features/bitwise-operators.js | 252 | function testBitwiseNotSinglePrecision(mode) { | CODE |
| LOW | test/features/bitwise-operators.js | 291 | function testBitwiseNotUnsignedPrecision(mode) { | CODE |
| LOW | test/features/bitwise-operators.js | 330 | function testBitwiseZeroFillLeftShiftSinglePrecision(mode) { | CODE |
| LOW | test/features/bitwise-operators.js | 371 | function testBitwiseZeroFillLeftShiftUnsignedPrecision(mode) { | CODE |
| LOW | test/features/bitwise-operators.js | 412 | function testBitwiseSignedRightShiftSinglePrecision(mode) { | CODE |
| LOW | test/features/bitwise-operators.js | 453 | function testBitwiseSignedRightShiftUnsignedPrecision(mode) { | CODE |
| LOW | test/features/bitwise-operators.js | 494 | function testBitwiseZeroFillRightShiftSinglePrecision(mode) { | CODE |
| LOW | test/features/bitwise-operators.js | 535 | function testBitwiseZeroFillRightShiftUnsignedPrecision(mode) { | CODE |
| LOW | test/features/unsigned-precision-textures.js | 6 | function unsignedPrecisionTexturesWithArray(mode) { | CODE |
| LOW | test/features/unsigned-precision-textures.js | 651 | function testImmutableDoesNotCollideWithKernelTexture(mode) { | CODE |
| LOW | test/features/raw-output.js | 6 | function rawUnsignedPrecisionRenderOutput(mode) { | CODE |
| LOW | test/features/raw-output.js | 49 | function rawSinglePrecisionRenderOutput(mode) { | CODE |
| LOW | test/features/combine-kernels.js | 50 | function combineKernelsSinglePrecision(mode) { | CODE |
| LOW | test/features/combine-kernels.js | 95 | function combineKernelsOptimizeFloatMemory(mode) { | CODE |
| LOW | test/features/dynamic-arguments.js | 61 | function testMemoryOptimizedNumberTexture(mode) { | CODE |
| LOW | test/features/dynamic-arguments.js | 949 | function testUnsignedPrecisionArray(mode) { | CODE |
| LOW | test/features/dynamic-arguments.js | 1037 | function testUnsignedPrecisionMatrix(mode) { | CODE |
| LOW | test/features/dynamic-arguments.js | 1096 | function testSinglePrecisionMatrix(mode) { | CODE |
| LOW | test/features/dynamic-arguments.js | 1154 | function testUnsignedPrecisionInputMatrix(mode) { | CODE |
| LOW | test/features/dynamic-arguments.js | 1225 | function testSinglePrecisionInputMatrix(mode) { | CODE |
| LOW | test/features/destroy.js | 7 | function testWithoutDestroyContext(done, mode) { | CODE |
| LOW | test/features/destroy.js | 87 | function testKernelTextureIsDeleted(done) { | CODE |
| LOW | test/features/destroy.js | 115 | function testKernelMappedTexturesAreDeleted(done) { | CODE |
| LOW | test/features/cpu-with-textures.js | 6 | function cpuWithTexturesNumberWithSinglePrecision(mode) { | CODE |
| LOW | test/features/cpu-with-textures.js | 55 | function cpuWithTexturesMemoryOptimizedNumberWithSinglePrecision(mode) { | CODE |
| LOW | test/features/cpu-with-textures.js | 252 | function cpuWithTexturesNumberWithUnsignedPrecision(mode) { | CODE |
| LOW | test/features/add-custom-function.js | 149 | function withKernelAddFunctionMethod(mode) { | CODE |
| LOW | test/features/add-custom-function.js | 365 | function testSetFunctionsFromArrayOnKernel(mode) { | CODE |
| LOW | test/features/add-custom-function.js | 404 | function testSetFunctionsFromArrayOnGPU(mode) { | CODE |
| LOW | test/features/single-precision-textures.js | 6 | function singlePrecisionTexturesWithArray(mode) { | CODE |
| LOW | test/features/single-precision-textures.js | 651 | function testImmutableDoesNotCollideWithKernelTexture(mode) { | CODE |
| LOW | test/features/legacy-encoder.js | 68 | function testSubKernelsLegacyEncoderOff(mode) { | CODE |
| LOW | test/features/legacy-encoder.js | 104 | function testSubKernelsLegacyEncoderOn(mode) { | CODE |
| LOW | test/features/canvas.js | 40 | function canvasManuallyDefinedArgumentTest(mode) { | CODE |
| LOW | test/features/math-object.js | 43 | function singleArgumentMathMethods(mode) { | CODE |
| LOW | test/features/random-seed.js | 22 | function testDifferentSeedDifferentResults(mode) { | CODE |
| LOW | test/features/random-seed.js | 32 | function testSeededSequenceIsReproducible(mode) { | CODE |
| LOW | test/features/random-seed.js | 54 | function testResettingSeedRestartsStream(mode) { | CODE |
| LOW | test/features/nested-function.js | 54 | function testNestedInCustomFunction(mode) { | CODE |
| LOW | test/features/add-custom-native-function.js | 286 | function testDirectlyOnKernelViaSettings(nativeFunctions, mode) { | CODE |
| LOW | test/features/add-custom-native-function.js | 373 | function testDirectlyOnKernelViaMethod(nativeFunctions, mode) { | CODE |
| LOW | test/features/add-custom-native-function.js | 453 | function testSetNativeFunctionsFromArrayOnGPU(nativeFunction, mode) { | CODE |
| LOW | test/features/pipeline/buffers.js | 51 | function livenessKeepsEarlyOutputAlive(mode) { | CODE |
| LOW | test/internal/recycling.js | 7 | function testImmutableKernelTextureRecycling(precision, mode) { | CODE |
| LOW | test/internal/recycling.js | 71 | function testImmutableMappedKernelTextureRecycling(precision, mode) { | CODE |
| LOW | test/internal/recycling.js | 143 | function testImmutableTextureDelete(precision, done, mode) { | CODE |
| LOW | test/internal/recycling.js | 229 | function testImmutableKernelTextureDoesNotLeak(precision, done, mode) { | CODE |
| LOW | test/internal/recycling.js | 301 | function testImmutableKernelMappedTexturesDoesNotLeak(precision, done, mode) { | CODE |
| LOW | test/internal/recycling.js | 630 | function testSameSourceDestinationFromResultThrows(error, precision, mode) { | CODE |
| LOW | test/internal/recycling.js | 697 | function testSameSourceDestinationFromMappedResultThrows(error, precision, mode) { | CODE |
| 45 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | playwright.config.js | 1 | // Runs the QUnit browser suite (test/all.html) in real browsers, from Node. | COMMENT |
| LOW | test/features/bitwise-not-coverage.js | 1 | const { assert, skip, test, module: describe } = require('qunit'); | COMMENT |
| LOW | test/internal/math.random.js | 1 | const { assert, skip, test, module: describe, only } = require('qunit'); | COMMENT |
| LOW | test/internal/destroy-releases-resources.js | 1 | const { assert, skip, test, module: describe } = require('qunit'); | COMMENT |
| LOW | test/playwright/qunit.spec.js | 1 | // One reported test per QUnit module, from a single page load. | COMMENT |
| LOW | test/playwright/qunit.spec.js | 21 | // dead tab) that the page cannot recover from. | COMMENT |
| LOW | test/browserstack/visual.html | 41 | }; | COMMENT |
| LOW | examples/mandelbulb.html | 181 | } | COMMENT |
| LOW | src/kernel-run-shortcut.js | 61 | return kernel.renderKernels(); | COMMENT |
| LOW | src/gpu.js | 841 | resolve(); | COMMENT |
| LOW | src/backend/function-node.js | 541 | } | COMMENT |
| LOW | src/backend/web-assembly/pipeline-executor.js | 601 | // targets start from wherever the counter already is, so a laggard from | COMMENT |
| LOW | src/backend/web-assembly/function-node.js | 1961 | } | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | README.md | 1380 | The orchestration function runs **once**, at build time (the first call), with opaque handles standing in for its argume | CODE |