PUER(普洱) Typescript. Let's write your game in UE or Unity with TypeScript.
This report presents the forensic synthetic code analysis of Tencent/puerts, a C++ project with 6,160 GitHub stars. SynthScan v2.0 examined 501,812 lines of code across 1617 source files, recording 3090 pattern matches distributed across 11 syntactic categories. The overall adjusted score of 5.9 places this repository in the Low AI signal band.
The scanner applied 160+ deterministic lexical heuristics, multi-line block detectors, abstract syntax tree depth profilers, and a cross-file Jaccard similarity matrix to construct a statistically normalised synthetic code estimate. All matches are individually weighted by severity coefficient and contextual multiplier before summation, and the resulting headline score is temporally discounted to account for the repository's development history relative to the commercial emergence of large language model coding tooling (November 2022 onward).
Longitudinal tracking requires multiple scan runs. Once this repository is re-scanned after new commits land, this chart will visualise how the synthetic code signal evolves over time — enabling you to detect whether AI authorship is growing, stabilising, or being actively corrected by human engineers.
Classifies detected patterns by their diagnostic confidence and structural impact. CRITICAL patterns (coefficient 10) represent definitive synthetic signatures — hallucinated imports, explicit LLM attribution metadata — virtually never produced by human authors. HIGH (5) indicates strong structural tells such as cross-file repetition or cross-linguistic idioms. MEDIUM (2) covers recognisable conversational padding and AI-specific vocabulary. LOW (1) captures subtle indicators like tautological comments and generic boilerplate that require density to carry independent signal.
This horizontal bar chart decomposes the repository's raw synthetic code score by top-level directory, allowing you to pinpoint precisely which modules or components carry the highest AI authorship density. Directories with disproportionately high scores relative to their size warrant targeted manual review: concentrated AI signatures often trace back to mass-generated configuration layers, auto-ported test suites, LLM-scaffolded boilerplate classes, or entire subsystems authored under heavy copilot assistance. Use this view to prioritise your human code-review effort.
The scanner identified 3090 distinct pattern matches across 11 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a statistically significant AI authorship indicator. 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 diagnostic confidence level (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — comment-context matches receive a ×1.5 weight because LLMs systematically over-annotate. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier as dense clusters constitute far stronger evidence of synthetic authorship than isolated hits.
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | unity/native/papi-lua/lua-5.4.8/src/llimits.h | 101 | ** Internal assertions for in-house debugging | COMMENT |
| LOW | unity/native/papi-lua/lua-5.4.8/src/llimits.h | 121 | */ | COMMENT |
| LOW | unity/native/papi-lua/lua-5.4.8/src/llimits.h | 141 | #define cast_int(i) cast(int, (i)) | COMMENT |
| LOW | unity/native/papi-lua/lua-5.4.8/src/llimits.h | 161 | #define l_castU2S(i) ((lua_Integer)(i)) | COMMENT |
| LOW | unity/native/papi-lua/lua-5.4.8/src/llimits.h | 281 | #if !defined(luai_userstateopen) | COMMENT |
| LOW | unity/native/papi-lua/lua-5.4.8/src/llimits.h | 341 | ((void)L, (b == 2) ? (a)*(a) : l_mathop(pow)(a,b)) | COMMENT |
| LOW | unity/native/papi-lua/lua-5.4.8/src/llimits.h | 361 | COMMENT | |
| LOW | unity/native/papi-lua/lua-5.4.8/src/lgc.h | 61 | #define setbits(x,m) ((x) |= (m)) | COMMENT |
| LOW | unity/native/papi-lua/lua-5.4.8/src/lgc.h | 101 | COMMENT | |
| LOW | unity/native/papi-lua/lua-5.4.8/src/liolib.c | 121 | COMMENT | |
| LOW | unity/native/papi-lua/lua-5.4.8/src/lua.hpp | 1 | // lua.hpp | COMMENT |
| LOW | unity/native/papi-lua/lua-5.4.8/src/lvm.c | 21 | #include "ldebug.h" | COMMENT |
| LOW | unity/native/papi-lua/lua-5.4.8/src/lstrlib.c | 1 | /* | COMMENT |
| LOW | unity/native/papi-lua/lua-5.4.8/src/lua.c | 441 | #if defined(LUA_USE_READLINE) /* { */ | COMMENT |
| LOW | unity/native/papi-lua/lua-5.4.8/src/ltable.c | 21 | ** in its main position (i.e. the 'original' position that its hash gives | COMMENT |
| LOW | unity/native/papi-lua/lua-5.4.8/src/lobject.h | 321 | COMMENT | |
| LOW | unity/native/papi-lua/lua-5.4.8/src/lopcodes.h | 41 | #define SIZE_A 8 | COMMENT |
| LOW | unity/native/papi-lua/lua-5.4.8/src/lopcodes.h | 81 | #define MAXARG_Ax ((1<<SIZE_Ax)-1) | COMMENT |
| LOW | unity/native/papi-lua/lua-5.4.8/src/lopcodes.h | 121 | #define getarg(i,pos,size) (cast_int(((i)>>(pos)) & MASK1(size,0))) | COMMENT |
| LOW | unity/native/papi-lua/lua-5.4.8/src/loslib.c | 121 | COMMENT | |
| LOW | unity/native/papi-lua/lua-5.4.8/src/lcode.c | 21 | #include "ldebug.h" | COMMENT |
| LOW | unity/native/papi-lua/lua-5.4.8/src/lapi.c | 21 | #include "ldo.h" | COMMENT |
| LOW | unity/native/papi-lua/lua-5.4.8/src/lua.h | 61 | ** basic types | COMMENT |
| LOW | unity/native/papi-lua/lua-5.4.8/src/lua.h | 221 | #define LUA_OPDIV 5 | COMMENT |
| LOW | unity/native/papi-lua/lua-5.4.8/src/lua.h | 321 | */ | COMMENT |
| LOW | unity/native/papi-lua/lua-5.4.8/src/lua.h | 381 | COMMENT | |
| LOW | unity/native/papi-lua/lua-5.4.8/src/ldebug.c | 21 | #include "ldebug.h" | COMMENT |
| LOW | unity/native/papi-lua/lua-5.4.8/src/lparser.c | 21 | #include "lfunc.h" | COMMENT |
| LOW | unity/native/papi-lua/lua-5.4.8/src/lctype.h | 21 | #if 'A' == 65 && '0' == 48 | COMMENT |
| LOW | unity/native/papi-lua/lua-5.4.8/src/ldo.c | 21 | #include "ldo.h" | COMMENT |
| LOW | unity/native/papi-lua/lua-5.4.8/src/ldo.c | 61 | #define luai_jmpbuf int /* dummy variable */ | COMMENT |
| LOW | unity/native/papi-v8/include/DataTransfer.h | 21 | PRAGMA_DISABLE_UNDEFINED_IDENTIFIER_WARNINGS | COMMENT |
| LOW | unity/native/papi-v8/include/PuertsNamespaceDef.h | 21 | #define PUERTS_REG_NAMESPACE puerts_qjs | COMMENT |
| LOW | unity/native/papi-v8/include/PuertsNamespaceDef.h | 41 | #elif defined(__clang__) | COMMENT |
| LOW | unity/native/papi-v8/include/PuertsNamespaceDef.h | 61 | # define PUERTS_HAS_ATTRIBUTE_VISIBILITY 0 | COMMENT |
| LOW | unity/native/papi-v8/include/PuertsNamespaceDef.h | 81 | # endif | COMMENT |
| LOW | unity/native/papi-v8/include/JSEngine.h | 1 | /* | COMMENT |
| LOW | unity/native/papi-v8/source/BackendEnv.cpp | 1 | /* | COMMENT |
| LOW | unity/native/papi-v8/source/BackendEnv.cpp | 21 | #elif PLATFORM_LINUX | COMMENT |
| LOW | unity/native/papi-v8/source/BackendEnv.cpp | 341 | auto Platform = static_cast<node::MultiIsolatePlatform*>(GPlatform.get()); | COMMENT |
| LOW | unity/native/papi-quickjs/quickjs/quickjs-c-atomics.h | 21 | * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN | COMMENT |
| LOW | unity/native/papi-quickjs/quickjs/quickjs-c-atomics.h | 41 | #define atomic_store(obj, desired) \ | COMMENT |
| LOW | unity/native/papi-quickjs/quickjs/libbf.h | 21 | * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN | COMMENT |
| LOW | unity/native/papi-quickjs/quickjs/cutils.c | 21 | * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, | COMMENT |
| LOW | unity/native/papi-quickjs/quickjs/libregexp.h | 21 | * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN | COMMENT |
| LOW | unity/native/papi-quickjs/quickjs/quickjs.h | 241 | #define JS_VALUE_GET_OBJ(v) ((JSObject *)JS_VALUE_GET_PTR(v)) | COMMENT |
| LOW | unity/native/papi-quickjs/quickjs/quickjs.h | 261 | #define JS_PROP_VARREF (2 << 4) /* used internally */ | COMMENT |
| LOW | unity/native/papi-quickjs/quickjs/quickjs.h | 281 | #define JS_PROP_NO_EXOTIC (1 << 17) /* internal use */ | COMMENT |
| LOW | unity/native/papi-quickjs/quickjs/quickjs.h | 981 | #define JS_DEF_PROP_STRING 3 | COMMENT |
| LOW | unity/native/papi-quickjs/quickjs/cutils.h | 21 | * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, | COMMENT |
| LOW | unity/native/papi-quickjs/quickjs/cutils.h | 41 | #define ssize_t ptrdiff_t | COMMENT |
| LOW | unity/native/papi-quickjs/quickjs/cutils.h | 61 | # define __ASAN__ 1 | COMMENT |
| LOW | unity/native/papi-quickjs/quickjs/cutils.h | 81 | # define no_inline __attribute__((noinline)) | COMMENT |
| LOW | unity/native/papi-quickjs/quickjs/cutils.h | 101 | #define NEG_INF -INFINITY | COMMENT |
| LOW | unity/native/papi-quickjs/quickjs/libbf.c | 21 | * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN | COMMENT |
| LOW | unity/native/papi-quickjs/quickjs/libbf.c | 41 | #define USE_FFT_MUL | COMMENT |
| LOW | unity/native/papi-quickjs/quickjs/libbf.c | 8421 | COMMENT | |
| LOW | unity/native/papi-quickjs/source/BackendEnv.cpp | 141 | } | COMMENT |
| LOW | unity/native/EASTL/include/EABase/eaunits.h | 21 | // appropriate for binary machines. Many Linux distributions use the unit, but it is | COMMENT |
| LOW | unity/native/EASTL/include/EABase/eaunits.h | 41 | COMMENT | |
| 2699 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | unity/native/EASTL/include/EABase/version.h | 25 | // Example usage: | COMMENT |
| LOW | unity/native/EASTL/include/EABase/eastdarg.h | 21 | // Example usage: | COMMENT |
| LOW | unity/native/EASTL/include/EABase/eastdarg.h | 41 | // Example usage: | COMMENT |
| LOW | unity/native/EASTL/include/EABase/eastdarg.h | 73 | // Example usage: | COMMENT |
| LOW | unity/native/EASTL/include/EABase/eadeprecated.h | 23 | // Example usage: | COMMENT |
| LOW | unity/native/EASTL/include/EABase/eabase.h | 811 | // Example usage: | COMMENT |
| LOW | unity/native/EASTL/include/EABase/eabase.h | 888 | // Example usage: | COMMENT |
| LOW | unity/native/EASTL/include/EABase/eabase.h | 919 | // Example usage: | COMMENT |
| LOW | unity/native/EASTL/include/EABase/eabase.h | 982 | // Example usage: | COMMENT |
| LOW | …/native/EASTL/include/EABase/config/eacompilertraits.h | 193 | // Example usage: | COMMENT |
| LOW | …/native/EASTL/include/EABase/config/eacompilertraits.h | 244 | // Example usage: | COMMENT |
| LOW | …/native/EASTL/include/EABase/config/eacompilertraits.h | 275 | // Example usage: | COMMENT |
| LOW | …/native/EASTL/include/EABase/config/eacompilertraits.h | 293 | // Example usage: | COMMENT |
| LOW | …/native/EASTL/include/EABase/config/eacompilertraits.h | 318 | // Example usage: | COMMENT |
| LOW | …/native/EASTL/include/EABase/config/eacompilertraits.h | 426 | // Example usage: | COMMENT |
| LOW | …/native/EASTL/include/EABase/config/eacompilertraits.h | 454 | // Example usage: | COMMENT |
| LOW | …/native/EASTL/include/EABase/config/eacompilertraits.h | 458 | // Example usage: | COMMENT |
| LOW | …/native/EASTL/include/EABase/config/eacompilertraits.h | 483 | // Example usage: | COMMENT |
| LOW | …/native/EASTL/include/EABase/config/eacompilertraits.h | 507 | // Example usage: | COMMENT |
| LOW | …/native/EASTL/include/EABase/config/eacompilertraits.h | 550 | // Example usage: | COMMENT |
| LOW | …/native/EASTL/include/EABase/config/eacompilertraits.h | 623 | // Example usage: | COMMENT |
| LOW | …/native/EASTL/include/EABase/config/eacompilertraits.h | 626 | // Example usage: | COMMENT |
| LOW | …/native/EASTL/include/EABase/config/eacompilertraits.h | 644 | // Example usage: | COMMENT |
| LOW | …/native/EASTL/include/EABase/config/eacompilertraits.h | 675 | // Example usage: | COMMENT |
| LOW | …/native/EASTL/include/EABase/config/eacompilertraits.h | 699 | // Example usage: | COMMENT |
| LOW | …/native/EASTL/include/EABase/config/eacompilertraits.h | 732 | // Example usage: | COMMENT |
| LOW | …/native/EASTL/include/EABase/config/eacompilertraits.h | 760 | // Example usage: | COMMENT |
| LOW | …/native/EASTL/include/EABase/config/eacompilertraits.h | 810 | // Example usage: | COMMENT |
| LOW | …/native/EASTL/include/EABase/config/eacompilertraits.h | 850 | // Example usage: | COMMENT |
| LOW | …/native/EASTL/include/EABase/config/eacompilertraits.h | 893 | // Example usage: | COMMENT |
| LOW | …/native/EASTL/include/EABase/config/eacompilertraits.h | 933 | // Example usage: | COMMENT |
| LOW | …/native/EASTL/include/EABase/config/eacompilertraits.h | 953 | // Example usage: | COMMENT |
| LOW | …/native/EASTL/include/EABase/config/eacompilertraits.h | 973 | // Example usage: | COMMENT |
| LOW | …/native/EASTL/include/EABase/config/eacompilertraits.h | 1015 | // Example usage: | COMMENT |
| LOW | …/native/EASTL/include/EABase/config/eacompilertraits.h | 1077 | // Example usage: | COMMENT |
| LOW | …/native/EASTL/include/EABase/config/eacompilertraits.h | 1125 | // Example usage: | COMMENT |
| LOW | …/native/EASTL/include/EABase/config/eacompilertraits.h | 1156 | // Example usage: | COMMENT |
| LOW | …/native/EASTL/include/EABase/config/eacompilertraits.h | 1182 | // Example usage: | COMMENT |
| LOW | …/native/EASTL/include/EABase/config/eacompilertraits.h | 1210 | // Example usage: | COMMENT |
| LOW | …/native/EASTL/include/EABase/config/eacompilertraits.h | 1353 | // Example usage: | COMMENT |
| LOW | …/native/EASTL/include/EABase/config/eacompilertraits.h | 1383 | // Example usage: | COMMENT |
| LOW | …/native/EASTL/include/EABase/config/eacompilertraits.h | 1434 | // Example usage: | COMMENT |
| LOW | …/native/EASTL/include/EABase/config/eacompilertraits.h | 1486 | // Example usage: | COMMENT |
| LOW | …/native/EASTL/include/EABase/config/eacompilertraits.h | 1506 | // Example usage: | COMMENT |
| LOW | …/native/EASTL/include/EABase/config/eacompilertraits.h | 1548 | // Example usage: | COMMENT |
| LOW | …/native/EASTL/include/EABase/config/eacompilertraits.h | 1576 | // Example usage: | COMMENT |
| LOW | …/native/EASTL/include/EABase/config/eacompilertraits.h | 1916 | // Example usage: | COMMENT |
| LOW | …/native/EASTL/include/EABase/config/eacompilertraits.h | 1937 | // Example usage: | COMMENT |
| LOW | …/native/EASTL/include/EABase/config/eacompilertraits.h | 1956 | // Example usage: | COMMENT |
| LOW | …/native/EASTL/include/EABase/config/eacompilertraits.h | 1970 | // Example usage: | COMMENT |
| LOW | …/native/EASTL/include/EABase/config/eacompilertraits.h | 1987 | // Example usage: | COMMENT |
| LOW | …/native/EASTL/include/EABase/config/eacompilertraits.h | 2006 | // Example usage: | COMMENT |
| LOW | …/native/EASTL/include/EABase/config/eacompilertraits.h | 2033 | // Example usage: | COMMENT |
| LOW | …/native/EASTL/include/EABase/config/eacompilertraits.h | 2053 | // Example usage: | COMMENT |
| LOW | …/native/EASTL/include/EABase/config/eacompilertraits.h | 2074 | // Example usage: | COMMENT |
| LOW | …/native/EASTL/include/EABase/config/eacompilertraits.h | 2109 | // Example usage: | COMMENT |
| LOW | …/native/EASTL/include/EABase/config/eacompilertraits.h | 2131 | // Example usage: | COMMENT |
| LOW | …/native/EASTL/include/EABase/config/eacompilertraits.h | 2154 | // Example usage: | COMMENT |
| LOW | …/native/EASTL/include/EABase/config/eacompilertraits.h | 2195 | // Example usage: | COMMENT |
| LOW | …/native/EASTL/include/EABase/config/eacompilertraits.h | 2221 | // Example usage: | COMMENT |
| 161 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | …ty/upms/webgl/Javascripts~/PuertsDLLMock/pesapiImpl.ts | 172 | function tryFindAndGetFindedSpecifier(specifier: string, obj: any) { | CODE |
| LOW | …ty/upms/webgl/Javascripts~/PuertsDLLMock/pesapiImpl.ts | 237 | function getExceptionAsNativeString(wasmApi: PuertsJSEngine.UnityAPI, with_stack: boolean): number { | CODE |
| LOW | …ty/upms/webgl/Javascripts~/PuertsDLLMock/pesapiImpl.ts | 264 | function getAndClearLastException() : Error { | CODE |
| LOW | unreal/Puerts/PuertsEditor/UEMeta.ts | 224 | function extractMetaSpecifierFromExpression(expression: ts.Expression, prefix: string, regExp?: RegExp) : MetaSpecifier | CODE |
| LOW | unreal/Puerts/PuertsEditor/UEMeta.ts | 250 | function extractMetaSpecifierFromBinaryExpression(expression: ts.BinaryExpression, prefix: string, regExp?: RegExp) : Me | CODE |
| LOW | unreal/Puerts/PuertsEditor/UEMeta.ts | 311 | function collectMetaDataFromIdentifyDecorator(expressions: ts.NodeArray<ts.Expression>, prefix: string, specifiers: Arra | CODE |
| LOW | unreal/Puerts/PuertsEditor/UEMeta.ts | 353 | function collectMetaDataFromMetaDecorator(expressions: ts.NodeArray<ts.Expression>, prefix: string, specifiers: Array<Me | CODE |
| LOW | unreal/Puerts/PuertsEditor/UEMeta.ts | 390 | function collectMetaDataFromDecorator(decorator: ts.Decorator, prefix: string, specifiers: Array<MetaSpecifier>, metaDat | CODE |
| LOW | unreal/Puerts/PuertsEditor/UEMeta.ts | 423 | function getMetaDataFromDecorators(decorators:ts.NodeArray<ts.Decorator> | null, prefix: string): [Array<MetaSpecifier>, | CODE |
| LOW | unreal/Puerts/PuertsEditor/UEMeta.ts | 831 | function parseNetServiceIdentifiers(InIdentifiers: Array<string>): boolean | CODE |
| LOW | unreal/Puerts/PuertsEditor/UEMeta.ts | 887 | function parseFunctionMetaSpecifier(value: MetaSpecifier): void | CODE |
| LOW | unreal/Puerts/PuertsEditor/UEMeta.ts | 1443 | function parsePropertyMetaSpecifier(value: MetaSpecifier): void | CODE |
| LOW⚡ | unreal/Puerts/PuertsEditor/TypeScriptInternal.ts | 242 | function hasTrailingDirectorySeparator(path: string) { | CODE |
| LOW⚡ | unreal/Puerts/PuertsEditor/TypeScriptInternal.ts | 250 | function ensureTrailingDirectorySeparator(path: Path): Path; | CODE |
| LOW⚡ | unreal/Puerts/PuertsEditor/TypeScriptInternal.ts | 251 | function ensureTrailingDirectorySeparator(path: string): string; | CODE |
| LOW⚡ | unreal/Puerts/PuertsEditor/TypeScriptInternal.ts | 252 | function ensureTrailingDirectorySeparator(path: string) { | CODE |
| LOW⚡ | unreal/Puerts/PuertsEditor/TypeScriptInternal.ts | 439 | function getNormalizedPathComponents(path: string, currentDirectory: string | undefined) { | CODE |
| LOW⚡ | unreal/Puerts/PuertsEditor/TypeScriptInternal.ts | 447 | function removeTrailingDirectorySeparator(path: Path): Path; | CODE |
| LOW⚡ | unreal/Puerts/PuertsEditor/TypeScriptInternal.ts | 448 | function removeTrailingDirectorySeparator(path: string): string; | CODE |
| LOW⚡ | unreal/Puerts/PuertsEditor/TypeScriptInternal.ts | 449 | function removeTrailingDirectorySeparator(path: string) { | CODE |
| LOW⚡ | unreal/Puerts/PuertsEditor/TypeScriptInternal.ts | 1031 | export function getSourceFilePathInNewDir(fileName: string, currentDirectory: string, commonSourceDirectory:string, newD | CODE |
| LOW⚡ | unreal/Puerts/PuertsEditor/TypeScriptInternal.ts | 1035 | function getNormalizedAbsolutePath(fileName: string, currentDirectory: string | undefined) { | CODE |
| LOW⚡ | unreal/Puerts/PuertsEditor/TypeScriptInternal.ts | 1039 | function getSourceFilePathInNewDirWorker(fileName: string, newDirPath: string, currentDirectory: string, commonSourceDir | CODE |
| LOW | unreal/Puerts/PuertsEditor/TypeScriptInternal.ts | 171 | function getFileUrlVolumeSeparatorEnd(url: string, start: number) { | CODE |
| LOW | unreal/Puerts/PuertsEditor/TypeScriptInternal.ts | 313 | function getPathFromPathComponents(pathComponents: ReadonlyArray<string>) { | CODE |
| LOW | unreal/Puerts/PuertsEditor/TypeScriptInternal.ts | 346 | export function getAccessibleFileSystemEntries(path: string): FileSystemEntries { | CODE |
| LOW | unreal/Puerts/PuertsEditor/TypeScriptInternal.ts | 588 | function getRegularExpressionsForWildcards(specs: ReadonlyArray<string> | undefined, basePath: string, usage: "files" | | CODE |
| LOW | unreal/Puerts/PuertsEditor/TypeScriptInternal.ts | 597 | function getRegularExpressionForWildcard(specs: ReadonlyArray<string> | undefined, basePath: string, usage: "files" | "d | CODE |
| LOW | unreal/Puerts/PuertsEditor/TypeScriptInternal.ts | 626 | function equateStringsCaseInsensitive(a: string, b: string) { | CODE |
| LOW | unreal/Puerts/PuertsEditor/TypeScriptInternal.ts | 637 | function equateStringsCaseSensitive(a: string, b: string) { | CODE |
| LOW | unreal/Puerts/PuertsEditor/TypeScriptInternal.ts | 645 | function getAnyExtensionFromPathWorker(path: string, extensions: string | ReadonlyArray<string>, stringEqualityComparer: | CODE |
| LOW | unreal/Puerts/PuertsEditor/TypeScriptInternal.ts | 752 | function compareStringsCaseInsensitive(a: string, b: string) { | CODE |
| LOW | unreal/Puerts/PuertsEditor/TypeScriptInternal.ts | 761 | function compareStringsCaseSensitive(a: string | undefined, b: string | undefined): Comparison { | CODE |
| LOW | unreal/Puerts/PuertsEditor/TypeScriptInternal.ts | 877 | function createGetCanonicalFileName(useCaseSensitiveFileNames: boolean): GetCanonicalFileName { | CODE |
| LOW | unreal/Puerts/PuertsEditor/CodeAnalyze.ts | 936 | function onBlueprintTypeAddOrChange(baseTypeUClass: UE.Class, type: ts.Type, modulePath:string) { | CODE |
| LOW | …/Puerts/Content/JavaScript/PuertsEditor/CodeAnalyze.js | 817 | function onBlueprintTypeAddOrChange(baseTypeUClass, type, modulePath) { | CODE |
| LOW | …/Content/JavaScript/PuertsEditor/TypeScriptInternal.js | 30 | function getFileUrlVolumeSeparatorEnd(url, start) { | CODE |
| LOW | …/Content/JavaScript/PuertsEditor/TypeScriptInternal.js | 99 | function hasTrailingDirectorySeparator(path) { | CODE |
| LOW | …/Content/JavaScript/PuertsEditor/TypeScriptInternal.js | 105 | function ensureTrailingDirectorySeparator(path) { | CODE |
| LOW | …/Content/JavaScript/PuertsEditor/TypeScriptInternal.js | 167 | function getPathFromPathComponents(pathComponents) { | CODE |
| LOW | …/Content/JavaScript/PuertsEditor/TypeScriptInternal.js | 197 | function getAccessibleFileSystemEntries(path) { | CODE |
| LOW | …/Content/JavaScript/PuertsEditor/TypeScriptInternal.js | 275 | function getNormalizedPathComponents(path, currentDirectory) { | CODE |
| LOW | …/Content/JavaScript/PuertsEditor/TypeScriptInternal.js | 281 | function removeTrailingDirectorySeparator(path) { | CODE |
| LOW | …/Content/JavaScript/PuertsEditor/TypeScriptInternal.js | 394 | function getRegularExpressionsForWildcards(specs, basePath, usage) { | CODE |
| LOW | …/Content/JavaScript/PuertsEditor/TypeScriptInternal.js | 400 | function getRegularExpressionForWildcard(specs, basePath, usage) { | CODE |
| LOW⚡ | …/Content/JavaScript/PuertsEditor/TypeScriptInternal.js | 423 | function equateStringsCaseInsensitive(a, b) { | CODE |
| LOW⚡ | …/Content/JavaScript/PuertsEditor/TypeScriptInternal.js | 432 | function equateStringsCaseSensitive(a, b) { | CODE |
| LOW⚡ | …/Content/JavaScript/PuertsEditor/TypeScriptInternal.js | 438 | function getAnyExtensionFromPathWorker(path, extensions, stringEqualityComparer) { | CODE |
| LOW | …/Content/JavaScript/PuertsEditor/TypeScriptInternal.js | 524 | function compareStringsCaseInsensitive(a, b) { | CODE |
| LOW | …/Content/JavaScript/PuertsEditor/TypeScriptInternal.js | 535 | function compareStringsCaseSensitive(a, b) { | CODE |
| LOW | …/Content/JavaScript/PuertsEditor/TypeScriptInternal.js | 622 | function createGetCanonicalFileName(useCaseSensitiveFileNames) { | CODE |
| LOW⚡ | …/Content/JavaScript/PuertsEditor/TypeScriptInternal.js | 739 | function getSourceFilePathInNewDir(fileName, currentDirectory, commonSourceDirectory, newDirPath) { | CODE |
| LOW⚡ | …/Content/JavaScript/PuertsEditor/TypeScriptInternal.js | 743 | function getNormalizedAbsolutePath(fileName, currentDirectory) { | CODE |
| LOW⚡ | …/Content/JavaScript/PuertsEditor/TypeScriptInternal.js | 746 | function getSourceFilePathInNewDirWorker(fileName, newDirPath, currentDirectory, commonSourceDirectory, getCanonicalFile | CODE |
| LOW | unreal/Puerts/Content/JavaScript/PuertsEditor/UEMeta.js | 189 | function extractMetaSpecifierFromExpression(expression, prefix, regExp) { | CODE |
| LOW | unreal/Puerts/Content/JavaScript/PuertsEditor/UEMeta.js | 212 | function extractMetaSpecifierFromBinaryExpression(expression, prefix, regExp) { | CODE |
| LOW | unreal/Puerts/Content/JavaScript/PuertsEditor/UEMeta.js | 259 | function collectMetaDataFromIdentifyDecorator(expressions, prefix, specifiers, metaData, keyRegExp, keyValueRegExp) { | CODE |
| LOW | unreal/Puerts/Content/JavaScript/PuertsEditor/UEMeta.js | 292 | function collectMetaDataFromMetaDecorator(expressions, prefix, specifiers, metaData, keyRegExp, keyValueRegExp) { | CODE |
| LOW | unreal/Puerts/Content/JavaScript/PuertsEditor/UEMeta.js | 322 | function collectMetaDataFromDecorator(decorator, prefix, specifiers, metaData) { | CODE |
| LOW | unreal/Puerts/Content/JavaScript/PuertsEditor/UEMeta.js | 352 | function getMetaDataFromDecorators(decorators, prefix) { | CODE |
| 5 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| CRITICAL | unity/test/Src/Cases/Lua/API/TypedValueTest.cs | 20 | CS.Puerts.UnitTest.JSTypeTest.TypedValueTestHelper.Callback(value) | CODE |
| CRITICAL | unity/test/Src/Cases/Lua/API/TypedValueTest.cs | 37 | CS.Puerts.UnitTest.JSTypeTest.TypedValueTestHelper.Callback(value) | CODE |
| CRITICAL | …y/test/Src/Cases/Javascript/CrossLang/CrossLangTest.cs | 2409 | const res = CS.System.Object.prototype.ToString.call(sb); | CODE |
| CRITICAL | unity/test/Src/Cases/Javascript/API/TypedValueTest.cs | 74 | CS.Puerts.UnitTest.JSTypeTest.TypedValueTestHelper.Callback(value); | CODE |
| CRITICAL | unity/test/Src/Cases/Javascript/API/TypedValueTest.cs | 91 | CS.Puerts.UnitTest.JSTypeTest.TypedValueTestHelper.Callback(value); | CODE |
| CRITICAL | unity/upms/v8/Editor/Src/Generator/DTSUnityMenu.cs | 110 | Puerts.Editor.Generator.DTS.TypingGenInfo.FromTypes(tsTypes), csharpModuleWillGen); | CODE |
| CRITICAL | unity/upms/core/Runtime/Src/Utils.cs | 460 | var files = await Windows.ApplicationModel.Package.Current.InstalledLocation.GetFilesAsync(); | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | unity/native/EASTL/include/EABase/eabase.h | 440 | #define PRIoPTR PRIo32 // integers. However, you can't simply use "p" because | COMMENT |
| LOW | unity/native/EASTL/include/EABase/eabase.h | 495 | #define SCNoPTR SCNo32 // integers. However, you can't simply use "p" because | COMMENT |
| MEDIUM | unity/native/EASTL/include/EASTL/finally.h | 10 | // technique to write robust code in execution environments that have exceptions | COMMENT |
| MEDIUM | unity/native/EASTL/include/EASTL/variant.h | 1009 | // Essentially we construct the matrix bottom up, row by row of indices and return an array of function pointers. | COMMENT |
| MEDIUM | unity/native/EASTL/include/EASTL/variant.h | 1023 | // Essentially we create a tree of function pointers like so. | COMMENT |
| MEDIUM | unity/native/EASTL/include/EASTL/variant.h | 1044 | // Essentially each call creates a N sized array of function pointers that is the concatention of the indices known so | COMMENT |
| MEDIUM | unity/native/EASTL/include/EASTL/atomic.h | 1441 | // Essentially volatile turns off all possible optimizations on that variable access and ensures all volatile variable | COMMENT |
| MEDIUM | unity/native/EASTL/include/EASTL/atomic.h | 1468 | // Essentially this provides all the necessary guarantees needed when treating an object as atomic from the compilers | COMMENT |
| MEDIUM | unity/native/EASTL/include/EASTL/internal/memory_base.h | 17 | // have limited or no dependencies. This allows us to utilize these utilize these functions | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | unity/skills/puerts-agent-development/SKILL.md | 255 | ### Step 1: Create Resource Directory | COMMENT |
| LOW⚡ | unity/skills/puerts-agent-development/SKILL.md | 264 | ### Step 2: Write Role Definition | COMMENT |
| LOW⚡ | unity/skills/puerts-agent-development/SKILL.md | 273 | ### Step 3: Write Domain Skills (Optional) | COMMENT |
| LOW⚡ | unity/skills/puerts-agent-development/SKILL.md | 279 | ### Step 4: Write Helper Modules | COMMENT |
| LOW⚡ | unity/skills/puerts-agent-development/SKILL.md | 286 | ### Step 5: Initialize the Agent | COMMENT |
| LOW⚡ | doc/unity/en/tutorial/agent-development-guide.md | 218 | ### Step 1: Create the Resource Directory | COMMENT |
| LOW⚡ | doc/unity/en/tutorial/agent-development-guide.md | 227 | ### Step 2: Write the Role Definition | COMMENT |
| LOW⚡ | doc/unity/en/tutorial/agent-development-guide.md | 236 | ### Step 3: Write Domain Skills (Optional) | COMMENT |
| LOW⚡ | doc/unity/en/tutorial/agent-development-guide.md | 242 | ### Step 4: Write Helper Modules | COMMENT |
| LOW | doc/unity/en/tutorial/agent-development-guide.md | 279 | ### Step 5: Initialize the Agent | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | unity/upms/agent/Runtime/TypeReflectionBridge.cs | 21 | // ────── Caches ────── | COMMENT |
| MEDIUM | unity/upms/agent/Runtime/TypeReflectionBridge.cs | 33 | // ────── Data Models ────── | COMMENT |
| MEDIUM | unity/upms/agent/Runtime/TypeReflectionBridge.cs | 55 | // ────── Public API ────── | COMMENT |
| MEDIUM | unity/upms/agent/Runtime/TypeReflectionBridge.cs | 195 | // ────── Cache Building ────── | COMMENT |
| MEDIUM | unity/upms/agent/Runtime/TypeReflectionBridge.cs | 386 | // ────── Helpers ────── | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | .github/workflows/run_android_test.sh | 60 | # Check if we have enough memory (at least 500MB) | COMMENT |
| LOW | .github/workflows/run_android_test.sh | 113 | # Check if process still exists by looking for the PID | COMMENT |
| LOW | .github/workflows/run_android_test.sh | 137 | # Check if app sent SIGKILL signal (normal exit pattern) | COMMENT |
| LOW | .github/workflows/run_android_test.sh | 175 | # Check if it was preceded by a normal signal | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | unity/upms/python/Runtime/Src/Backends/BackendPython.cs | 115 | except Exception: | STRING |
| LOW | unity/upms/python/Runtime/Src/Backends/BackendPython.cs | 164 | except Exception as e: | STRING |
| LOW | unity/upms/python/Runtime/Src/Backends/BackendPython.cs | 183 | except Exception as e: | STRING |
| LOW | unity/upms/python/Runtime/Src/Backends/BackendPython.cs | 238 | except Exception as e: | STRING |
| LOW | unity/upms/python/Runtime/Src/Backends/BackendPython.cs | 311 | except Exception as e: | STRING |
| LOW | unity/upms/python/Runtime/Src/Backends/BackendPython.cs | 328 | except Exception as e: | STRING |
| LOW | unity/upms/python/Runtime/Src/Backends/BackendPython.cs | 346 | except Exception as e: | STRING |
| MEDIUM | unity/upms/python/Runtime/Src/Backends/BackendPython.cs | 103 | def find_spec(self, fullname, path=None, target=None): | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | unity/native/EASTL/include/EASTL/atomic.h | 688 | // The insertion of the read memory barrier creates the required memory barrier pairing as discussed above and ensures | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | unity/native/EASTL/include/EASTL/segmented_vector.h | 263 | // branchy (we need to check if there's a free segment) | COMMENT |