Repository Analysis

aframevr/aframe

:a: Web framework for building virtual reality experiences.

5.1 Low AI signal View on GitHub

Analysis Overview

This report presents the forensic synthetic code analysis of aframevr/aframe, a JavaScript project with 17,586 GitHub stars. SynthScan v2.0 examined 88,881 lines of code across 569 source files, recording 77 pattern matches distributed across 5 syntactic categories. The overall adjusted score of 5.1 places this repository in the Low AI signal band.

The scanner applied 160+ deterministic lexical heuristics, multi-line block detectors, abstract syntax tree depth profilers, and a cross-file Jaccard similarity matrix to construct a statistically normalised synthetic code estimate. All matches are individually weighted by severity coefficient and contextual multiplier before summation, and the resulting headline score is temporally discounted to account for the repository's development history relative to the commercial emergence of large language model coding tooling (November 2022 onward).

5.1
Adjusted Score
5.1
Raw Score
100%
Time Factor
2026-07-13
Last Push
17.6K
Stars
JavaScript
Language
88.9K
Lines of Code
569
Files
77
Pattern Hits
2026-07-14
Scan Date
0.06
HC Hit Rate

What These Metrics Mean

Adjusted Score
Primary synthetic code indicator. Raw score normalised per 1,000 lines of code and multiplied by the temporal discount factor. This is the definitive comparative metric — use it to rank repositories by AI authorship density.
Raw Score
The unmodified sum of all severity-weighted, context-multiplied pattern match scores before temporal discounting. Reflects the absolute signal strength independent of when the repository was last active.
Time Factor
The temporal discount multiplier (0–100%) applied to the raw score. Repositories last updated before ChatGPT's launch (Nov 2022) receive a 5% factor. Full signal is only assigned to repositories active in the post-adoption era (Jan 2024+).
Pattern Hits
Total count of individual pattern matches across all files and categories. A high hit count with a low score may indicate a very large codebase with isolated AI snippets; a low count with a high score indicates dense, concentrated AI signatures.
HC Hit Rate
High+Critical pattern hits per file, averaged across the repository. This orthogonal signal catches repositories where a few files are densely packed with high-severity AI tells — a strong indicator even when the normalised score appears moderate due to codebase size.
Lines of Code / Files
Total lines and files analysed. The scanner examines 94 file extensions. These denominators are used to normalise the score, enabling fair comparison between repositories of vastly different sizes.

Score History

This chart maps the temporal evolution of the adjusted synthetic code score across successive scan runs. An upward trajectory indicates ongoing incorporation of AI-generated code or expanding LLM-assisted scaffolding; a stable or declining trajectory may reflect active human refactoring, code removal, or the adoption of stricter authorship policies. The dashed secondary line (right axis) independently tracks total raw pattern hit count, which can diverge from the normalised score when codebase size changes significantly between scans.

Severity Breakdown

Classifies detected patterns by their diagnostic confidence and structural impact. CRITICAL patterns (coefficient 10) represent definitive synthetic signatures — hallucinated imports, explicit LLM attribution metadata — virtually never produced by human authors. HIGH (5) indicates strong structural tells such as cross-file repetition or cross-linguistic idioms. MEDIUM (2) covers recognisable conversational padding and AI-specific vocabulary. LOW (1) captures subtle indicators like tautological comments and generic boilerplate that require density to carry independent signal.

CRITICAL 33HIGH 0MEDIUM 6LOW 38

Directory Score Breakdown

This horizontal bar chart decomposes the repository's raw synthetic code score by top-level directory, allowing you to pinpoint precisely which modules or components carry the highest AI authorship density. Directories with disproportionately high scores relative to their size warrant targeted manual review: concentrated AI signatures often trace back to mass-generated configuration layers, auto-ported test suites, LLM-scaffolded boilerplate classes, or entire subsystems authored under heavy copilot assistance. Use this view to prioritise your human code-review effort.

