AI Slop Code Risk Monitor

nghttp2/nghttp2

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

nghttp2 - HTTP/2 C Library and tools

1.2 Low pattern signal View on GitHub

Open-Source Code Quality, Security and Technical Debt Review

This report summarizes scanner evidence for nghttp2/nghttp2, a C++ project with 5,074 GitHub stars. SynthScan examined 98,254 lines of code across 249 source files, recording 120 pattern matches distributed across 6 syntactic categories. The legacy adjusted pattern signal is 1.2 (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.2
Adjusted Signal
1.2
Raw Pattern Score
100%
Time Factor
2026-10-31
Last Push
5.1K
Stars
C++
Language
98.3K
Lines of Code
249
Files
120
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 5.8/100 · LOW

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

Hallucinated Dependency & Supply Chain Risk 0.1/100 · LOW

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

Agent Over-Engineering Ratio 0.1/100 · LOW

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

PR Review Velocity Impact 6.0/100 · LOW

Which changes need focused human review? 120 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 1LOW 119

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 120 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 Block105 hits · 105 pts
SeverityFileLineSnippetContext
LOWCMakeLists.txt1# nghttp2 - HTTP/2 C LibraryCOMMENT
LOWCMakeLists.txt361# AC_TYPE_UINT64_TCOMMENT
LOWauthor.py1#!/usr/bin/env python3COMMENT
LOWhelp2rst.py1#!/usr/bin/env python3COMMENT
LOWhelp2rst.py21 # The positional argument is enclosed with < and >:COMMENT
LOWtests/main.c21 * LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTIONCOMMENT
LOWtests/nghttp2_session_test.c21 * LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTIONCOMMENT
LOWintegration-tests/nghttpx_http1_test.go121// res, err := st.http1(requestParam{COMMENT
LOWintegration-tests/nghttpx_http1_test.go1361COMMENT
LOWintegration-tests/nghttpx_http2_test.go821 }COMMENT
LOWintegration-tests/nghttpx_http2_test.go2781// st.ts.Close()COMMENT
LOWcontrib/tlsticketupdate.go1//COMMENT
LOWexamples/libevent-client.c41#ifdef HAVE_UNISTD_HCOMMENT
LOWexamples/libevent-server.c41# include <sys/socket.h>COMMENT
LOWexamples/libevent-server.c61#endif /* !defined(__sgi) */COMMENT
LOWexamples/client.c21 * LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTIONCOMMENT
LOWexamples/client.c41#include <sys/types.h>COMMENT
LOWlib/nghttp2_hd.h21 * LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTIONCOMMENT
LOWlib/nghttp2_frame.h21 * LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTIONCOMMENT
LOWlib/nghttp2_option.h61#define NGHTTP2_OPT_NO_HTTP_MESSAGING 0x08UCOMMENT
LOWlib/nghttp2_session.c21 * LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTIONCOMMENT
LOWlib/nghttp2_net.h21 * LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTIONCOMMENT
LOWlib/nghttp2_stream.h101#define NGHTTP2_HTTP_FLAG__AUTHORITY 0x01UCOMMENT
LOWlib/sfparse.c41#define SFPARSE_STATE_INNER_LIST 0x04UCOMMENT
LOWlib/nghttp2_session.h21 * LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTIONCOMMENT
LOWlib/includes/nghttp2/nghttp2.h41#endifCOMMENT
LOWlib/includes/nghttp2/nghttp2.h61 (__has_declspec_attribute(dllexport) && __has_declspec_attribute(dllimport))COMMENT
LOWdoc/CMakeLists.txt221set(PAPEROPT_a4 -D latex_paper_size=a4)COMMENT
LOWdoc/mkapiref.py1#!/usr/bin/env python3COMMENT
LOWthird-party/llhttp/include/llhttp.h541#ifdef __cplusplusCOMMENT
LOWthird-party/llhttp/src/llhttp.c1#include <stdlib.h>COMMENT
LOWsrc/shrpx_http3_upstream.h21 * LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTIONCOMMENT
LOWsrc/shrpx_http2_downstream_connection.h21 * LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTIONCOMMENT
LOWsrc/shrpx_rate_limit.h21 * LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTIONCOMMENT
LOWsrc/shrpx_quic.h21 * LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTIONCOMMENT
LOWsrc/memchunk.h41#include <cassert>COMMENT
LOWsrc/shrpx_connection.h41#else // !defined(NGHTTP2_OPENSSL_IS_WOLFSSL)COMMENT
LOWsrc/tls.h61// for TLSv1.3 by mozilla.COMMENT
LOWsrc/shrpx_live_check.h21 * LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTIONCOMMENT
LOWsrc/shrpx_tls.h21 * LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTIONCOMMENT
LOWsrc/shrpx_tls.h41# include <openssl/ssl.h>COMMENT
LOWsrc/shrpx_tls.h141 // Wildcard host sharing only suffix is probably rare, so we just doCOMMENT
LOWsrc/shrpx_tls.h161 //COMMENT
LOWsrc/shrpx_tls.h281COMMENT
LOWsrc/app_helper.h21 * LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTIONCOMMENT
LOWsrc/shrpx_worker_process.h21 * LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTIONCOMMENT
LOWsrc/shrpx_memcached_dispatcher.h21 * LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTIONCOMMENT
LOWsrc/h2load.h21 * LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTIONCOMMENT
LOWsrc/h2load.h41#include <unordered_map>COMMENT
LOWsrc/h2load.h61# include <ngtcp2/ngtcp2_crypto_ossl.h>COMMENT
LOWsrc/h2load.h141 bool base_uri_unix{};COMMENT
LOWsrc/h2load.h281 // subset of req_failed.COMMENT
LOWsrc/shrpx_quic_connection_handler.h21 * LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTIONCOMMENT
LOWsrc/shrpx_client_handler.h21 * LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTIONCOMMENT
LOWsrc/shrpx_dns_resolver.h21 * LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTIONCOMMENT
LOWsrc/shrpx_dns_resolver.h61// |result| points to the resolved address. Note that port portion ofCOMMENT
LOWsrc/ssl_compat.h81# ifdef NGHTTP2_GENUINE_OPENSSLCOMMENT
LOWsrc/shrpx_config.h21 * LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTIONCOMMENT
LOWsrc/shrpx_config.h41#include <cinttypes>COMMENT
LOWsrc/shrpx_config.h501 std::string_view hostport;COMMENT
45 more matches not shown…
Deep Nesting8 hits · 8 pts
SeverityFileLineSnippetContext
LOWmkhufftbl.py362CODE
LOWdoc/mkapiref.py122CODE
LOWdoc/mkapiref.py226CODE
LOWdoc/mkapiref.py249CODE
LOWdoc/_exts/rubydomain/rubydomain.py95CODE
LOWdoc/_exts/rubydomain/rubydomain.py336CODE
LOWdoc/_exts/rubydomain/rubydomain.py488CODE
LOWdoc/_exts/rubydomain/rubydomain.py608CODE
Unused Imports3 hits · 3 pts
SeverityFileLineSnippetContext
LOWmkhufftbl.py11CODE
LOWmkcipherlist.py11CODE
LOWdoc/mkapiref.py30CODE
AI Slop Vocabulary1 hit · 3 pts
SeverityFileLineSnippetContext
MEDIUMsrc/shrpx_worker.h122 // utilize TCP connection.COMMENT
Slop Phrases1 hit · 2 pts
SeverityFileLineSnippetContext
LOWsrc/shrpx_api_downstream_connection.h38// If new method is added, don't forget to update API_METHOD_STRING asCOMMENT
Hyper-Verbose Identifiers2 hits · 1 pts
SeverityFileLineSnippetContext
LOWmkhufftbl.py356def huffman_tree_build_transition_table(ctx):STRING
LOWmkhufftbl.py389def huffman_tree_print_transition_table(ctx):STRING