AI Slop Code Risk Monitor

ithewei/libhv

SlopCodeMonitor badge for ithewei/libhv Adjusted legacy signal; badge bands: 25 / 50 / 75 (different from dashboard bands).

🔥 比libevent/libuv/asio更易用的网络库。A c/c++ network library for developing TCP/UDP/SSL/HTTP/WebSocket/MQTT/Redis client/server.

2.9 Low pattern signal View on GitHub

Open-Source Code Quality, Security and Technical Debt Review

This report summarizes scanner evidence for ithewei/libhv, a C project with 7,571 GitHub stars. SynthScan examined 110,758 lines of code across 464 source files, recording 385 pattern matches distributed across 6 syntactic categories. The legacy adjusted pattern signal is 2.9 (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.9
Adjusted Signal
2.9
Raw Pattern Score
100%
Time Factor
2026-10-28
Last Push
7.6K
Stars
C
Language
110.8K
Lines of Code
464
Files
385
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 13.1/100 · LOW

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

Hallucinated Dependency & Supply Chain Risk 0.2/100 · LOW

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

Agent Over-Engineering Ratio 0.1/100 · LOW

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

PR Review Velocity Impact 16.2/100 · LOW

Which changes need focused human review? 385 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 1MEDIUM 1LOW 383

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 385 distinct pattern matches across 6 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 Block378 hits · 306 pts
SeverityFileLineSnippetContext
LOWhv.h1#ifndef HV_H_COMMENT
LOWhv.h21#include "hversion.h"COMMENT
LOWhexport.h1#ifndef HV_EXPORT_H_COMMENT
LOWhexport.h21COMMENT
LOWhexport.h41COMMENT
LOWhexport.h61COMMENT
LOWhexport.h81#define BEGIN_EXTERN_CCOMMENT
LOWhexport.h101struct sCOMMENT
LOWhexport.h121#endifCOMMENT
LOWmisc/win32_getopt.h61#define __GETOPT_H__COMMENT
LOWmisc/win32_getopt.h81int optopt = '?'; /* character checked for validity */COMMENT
LOWmisc/win32_getopt.h101/* return values */COMMENT
LOWunittest/http_js_redis_test.cpp1/*COMMENT
LOWunittest/objectpool_test.cpp1#include <stdio.h>COMMENT
LOWunittest/webbench.c1#include <sys/types.h>COMMENT
LOWunittest/http_js_ws_test.cpp1/*COMMENT
LOWunittest/epoll_init_test.c21#define epoll_create test_epoll_createCOMMENT
LOWunittest/http_js_mqtt_test.cpp1/*COMMENT
LOWunittest/hdns_test.c21#include <stdlib.h>COMMENT
LOWunittest/sizeof_test.cpp1#include <stdio.h>COMMENT
LOWssl/mbedtls.c1#include "hssl.h"COMMENT
LOWssl/wintls.c1#include "hssl.h"COMMENT
LOWssl/wintls.c21#endifCOMMENT
LOWssl/wintls.c41#endifCOMMENT
LOWssl/wintls.c61#endifCOMMENT
LOWssl/appletls.c21 support, for instance, require the macOS 10.8 SDK or later. TLS 1.3COMMENT
LOWssl/appletls.c41#define CURL_BUILD_MAC_10_11 MAC_OS_X_VERSION_MAX_ALLOWED >= 101100COMMENT
LOWssl/appletls.c61#define CURL_BUILD_MAC_10_5 0COMMENT
LOWssl/hssl.h1#ifndef HV_SSL_H_COMMENT
LOWutil/sha1.c21#include <string.h>COMMENT
LOWredis/RedisSubscriber.cpp1#include "RedisSubscriber.h"COMMENT
LOWredis/AsyncRedisClient.cpp1#include "AsyncRedisClient.h"COMMENT
LOWredis/AsyncRedisClient.h1#ifndef HV_ASYNC_REDIS_CLIENT_HPP_COMMENT
LOWjs/hvjs_redis.cpp1#ifdef WITH_JSCOMMENT
LOWjs/hvjs_http.cpp1#ifdef WITH_JSCOMMENT
LOWjs/hvjs.h101// Attach `task` to the loop's per-loop runtime: register it, create itsCOMMENT
LOWjs/hvjs.cpp1#ifdef WITH_JSCOMMENT
LOWcpputil/hstring.h1#ifndef HV_STRING_H_COMMENT
LOWcpputil/json.hpp21#include <algorithm> // all_of, find, for_eachCOMMENT
LOWcpputil/json.hpp41// SPDX-License-Identifier: MITCOMMENT
LOWcpputil/json.hpp61 #if defined(NLOHMANN_JSON_VERSION_MAJOR) && defined(NLOHMANN_JSON_VERSION_MINOR) && defined(NLOHMANN_JSON_VERSION_PACOMMENT
LOWcpputil/json.hpp81 #define JSON_USE_LEGACY_DISCARDED_VALUE_COMPARISON 0COMMENT
LOWcpputil/json.hpp161// __ _____ _____ _____COMMENT
LOWcpputil/json.hpp181#include <type_traits> // is_arithmetic, is_same, is_enum, underlying_type, is_convertibleCOMMENT
LOWcpputil/json.hpp201#endifCOMMENT
LOWcpputil/json.hpp221COMMENT
LOWcpputil/json.hpp241// SPDX-License-Identifier: MITCOMMENT
LOWcpputil/json.hpp341// SPDX-FileCopyrightText: 2016 - 2021 Evan Nemerson <evan@nemerson.com>COMMENT
LOWcpputil/json.hpp361#endifCOMMENT
LOWcpputil/json.hpp381#endifCOMMENT
LOWcpputil/json.hpp401#endifCOMMENT
LOWcpputil/json.hpp421COMMENT
LOWcpputil/json.hpp441 #define JSON_HEDLEY_MSVC_VERSION_CHECK(major,minor,patch) (_MSC_FULL_VER >= ((major * 1000000) + (minor * 10000) + (COMMENT
LOWcpputil/json.hpp461 #define JSON_HEDLEY_INTEL_VERSION_CHECK(major,minor,patch) (0)COMMENT
LOWcpputil/json.hpp481 #undef JSON_HEDLEY_PGI_VERSIONCOMMENT
LOWcpputil/json.hpp501#elif defined(__SUNPRO_C)COMMENT
LOWcpputil/json.hpp521#if defined(__EMSCRIPTEN__)COMMENT
LOWcpputil/json.hpp541#endifCOMMENT
LOWcpputil/json.hpp561#endifCOMMENT
LOWcpputil/json.hpp581 )COMMENT
318 more matches not shown…
Cross-Language Confusion (JS/TS)1 hit · 5 pts
SeverityFileLineSnippetContext
HIGHexamples/js/sleep.js19print("sleep example done");CODE
Excessive Try-Catch Wrapping3 hits · 3 pts
SeverityFileLineSnippetContext
LOWscripts/consul.py34 except Exception as e:CODE
LOWscripts/consul.py45 except Exception as e:CODE
LOWscripts/consul.py56 except Exception as e:CODE
Slop Phrases1 hit · 2 pts
SeverityFileLineSnippetContext
MEDIUMssl/wintls.c95 and certificate file into a pkcs#12 formatted file, For example: OpenSSL pkcs12 -export -out cert.pfx -inkey privateCODE
AI Slop Vocabulary1 hit · 2 pts
SeverityFileLineSnippetContext
LOWssl/wintls.c144#if 0 // just use the system defalut algsCOMMENT
Redundant / Tautological Comments1 hit · 2 pts
SeverityFileLineSnippetContext
LOWscripts/shini.sh281 # Check if final existing section was target one, add it if notCOMMENT