Pattern Findings

The scanner identified 77 distinct pattern matches across 5 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a statistically significant AI authorship indicator. 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 diagnostic confidence level (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — comment-context matches receive a ×1.5 weight because LLMs systematically over-annotate. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier as dense clusters constitute far stronger evidence of synthetic authorship than isolated hits.

Hallucination Indicators33 hits · 390 pts
SeverityFileLineSnippetContext
CRITICALtests/core/a-entity.test.js617 assert.notEqual(el.sceneEl.behaviors.test.tick.array.indexOf(el.components.test), -1);CODE
CRITICALtests/core/a-entity.test.js618 assert.notEqual(el.sceneEl.behaviors.test.tock.array.indexOf(el.components.test), -1);CODE
CRITICALtests/core/a-entity.test.js622 assert.equal(el.sceneEl.behaviors.test.tick.array.indexOf(el.components.test), -1);CODE
CRITICALtests/core/a-entity.test.js623 assert.equal(el.sceneEl.behaviors.test.tock.array.indexOf(el.components.test), -1);CODE
CRITICALtests/core/a-entity.test.js1224 assert.notEqual(sceneEl.behaviors.raycaster.tock.array.indexOf(component), -1);CODE
CRITICALtests/core/a-entity.test.js1226 assert.equal(sceneEl.behaviors.raycaster.tock.array.indexOf(component), -1);CODE
CRITICALtests/core/a-entity.test.js1588 assert.notEqual(el.sceneEl.behaviors.test.tick.array.indexOf(testComponentInstance), -1);CODE
CRITICALtests/core/a-entity.test.js1590 assert.equal(el.sceneEl.behaviors.test.tick.array.indexOf(testComponentInstance), -1);CODE
CRITICALtests/core/a-entity.test.js1600 assert.equal(el.sceneEl.behaviors.test.tick.array.indexOf(testComponentInstance), -1);CODE
CRITICALtests/core/a-entity.test.js1602 assert.notEqual(el.sceneEl.behaviors.test.tick.array.indexOf(testComponentInstance), -1);CODE
CRITICALtests/core/a-entity.test.js1609 assert.notEqual(el.sceneEl.behaviors.test.tock.array.indexOf(testComponentInstance), -1);CODE
CRITICALtests/core/a-entity.test.js1611 assert.equal(el.sceneEl.behaviors.test.tock.array.indexOf(testComponentInstance), -1);CODE
CRITICALtests/core/a-entity.test.js1621 assert.equal(el.sceneEl.behaviors.test.tock.array.indexOf(testComponentInstance), -1);CODE
CRITICALtests/core/a-entity.test.js1623 assert.notEqual(el.sceneEl.behaviors.test.tock.array.indexOf(testComponentInstance), -1);CODE
CRITICALtests/components/vive-controls.test.js247 component.buttonMeshes.trigger.material.color.set('#22d1ee');CODE
CRITICALtests/shaders/standard.test.js159 assert.equal(el.components.material.material.map.image.getAttribute('src'), VIDEO);CODE
CRITICALdocs/primitives/a-videosphere.md40document.querySelector("#antarctica").components.material.material.map.image.play();CODE
CRITICALdocs/components/material.md684 this.offset.copy(this.el.sceneEl.camera.el.getAttribute('position'));CODE
CRITICALexamples/test/pool/components/spaceship.js42 this.el.sceneEl.components.pool.returnEntity(laserEl);CODE
CRITICALexamples/js/spatial-ui/spatial-hero-image.js25 this.el.sceneEl.systems.material.loadTexture(data.src, {src: data.src}, function textureLoaded (texture) {CODE
CRITICALexamples/boilerplate/webxr-dom-overlay/index.html39 this.el.sceneEl.renderer.xr.getSession().end();CODE
CRITICAL…nk-traversal/js/components/aframe-tooltip-component.js207 this.el.sceneEl.systems.material.loadTexture(src, {src: src}, setMap.bind(this));CODE
CRITICALsrc/components/vive-controls.js224 buttonMeshes.grip.left.material.color.set(color);CODE
CRITICALsrc/components/vive-controls.js225 buttonMeshes.grip.right.material.color.set(color);CODE
CRITICALsrc/components/cursor.js301 referenceSpace = this.el.sceneEl.renderer.xr.getReferenceSpace();CODE
CRITICALsrc/components/cursor.js489 this.el.sceneEl.canvas.classList.add(CANVAS_HOVER_CLASS);CODE
CRITICALsrc/components/cursor.js518 this.el.sceneEl.canvas.classList.remove(CANVAS_HOVER_CLASS);CODE
CRITICALsrc/components/layer.js110 this.el.sceneEl.systems.material.loadTexture(src, {src: src}, function textureLoaded (texture) {CODE
CRITICALsrc/components/layer.js319 this.el.sceneEl.renderer.xr.removeLayer(this.layer);CODE
CRITICALsrc/components/hand-tracking-controls.js152 self.el.sceneEl.systems.webxr.warnIfFeatureNotRequested(referenceSpaceType, 'tracked-controls uses reference spaceCODE
CRITICALsrc/components/scene/ar-hit-test.js269 this.el.sceneEl.renderer.xr.addEventListener('sessionend', function () {CODE
CRITICALsrc/components/scene/ar-hit-test.js401 this.data.target.object3D.layers.enable(CAM_LAYER);CODE
CRITICALsrc/systems/tracked-controls.js37 self.el.sceneEl.systems.webxr.warnIfFeatureNotRequested(CODE
Fake / Example Data22 hits · 29 pts
SeverityFileLineSnippetContext
LOWtests/README.md50test('lorem ipsum', function () { // ... });CODE
LOWtests/README.md52test.only('lorem ipsum', function () { // ... });CODE
LOWexamples/test/text/index.html45 text="anchor: left; width: 1.5; color: white; value: [LEFT ANCHOR] Lorem ipsum dolor sit amet, consectetCODE
LOWexamples/test/text/index.html45 text="anchor: left; width: 1.5; color: white; value: [LEFT ANCHOR] Lorem ipsum dolor sit amet, consectetCODE
LOWexamples/test/text/index.html49 text="anchor: center; width: 1.5; color: white; value: [CENTER ANCHOR] Lorem ipsum dolor sit amet, conseCODE
LOWexamples/test/text/index.html49 text="anchor: center; width: 1.5; color: white; value: [CENTER ANCHOR] Lorem ipsum dolor sit amet, conseCODE
LOWexamples/test/text/index.html53 text="anchor: right; width: 1.5; color: white; value: [RIGHT ANCHOR] Lorem ipsum dolor sit amet, consectCODE
LOWexamples/test/text/index.html53 text="anchor: right; width: 1.5; color: white; value: [RIGHT ANCHOR] Lorem ipsum dolor sit amet, consectCODE
LOWexamples/test/text/index.html59 text="width: 2; color: white; value: Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut enim adCODE
LOWexamples/test/text/index.html59 text="width: 2; color: white; value: Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut enim adCODE
LOWexamples/test/text/index.html64 text="width: 2; lineHeight: 50; letterSpacing: 5; color: white; value: [LINE AND LETTER SPACING] Lorem iCODE
LOWexamples/test/text/index.html64 text="width: 2; lineHeight: 50; letterSpacing: 5; color: white; value: [LINE AND LETTER SPACING] Lorem iCODE
LOWexamples/test/text/sizes.html12 value: Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut enim ad minim veniam"CODE
LOWexamples/test/text/sizes.html12 value: Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut enim ad minim veniam"CODE
LOWexamples/test/text/msdf.html12 value: Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut enim ad minim veniam"CODE
LOWexamples/test/text/msdf.html12 value: Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut enim ad minim veniam"CODE
LOWexamples/test/text/msdf.html17 value: Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut enim ad minim veniam"CODE
LOWexamples/test/text/msdf.html17 value: Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut enim ad minim veniam"CODE
LOWexamples/showcase/ui/index.html117 text="baseline: top; shader: msdf; anchor: left; font: https://cdn.aframe.io/examples/ui/Viga-Regular.json; CODE
LOWexamples/showcase/ui/index.html117 text="baseline: top; shader: msdf; anchor: left; font: https://cdn.aframe.io/examples/ui/Viga-Regular.json; CODE
LOWexamples/showcase/spatial-ui/index.html42 <a-text font="kelsonsans" height="1" class="movie-synopsis" value="Lorem ipsum dolor sit amet, consectetur adiCODE
LOWexamples/showcase/spatial-ui/index.html42 <a-text font="kelsonsans" height="1" class="movie-synopsis" value="Lorem ipsum dolor sit amet, consectetur adiCODE
AI Slop Vocabulary6 hits · 16 pts
SeverityFileLineSnippetContext
MEDIUMexamples/showcase/wikipedia/index.html376<p>Unmanned machines will clean the top 27 additional tiers and the glass spire. The cleaning system was developed in MeCODE
MEDIUMexamples/showcase/wikipedia/indexMobile.html565<p>Unmanned machines will clean the top 27 additional tiers and the glass spire. The cleaning system was developed in MeCODE
MEDIUMsrc/components/pico-controls.js8// TODO: Add a more robust system for deriving gamepad name.COMMENT
MEDIUMsrc/components/hp-mixed-reality-controls.js8// TODO: Add a more robust system for deriving gamepad name.COMMENT
MEDIUMsrc/components/logitech-mx-ink-controls.js8// TODO: Add a more robust system for deriving gamepad name.COMMENT
MEDIUMsrc/components/magicleap-controls.js7// TODO: Add a more robust system for deriving gamepad name.COMMENT
Hyper-Verbose Identifiers15 hits · 15 pts
SeverityFileLineSnippetContext
LOWtests/components/windows-motion-controls.test.js425 function createAxisMovedFromChanged () {CODE
LOWtests/components/windows-motion-controls.test.js443 function createMotionControllersList () {CODE
LOWsrc/core/schema.js51export function processPropertyDefinition (propDefinition, componentName) {CODE
LOWsrc/core/readyState.js11export function waitForDocumentReadyState () {CODE
LOWsrc/core/a-node.js166 var observer = new MutationObserver(function callAttributeChangedCallback (mutationList) {CODE
LOWsrc/core/scene/a-scene.js746export function determineComponentBehaviorOrder (components, array) {CODE
LOWsrc/utils/device.js130export function isMobileDeviceRequestingDesktopSite () {CODE
LOWsrc/utils/material.js70export function updateMapMaterialFromData (materialName, dataName, shader, data) {CODE
LOWsrc/utils/material.js272 function emitVideoTextureLoadedDataAll () {CODE
LOWsrc/utils/index.js82export function throttleLeadingAndTrailing (functionToThrottle, minimumInterval, optionalContext) {CODE
LOWsrc/utils/tracked-controls.js13export function checkControllerPresentAndSetup (component, idPrefix, queryObject) {CODE
LOWsrc/utils/tracked-controls.js65export function findMatchingControllerWebXR (controllers, idPrefix, handedness, index, iterateProfiles, handTracking) {CODE
LOWsrc/utils/forceCanvasResizeSafariMobile.js1export default function forceCanvasResizeSafariMobile (canvasEl) {CODE
LOWsrc/utils/src-loader.js204function validateAndGetQuerySelector (selector) {CODE
LOWsrc/utils/src-loader.js204function validateAndGetQuerySelector (selector) {CODE
Over-Commented Block1 hit · 1 pts
SeverityFileLineSnippetContext
LOWtests/core/a-cubemap.test.js1/* global assert, setup, suite, test */COMMENT