AI Slop Code Risk Monitor

alibaba/tengine

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

A high-performance web server and reverse proxy, 100% compatible with nginx.

0.8 Low pattern signal View on GitHub

Open-Source Code Quality, Security and Technical Debt Review

This report summarizes scanner evidence for alibaba/tengine, a C project with 13,412 GitHub stars. SynthScan examined 418,889 lines of code across 780 source files, recording 269 pattern matches distributed across 9 syntactic categories. The legacy adjusted pattern signal is 0.8 (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.

0.8
Adjusted Signal
0.8
Raw Pattern Score
100%
Time Factor
2026-09-07
Last Push
13.4K
Stars
C
Language
418.9K
Lines of Code
780
Files
269
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 2.6/100 · LOW

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

Hallucinated Dependency & Supply Chain Risk 0.2/100 · LOW

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

Agent Over-Engineering Ratio 1.2/100 · LOW

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

PR Review Velocity Impact 4.1/100 · LOW

Which changes need focused human review? 269 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 7MEDIUM 22LOW 240

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 269 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 Block204 hits · 204 pts
SeverityFileLineSnippetContext
LOWtests/test-nginx/test-nginx/inc/Test/More.pm741 no warnings 'uninitialized';COMMENT
LOWtests/test-nginx/test-nginx/inc/Module/Install.pm1#line 1COMMENT
LOWtests/test-nginx/test-nginx/inc/Module/Install.pm41COMMENT
LOWcontrib/geo2nginx.pl1#!/usr/bin/perl -wCOMMENT
LOWcontrib/unicode2nginx/unicode-to-nginx.pl1#!/usr/bin/perl -wCOMMENT
LOW.github/workflows/compiler-warnings.yml1name: compiler warningsCOMMENT
LOW.github/workflows/compiler-warnings.yml41 # assembles it: a diagnostic anywhere fails the job. Safe to make a requiredCOMMENT
LOW.github/workflows/compiler-warnings.yml161 run: |COMMENT
LOW.github/workflows/test-nginx-core.yml141 --with-openssl-async \COMMENT
LOW.github/workflows/test-nginx-core.yml161 # prepare perl library for test caseCOMMENT
LOW.github/workflows/docker.yml1name: docker imageCOMMENT
LOW.github/workflows/package.yml241 # Tongsuo keeps OPENSSL_VERSION_TEXT as "OpenSSL 3.0.3 ..." andCOMMENT
LOW.github/scripts/image-tags.sh1#!/bin/shCOMMENT
LOW.github/scripts/verify-image.sh1#!/bin/shCOMMENT
LOW.github/scripts/configure-warning-scan.sh1#!/bin/shCOMMENT
LOWmodules/ngx_http_tfs_module/ngx_http_tfs.c1COMMENT
LOWmodules/ngx_http_tfs_module/ngx_tfs_common.h21#define NGX_HTTP_TFS_AGAIN -20COMMENT
LOWmodules/ngx_http_tfs_module/ngx_tfs_common.h41COMMENT
LOWmodules/ngx_http_tfs_module/ngx_tfs_common.h61#define NGX_HTTP_TFS_MAX_SUFFIX_LEN 109 /* 128 - 19 */COMMENT
LOW…dules/ngx_http_tfs_module/ngx_http_tfs_serialization.c501// }COMMENT
LOW…dules/ngx_http_tfs_module/ngx_http_tfs_serialization.c521// /* need realloc */COMMENT
LOW…dules/ngx_http_tfs_module/ngx_http_tfs_serialization.c541// }COMMENT
LOW…dules/ngx_http_tfs_module/ngx_http_tfs_serialization.c561// return NGX_ERROR;COMMENT
LOW…dules/ngx_http_tfs_module/ngx_http_tfs_serialization.c581//ngx_http_tfs_serialize_user_info(u_char **p,COMMENT
LOW…dules/ngx_http_tfs_module/ngx_http_tfs_serialization.c601//ngx_int_tCOMMENT
LOW…dules/ngx_http_tfs_module/ngx_http_tfs_serialization.c621// if (table_size == 0) {COMMENT
LOWmodules/ngx_http_tfs_module/ngx_http_tfs.h1COMMENT
LOWmodules/ngx_http_tfs_module/ngx_http_tfs_errno.h21#define NGX_HTTP_TFS_EXIT_INVALID_ARGU_ERROR -1007COMMENT
LOWmodules/ngx_http_tfs_module/ngx_http_tfs_errno.h41#define NGX_HTTP_TFS_EXIT_CHANNEL_ID_INVALID -1020COMMENT
LOWmodules/ngx_http_tfs_module/ngx_http_tfs_errno.h61#define NGX_HTTP_TFS_EXIT_TIMEOUT_ERROR -3005COMMENT
LOWmodules/ngx_http_tfs_module/ngx_http_tfs_errno.h141#define NGX_HTTP_TFS_EXIT_BITMAP_CONFLICT_ERROR -8021COMMENT
LOWmodules/ngx_http_tfs_module/ngx_http_tfs_errno.h161/* ns version error */COMMENT
LOWmodules/ngx_http_tfs_module/ngx_http_tfs_errno.h181#define NGX_HTTP_TFS_EXIT_SYSTEM_ERROR -10000COMMENT
LOW…dules/ngx_http_tfs_module/ngx_http_tfs_serialization.h21ngx_int_t ngx_http_tfs_deserialize_vstring(u_char **p, ngx_pool_t *pool,COMMENT
LOW…dules/ngx_http_tfs_module/ngx_http_tfs_serialization.h41// ngx_http_tfs_file_info_t *tfs_file_info);COMMENT
LOWmodules/ngx_ingress_module/ngx_ingress_module.c1COMMENT
LOWmodules/ngx_ingress_module/ngx_ingress_module.h1/*COMMENT
LOWmodules/ngx_debug_conn/ngx_http_debug_conn_module.c1COMMENT
LOW…upstream_check_module/ngx_http_upstream_check_module.c201COMMENT
LOWmodules/mod_dubbo/ngx_dubbo.h61} ngx_dubbo_resp_t;COMMENT
LOWmodules/mod_dubbo/ngx_dubbo_util.cpp1COMMENT
LOWmodules/ngx_http_xquic_module/ngx_xquic.h1/*COMMENT
LOWmodules/ngx_http_xquic_module/ngx_http_v3_stream.h1/*COMMENT
LOWmodules/ngx_http_xquic_module/ngx_http_xquic_module.h1/*COMMENT
LOWmodules/ngx_http_xquic_module/ngx_xquic.c1/*COMMENT
LOWmodules/ngx_http_xquic_module/ngx_xquic_send.h1/*COMMENT
LOWmodules/ngx_http_xquic_module/ngx_http_xquic_module.c1/*COMMENT
LOW…s/ngx_http_xquic_module/ngx_http_xquic_filter_module.c1/*COMMENT
LOWmodules/ngx_http_xquic_module/test/test_qlog.py21# os.system("chmod +x test_client")COMMENT
LOW…ules/ngx_http_xquic_module/test/test_reuseport_xudp.py21# udp_port = 2081COMMENT
LOW…ules/ngx_http_xquic_module/test/test_reuseport_xudp.py41# time.sleep(1)COMMENT
LOW…ules/ngx_http_xquic_module/test/test_reuseport_xudp.py61# pid_dict = {}COMMENT
LOW…ules/ngx_http_xquic_module/test/test_reuseport_xudp.py81# pid_dict = {}COMMENT
LOW…ules/ngx_http_xquic_module/test/test_reuseport_xudp.py101# def test_2_h3_reuseport_reload_xudp(self):COMMENT
LOW…ules/ngx_http_xquic_module/test/test_reuseport_xudp.py121# self.restart_nginx()COMMENT
LOW…ules/ngx_http_xquic_module/test/test_reuseport_xudp.py141# res = subprocess.Popen(cmd,shell=True,stdout=subprocess.PIPE,stderr=subprocess.PIPE)COMMENT
LOW…ules/ngx_http_xquic_module/test/test_reuseport_xudp.py161# stdout, stderr = res.communicate()COMMENT
LOW…ules/ngx_http_xquic_module/test/test_reuseport_xudp.py181# (count, pid_dict) = self.get_pid_from_lines(lines)COMMENT
LOW…ules/ngx_http_xquic_module/test/test_reuseport_xudp.py201# lines = self.get_output_when_reload(cmd)COMMENT
LOWmodules/ngx_http_xquic_module/test/test_reuseport.py161# pids = self.get_nginx_pid() COMMENT
144 more matches not shown…
Decorative Section Separators16 hits · 48 pts
SeverityFileLineSnippetContext
MEDIUMtests/test-nginx/test-nginx/inc/Spiffy.pm329#===============================================================================COMMENT
MEDIUMtests/test-nginx/test-nginx/inc/Spiffy.pm331#===============================================================================COMMENT
MEDIUMtests/test-nginx/test-nginx/inc/Spiffy.pm368#===============================================================================COMMENT
MEDIUMtests/test-nginx/test-nginx/inc/Spiffy.pm372#===============================================================================COMMENT
MEDIUMtests/test-nginx/test-nginx/inc/Spiffy.pm502#===============================================================================COMMENT
MEDIUMtests/test-nginx/test-nginx/inc/Spiffy.pm504#===============================================================================COMMENT
MEDIUMtests/test-nginx/test-nginx/inc/Test/Base.pm555#===============================================================================COMMENT
MEDIUMtests/test-nginx/test-nginx/inc/Test/Base.pm559#===============================================================================COMMENT
MEDIUMtests/test-nginx/test-nginx/inc/Test/Base/Filter.pm2#===============================================================================COMMENT
MEDIUMtests/test-nginx/test-nginx/inc/Test/Base/Filter.pm4#===============================================================================COMMENT
MEDIUMtests/test-nginx/test-nginx/inc/Test/Base/Filter.pm60#===============================================================================COMMENT
MEDIUMtests/test-nginx/test-nginx/inc/Test/Base/Filter.pm62#===============================================================================COMMENT
MEDIUMtests/test-nginx/test-nginx/inc/Module/Install.pm49 #-------------------------------------------------------------COMMENT
MEDIUMtests/test-nginx/test-nginx/inc/Module/Install.pm53 #-------------------------------------------------------------COMMENT
MEDIUMtests/test-nginx/test-nginx/inc/Module/Install.pm119 #-------------------------------------------------------------COMMENT
MEDIUMtests/test-nginx/test-nginx/inc/Module/Install.pm126 #-------------------------------------------------------------COMMENT
Empty Error Handlers7 hits · 35 pts
SeverityFileLineSnippetContext
HIGHmodules/ngx_http_xquic_module/test/test_max_streams.py32except:CODE
HIGHmodules/ngx_http_xquic_module/test/test_max_streams.py128except:CODE
HIGHmodules/ngx_http_xquic_module/test/test_max_streams.py202except:CODE
HIGHmodules/ngx_http_xquic_module/test/test_max_streams.py285except:CODE
HIGHmodules/ngx_http_xquic_module/test/test_max_streams.py348except:CODE
HIGH…es/ngx_http_xquic_module/test/test_udp_health_check.py54except socket.timeout:CODE
HIGH…es/ngx_http_xquic_module/test/test_udp_health_check.py86except socket.timeout:CODE
Unused Imports20 hits · 20 pts
SeverityFileLineSnippetContext
LOWmodules/ngx_http_xquic_module/test/test_half_conn.py6CODE
LOWmodules/ngx_http_xquic_module/test/test_qlog.py5CODE
LOWmodules/ngx_http_xquic_module/test/test_qlog.py6CODE
LOWmodules/ngx_http_xquic_module/test/test_qlog.py7CODE
LOWmodules/ngx_http_xquic_module/test/test_qlog.py10CODE
LOWmodules/ngx_http_xquic_module/test/test_qlog.py11CODE
LOWmodules/ngx_http_xquic_module/test/test_qlog.py12CODE
LOWmodules/ngx_http_xquic_module/test/test_udp_quic.py6CODE
LOWmodules/ngx_http_xquic_module/test/test_siphash.py6CODE
LOW…ules/ngx_http_xquic_module/test/test_reuseport_xudp.py6CODE
LOW…ules/ngx_http_xquic_module/test/test_reuseport_xudp.py7CODE
LOW…ules/ngx_http_xquic_module/test/test_reuseport_xudp.py8CODE
LOW…ules/ngx_http_xquic_module/test/test_reuseport_xudp.py11CODE
LOW…ules/ngx_http_xquic_module/test/test_reuseport_xudp.py12CODE
LOW…ules/ngx_http_xquic_module/test/test_reuseport_xudp.py13CODE
LOWmodules/ngx_http_xquic_module/test/test_xudp_reload.py6CODE
LOWmodules/ngx_http_xquic_module/test/test_multi_certs.py6CODE
LOWmodules/ngx_http_xquic_module/test/test_fec.py6CODE
LOW…es/ngx_http_xquic_module/test/test_udp_health_check.py6CODE
LOW…ules/ngx_http_xquic_module/test/test_multipath_quic.py6CODE
Excessive Try-Catch Wrapping9 hits · 12 pts
SeverityFileLineSnippetContext
LOWmodules/ngx_http_xquic_module/test/test_max_streams.py66 except Exception as e:CODE
LOWmodules/ngx_http_xquic_module/test/test_max_streams.py131 except Exception as e:CODE
MEDIUMmodules/ngx_http_xquic_module/test/test_max_streams.py141 print(f"Error log (P=21): {error_log[:300] if error_log else 'no exceed error found'}")CODE
LOWmodules/ngx_http_xquic_module/test/test_max_streams.py205 except Exception as e:CODE
LOWmodules/ngx_http_xquic_module/test/test_max_streams.py288 except Exception as e:CODE
LOWmodules/ngx_http_xquic_module/test/test_max_streams.py351 except Exception as e:CODE
MEDIUMmodules/ngx_http_xquic_module/test/test_max_streams.py361 print(f"Error log (reload P=21): {error_log_p21[:300] if error_log_p21 else 'no exceed error found'}")CODE
LOWmodules/ngx_http_xquic_module/test/test_xudp_reload.py57 except Exception as e:CODE
MEDIUMmodules/ngx_http_xquic_module/test/test_xudp_reload.py50def ssh_remote(remote_ip, username, pk_file):CODE
AI Slop Vocabulary3 hits · 8 pts
SeverityFileLineSnippetContext
MEDIUMtests/test-nginx/test-nginx/inc/Test/Builder.pm945 # is_regexp() checks for regexes in a robust manner, say if they'reCOMMENT
LOW…s/test-nginx/test-nginx/inc/Module/Install/Makefile.pm44# Otherwise, just return the MakeMaker version.COMMENT
MEDIUM…s/test-nginx/test-nginx/inc/Module/Install/Makefile.pm255 # Module::Install::ExtraTests doesn't set $self->tests and does its own tests via harness.COMMENT
Hyper-Verbose Identifiers7 hits · 8 pts
SeverityFileLineSnippetContext
LOWmodules/ngx_http_xquic_module/test/test_xudp_reload.py169 def get_ssh_output_when_reload(self, ssh, cmd):CODE
LOWmodules/ngx_http_xquic_module/test/test_multi_certs.py32 def test_multi_certs_single_server(self):CODE
LOWmodules/ngx_http_xquic_module/test/test_multi_certs.py47 def test_multi_certs_fuzzy_match_first(self):CODE
LOWmodules/ngx_http_xquic_module/test/test_multi_certs.py62 def test_multi_certs_fuzzy_match_second(self):CODE
LOWmodules/ngx_http_xquic_module/test/test_multi_certs.py77 def test_multi_certs_fuzzy_sni_match_first(self):CODE
LOWmodules/ngx_http_xquic_module/test/test_multi_certs.py92 def test_multi_certs_fuzzy_sni_match_second(self):CODE
LOWmodules/ngx_http_xquic_module/test/test_multi_certs.py106# def test_multi_certs_duplicate_keyless_certs(self):COMMENT
Redundant / Tautological Comments2 hits · 3 pts
SeverityFileLineSnippetContext
LOWtests/test-nginx/test-nginx/inc/Test/Builder.pm1238 # Set everything to unbuffered else plain prints to STDOUT willCOMMENT
LOWtests/test-nginx/test-nginx/inc/Module/Install/Can.pm31# Check if we can run some commandCOMMENT
Slop Phrases1 hit · 3 pts
SeverityFileLineSnippetContext
MEDIUM…s/test-nginx/test-nginx/inc/Module/Install/Makefile.pm93 # special cases where you can use makemaker_appendCOMMENT