AI Slop Code RIsk Monitor

XINCGer/Unity3DTraining

【Unity杂货铺】unity大杂烩~

4.3 Low pattern signal View on GitHub

Maintenance and Governance Review

This report summarizes scanner evidence for XINCGer/Unity3DTraining, a C# project with 9,164 GitHub stars. SynthScan examined 296,734 lines of code across 1718 source files, recording 1169 pattern matches distributed across 13 syntactic categories. The legacy adjusted pattern signal is 4.3 (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.

4.3
Adjusted Signal
4.3
Raw Pattern Score
100%
Time Factor
2026-09-02
Last Push
9.2K
Stars
C#
Language
296.7K
Lines of Code
1.7K
Files
1.2K
Pattern Hits
2026-10-12
Scan Date
0.01
HC Hit Rate

Risk Review · v3

Use each vector to guide manual verification of the underlying findings.

Cognitive Ownership Risk 17.6/100 · LOW

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

Hallucinated Dependency & Supply Chain Risk 2.1/100 · LOW

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

Agent Over-Engineering Ratio 0.2/100 · LOW

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

PR Review Velocity Impact 19.9/100 · LOW

Which changes need focused human review? 1169 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 12HIGH 6MEDIUM 4LOW 1147

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 1169 distinct pattern matches across 13 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 Block1126 hits · 1082 pts
SeverityFileLineSnippetContext
LOW…pdate/AssetBundleDemo/Assets/Scripts/AssetBundleMgr.cs101COMMENT
LOW…e/AssetBundleFramework/Assets/Scripts/Util/JsonUtil.cs21 {COMMENT
LOW…ate/AssetBundleFramework/Assets/Editor/BuildeAssets.cs161COMMENT
LOW…ate/AssetBundleFramework/Assets/Editor/BuildeAssets.cs181 //static string ComputeMD5(string fileName) //计算文件的MD5,网上直接摘得COMMENT
LOW…ate/AssetBundleFramework/Assets/Editor/BuildeAssets.cs201 // }//结束计算COMMENT
LOW…ate/AssetBundleFramework/Assets/Editor/BuildeAssets.cs221 // calculator.Clear();COMMENT
LOWHotUpdate/uLuaDemo/Assets/ToLua/Editor/ToLuaExport.cs3561 //{ COMMENT
LOW…Update/uLuaDemo/Assets/Editor/Custom/CustomSettings.cs41COMMENT
LOW….4/ScriptsDll/ClassLibrary1/Properties/AssemblyInfo.cs21COMMENT
LOW…me5.4/ScriptsDll/ClassLibrary1/Scripts/UI/UIManager.cs21 {COMMENT
LOW…Frame5.4/ScriptsDll/ClassLibrary1/Scripts/UI/UIBase.cs21 void CheckUI();COMMENT
LOW…riptsDll/ClassLibrary1/Scripts/Common/SourceManager.cs121 /// 从保存的容器中获取资源包COMMENT
LOW…ame5.4/Assets/Demigiant/DOTweenPro/DOTweenAnimation.cs81COMMENT
LOW…ame5.4/Assets/Demigiant/DOTweenPro/DOTweenAnimation.cs101// c = this.GetComponent<RectTransform>();COMMENT
LOW…ame5.4/Assets/Demigiant/DOTweenPro/DOTweenAnimation.cs141 else if (t.IsSameOrSubclassOf(typeof(tk2dBaseSprite))) tween = ((tk2dBaseSprite)target).DOColor(endValueCOMMENT
LOW…ame5.4/Assets/Demigiant/DOTweenPro/DOTweenAnimation.cs161#endifCOMMENT
LOW…ame5.4/Assets/Demigiant/DOTweenPro/DOTweenAnimation.cs201// c = this.GetComponent<TextMeshPro>();COMMENT
LOW…ame5.4/Assets/Demigiant/DOTweenPro/DOTweenAnimation.cs221// }COMMENT
LOW…ame5.4/Assets/Demigiant/DOTweenPro/DOTweenAnimation.cs241 else if (t.IsSameOrSubclassOf(typeof(tk2dTextMesh))) tween = ((tk2dTextMesh)target).DOText(endValueStrinCOMMENT
LOW…mo/demo/Assets/AssetBundleSample/Scripts/LoadAssets.cs21 // Initialize the downloading URL.COMMENT
LOW…/demo/Assets/AssetBundleSample/Scripts/LoadVariants.cs81 // If ODR is available and enabled, then use it and let Xcode handle download requests.COMMENT
LOW…undleDemo/AssetBundleServer/Properties/AssemblyInfo.cs21COMMENT
LOWFruit_Ninja/Assets/Scripts/MouseController.cs21 private bool isMouseDown = false;COMMENT
LOW…nsion/MultiEditorWindow/Assets/Editor/RepeateWindow.cs21 //刷新界面偏移量COMMENT
LOW…gOpenGL/LearnOpenGLDemo/LearnOpenGLDemo/Classes/glad.c21COMMENT
LOW…gOpenGL/LearnOpenGLDemo/LearnOpenGLDemo/Classes/glad.c41#elif _MSC_VER >= 1700 && !_USING_V110_SDK71_COMMENT
LOW…nGLDemo/Classes/1_gettting_started/Transformations.cpp1#define TRANSFORMATION_01_HCOMMENT
LOW…penGLDemo/Classes/1_gettting_started/Coordinate_01.cpp1#define COORDINATE_001_HCOMMENT
LOW…penGLDemo/Classes/1_gettting_started/UseCameraDemo.cpp1//#define USECAMERA_HCOMMENT
LOW…penGLDemo/Classes/1_gettting_started/camera_circle.cpp1#define CAMERA_CIRCLECOMMENT
LOW…Demo/LearnOpenGLDemo/OpenGL/includes/KHR/khrplatform.h101# define KHRONOS_APICALL IMPORT_CCOMMENT
LOW…LearnOpenGLDemo/OpenGL/includes/learnopengl/shader_s.h1#ifndef SHADER_HCOMMENT
LOW…earnOpenGLDemo/OpenGL/includes/learnopengl/stb_image.h201license: you are granted a perpetual, irrevocable license to copy, modify,COMMENT
LOW…earnOpenGLDemo/OpenGL/includes/learnopengl/stb_image.h221// // ... process data if not NULL ...COMMENT
LOW…earnOpenGLDemo/OpenGL/includes/learnopengl/stb_image.h241// have been output otherwise. E.g. if you set req_comp to 4, you will alwaysCOMMENT
LOW…earnOpenGLDemo/OpenGL/includes/learnopengl/stb_image.h261// Paletted PNG, BMP, GIF, and PIC images are automatically depalettized.COMMENT
LOW…earnOpenGLDemo/OpenGL/includes/learnopengl/stb_image.h281//COMMENT
LOW…earnOpenGLDemo/OpenGL/includes/learnopengl/stb_image.h301//COMMENT
LOW…earnOpenGLDemo/OpenGL/includes/learnopengl/stb_image.h321//COMMENT
LOW…earnOpenGLDemo/OpenGL/includes/learnopengl/stb_image.h341// appropriately).COMMENT
LOW…earnOpenGLDemo/OpenGL/includes/learnopengl/stb_image.h361//COMMENT
LOW…earnOpenGLDemo/OpenGL/includes/learnopengl/stb_image.h401COMMENT
LOW…earnOpenGLDemo/OpenGL/includes/learnopengl/stb_image.h441 //COMMENT
LOW…earnOpenGLDemo/OpenGL/includes/learnopengl/stb_image.h541#endifCOMMENT
LOW…earnOpenGLDemo/OpenGL/includes/learnopengl/stb_image.h561#define STBI_NO_PICCOMMENT
LOW…earnOpenGLDemo/OpenGL/includes/learnopengl/stb_image.h581#endifCOMMENT
LOW…earnOpenGLDemo/OpenGL/includes/learnopengl/stb_image.h621#define STBI_NOTUSED(v) (void)(v)COMMENT
LOW…earnOpenGLDemo/OpenGL/includes/learnopengl/stb_image.h641#error "Must define all or none of STBI_MALLOC, STBI_FREE, and STBI_REALLOC (or STBI_REALLOC_SIZED)."COMMENT
LOW…earnOpenGLDemo/OpenGL/includes/learnopengl/stb_image.h661#if defined(__GNUC__) && (defined(STBI__X86_TARGET) || defined(STBI__X64_TARGET)) && !defined(__SSE2__) && !defined(STBICOMMENT
LOW…earnOpenGLDemo/OpenGL/includes/learnopengl/stb_image.h721COMMENT
LOW…earnOpenGLDemo/OpenGL/includes/learnopengl/stb_image.h741#ifdef STBI_NEONCOMMENT
LOW…earnOpenGLDemo/OpenGL/includes/learnopengl/stb_image.h921{COMMENT
LOW…earnOpenGLDemo/OpenGL/includes/learnopengl/stb_image.h1001#define stbi__err(x,y) 0COMMENT
LOW…earnOpenGLDemo/OpenGL/includes/learnopengl/stb_image.h1041#ifndef STBI_NO_PNGCOMMENT
LOW…earnOpenGLDemo/OpenGL/includes/learnopengl/stb_image.h1521COMMENT
LOW…earnOpenGLDemo/OpenGL/includes/learnopengl/stb_image.h1701// - doesn't allow partial loading, loading multiple at onceCOMMENT
LOW…earnOpenGLDemo/OpenGL/includes/learnopengl/stb_image.h3761// public domain zlib decode v0.2 Sean Barrett 2006-11-18COMMENT
LOW…earnOpenGLDemo/OpenGL/includes/learnopengl/stb_image.h4221 a.zbuffer = (stbi_uc *)ibuffer;COMMENT
LOW…earnOpenGLDemo/OpenGL/includes/learnopengl/stb_image.h5701 // Make sure the depth is 8 bits.COMMENT
LOW…earnOpenGLDemo/OpenGL/includes/learnopengl/stb_image.h6821COMMENT
1066 more matches not shown…
Hallucination Indicators12 hits · 120 pts
SeverityFileLineSnippetContext
CRITICAL…setBundleFrame5.4/Assets/Demigiant/DOTween/DOTween.XML2060 <member name="M:DG.Tweening.Core.Easing.Bounce.EaseIn(System.Single,System.Single,System.Single,System.Single)">CODE
CRITICAL…setBundleFrame5.4/Assets/Demigiant/DOTween/DOTween.XML2076 <member name="M:DG.Tweening.Core.Easing.Bounce.EaseOut(System.Single,System.Single,System.Single,System.Single)"CODE
CRITICAL…setBundleFrame5.4/Assets/Demigiant/DOTween/DOTween.XML2092 <member name="M:DG.Tweening.Core.Easing.Bounce.EaseInOut(System.Single,System.Single,System.Single,System.SingleCODE
CRITICAL…setBundleFrame5.4/Assets/Demigiant/DOTween/DOTween.XML2158 <member name="M:DG.Tweening.Core.Easing.EaseManager.Evaluate(DG.Tweening.Tween,System.Single,System.Single,SysteCODE
CRITICAL…setBundleFrame5.4/Assets/Demigiant/DOTween/DOTween.XML2163 <member name="M:DG.Tweening.Core.Easing.EaseManager.Evaluate(DG.Tweening.Ease,DG.Tweening.EaseFunction,System.SiCODE
CRITICAL…setBundleFrame5.4/Assets/Demigiant/DOTween/DOTween.XML2178 <member name="M:DG.Tweening.Plugins.Core.PathCore.Path.GetPoint(System.Single,System.Boolean)">CODE
CRITICAL…ng/DoTweenProject/Assets/Demigiant/DOTween/DOTween.XML2060 <member name="M:DG.Tweening.Core.Easing.Bounce.EaseIn(System.Single,System.Single,System.Single,System.Single)">CODE
CRITICAL…ng/DoTweenProject/Assets/Demigiant/DOTween/DOTween.XML2076 <member name="M:DG.Tweening.Core.Easing.Bounce.EaseOut(System.Single,System.Single,System.Single,System.Single)"CODE
CRITICAL…ng/DoTweenProject/Assets/Demigiant/DOTween/DOTween.XML2092 <member name="M:DG.Tweening.Core.Easing.Bounce.EaseInOut(System.Single,System.Single,System.Single,System.SingleCODE
CRITICAL…ng/DoTweenProject/Assets/Demigiant/DOTween/DOTween.XML2158 <member name="M:DG.Tweening.Core.Easing.EaseManager.Evaluate(DG.Tweening.Tween,System.Single,System.Single,SysteCODE
CRITICAL…ng/DoTweenProject/Assets/Demigiant/DOTween/DOTween.XML2163 <member name="M:DG.Tweening.Core.Easing.EaseManager.Evaluate(DG.Tweening.Ease,DG.Tweening.EaseFunction,System.SiCODE
CRITICAL…ng/DoTweenProject/Assets/Demigiant/DOTween/DOTween.XML2178 <member name="M:DG.Tweening.Plugins.Core.PathCore.Path.GetPoint(System.Single,System.Boolean)">CODE
Synthetic Comment Markers5 hits · 38 pts
SeverityFileLineSnippetContext
HIGH…ts/Scripts/Socket/ProtocalData/protocal_loginserver.cs3// This code was generated by a tool.COMMENT
HIGH…esources/SampleSocket/ProtoGen/protocal_loginserver.cs3// This code was generated by a tool.COMMENT
HIGHSomeTest/WinFormMVP/Properties/Settings.Designer.cs3// This code was generated by a tool.COMMENT
HIGHSomeTest/WinFormMVP/Properties/Resources.Designer.cs3// This code was generated by a tool.COMMENT
HIGH…mand/UnDoReDoByCommand/Properties/Settings.Designer.cs3// This code was generated by a tool.COMMENT
Excessive Try-Catch Wrapping5 hits · 7 pts
SeverityFileLineSnippetContext
MEDIUMXlsxTools/xls2csv/xls2csv.py75def open_excel(file= 'file.xls'):CODE
LOWXlsxTools/xls2csv/xls2csv_3.0.py84 except Exception as e:CODE
MEDIUMXlsxTools/xls2csv/xls2csv_3.0.py80def open_excel(file= 'file.xls'):CODE
LOWXlsxTools/xls2json/Tools/xls2json.py93 except Exception as e:CODE
LOWXlsxTools/xls2json/Tools/xls2json.py146 except Exception as e:CODE
Structural Annotation Overuse4 hits · 6 pts
SeverityFileLineSnippetContext
LOW…entTraining/Assets/NGUI/Scripts/Internal/UIGeometry.cs66 /// Step 1: Prepare to fill the buffers -- make them clean and valid.COMMENT
LOW…entTraining/Assets/NGUI/Scripts/Internal/UIGeometry.cs78 /// Step 2: Transform the vertices by the provided matrix.COMMENT
LOW…entTraining/Assets/NGUI/Scripts/Internal/UIGeometry.cs100 /// Step 3: Fill the specified buffer using the transformed values.COMMENT
LOW…ventTraining/Assets/NGUI/Scripts/Interaction/UIGrid.cs190 // NOTE: This functionality is effectively removed until Unity 4.6.COMMENT
Hyper-Verbose Identifiers5 hits · 5 pts
SeverityFileLineSnippetContext
LOWXlsxTools/xls2json/Tools/xls2json.py249def create_single_table_mapping_content(file_name):CODE
LOWSomeTest/ColaPlus/ColaPlus.lua327local function checkMethodParamAndMakeList (paramCount, paramList, methodName, errorLevel)CODE
LOWSomeTest/ColaPlus/ColaPlus.lua396local function checkMethodOverrideSignature (signatureBase, signatureOverride, methodType, methodName, errLevel)CODE
LOWSomeTest/ColaPlus/ColaPlus.lua458local function isTypeTableForwardDeclared (typeTable)CODE
LOWSomeTest/ColaPlus/ColaPlus.lua529local function createEmptyFunctionWrapper ()CODE
Cross-Language Confusion1 hit · 5 pts
SeverityFileLineSnippetContext
HIGHXlsxTools/xls2json/Tools/xls2json.py270 content = content + "\n\t\t{file_name} {lower_file_name}Data = null;"CODE
Slop Phrases3 hits · 4 pts
SeverityFileLineSnippetContext
LOW…etbundleDemo/demo/Assets/AssetBundleManager/Utility.cs42 // If you add more targets, don't forget to add the same platforms to GetPlatformForAssetBundles(RuntimeCOMMENT
LOW…etbundleDemo/demo/Assets/AssetBundleManager/Utility.cs68 // If you add more targets, don't forget to add the same platforms to GetPlatformForAssetBundles(RuntimeCOMMENT
LOW…EventTraining/Assets/NGUI/Scripts/Internal/UIWidget.cs493 /// Widget's center in local coordinates. Don't forget to transform by the widget's transform.COMMENT
Verbosity Indicators3 hits · 4 pts
SeverityFileLineSnippetContext
LOW…entTraining/Assets/NGUI/Scripts/Internal/UIGeometry.cs66 /// Step 1: Prepare to fill the buffers -- make them clean and valid.COMMENT
LOW…entTraining/Assets/NGUI/Scripts/Internal/UIGeometry.cs78 /// Step 2: Transform the vertices by the provided matrix.COMMENT
LOW…entTraining/Assets/NGUI/Scripts/Internal/UIGeometry.cs100 /// Step 3: Fill the specified buffer using the transformed values.COMMENT
Modern AI Meta-Vocabulary1 hit · 3 pts
SeverityFileLineSnippetContext
MEDIUMAI/README.md57### RAGCOMMENT
Deep Nesting2 hits · 2 pts
SeverityFileLineSnippetContext
LOWXlsxTools/xls2json/Tools/xls2json.py87CODE
LOWXlsxTools/xls2json/Tools/xls2json.py121CODE
AI Slop Vocabulary1 hit · 2 pts
SeverityFileLineSnippetContext
MEDIUM…Protobuff/Assets/Plugins/Google.Protobuf/JsonParser.cs549 var token = tokenizer.Next(); // Definitely start-object; checked in previous methodCODE
Unused Imports1 hit · 1 pts
SeverityFileLineSnippetContext
LOWXlsxTools/xls2json/Tools/xls2json.py4CODE