AI Slop Code Risk Monitor

phaserjs/phaser

SlopCodeMonitor badge for phaserjs/phaser Adjusted legacy signal; badge bands: 25 / 50 / 75 (different from dashboard bands).

Phaser is a fun, free and fast 2D game framework for making HTML5 games for desktop and mobile web browsers, supporting Canvas and WebGL rendering.

0.7 Low pattern signal View on GitHub

Open-Source Code Quality, Security and Technical Debt Review

This report summarizes scanner evidence for phaserjs/phaser, a JavaScript project with 40,609 GitHub stars. SynthScan examined 559,073 lines of code across 3489 source files, recording 72 pattern matches distributed across 8 syntactic categories. The legacy adjusted pattern signal is 0.7 (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.

0.7
Adjusted Signal
0.7
Raw Pattern Score
100%
Time Factor
2026-08-21
Last Push
40.6K
Stars
JavaScript
Language
559.1K
Lines of Code
3.5K
Files
72
Pattern Hits
2026-10-31
Scan Date
0.01
HC Hit Rate

Risk Review · Payload v1

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.

Cognitive Ownership Risk 0.6/100 · LOW

Can maintainers explain intent, assumptions, and trade-offs? 37 finding(s).

Hallucinated Dependency & Supply Chain Risk 2.8/100 · LOW

Are imports declared and package/API names verified? 32 finding(s).

Agent Over-Engineering Ratio 0.2/100 · LOW

Are wrappers, guards, and repeated structures necessary? 16 finding(s).

PR Review Velocity Impact 3.4/100 · LOW

Which changes need focused human review? 72 finding(s).

What These Metrics Mean

Adjusted Signal
Legacy pattern score normalized per 1,000 scanned lines and multiplied by the repository-level time factor. It is not an estimate of AI authorship.
Raw Pattern Score
Sum of severity- and context-weighted pattern findings before applying the time factor.
Time Factor
A coarse multiplier based on repository last-push metadata. It does not identify when individual code was written.
Pattern Hits
Count of configured pattern findings. Review each location and surrounding code before acting.
HC Hit Rate
High- and critical-severity findings per scanned file. Severity is a configured detector weight, not proof of a vulnerability or authorship.
Lines / Files
Scan coverage denominators used by the legacy normalized score.

Pattern-Signal History

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.

Severity Breakdown

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.

CRITICAL 32HIGH 3MEDIUM 5LOW 32

Directory Score Breakdown

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.

Pattern Findings

The scanner identified 72 distinct pattern matches across 8 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.

Hallucination Indicators32 hits · 320 pts
SeverityFileLineSnippetContext
CRITICAL…nderer/webgl/wrappers/WebGLTextureUnitsWrapper.test.js397 var nullBindCalls = renderer.gl.bindTexture.mock.calls.filter(function (call)CODE
CRITICAL…nderer/webgl/wrappers/WebGLTextureUnitsWrapper.test.js425 renderer.gl.bindTexture.mock.calls.forEach(function (call)CODE
CRITICALtests/gameobjects/bitmaptext/ParseFromAtlas.test.js119 scene.sys.cache.xml.get.mockReturnValue(null);CODE
CRITICALtests/gameobjects/bitmaptext/ParseFromAtlas.test.js137 scene.sys.cache.xml.get.mockReturnValue(undefined);CODE
CRITICALtests/gameobjects/bitmaptext/ParseFromAtlas.test.js147 scene.sys.cache.xml.get.mockReturnValue(null);CODE
CRITICALtests/gameobjects/bitmaptext/ParseFromAtlas.test.js222 scene.sys.cache.xml.get.mockReturnValue(null);CODE
CRITICALtests/gameobjects/bitmaptext/ParseFromAtlas.test.js247 scene.sys.cache.xml.get.mockReturnValue(mockXml);CODE
CRITICALtests/gameobjects/bitmaptext/ParseFromAtlas.test.js261 scene.sys.cache.xml.get.mockReturnValue(mockXml);CODE
CRITICALtests/gameobjects/bitmaptext/ParseFromAtlas.test.js272 scene.sys.cache.xml.get.mockReturnValue(mockXml);CODE
CRITICAL…s/Phaser 4 Pixel Art Guide/Phaser 4 Pixel Art Guide.md25 - Apply a Blocky filter to the camera: `this.cameras.main.filters.external.addBlocky({ size: 8 });`CODE
CRITICAL…s/Phaser 4 Pixel Art Guide/Phaser 4 Pixel Art Guide.md29 - Apply a Pixelate filter to the camera: `this.cameras.main.filters.external.addBlocky(6);`CODE
CRITICAL…s/Phaser 4 Pixel Art Guide/Phaser 4 Pixel Art Guide.md245 - `this.cameras.main.filters.external.addBlocky({ size: 8 });`CODE
CRITICAL…s/Phaser 4 Pixel Art Guide/Phaser 4 Pixel Art Guide.md261`this.cameras.main.filters.external.addPixelate(6);`CODE
CRITICAL…s/Phaser 4 Pixel Art Guide/Phaser 4 Pixel Art Guide.md278this.cameras.main.filters.external.addQuantize({CODE
CRITICAL…s/Phaser 4 Pixel Art Guide/Phaser 4 Pixel Art Guide.md316 - Apply a Blocky filter to the camera: `this.cameras.main.filters.external.addBlocky({ size: 8 });`CODE
CRITICAL…s/Phaser 4 Pixel Art Guide/Phaser 4 Pixel Art Guide.md320 - Apply a Pixelate filter to the camera: `this.cameras.main.filters.external.addBlocky(6);`CODE
CRITICALsrc/filters/Blend.js106 var phaserTexture = this.camera.scene.sys.textures.getFrame(texture);CODE
CRITICALsrc/filters/Mask.js283 var phaserTexture = this.camera.scene.sys.textures.getFrame(texture);CODE
CRITICALsrc/filters/ImageLight.js173 var phaserTexture = texture instanceof Texture ? texture : this.camera.scene.sys.textures.getFrame(texture);CODE
CRITICALsrc/filters/ImageLight.js194 var phaserTexture = texture instanceof Texture ? texture : this.camera.scene.sys.textures.getFrame(texture);CODE
CRITICALsrc/filters/CombineColorMatrix.js123 var phaserTexture = texture instanceof Texture ? texture : this.camera.scene.sys.textures.getFrame(texture);CODE
CRITICALsrc/filters/Displacement.js104 var phaserTexture = this.camera.scene.sys.textures.getFrame(texture);CODE
CRITICALsrc/filters/Wipe.js257 this.wipeTexture = this.camera.scene.sys.textures.get(texture) || this.camera.scene.sys.textures.get('__DEFACODE
CRITICALsrc/renderer/webgl/renderNodes/ShaderQuad.js165 var baseShader = this.manager.renderer.game.cache.shader.get(vertexKey);CODE
CRITICALsrc/renderer/webgl/renderNodes/ShaderQuad.js183 baseShader = this.manager.renderer.game.cache.shader.get(fragmentKey);CODE
CRITICAL…renderer/webgl/renderNodes/filters/BaseFilterShader.js54 var baseShader = manager.renderer.game.cache.shader.get(fragmentShaderKey);CODE
CRITICALsrc/gameobjects/video/Video.js614 var video = this.scene.sys.cache.video.get(key);CODE
CRITICALsrc/gameobjects/bitmaptext/static/BitmapText.js111 var entry = this.scene.sys.cache.bitmapFont.get(font);CODE
CRITICALsrc/gameobjects/bitmaptext/static/BitmapText.js835 var entry = this.scene.sys.cache.bitmapFont.get(key);CODE
CRITICALsrc/loader/filetypes/VideoFile.js53 var urlConfig = loader.systems.game.device.video.getVideoURL(url);CODE
CRITICALsrc/sound/html5/HTML5AudioSoundManager.js175 this.game.cache.audio.entries.each(function (key, tags)CODE
CRITICALsrc/sound/html5/HTML5AudioSoundManager.js215 _this.game.cache.audio.entries.each(function (key, tags)CODE
Synthetic Comment Markers3 hits · 22 pts
SeverityFileLineSnippetContext
HIGHsrc/scale/ScaleManager.js553 // The un-modified game size, as requested in the game config (the raw width / height) as used for world boundsCOMMENT
HIGHsrc/scale/ScaleManager.js780 // The un-modified game size, as requested in the game config (the raw width / height) as used for world boundsCOMMENT
HIGHsrc/scale/ScaleManager.js845 // The un-modified game size, as requested in the game config (the raw width / height) as used for world boundsCOMMENT
Over-Commented Block15 hits · 15 pts
SeverityFileLineSnippetContext
LOWtypes/index.d.ts1/// <reference types="./phaser" />COMMENT
LOWtests/textures/parsers/PVRParser.test.js1var PVRParser = require('../../../src/textures/parsers/PVRParser');COMMENT
LOWtests/textures/parsers/KTXParser.test.js1var KTXParser = require('../../../src/textures/parsers/KTXParser');COMMENT
LOWscripts/tsgen/test/bin/game.js1"use strict";COMMENT
LOWsrc/textures/parsers/VerifyCompressedTexture.js161 // ATC internal formats:COMMENT
LOWsrc/plugins/BasePlugin.js81 // Here are the game-level events you can listen to.COMMENT
LOWsrc/tweens/tween/ReservedProps.js1/**COMMENT
LOWsrc/tweens/builders/GetValueOp.js261 // y: { value: 300, ... }COMMENT
LOWsrc/gameobjects/BuildGameObjectAnimation.js41 }COMMENT
LOWsrc/gameobjects/blitter/BlitterFactory.js41// this.displayList - a reference to the Display List the Scene ownsCOMMENT
LOW…objects/bitmaptext/dynamic/DynamicBitmapTextFactory.js61// this.scene - a reference to the Scene that owns the GameObjectFactoryCOMMENT
LOWsrc/gameobjects/pathfollower/PathFollowerFactory.js41COMMENT
LOWsrc/gameobjects/text/TextCreator.js41 // backgroundColor: [ 'backgroundColor', null ],COMMENT
LOWsrc/gameobjects/extern/ExternFactory.js41// this.scene - a reference to the Scene that owns the GameObjectFactoryCOMMENT
LOWsrc/gameobjects/captureframe/CaptureFrameFactory.js41// this.displayList - a reference to the Display List the Scene ownsCOMMENT
Hyper-Verbose Identifiers13 hits · 14 pts
SeverityFileLineSnippetContext
LOWtests/renderer/webgl/wrappers/WebGLVAOWrapper.test.js59 function makeAttributeBufferLayout (layouts, opts)CODE
LOWtests/input/keyboard/KeyboardPlugin.test.js4function createMockSceneInputPlugin ()CODE
LOWtests/tilemaps/parsers/tiled/ParseTilesets.test.js39 function makeCollectionTilesetJSON(overrides)CODE
LOW…sts/tilemaps/components/HexagonalWorldToTileXY.test.js30 function makeLayerWithTilemapLayer (overrides)CODE
LOWtests/tilemaps/components/WorldToTileX.test.js16 function makeLayerWithTilemapLayer (tileWidth, tileHeight, layerX, layerY, scaleX, scaleY, scrollFactorX)CODE
LOW…sts/tilemaps/components/HexagonalTileToWorldXY.test.js20 function makeLayerWithTilemapLayer (staggerAxis, staggerIndex, layerOptions, cameraOptions)CODE
LOWtests/sound/webaudio/WebAudioSound.test.js44function createMockStereoPannerNode ()CODE
LOWtests/sound/webaudio/WebAudioSound.test.js59function createMockBufferSourceNode ()CODE
LOWtests/animations/AnimationState.test.js59function createMockAnimationManager ()CODE
LOW…derer/webgl/wrappers/WebGLVertexBufferLayoutWrapper.js32 initialize: function WebGLVertexBufferLayoutWrapper (renderer, layout, buffer)CODE
LOWsrc/physics/matter-js/poly-decomp/index.js610function polygonRemoveCollinearPoints(polygon, precision){CODE
LOWsrc/physics/matter-js/poly-decomp/index.js627function polygonRemoveDuplicatePoints(polygon, precision){CODE
LOWsrc/data/DataManager.js31 * @class DataManagerCOMMENT
Decorative Section Separators3 hits · 9 pts
SeverityFileLineSnippetContext
MEDIUMtests/setup.js13// ── Globals that jsdom doesn't provide ──────────────────────────────────────COMMENT
MEDIUMtests/setup.js46// ── Image mock ──────────────────────────────────────────────────────────────COMMENT
MEDIUMtests/setup.js92// ── Canvas 2D Context mock ──────────────────────────────────────────────────COMMENT
AI Slop Vocabulary2 hits · 6 pts
SeverityFileLineSnippetContext
MEDIUMsrc/gameobjects/particles/ParticleEmitter.js1880 // emitZone: { type: 'edge', source: X, quantity: 32, [stepRate=0], [yoyo=false], [seamless=true], [totCOMMENT
MEDIUMsrc/gameobjects/particles/zones/EdgeZone.js107 * @name Phaser.GameObjects.Particles.Zones.EdgeZone#seamlessCOMMENT
Structural Annotation Overuse2 hits · 3 pts
SeverityFileLineSnippetContext
LOWskills/filters-and-postfx/SKILL.md16// Step 1: Enable the filter system on the game object (WebGL only)COMMENT
LOWskills/filters-and-postfx/SKILL.md19// Step 2: Add filters via .filters.internal or .filters.externalCOMMENT
Slop Phrases2 hits · 3 pts
SeverityFileLineSnippetContext
LOWsrc/renderer/webgl/renderNodes/RenderNode.js89 * Don't forget to call it in your custom method.COMMENT
LOWsrc/renderer/webgl/renderNodes/RenderNode.js102 * Don't forget to call it in your custom method.COMMENT