AI Slop Code Risk Monitor

azahar-emu/azahar

SlopCodeMonitor badge for azahar-emu/azahar Adjusted legacy signal; badge bands: 25 / 50 / 75 (different from dashboard bands).

An open-source 3DS emulator project based on Citra.

2.6 Low pattern signal View on GitHub

Open-Source Code Quality, Security and Technical Debt Review

This report summarizes scanner evidence for azahar-emu/azahar, a C++ project with 8,517 GitHub stars. SynthScan examined 387,011 lines of code across 1633 source files, recording 936 pattern matches distributed across 11 syntactic categories. The legacy adjusted pattern signal is 2.6 (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.

2.6
Adjusted Signal
2.6
Raw Pattern Score
100%
Time Factor
2026-10-31
Last Push
8.5K
Stars
C++
Language
387.0K
Lines of Code
1.6K
Files
936
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 10.1/100 · LOW

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

Hallucinated Dependency & Supply Chain Risk 1.7/100 · LOW

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

Agent Over-Engineering Ratio 0.6/100 · LOW

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

PR Review Velocity Impact 13.0/100 · LOW

Which changes need focused human review? 936 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 13HIGH 0MEDIUM 13LOW 910

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 936 distinct pattern matches across 11 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 Block882 hits · 780 pts
SeverityFileLineSnippetContext
LOWtools/verify-release.sh1#!/usr/bin/env bashCOMMENT
LOWexternals/getopt/getopt.h41#ifdef _GETOPT_APICOMMENT
LOWexternals/getopt/getopt.h61#define _END_EXTERN_C }COMMENT
LOWexternals/getopt/getopt.h121#undef _GETOPT_APICOMMENT
LOWexternals/httplib/httplib.h1//COMMENT
LOWexternals/httplib/httplib.h21#ifndef CPPHTTPLIB_KEEPALIVE_MAX_COUNTCOMMENT
LOWexternals/httplib/httplib.h41#ifndef CPPHTTPLIB_WRITE_TIMEOUT_SECONDCOMMENT
LOWexternals/httplib/httplib.h61#ifndef CPPHTTPLIB_REQUEST_URI_MAX_LENGTHCOMMENT
LOWexternals/httplib/httplib.h81#ifndef CPPHTTPLIB_FORM_URL_ENCODED_PAYLOAD_MAX_LENGTHCOMMENT
LOWexternals/httplib/httplib.h101 : 0))COMMENT
LOWexternals/httplib/httplib.h121#ifndef _CRT_SECURE_NO_WARNINGSCOMMENT
LOWexternals/httplib/httplib.h141#endif // _MSC_VERCOMMENT
LOWexternals/httplib/httplib.h161#endifCOMMENT
LOWexternals/httplib/httplib.h181#define NI_MAXHOST 1025COMMENT
LOWexternals/httplib/httplib.h201COMMENT
LOWexternals/httplib/httplib.h221#include <iostream>COMMENT
LOWexternals/httplib/httplib.h241// these are defined in wincrypt.h and it breaks compilation if BoringSSL isCOMMENT
LOWexternals/httplib/httplib.h261#include <CoreFoundation/CoreFoundation.h>COMMENT
LOWexternals/json/json.hpp21#include <algorithm> // all_of, find, for_eachCOMMENT
LOWexternals/json/json.hpp41// SPDX-FileCopyrightText: 2013-2022 Niels Lohmann <https://nlohmann.me>COMMENT
LOWexternals/json/json.hpp61#ifndef JSON_SKIP_LIBRARY_VERSION_CHECKCOMMENT
LOWexternals/json/json.hpp81#if JSON_DIAGNOSTICSCOMMENT
LOWexternals/json/json.hpp141 {COMMENT
LOWexternals/json/json.hpp161#include <algorithm> // transformCOMMENT
LOWexternals/json/json.hpp181COMMENT
LOWexternals/json/json.hpp201#include <array> // arrayCOMMENT
LOWexternals/json/json.hpp221// | | |__ | | | | | | version 3.11.2COMMENT
LOWexternals/json/json.hpp321// | | |__ | | | | | | version 3.11.2COMMENT
LOWexternals/json/json.hpp341#define JSON_HEDLEY_STRINGIFY_EX(x) #xCOMMENT
LOWexternals/json/json.hpp361#define JSON_HEDLEY_CONCAT3_EX(a,b,c) a##b##cCOMMENT
LOWexternals/json/json.hpp381#define JSON_HEDLEY_VERSION_DECODE_MINOR(version) (((version) % 1000000) / 1000)COMMENT
LOWexternals/json/json.hpp401 #define JSON_HEDLEY_GNUC_VERSION_CHECK(major,minor,patch) (JSON_HEDLEY_GNUC_VERSION >= JSON_HEDLEY_VERSION_ENCODE(maCOMMENT
LOWexternals/json/json.hpp421 #define JSON_HEDLEY_MSVC_VERSION_CHECK(major,minor,patch) (0)COMMENT
LOWexternals/json/json.hpp441#endifCOMMENT
LOWexternals/json/json.hpp461 #define JSON_HEDLEY_INTEL_CL_VERSION_CHECK(major,minor,patch) (0)COMMENT
LOWexternals/json/json.hpp481 #undef JSON_HEDLEY_SUNPRO_VERSIONCOMMENT
LOWexternals/json/json.hpp501COMMENT
LOWexternals/json/json.hpp521#if defined(__CC_ARM) && defined(__ARMCOMPILER_VERSION)COMMENT
LOWexternals/json/json.hpp541#elif defined(__xlC__) && defined(__xlC_ver__)COMMENT
LOWexternals/json/json.hpp561 ( \COMMENT
LOWexternals/json/json.hpp581 #undef JSON_HEDLEY_TI_CL2000_VERSIONCOMMENT
LOWexternals/json/json.hpp601#endifCOMMENT
LOWexternals/json/json.hpp621#endifCOMMENT
LOWexternals/json/json.hpp641 #define JSON_HEDLEY_TI_CL6X_VERSION_CHECK(major,minor,patch) (0)COMMENT
LOWexternals/json/json.hpp661 #undef JSON_HEDLEY_TI_CLPRU_VERSIONCOMMENT
LOWexternals/json/json.hpp681 #define JSON_HEDLEY_CRAY_VERSION JSON_HEDLEY_VERSION_ENCODE(_RELEASE_MAJOR, _RELEASE_MINOR, _RELEASE_PATCHLEVEL)COMMENT
LOWexternals/json/json.hpp701 #define JSON_HEDLEY_IAR_VERSION JSON_HEDLEY_VERSION_ENCODE((__VER__ / 1000000), ((__VER__ / 1000) % 1000), (__VECOMMENT
LOWexternals/json/json.hpp721#endifCOMMENT
LOWexternals/json/json.hpp741#endifCOMMENT
LOWexternals/json/json.hpp761 #define JSON_HEDLEY_COMPCERT_VERSION_CHECK(major,minor,patch) (0)COMMENT
LOWexternals/json/json.hpp781 #undef JSON_HEDLEY_MCST_LCC_VERSIONCOMMENT
LOWexternals/json/json.hpp821#if defined(JSON_HEDLEY_GCC_VERSION)COMMENT
LOWexternals/json/json.hpp841 #undef JSON_HEDLEY_GNUC_HAS_ATTRIBUTECOMMENT
LOWexternals/json/json.hpp861#if \COMMENT
LOWexternals/json/json.hpp881#elseCOMMENT
LOWexternals/json/json.hpp901#endifCOMMENT
LOWexternals/json/json.hpp921#if defined(JSON_HEDLEY_GCC_HAS_BUILTIN)COMMENT
LOWexternals/json/json.hpp941#endifCOMMENT
LOWexternals/json/json.hpp961 #define JSON_HEDLEY_HAS_EXTENSION(extension) __has_extension(extension)COMMENT
LOWexternals/json/json.hpp981 #define JSON_HEDLEY_GCC_HAS_EXTENSION(extension,major,minor,patch) JSON_HEDLEY_GCC_VERSION_CHECK(major,minor,patch)COMMENT
822 more matches not shown…
Hallucination Indicators13 hits · 130 pts
SeverityFileLineSnippetContext
CRITICALsrc/core/hle/service/nfc/nfc_device.cpp642 tag.file.settings.settings.font_region.Assign(0);CODE
CRITICALsrc/core/hle/service/nfc/nfc_device.cpp643 tag.file.settings.settings.amiibo_initialized.Assign(0);CODE
CRITICALsrc/core/hle/service/nfc/nfc_device.cpp721 if (tag.file.settings.settings.appdata_initialized.Value() == 0) {CODE
CRITICALsrc/core/hle/service/nfc/nfc_device.cpp748 if (tag.file.settings.settings.appdata_initialized.Value() == 0) {CODE
CRITICALsrc/core/hle/service/nfc/nfc_device.cpp773 if (tag.file.settings.settings.appdata_initialized.Value() == 0) {CODE
CRITICALsrc/core/hle/service/nfc/nfc_device.cpp812 if (tag.file.settings.settings.appdata_initialized.Value() == 0) {CODE
CRITICALsrc/core/hle/service/nfc/nfc_device.cpp845 if (tag.file.settings.settings.appdata_initialized.Value() != 0) {CODE
CRITICALsrc/core/hle/service/nfc/nfc_device.cpp894 tag.file.settings.settings.appdata_initialized.Assign(1);CODE
CRITICALsrc/core/hle/service/nfc/nfc_device.cpp937 tag.file.settings.settings.appdata_initialized.Assign(0);CODE
CRITICALsrc/core/hle/service/nfc/nfc_device.cpp957 has_application_area = tag.file.settings.settings.appdata_initialized.Value() != 0;CODE
CRITICALsrc/video_core/pica/pica_core.cpp540 const auto lut_table = regs.internal.texturing.proctex_lut_config.ref_table.Value();CODE
CRITICALsrc/video_core/pica/pica_core.cpp822 const auto lut_table = regs.internal.texturing.proctex_lut_config.ref_table.Value();CODE
CRITICALsrc/video_core/pica/pica_core.cpp1190 find_info.paddr = regs.internal.framebuffer.framebuffer.color_buffer_address.Value() * 8;CODE
Decorative Section Separators12 hits · 36 pts
SeverityFileLineSnippetContext
MEDIUMCMakeLists.txt248# =======================================================================COMMENT
MEDIUMCMakeLists.txt264# =======================================================================COMMENT
MEDIUMCMakeLists.txt280# =======================================================================COMMENT
MEDIUMCMakeLists.txt291# =======================================================================COMMENT
MEDIUMCMakeLists.txt307# =======================================================================COMMENT
MEDIUMCMakeLists.txt337# =======================================================================COMMENT
MEDIUMCMakeLists.txt376# ===========================COMMENT
MEDIUMCMakeLists.txt397# ======================COMMENT
MEDIUMCMakeLists.txt450# ======================================COMMENT
MEDIUMCMakeLists.txt489# =======================================================================COMMENT
MEDIUMCMakeLists.txt538# ===================COMMENT
MEDIUMCMakeLists.txt640# =========================COMMENT
Verbosity Indicators6 hits · 14 pts
SeverityFileLineSnippetContext
LOW⚡src/common/android_utils.cpp292 // Step 1: Create directory named after UUID inside /tmp to house the moved file.COMMENT
LOW⚡src/common/android_utils.cpp298 // Step 2: Attempt to move to allocated temporary directory.COMMENT
LOW⚡src/common/android_utils.cpp302 // Step 3: Rename to desired file name.COMMENT
LOW⚡src/common/android_utils.cpp305 // Step 4: If a file with the desired name in the destination exists, remove it.COMMENT
LOW⚡src/common/android_utils.cpp308 // Step 5: Attempt to move file to desired location.COMMENT
LOW⚡src/common/android_utils.cpp316 // Step 6: Clean up the allocated temp directory.COMMENT
Structural Annotation Overuse6 hits · 14 pts
SeverityFileLineSnippetContext
LOW⚡src/common/android_utils.cpp292 // Step 1: Create directory named after UUID inside /tmp to house the moved file.COMMENT
LOW⚡src/common/android_utils.cpp298 // Step 2: Attempt to move to allocated temporary directory.COMMENT
LOW⚡src/common/android_utils.cpp302 // Step 3: Rename to desired file name.COMMENT
LOW⚡src/common/android_utils.cpp305 // Step 4: If a file with the desired name in the destination exists, remove it.COMMENT
LOW⚡src/common/android_utils.cpp308 // Step 5: Attempt to move file to desired location.COMMENT
LOW⚡src/common/android_utils.cpp316 // Step 6: Clean up the allocated temp directory.COMMENT
Hyper-Verbose Identifiers10 hits · 10 pts
SeverityFileLineSnippetContext
LOWexternals/microprofile/microprofile_html.h1155"function PreprocessCalculateAllTimers()\n"CODE
LOWexternals/microprofile/microprofile_html.h2084"function PreprocessContextSwitchCacheItem(ThreadId)\n"CODE
LOWexternals/microprofile/microprofile_html.h2130"function PreprocessContextSwitchCache()\n"CODE
LOWexternals/microprofile/microprofile_html.h3429"function PreprocessBuildSplitArray()\n"CODE
LOWexternals/microprofile/microprofile_html.h3519"function PreprocessBuildDurationArray()\n"CODE
LOWexternals/microprofile/microprofile_html.h3722"function PreprocessFindFirstFrames()\n"CODE
LOWsrc/core/hle/service/sm/sm.h27class SessionRequestHandler;CODE
LOWsrc/core/hle/kernel/hle_ipc.h47class SessionRequestHandler : public std::enable_shared_from_this<SessionRequestHandler> {CODE
LOWsrc/core/hle/kernel/server_port.h21class SessionRequestHandler;CODE
LOWsrc/core/hle/kernel/server_session.h25class SessionRequestHandler;CODE
TODO Padding2 hits · 3 pts
SeverityFileLineSnippetContext
LOWsrc/core/hle/service/apt/applet_manager.cpp1263 // TODO: Add error description name when the parameter is known.COMMENT
LOWsrc/tests/core/core_timing.cpp199// TODO: Add tests for multiple timersCOMMENT
AI Slop Vocabulary1 hit · 3 pts
SeverityFileLineSnippetContext
MEDIUMsrc/core/hle/service/fs/file.h38// TODO: File is not a real service, but it can still utilize ServiceFramework::RegisterHandlers.COMMENT
Fake / Example Data2 hits · 2 pts
SeverityFileLineSnippetContext
LOWsrc/core/hle/service/nwm/uds_beacon.cpp103 constexpr std::array<u8, 3> dummy_data = {0x0A, 0x00, 0x00};CODE
LOWsrc/core/hle/service/nwm/uds_beacon.cpp110 tag.data = dummy_data;CODE
Example Usage Blocks1 hit · 2 pts
SeverityFileLineSnippetContext
LOWtools/verify-release.sh9# Usage:COMMENT
Deep Nesting1 hit · 1 pts
SeverityFileLineSnippetContext
LOWtools/fix-license-headers.py116CODE