AI Slop Code RIsk Monitor

1technophile/OpenMQTTGateway

MQTT gateway for ESP8266 or ESP32 with bidirectional 433mhz/315mhz/868mhz, Infrared communications, BLE, Bluetooth, beacons detection, mi flora, mi jia, LYWSD02, LYWSD03MMC, Mi Scale, TPMS, BBQ thermometer compatibility & LoRa.

4.4 Low pattern signal View on GitHub

Maintenance and Governance Review

This report summarizes scanner evidence for 1technophile/OpenMQTTGateway, a C++ project with 4,101 GitHub stars. SynthScan examined 48,502 lines of code across 209 source files, recording 190 pattern matches distributed across 9 syntactic categories. The legacy adjusted pattern signal is 4.4 (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.

4.4
Adjusted Signal
4.4
Raw Pattern Score
100%
Time Factor
2026-10-03
Last Push
4.1K
Stars
C++
Language
48.5K
Lines of Code
209
Files
190
Pattern Hits
2026-10-12
Scan Date
0.00
HC Hit Rate

Risk Review · v3

Use each vector to guide manual verification of the underlying findings.

Cognitive Ownership Risk 18.1/100 · LOW

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

Hallucinated Dependency & Supply Chain Risk 0.0/100 · LOW

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

Agent Over-Engineering Ratio 2.2/100 · LOW

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

PR Review Velocity Impact 18.8/100 · LOW

Which changes need focused human review? 190 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 0HIGH 0MEDIUM 6LOW 184

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 190 distinct pattern matches across 9 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.

Over-Commented Block160 hits · 150 pts
SeverityFileLineSnippetContext
LOWexamples/LoraWaterCounter/src/main.cpp1#include <LoRa.h>COMMENT
LOWexamples/LoraTemperature/src/main.cpp1#include <LoRa.h>COMMENT
LOWlib/LEDManager/LEDManager.h21*/COMMENT
LOWmain/config_BME280.h41extern void MeasureTempHumAndPressure();COMMENT
LOWmain/config_BME280.h61#endifCOMMENT
LOWmain/config_BME280.h81# define BME280PressureOversample 1COMMENT
LOWmain/gatewayIR.cpp41IRrecv irrecv(IR_RECEIVER_GPIO);COMMENT
LOWmain/gatewayIR.cpp61# ifndef DISH_BITSCOMMENT
LOWmain/config_2G.h41COMMENT
LOWmain/config_GFSunInverter.h41// #define GFSUNINVERTER_DEVEL 1COMMENT
LOWmain/config_AHTx0.h41extern void setupZsensorAHTx0();COMMENT
LOWmain/actuatorFASTLED.cpp161 }COMMENT
LOWmain/actuatorFASTLED.cpp181//COMMENT
LOWmain/config_BT.h41/*-----------BT TOPICS & COMPILATION PARAMETERS-----------*/COMMENT
LOWmain/config_BT.h61#endifCOMMENT
LOWmain/config_BT.h81# define BLEScanWindow 30 // How long to scan during the interval; in milliseconds.COMMENT
LOWmain/config_BT.h101COMMENT
LOWmain/config_BT.h121# define HassPresence false //true if we publish into Home Assistant presence topicCOMMENT
LOWmain/config_BT.h141COMMENT
LOWmain/config_SHTC3.h41/*-------------------PIN DEFINITIONS----------------------*/COMMENT
LOWmain/config_M5.h41# ifndef SLEEP_LCD_BRIGHTNESSCOMMENT
LOWmain/config_DHT.h41# define DHT_SENSOR_TYPE DHT22 //uncomment for DHT22 Sensor (default for backwards compatibility)COMMENT
LOWmain/config_PWM.h41#ifndef PWM_CHANNEL_NAMESCOMMENT
LOWmain/config_ONOFF.h41#define ONKey "setON"COMMENT
LOWmain/config_ONOFF.h61//# define MAX_CURRENT_ACTUATOR 15.0 // Current that will trigger the relay to go OFFCOMMENT
LOWmain/config_GPIOKeyCode.h41# ifndef GPIOKeyCode_LATCH_GPIOCOMMENT
LOWmain/config_SSD1306.h41COMMENT
LOWmain/config_SSD1306.h61# define DISPLAY_PAGE_INTERVAL 3 // Number of seconds between json message displaysCOMMENT
LOWmain/config_SSD1306.h81COMMENT
LOWmain/config_SSD1306.h101#define subjectMQTTtoSSD1306set "/commands/MQTTtoSSD1306/config"COMMENT
LOWmain/gatewaySERIAL.cpp41const TickType_t semaphoreTimeout = pdMS_TO_TICKS(1000); // 1 second timeoutCOMMENT
LOWmain/config_DS1820.h41#endifCOMMENT
LOWmain/config_FASTLED.h41// How many leds in your strip?COMMENT
LOWmain/config_FASTLED.h61//#define FASTLED_TYPE SM16716, RGB>(leds, NUM_LEDS);COMMENT
LOWmain/config_FASTLED.h81#ifdef ESP8266COMMENT
LOWmain/config_WebUI.h41#ifndef DISPLAY_METRICCOMMENT
LOWmain/config_WebUI.h181#endifCOMMENT
LOWmain/gatewayBT.cpp41# include <NimBLEUtils.h>COMMENT
LOWmain/config_ADC.h41# define ThresholdReadingADC 50 // following the comparison between the previous value and the current one +- the thresCOMMENT
LOWmain/TheengsCommon.h1#pragma onceCOMMENT
LOWmain/config_WebContent.h41#endifCOMMENT
LOWmain/config_HCSR501.h41#ifndef TimeBeforeStartHCSR501COMMENT
LOWmain/commonRF.cpp21 You should have received a copy of the GNU General Public LicenseCOMMENT
LOWmain/config_C37_YL83_HMRD.h41/*-------------------PIN DEFINITIONS----------------------*/COMMENT
LOWmain/User_config.h61#endifCOMMENT
LOWmain/User_config.h81# define NET_DNS "192.168.1.1"COMMENT
LOWmain/User_config.h101# ifndef ETH_PHY_MDIOCOMMENT
LOWmain/User_config.h121#endifCOMMENT
LOWmain/User_config.h141// environments where an unexpected reboot is undesirable (e.g. a smart plug that would lose its relay state).COMMENT
LOWmain/User_config.h161# if defined(ESP32)COMMENT
LOWmain/User_config.h181#ifndef MQTT_PASSCOMMENT
LOWmain/User_config.h201// Uncomment to use a device running TheengsGateway to decode BLE data. (https://github.com/theengs/gateway)COMMENT
LOWmain/User_config.h221# define AWS_IOT falseCOMMENT
LOWmain/User_config.h241//# define MQTT_HTTPS_FW_UPDATE //uncomment to enable updating via MQTT message.COMMENT
LOWmain/User_config.h261# define ENTITY_PICTURE "https://github.com/1technophile/OpenMQTTGateway/raw/development/docs/img/Openmqttgateway_logCOMMENT
LOWmain/User_config.h321# ifndef ESP32_EXT0_WAKE_PIN_STATECOMMENT
LOWmain/User_config.h341#ifndef DEFAULT_LOW_POWER_MODECOMMENT
LOWmain/User_config.h361//#define ZsensorHCSR04 "HCSR04" //ESP8266, Arduino, ESP32COMMENT
LOWmain/User_config.h381//#define ZradioCC1101 "CC1101" //ESP8266, ESP32COMMENT
LOWmain/User_config.h401# define will_Message "offline"COMMENT
100 more matches not shown…
Decorative Section Separators4 hits · 18 pts
SeverityFileLineSnippetContext
MEDIUM⚡scripts/ci_00_config.sh15# ============================================================================COMMENT
MEDIUM⚡scripts/ci_00_config.sh17# ============================================================================COMMENT
MEDIUM⚡scripts/ci_00_config.sh24# ============================================================================COMMENT
MEDIUM⚡scripts/ci_00_config.sh26# ============================================================================COMMENT
Verbosity Indicators7 hits · 14 pts
SeverityFileLineSnippetContext
LOW⚡scripts/ci_build.sh292 # Step 1: Verify build toolsCOMMENT
LOW⚡scripts/ci_build.sh302 # Step 2: Set versionCOMMENT
LOW⚡scripts/ci_build.sh305 # Step 3: Build firmwareCOMMENT
LOWscripts/ci_build.sh316 # Step 4: Prepare artifactsCOMMENT
LOW⚡scripts/ci.sh171 # Step 1: Quality AssuranceCOMMENT
LOW⚡scripts/ci.sh180 # Step 2: Build FirmwareCOMMENT
LOWscripts/ci.sh239 # Step 3: Build SiteCOMMENT
Structural Annotation Overuse7 hits · 14 pts
SeverityFileLineSnippetContext
LOW⚡scripts/ci_build.sh292 # Step 1: Verify build toolsCOMMENT
LOW⚡scripts/ci_build.sh302 # Step 2: Set versionCOMMENT
LOW⚡scripts/ci_build.sh305 # Step 3: Build firmwareCOMMENT
LOWscripts/ci_build.sh316 # Step 4: Prepare artifactsCOMMENT
LOW⚡scripts/ci.sh171 # Step 1: Quality AssuranceCOMMENT
LOW⚡scripts/ci.sh180 # Step 2: Build FirmwareCOMMENT
LOWscripts/ci.sh239 # Step 3: Build SiteCOMMENT
Redundant / Tautological Comments7 hits · 10 pts
SeverityFileLineSnippetContext
LOWscripts/ci_build_firmware.sh37 # Check if environment exists in platformio.ini or environments.iniCOMMENT
LOWscripts/ci_prepare_artifacts.sh261 # Check if build directory existsCOMMENT
LOWscripts/ci_qa.sh98 # Check if file needs formatting and capture diffCOMMENT
LOWscripts/ci_qa.sh210 # Check if shellcheck is installedCOMMENT
LOWscripts/ci_build.sh190 # Check if next argument is a version tag or another optionCOMMENT
LOWscripts/ci_build.sh327 # Check if site folder exists and copy built files to avoid rebuilding the siteCOMMENT
LOWscripts/ci.sh275 # Check if no arguments providedCOMMENT
Self-Referential Comments1 hit · 3 pts
SeverityFileLineSnippetContext
MEDIUMscripts/ci_site.sh123 ## Create a meta.json file on config folderCOMMENT
Excessive Try-Catch Wrapping2 hits · 3 pts
SeverityFileLineSnippetContext
LOWscripts/replace_lib.py25 except Exception as e:CODE
MEDIUMscripts/replace_lib.py26 print(f"Error occurred: {e}")CODE
Slop Phrases1 hit · 2 pts
SeverityFileLineSnippetContext
LOWmain/User_config.h46 * If you do so, please don't forget to set these variables before compilingCOMMENT
Hyper-Verbose Identifiers1 hit · 1 pts
SeverityFileLineSnippetContext
LOWdocsgen/boards-info.js160function collectBoardsInformations(sections, { includeTests = false } = {}) {CODE