AI Slop Code Risk Monitor

jomjol/AI-on-the-edge-device

SlopCodeMonitor badge for jomjol/AI-on-the-edge-device Adjusted legacy signal; badge bands: 25 / 50 / 75 (different from dashboard bands).
1.7 Low pattern signal View on GitHub

Open-Source Code Quality, Security and Technical Debt Review

This report summarizes scanner evidence for jomjol/AI-on-the-edge-device. SynthScan examined 70,944 lines of code across 365 source files, recording 113 pattern matches distributed across 5 syntactic categories. The legacy adjusted pattern signal is 1.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.

1.7
Adjusted Signal
1.7
Raw Pattern Score
100%
Time Factor
—
Last Push
—
Stars
—
Language
70.9K
Lines of Code
365
Files
113
Pattern Hits
2026-10-31
Scan Date
0.00
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 7.7/100 · LOW

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

Hallucinated Dependency & Supply Chain Risk 0.7/100 · LOW

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

Agent Over-Engineering Ratio 0.2/100 · LOW

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

PR Review Velocity Impact 8.4/100 · LOW

Which changes need focused human review? 113 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

Run additional scans to build a history of the legacy pattern signal. Score changes are not a measure of AI adoption or code quality.

No multi-scan history yet — run the scanner again to build trend data.

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 1HIGH 0MEDIUM 1LOW 111

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 113 distinct pattern matches across 5 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 Block103 hits · 103 pts
SeverityFileLineSnippetContext
LOWcode/test/test_suite_flowcontroll.cpp1#include <unity.h>COMMENT
LOW…omponents/jomjol-flowcontroll/test_cnnflowcontroll.cpp101 // the 4.5 (Digit100) is not above 5 and the previous digit (analog) not over Zero (9.5)COMMENT
LOW…mjol-flowcontroll/test_PointerEvalAnalogToDigitNew.cpp21void test_analogToDigit_Standard() {COMMENT
LOW…mjol-flowcontroll/test_PointerEvalAnalogToDigitNew.cpp41 // Offset = noCOMMENT
LOW…mjol-flowcontroll/test_PointerEvalAnalogToDigitNew.cpp61void test_analogToDigit_Transition() {COMMENT
LOW…mjol-flowcontroll/test_PointerEvalAnalogToDigitNew.cpp81 // transition = yesCOMMENT
LOWcode/include/defines.h1#pragma onceCOMMENT
LOWcode/include/defines.h41 //need CONFIG_HEAP_TRACING_STANDALONE=y or #define CONFIG_HEAP_TRACING_STANDALONECOMMENT
LOWcode/include/defines.h61 //ClassControllCameraCOMMENT
LOWcode/include/defines.h81COMMENT
LOWcode/include/defines.h101COMMENT
LOWcode/include/defines.h121 #define READOUT_TYPE_PREVALUE 1COMMENT
LOWcode/include/defines.h141 //CImageBasisCOMMENT
LOWcode/include/defines.h181COMMENT
LOWcode/include/defines.h201COMMENT
LOWcode/include/defines.h221 #define CAM_PIN_RESET GPIO_NUM_NC //software reset will be performedCOMMENT
LOWcode/include/defines.h241 //ClassControllCameraCOMMENT
LOWcode/include/defines.h261 #define CAM_PIN_HREF GPIO_NUM_26COMMENT
LOWcode/include/defines.h281 #define GPIO_SDCARD_D3 GPIO_NUM_13COMMENT
LOWcode/include/defines.h301 #define CAM_PIN_D0 GPIO_NUM_5COMMENT
LOWcode/include/defines.h321 #define LEDC_TIMER LEDC_TIMER_1 // LEDC_TIMER_0COMMENT
LOWcode/components/jomjol_time_sntp/time_sntp.h1#pragma onceCOMMENT
LOWcode/components/jomjol_time_sntp/time_sntp.cpp1#include "time_sntp.h"COMMENT
LOWcode/components/jomjol_helper/esp_sys.h1#pragma onceCOMMENT
LOWcode/components/jomjol_helper/statusled.cpp1#include "statusled.h"COMMENT
LOWcode/components/jomjol_helper/himem_memory_check.h21#include <stdbool.h>COMMENT
LOWcode/components/jomjol_helper/Helper.cpp1// #pragma warning(disable : 4996)COMMENT
LOWcode/components/jomjol_helper/Helper.cpp21#ifdef __cplusplusCOMMENT
LOWcode/components/jomjol_logfile/ClassLogFile.cpp1#include "ClassLogFile.h"COMMENT
LOWcode/components/jomjol_controlGPIO/server_GPIO.cpp1#include <string>COMMENT
LOWcode/components/jomjol_controlGPIO/SmartLeds.h61#include <driver/gpio.h>COMMENT
LOWcode/components/jomjol_controlGPIO/RmtDriver.h21 * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHERCOMMENT
LOWcode/components/jomjol_image_proc/CImageBasis.h1#pragma onceCOMMENT
LOWcode/components/jomjol_image_proc/bitmap_image.hpp21COMMENT
LOWcode/components/jomjol_image_proc/CImageBasis.cpp1#include "CImageBasis.h"COMMENT
LOWcode/components/jomjol_image_proc/make_stb.cpp1#include <stdint.h>COMMENT
LOWcode/components/jomjol_image_proc/make_stb.cpp21#define STB_IMAGE_IMPLEMENTATIONCOMMENT
LOWcode/components/jomjol_fileserver_ota/server_ota.cpp1#include "server_ota.h"COMMENT
LOWcode/components/jomjol_fileserver_ota/server_ota.cpp21#include "nvs_flash.h"COMMENT
LOWcode/components/jomjol_fileserver_ota/server_help.cpp1#include "server_help.h"COMMENT
LOWcode/components/jomjol_fileserver_ota/server_file.cpp21#include <iostream>COMMENT
LOWcode/components/jomjol_fileserver_ota/miniz/miniz.c3101 free(wPath);COMMENT
LOWcode/components/jomjol_fileserver_ota/miniz/miniz.c3121#ifndef MINIZ_NO_TIMECOMMENT
LOWcode/components/jomjol_fileserver_ota/miniz/miniz.c3141#define MZ_FCLOSE fcloseCOMMENT
LOWcode/components/jomjol_fileserver_ota/miniz/miniz.c3161#define MZ_FSEEK64 fseeko64COMMENT
LOWcode/components/jomjol_fileserver_ota/miniz/miniz.c3181#define MZ_FREOPEN(p, m, s) freopen(p, m, s)COMMENT
LOWcode/components/jomjol_fileserver_ota/miniz/miniz.h161#endifCOMMENT
LOWcode/components/jomjol_fileserver_ota/miniz/miniz.h181/* Set MINIZ_LITTLE_ENDIAN only if not set */COMMENT
LOWcode/components/jomjol_fileserver_ota/miniz/miniz.h201#endifCOMMENT
LOWcode/components/jomjol_fileserver_ota/miniz/miniz.h461#define Z_FINISH MZ_FINISHCOMMENT
LOWcode/components/jomjol_fileserver_ota/miniz/miniz.h481#define Z_FIXED MZ_FIXEDCOMMENT
LOWcode/components/jomjol_fileserver_ota/miniz/miniz.h501#ifndef MINIZ_NO_INFLATE_APISCOMMENT
LOWcode/components/jomjol_fileserver_ota/miniz/miniz.h521#define ZLIB_VER_SUBREVISION MZ_VER_SUBREVISIONCOMMENT
LOWcode/components/jomjol_fileserver_ota/miniz/miniz.h561#define MZ_MACRO_END while (0)COMMENT
LOWcode/components/jomjol_fileserver_ota/miniz/miniz.h581COMMENT
LOWcode/components/jomjol_fileserver_ota/miniz/miniz.h601#define MZ_READ_LE16(p) *((const mz_uint16 *)(p))COMMENT
LOW…onents/jomjol_fileserver_ota/miniz/examples/example6.c1// example6.c - Demonstrates how to miniz's PNG writer funcCOMMENT
LOW…onents/jomjol_fileserver_ota/miniz/examples/example2.c1// example2.c - Simple demonstration of miniz.c's ZIP archive API's.COMMENT
LOW…onents/jomjol_fileserver_ota/miniz/examples/example5.c1// example5.c - Demonstrates how to use miniz.c's low-level tdefl_compress() and tinfl_inflate() API's for simple file tCOMMENT
LOW…onents/jomjol_fileserver_ota/miniz/examples/example5.c21COMMENT
43 more matches not shown…
Hallucination Indicators1 hit · 10 pts
SeverityFileLineSnippetContext
CRITICALsd-card/html/jquery-3.6.0.min.js2!function(e,t){"use strict";"object"==typeof module&&"object"==typeof module.exports?module.exports=e.document?t(e,!0):fCODE
Slop Phrases5 hits · 5 pts
SeverityFileLineSnippetContext
LOWsd-card/html/edit_analog.html61 After definition of digit ROIs is completed don't forget to save with the <b>"Save Config"</b> button!<br>CODE
LOWsd-card/html/edit_alignment.html125 After definition of both alignment marker is completed don't forget to save with the <b>"Save New Marker"</bCODE
LOWsd-card/html/edit_config_template.html239 Don't forget to save the changes with the button <b>"Save Config"</b> at the bottom of this page.<br>CODE
LOWsd-card/html/edit_digits.html60 After definition of digit ROIs is completed don't forget to save with the <b>"Save Config"</b> button!<br>CODE
LOWsd-card/html/edit_reference.html147 After setting up your reference image don't forget to save with the <b>"Save new Reference Image and Camera CODE
Hyper-Verbose Identifiers3 hits · 3 pts
SeverityFileLineSnippetContext
LOWsd-card/html/info.html434 function loadSDCardFreePartitionSpace()CODE
LOWsd-card/html/info.html447 function loadSDCardPartitionAllocationSize()CODE
LOWsd-card/html/edit_digits.html355 function changeLockSpaceEquidistant() {CODE
AI Slop Vocabulary1 hit · 3 pts
SeverityFileLineSnippetContext
MEDIUM…onents/jomjol_fileserver_ota/miniz/examples/example2.c62 // A more robust way to add a file to an archive would be to read it into memory, perform the operation, then write COMMENT