【Unity杂货铺】unity大杂烩~
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.
Use each vector to guide manual verification of the underlying findings.
Can maintainers explain intent, assumptions, and trade-offs? 1150 finding(s).
Are imports declared and package/API names verified? 14 finding(s).
Are wrappers, guards, and repeated structures necessary? 10 finding(s).
Which changes need focused human review? 1169 finding(s).
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.
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.
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.
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.
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | …pdate/AssetBundleDemo/Assets/Scripts/AssetBundleMgr.cs | 101 | COMMENT | |
| LOW | …e/AssetBundleFramework/Assets/Scripts/Util/JsonUtil.cs | 21 | { | COMMENT |
| LOW | …ate/AssetBundleFramework/Assets/Editor/BuildeAssets.cs | 161 | COMMENT | |
| LOW | …ate/AssetBundleFramework/Assets/Editor/BuildeAssets.cs | 181 | //static string ComputeMD5(string fileName) //计算文件的MD5,网上直接摘得 | COMMENT |
| LOW | …ate/AssetBundleFramework/Assets/Editor/BuildeAssets.cs | 201 | // }//结束计算 | COMMENT |
| LOW | …ate/AssetBundleFramework/Assets/Editor/BuildeAssets.cs | 221 | // calculator.Clear(); | COMMENT |
| LOW | HotUpdate/uLuaDemo/Assets/ToLua/Editor/ToLuaExport.cs | 3561 | //{ | COMMENT |
| LOW | …Update/uLuaDemo/Assets/Editor/Custom/CustomSettings.cs | 41 | COMMENT | |
| LOW | ….4/ScriptsDll/ClassLibrary1/Properties/AssemblyInfo.cs | 21 | COMMENT | |
| LOW | …me5.4/ScriptsDll/ClassLibrary1/Scripts/UI/UIManager.cs | 21 | { | COMMENT |
| LOW | …Frame5.4/ScriptsDll/ClassLibrary1/Scripts/UI/UIBase.cs | 21 | void CheckUI(); | COMMENT |
| LOW | …riptsDll/ClassLibrary1/Scripts/Common/SourceManager.cs | 121 | /// 从保存的容器中获取资源包 | COMMENT |
| LOW | …ame5.4/Assets/Demigiant/DOTweenPro/DOTweenAnimation.cs | 81 | COMMENT | |
| LOW | …ame5.4/Assets/Demigiant/DOTweenPro/DOTweenAnimation.cs | 101 | // c = this.GetComponent<RectTransform>(); | COMMENT |
| LOW | …ame5.4/Assets/Demigiant/DOTweenPro/DOTweenAnimation.cs | 141 | else if (t.IsSameOrSubclassOf(typeof(tk2dBaseSprite))) tween = ((tk2dBaseSprite)target).DOColor(endValue | COMMENT |
| LOW | …ame5.4/Assets/Demigiant/DOTweenPro/DOTweenAnimation.cs | 161 | #endif | COMMENT |
| LOW | …ame5.4/Assets/Demigiant/DOTweenPro/DOTweenAnimation.cs | 201 | // c = this.GetComponent<TextMeshPro>(); | COMMENT |
| LOW | …ame5.4/Assets/Demigiant/DOTweenPro/DOTweenAnimation.cs | 221 | // } | COMMENT |
| LOW | …ame5.4/Assets/Demigiant/DOTweenPro/DOTweenAnimation.cs | 241 | else if (t.IsSameOrSubclassOf(typeof(tk2dTextMesh))) tween = ((tk2dTextMesh)target).DOText(endValueStrin | COMMENT |
| LOW | …mo/demo/Assets/AssetBundleSample/Scripts/LoadAssets.cs | 21 | // Initialize the downloading URL. | COMMENT |
| LOW | …/demo/Assets/AssetBundleSample/Scripts/LoadVariants.cs | 81 | // If ODR is available and enabled, then use it and let Xcode handle download requests. | COMMENT |
| LOW | …undleDemo/AssetBundleServer/Properties/AssemblyInfo.cs | 21 | COMMENT | |
| LOW | Fruit_Ninja/Assets/Scripts/MouseController.cs | 21 | private bool isMouseDown = false; | COMMENT |
| LOW | …nsion/MultiEditorWindow/Assets/Editor/RepeateWindow.cs | 21 | //刷新界面偏移量 | COMMENT |
| LOW | …gOpenGL/LearnOpenGLDemo/LearnOpenGLDemo/Classes/glad.c | 21 | COMMENT | |
| LOW | …gOpenGL/LearnOpenGLDemo/LearnOpenGLDemo/Classes/glad.c | 41 | #elif _MSC_VER >= 1700 && !_USING_V110_SDK71_ | COMMENT |
| LOW | …nGLDemo/Classes/1_gettting_started/Transformations.cpp | 1 | #define TRANSFORMATION_01_H | COMMENT |
| LOW | …penGLDemo/Classes/1_gettting_started/Coordinate_01.cpp | 1 | #define COORDINATE_001_H | COMMENT |
| LOW | …penGLDemo/Classes/1_gettting_started/UseCameraDemo.cpp | 1 | //#define USECAMERA_H | COMMENT |
| LOW | …penGLDemo/Classes/1_gettting_started/camera_circle.cpp | 1 | #define CAMERA_CIRCLE | COMMENT |
| LOW | …Demo/LearnOpenGLDemo/OpenGL/includes/KHR/khrplatform.h | 101 | # define KHRONOS_APICALL IMPORT_C | COMMENT |
| LOW | …LearnOpenGLDemo/OpenGL/includes/learnopengl/shader_s.h | 1 | #ifndef SHADER_H | COMMENT |
| LOW | …earnOpenGLDemo/OpenGL/includes/learnopengl/stb_image.h | 201 | license: you are granted a perpetual, irrevocable license to copy, modify, | COMMENT |
| LOW | …earnOpenGLDemo/OpenGL/includes/learnopengl/stb_image.h | 221 | // // ... process data if not NULL ... | COMMENT |
| LOW | …earnOpenGLDemo/OpenGL/includes/learnopengl/stb_image.h | 241 | // have been output otherwise. E.g. if you set req_comp to 4, you will always | COMMENT |
| LOW | …earnOpenGLDemo/OpenGL/includes/learnopengl/stb_image.h | 261 | // Paletted PNG, BMP, GIF, and PIC images are automatically depalettized. | COMMENT |
| LOW | …earnOpenGLDemo/OpenGL/includes/learnopengl/stb_image.h | 281 | // | COMMENT |
| LOW | …earnOpenGLDemo/OpenGL/includes/learnopengl/stb_image.h | 301 | // | COMMENT |
| LOW | …earnOpenGLDemo/OpenGL/includes/learnopengl/stb_image.h | 321 | // | COMMENT |
| LOW | …earnOpenGLDemo/OpenGL/includes/learnopengl/stb_image.h | 341 | // appropriately). | COMMENT |
| LOW | …earnOpenGLDemo/OpenGL/includes/learnopengl/stb_image.h | 361 | // | COMMENT |
| LOW | …earnOpenGLDemo/OpenGL/includes/learnopengl/stb_image.h | 401 | COMMENT | |
| LOW | …earnOpenGLDemo/OpenGL/includes/learnopengl/stb_image.h | 441 | // | COMMENT |
| LOW | …earnOpenGLDemo/OpenGL/includes/learnopengl/stb_image.h | 541 | #endif | COMMENT |
| LOW | …earnOpenGLDemo/OpenGL/includes/learnopengl/stb_image.h | 561 | #define STBI_NO_PIC | COMMENT |
| LOW | …earnOpenGLDemo/OpenGL/includes/learnopengl/stb_image.h | 581 | #endif | COMMENT |
| LOW | …earnOpenGLDemo/OpenGL/includes/learnopengl/stb_image.h | 621 | #define STBI_NOTUSED(v) (void)(v) | COMMENT |
| LOW | …earnOpenGLDemo/OpenGL/includes/learnopengl/stb_image.h | 641 | #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.h | 661 | #if defined(__GNUC__) && (defined(STBI__X86_TARGET) || defined(STBI__X64_TARGET)) && !defined(__SSE2__) && !defined(STBI | COMMENT |
| LOW | …earnOpenGLDemo/OpenGL/includes/learnopengl/stb_image.h | 721 | COMMENT | |
| LOW | …earnOpenGLDemo/OpenGL/includes/learnopengl/stb_image.h | 741 | #ifdef STBI_NEON | COMMENT |
| LOW | …earnOpenGLDemo/OpenGL/includes/learnopengl/stb_image.h | 921 | { | COMMENT |
| LOW | …earnOpenGLDemo/OpenGL/includes/learnopengl/stb_image.h | 1001 | #define stbi__err(x,y) 0 | COMMENT |
| LOW | …earnOpenGLDemo/OpenGL/includes/learnopengl/stb_image.h | 1041 | #ifndef STBI_NO_PNG | COMMENT |
| LOW | …earnOpenGLDemo/OpenGL/includes/learnopengl/stb_image.h | 1521 | COMMENT | |
| LOW | …earnOpenGLDemo/OpenGL/includes/learnopengl/stb_image.h | 1701 | // - doesn't allow partial loading, loading multiple at once | COMMENT |
| LOW | …earnOpenGLDemo/OpenGL/includes/learnopengl/stb_image.h | 3761 | // public domain zlib decode v0.2 Sean Barrett 2006-11-18 | COMMENT |
| LOW | …earnOpenGLDemo/OpenGL/includes/learnopengl/stb_image.h | 4221 | a.zbuffer = (stbi_uc *)ibuffer; | COMMENT |
| LOW | …earnOpenGLDemo/OpenGL/includes/learnopengl/stb_image.h | 5701 | // Make sure the depth is 8 bits. | COMMENT |
| LOW | …earnOpenGLDemo/OpenGL/includes/learnopengl/stb_image.h | 6821 | COMMENT | |
| 1066 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| CRITICAL | …setBundleFrame5.4/Assets/Demigiant/DOTween/DOTween.XML | 2060 | <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.XML | 2076 | <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.XML | 2092 | <member name="M:DG.Tweening.Core.Easing.Bounce.EaseInOut(System.Single,System.Single,System.Single,System.Single | CODE |
| CRITICAL | …setBundleFrame5.4/Assets/Demigiant/DOTween/DOTween.XML | 2158 | <member name="M:DG.Tweening.Core.Easing.EaseManager.Evaluate(DG.Tweening.Tween,System.Single,System.Single,Syste | CODE |
| CRITICAL | …setBundleFrame5.4/Assets/Demigiant/DOTween/DOTween.XML | 2163 | <member name="M:DG.Tweening.Core.Easing.EaseManager.Evaluate(DG.Tweening.Ease,DG.Tweening.EaseFunction,System.Si | CODE |
| CRITICAL | …setBundleFrame5.4/Assets/Demigiant/DOTween/DOTween.XML | 2178 | <member name="M:DG.Tweening.Plugins.Core.PathCore.Path.GetPoint(System.Single,System.Boolean)"> | CODE |
| CRITICAL | …ng/DoTweenProject/Assets/Demigiant/DOTween/DOTween.XML | 2060 | <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.XML | 2076 | <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.XML | 2092 | <member name="M:DG.Tweening.Core.Easing.Bounce.EaseInOut(System.Single,System.Single,System.Single,System.Single | CODE |
| CRITICAL | …ng/DoTweenProject/Assets/Demigiant/DOTween/DOTween.XML | 2158 | <member name="M:DG.Tweening.Core.Easing.EaseManager.Evaluate(DG.Tweening.Tween,System.Single,System.Single,Syste | CODE |
| CRITICAL | …ng/DoTweenProject/Assets/Demigiant/DOTween/DOTween.XML | 2163 | <member name="M:DG.Tweening.Core.Easing.EaseManager.Evaluate(DG.Tweening.Ease,DG.Tweening.EaseFunction,System.Si | CODE |
| CRITICAL | …ng/DoTweenProject/Assets/Demigiant/DOTween/DOTween.XML | 2178 | <member name="M:DG.Tweening.Plugins.Core.PathCore.Path.GetPoint(System.Single,System.Boolean)"> | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | …ts/Scripts/Socket/ProtocalData/protocal_loginserver.cs | 3 | // This code was generated by a tool. | COMMENT |
| HIGH | …esources/SampleSocket/ProtoGen/protocal_loginserver.cs | 3 | // This code was generated by a tool. | COMMENT |
| HIGH | SomeTest/WinFormMVP/Properties/Settings.Designer.cs | 3 | // This code was generated by a tool. | COMMENT |
| HIGH | SomeTest/WinFormMVP/Properties/Resources.Designer.cs | 3 | // This code was generated by a tool. | COMMENT |
| HIGH | …mand/UnDoReDoByCommand/Properties/Settings.Designer.cs | 3 | // This code was generated by a tool. | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | XlsxTools/xls2csv/xls2csv.py | 75 | def open_excel(file= 'file.xls'): | CODE |
| LOW | XlsxTools/xls2csv/xls2csv_3.0.py | 84 | except Exception as e: | CODE |
| MEDIUM | XlsxTools/xls2csv/xls2csv_3.0.py | 80 | def open_excel(file= 'file.xls'): | CODE |
| LOW | XlsxTools/xls2json/Tools/xls2json.py | 93 | except Exception as e: | CODE |
| LOW | XlsxTools/xls2json/Tools/xls2json.py | 146 | except Exception as e: | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | …entTraining/Assets/NGUI/Scripts/Internal/UIGeometry.cs | 66 | /// Step 1: Prepare to fill the buffers -- make them clean and valid. | COMMENT |
| LOW | …entTraining/Assets/NGUI/Scripts/Internal/UIGeometry.cs | 78 | /// Step 2: Transform the vertices by the provided matrix. | COMMENT |
| LOW | …entTraining/Assets/NGUI/Scripts/Internal/UIGeometry.cs | 100 | /// Step 3: Fill the specified buffer using the transformed values. | COMMENT |
| LOW | …ventTraining/Assets/NGUI/Scripts/Interaction/UIGrid.cs | 190 | // NOTE: This functionality is effectively removed until Unity 4.6. | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | XlsxTools/xls2json/Tools/xls2json.py | 249 | def create_single_table_mapping_content(file_name): | CODE |
| LOW | SomeTest/ColaPlus/ColaPlus.lua | 327 | local function checkMethodParamAndMakeList (paramCount, paramList, methodName, errorLevel) | CODE |
| LOW | SomeTest/ColaPlus/ColaPlus.lua | 396 | local function checkMethodOverrideSignature (signatureBase, signatureOverride, methodType, methodName, errLevel) | CODE |
| LOW | SomeTest/ColaPlus/ColaPlus.lua | 458 | local function isTypeTableForwardDeclared (typeTable) | CODE |
| LOW | SomeTest/ColaPlus/ColaPlus.lua | 529 | local function createEmptyFunctionWrapper () | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | XlsxTools/xls2json/Tools/xls2json.py | 270 | content = content + "\n\t\t{file_name} {lower_file_name}Data = null;" | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | …etbundleDemo/demo/Assets/AssetBundleManager/Utility.cs | 42 | // If you add more targets, don't forget to add the same platforms to GetPlatformForAssetBundles(Runtime | COMMENT |
| LOW | …etbundleDemo/demo/Assets/AssetBundleManager/Utility.cs | 68 | // If you add more targets, don't forget to add the same platforms to GetPlatformForAssetBundles(Runtime | COMMENT |
| LOW | …EventTraining/Assets/NGUI/Scripts/Internal/UIWidget.cs | 493 | /// Widget's center in local coordinates. Don't forget to transform by the widget's transform. | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | …entTraining/Assets/NGUI/Scripts/Internal/UIGeometry.cs | 66 | /// Step 1: Prepare to fill the buffers -- make them clean and valid. | COMMENT |
| LOW | …entTraining/Assets/NGUI/Scripts/Internal/UIGeometry.cs | 78 | /// Step 2: Transform the vertices by the provided matrix. | COMMENT |
| LOW | …entTraining/Assets/NGUI/Scripts/Internal/UIGeometry.cs | 100 | /// Step 3: Fill the specified buffer using the transformed values. | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | AI/README.md | 57 | ### RAG | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | XlsxTools/xls2json/Tools/xls2json.py | 87 | CODE | |
| LOW | XlsxTools/xls2json/Tools/xls2json.py | 121 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | …Protobuff/Assets/Plugins/Google.Protobuf/JsonParser.cs | 549 | var token = tokenizer.Next(); // Definitely start-object; checked in previous method | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | XlsxTools/xls2json/Tools/xls2json.py | 4 | CODE |