Repository Analysis

node-red/node-red

Low-code programming for event-driven applications

90.8 Strong AI signal View on GitHub

Analysis Overview

This report presents the forensic synthetic code analysis of node-red/node-red, a JavaScript project with 23,411 GitHub stars. SynthScan v2.0 examined 76,786 lines of code across 271 source files, recording 711 pattern matches distributed across 6 syntactic categories. The overall adjusted score of 90.8 places this repository in the Strong 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).

90.8
Adjusted Score
90.8
Raw Score
100%
Time Factor
2026-07-13
Last Push
23.4K
Stars
JavaScript
Language
76.8K
Lines of Code
271
Files
711
Pattern Hits
2026-07-14
Scan Date
2.45
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 665HIGH 0MEDIUM 2LOW 44

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 711 distinct pattern matches across 6 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 Indicators665 hits · 6922 pts
SeverityFileLineSnippetContext
CRITICALtest/unit/@node-red/util/lib/log_spec.js69 console.log.calledOnce.should.be.true();CODE
CRITICALtest/unit/@node-red/util/lib/log_spec.js90 console.log.calledOnce.should.be.true();CODE
CRITICALtest/unit/@node-red/util/lib/log_spec.js95 console.log.calledOnce.should.be.true();CODE
CRITICALtest/unit/@node-red/util/lib/util_spec.js130 cloned.object.subobject.should.not.equal(msg.object.subobject);CODE
CRITICALtest/unit/@node-red/util/lib/util_spec.js216 msg.a.b.c.should.eql('bar');CODE
CRITICALtest/unit/@node-red/util/lib/util_spec.js222 msg.a.b.c.should.eql('bar');CODE
CRITICALtest/unit/@node-red/util/lib/util_spec.js331 msg.a.should.not.have.property("b[2]");CODE
CRITICALtest/unit/@node-red/editor-api/lib/auth/index_spec.js44 req.body.should.have.a.property("client_secret","test_value");CODE
CRITICALtest/unit/@node-red/editor-api/lib/auth/index_spec.js53 req.body.should.have.a.property("client_secret","not_available");CODE
CRITICALtest/unit/@node-red/editor-api/lib/auth/index_spec.js94 resp.prompts.should.have.a.lengthOf(2);CODE
CRITICALtest/unit/@node-red/editor-api/lib/auth/index_spec.js110 resp.prompts.should.have.a.lengthOf(1);CODE
CRITICALtest/unit/@node-red/editor-api/lib/auth/index_spec.js145 passport.authenticate.called.should.be.false();CODE
CRITICALtest/unit/@node-red/editor-api/lib/auth/index_spec.js160 passport.authenticate.called.should.be.true();CODE
CRITICALtest/unit/@node-red/editor-api/lib/auth/index_spec.js161 Permissions.hasPermission.called.should.be.false();CODE
CRITICALtest/unit/@node-red/editor-api/lib/auth/index_spec.js180 passport.authenticate.called.should.be.true();CODE
CRITICALtest/unit/@node-red/editor-api/lib/auth/index_spec.js181 Permissions.hasPermission.called.should.be.true();CODE
CRITICALtest/unit/@node-red/editor-api/lib/auth/users_spec.js46 user.should.not.have.a.property("password");CODE
CRITICALtest/unit/@node-red/editor-api/lib/auth/users_spec.js85 user.should.not.have.a.property("password");CODE
CRITICALtest/unit/@node-red/editor-api/lib/auth/users_spec.js166 user.should.not.have.a.property("password");CODE
CRITICALtest/unit/@node-red/editor-api/lib/auth/users_spec.js178 user.should.not.have.a.property("password");CODE
CRITICALtest/unit/@node-red/editor-api/lib/auth/tokens_spec.js284 savedSession.should.not.have.a.property("1234");CODE
CRITICAL…t/unit/@node-red/editor-api/lib/admin/settings_spec.js88 res.body.should.not.have.property("editorTheme");CODE
CRITICALtest/unit/@node-red/editor-api/lib/admin/flows_spec.js78 res.body.should.have.a.property('rev','123');CODE
CRITICALtest/unit/@node-red/editor-api/lib/admin/flows_spec.js79 res.body.should.have.a.property('flows');CODE
CRITICALtest/unit/@node-red/editor-api/lib/admin/flows_spec.js80 res.body.flows.should.have.lengthOf(3);CODE
CRITICALtest/unit/@node-red/editor-api/lib/admin/flows_spec.js98 res.body.should.have.a.property('code','invalid_api_version');CODE
CRITICALtest/unit/@node-red/editor-api/lib/admin/flows_spec.js185 res.body.should.have.a.property('code','invalid_api_version');CODE
CRITICALtest/unit/@node-red/editor-api/lib/admin/flows_spec.js233 res.body.should.have.a.property('started', true);CODE
CRITICALtest/unit/@node-red/editor-api/lib/admin/flows_spec.js234 res.body.should.have.a.property('state', "started");CODE
CRITICALtest/unit/@node-red/editor-api/lib/admin/flows_spec.js264 res.body.should.have.a.property('started', false);CODE
CRITICALtest/unit/@node-red/editor-api/lib/admin/flows_spec.js265 res.body.should.have.a.property('state', "stopped");CODE
CRITICALtest/unit/@node-red/editor-api/lib/admin/nodes_spec.js70 res.body.should.be.an.Array();CODE
CRITICALtest/unit/@node-red/editor-api/lib/admin/nodes_spec.js274 res.body.should.have.a.property('code','random_error');CODE
CRITICALtest/unit/@node-red/editor-api/lib/admin/nodes_spec.js323 res.body.should.have.a.property('code','random_error');CODE
CRITICALtest/unit/@node-red/editor-api/lib/admin/nodes_spec.js448 res.body.module.should.be.an.Array();CODE
CRITICALtest/unit/@node-red/editor-api/lib/admin/nodes_spec.js449 res.body.module.should.have.lengthOf(3);CODE
CRITICALtest/unit/@node-red/editor-api/lib/admin/flow_spec.js70 res.body.should.has.a.property('id','123');CODE
CRITICALtest/unit/@node-red/editor-api/lib/admin/flow_spec.js114 res.body.should.has.a.property('id','123');CODE
CRITICALtest/unit/@node-red/editor-api/lib/admin/flow_spec.js128 res.body.should.has.a.property('code','random_error');CODE
CRITICALtest/unit/@node-red/editor-api/lib/admin/flow_spec.js129 res.body.should.has.a.property('message','random error');CODE
CRITICALtest/unit/@node-red/editor-api/lib/admin/flow_spec.js169 res.body.should.has.a.property('id','123');CODE
CRITICALtest/unit/@node-red/editor-api/lib/admin/flow_spec.js186 res.body.should.has.a.property('code','random_error');CODE
CRITICALtest/unit/@node-red/editor-api/lib/admin/flow_spec.js187 res.body.should.has.a.property('message','random error');CODE
CRITICALtest/unit/@node-red/editor-api/lib/admin/flow_spec.js240 res.body.should.has.a.property('code','random_error');CODE
CRITICALtest/unit/@node-red/editor-api/lib/admin/flow_spec.js241 res.body.should.has.a.property('message','random error');CODE
CRITICAL…st/unit/@node-red/editor-api/lib/admin/context_spec.js161 res.body.should.has.a.property('code', 'unexpected_error');CODE
CRITICAL…st/unit/@node-red/editor-api/lib/admin/context_spec.js162 res.body.should.has.a.property('message', 'error');CODE
CRITICAL…st/unit/@node-red/editor-api/lib/admin/context_spec.js266 res.body.should.has.a.property('code', 'unexpected_error');CODE
CRITICAL…st/unit/@node-red/editor-api/lib/admin/context_spec.js267 res.body.should.has.a.property('message', 'error');CODE
CRITICALtest/unit/@node-red/editor-api/lib/editor/index_spec.js45 comms.init.called.should.be.false();CODE
CRITICALtest/unit/@node-red/editor-api/lib/editor/index_spec.js46 info.init.called.should.be.false();CODE
CRITICALtest/unit/@node-red/editor-api/lib/editor/theme_spec.js43 context.page.should.have.a.property("title", "Node-RED");CODE
CRITICALtest/unit/@node-red/editor-api/lib/editor/theme_spec.js44 context.page.should.have.a.property("favicon", "favicon.ico");CODE
CRITICALtest/unit/@node-red/editor-api/lib/editor/theme_spec.js45 context.page.should.have.a.property("tabicon");CODE
CRITICALtest/unit/@node-red/editor-api/lib/editor/theme_spec.js46 context.page.tabicon.should.have.a.property("icon", "red/images/node-red-icon-black.svg");CODE
CRITICALtest/unit/@node-red/editor-api/lib/editor/theme_spec.js47 context.page.tabicon.should.have.a.property("colour", "#8f0000");CODE
CRITICALtest/unit/@node-red/editor-api/lib/editor/theme_spec.js49 context.header.should.have.a.property("title", "Node-RED");CODE
CRITICALtest/unit/@node-red/editor-api/lib/editor/theme_spec.js50 context.header.should.have.a.property("image", "red/images/node-red-icon.svg");CODE
CRITICALtest/unit/@node-red/editor-api/lib/editor/theme_spec.js52 context.asset.should.have.a.property("red", "red/red.min.js");CODE
CRITICALtest/unit/@node-red/editor-api/lib/editor/theme_spec.js53 context.asset.should.have.a.property("main", "red/main.min.js");CODE
605 more matches not shown…
Over-Commented Block30 hits · 28 pts
SeverityFileLineSnippetContext
LOWtest/unit/node-red/lib/red_spec.js41 // runtime.init.restore();COMMENT
LOWtest/unit/@node-red/editor-api/lib/editor/index_spec.js121 done();COMMENT
LOW…t/unit/@node-red/editor-api/lib/editor/locales_spec.js41 // callback();COMMENT
LOW…t/unit/@node-red/editor-api/lib/editor/locales_spec.js121 // var app;COMMENT
LOW…t/unit/@node-red/editor-api/lib/editor/locales_spec.js141 // }COMMENT
LOW…t/unit/@node-red/editor-api/lib/editor/locales_spec.js161 // done();COMMENT
LOWtest/unit/@node-red/runtime/lib/nodes/Node_spec.js601 // it('emits messages without cloning req or res', function(done) {COMMENT
LOWtest/unit/@node-red/runtime/lib/nodes/Node_spec.js621 // msg.req.should.be.exactly(message.req);COMMENT
LOWtest/unit/@node-red/runtime/lib/nodes/Node_spec.js641 //COMMENT
LOWtest/unit/@node-red/runtime/lib/nodes/Node_spec.js661 // send: (node,dst,msg) => { setImmediate(function() { flow.getNode(dst).receive(msg) })}COMMENT
LOWtest/unit/@node-red/runtime/lib/flows/index_spec.js441 c.should.equal(2);COMMENT
LOWtest/unit/@node-red/runtime/lib/flows/index_spec.js461 // flows.handleError(originalConfig[0],"message",{});COMMENT
LOWtest/unit/@node-red/runtime/lib/flows/index_spec.js481 // storage.getFlows = function() {COMMENT
LOWtest/unit/@node-red/runtime/lib/flows/index_spec.js501 // });COMMENT
LOWtest/unit/@node-red/runtime/lib/flows/index_spec.js521 // flows.startFlows();COMMENT
LOWtest/unit/@node-red/runtime/lib/flows/index_spec.js541 // try {COMMENT
LOWtest/unit/@node-red/registry/lib/loader_spec.js421 // result["node-red"] = {COMMENT
LOWtest/unit/@node-red/registry/lib/loader_spec.js441 // loader.init({nodes:nodes,log:{info:function(){},_:function(){}},settings:{available:function(){return truCOMMENT
LOWtest/unit/@node-red/registry/lib/loader_spec.js461 // module.nodes.DuffNode.should.have.property("namespace","node-red");COMMENT
LOWtest/nodes/core/parsers/70-JSON_spec.js221 // var logEvents = helper.log().args.filter(function(evt) {COMMENT
LOWtest/nodes/core/common/60-link_spec.js181 });COMMENT
LOWtest/nodes/core/common/60-link_spec.js201 // var n4 = helper.getNode("n4");COMMENT
LOWtest/editor/wdio.conf.js21 // ==================COMMENT
LOWtest/editor/wdio.conf.js41 // time. Depending on the number of capabilities, WebdriverIO launches several testCOMMENT
LOWtest/editor/wdio.conf.js61 // 5 instances get started at a time.COMMENT
LOWtest/editor/wdio.conf.js81 coloredLogs: true,COMMENT
LOWtest/editor/wdio.conf.js101 //COMMENT
LOWtest/editor/wdio.conf.js121 // screenWidth: [320,480,640,1024]COMMENT
LOWtest/editor/wdio.conf.js141 // Test reporter for stdout.COMMENT
LOWscripts/build-custom-theme.js1#!/usr/bin/env nodeCOMMENT
Hyper-Verbose Identifiers8 hits · 8 pts
SeverityFileLineSnippetContext
LOW…st/unit/@node-red/registry/lib/externalModules_spec.js28async function setupExternalModulesPackage(dependencies) {CODE
LOWtest/nodes/core/network/21-httprequest_spec.js190 function getSslTestURLWithoutProtocol(url) {CODE
LOWtest/nodes/core/network/21-mqtt_spec.js730function buildBasicMQTTSendRecvFlow(brokerOptions, inOptions, outOptions) {CODE
LOWtest/nodes/core/function/10-switch_spec.js125 function customFlowMessageSwitchTest(flow, shouldReceive, message, done) {CODE
LOWtest/nodes/core/function/10-switch_spec.js150 function customFlowSequenceSwitchTest(flow, seq_in, seq_out, repair, modifier, done) {CODE
LOWtest/nodes/core/function/10-switch_spec.js952 function customFlowSequenceMultiSwitchTest(flow, seq_in, outs, repair, done) {CODE
LOWtest/nodes/core/function/89-trigger_spec.js1178 function mapiDoneTriggerTestHelper(done, nodeSetting, msgAndTimings) {CODE
LOWtest/nodes/core/function/89-delay_spec.js182 function genericRateLimitSECONDSTest(aLimit, nbUnit, runtimeInMillis, rateValue, done) {CODE
Fake / Example Data6 hits · 6 pts
SeverityFileLineSnippetContext
LOW…lib/storage/localfilesystem/projects/ssh/index_spec.js248 comment: 'test@test.com',CODE
LOW…lib/storage/localfilesystem/projects/ssh/index_spec.js271 comment: 'test@test.com',CODE
LOW…lib/storage/localfilesystem/projects/ssh/index_spec.js295 comment: 'test@test.com',CODE
LOW…lib/storage/localfilesystem/projects/ssh/index_spec.js319 comment: 'test@test.com',CODE
LOW…lib/storage/localfilesystem/projects/ssh/index_spec.js344 comment: 'test@test.com',CODE
LOW…lib/storage/localfilesystem/projects/ssh/index_spec.js371 comment: 'test@test.com',CODE
Modern AI Meta-Vocabulary1 hit · 3 pts
SeverityFileLineSnippetContext
MEDIUMREADME.md9### Low-code programming for event-driven applicationsCOMMENT
AI Slop Vocabulary1 hit · 2 pts
SeverityFileLineSnippetContext
MEDIUMpackage-lock.json11420 "resolved": "https://registry.npmjs.org/robust-predicates/-/robust-predicates-3.0.3.tgz",CODE