GameStream client for Android
This report presents the forensic synthetic code analysis of moonlight-stream/moonlight-android, a C project with 7,045 GitHub stars. SynthScan v2.0 examined 75,345 lines of code across 399 source files, recording 693 pattern matches distributed across 4 syntactic categories. The overall adjusted score of 7.3 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 693 distinct pattern matches across 4 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 | …java/com/limelight/binding/video/MediaCodecHelper.java | 141 | COMMENT | |
| LOW | …java/com/limelight/binding/video/MediaCodecHelper.java | 161 | !Build.DEVICE.equalsIgnoreCase("mocha") && | COMMENT |
| LOW | …java/com/limelight/binding/video/MediaCodecHelper.java | 321 | // are likely to be okay. | COMMENT |
| LOW | …java/com/limelight/binding/video/MediaCodecHelper.java | 481 | // Operate at maximum rate to lower latency as much as possible on | COMMENT |
| LOW | …java/com/limelight/binding/video/MediaCodecHelper.java | 541 | } | COMMENT |
| LOW | …limelight/binding/video/MediaCodecDecoderRenderer.java | 1461 | COMMENT | |
| LOW | app/src/main/jni/evdev_reader/evdev_reader.c | 1 | #include <stdlib.h> | COMMENT |
| LOW | app/src/main/jni/moonlight-core/controller_list.h | 601 | //{ MAKE_CONTROLLER_ID( 0x057e, 0x2019 ), k_eControllerType_SwitchProController, NULL }, // Nintendo Online N | COMMENT |
| LOW | app/src/main/jni/moonlight-core/usb_ids.h | 21 | COMMENT | |
| LOW | app/src/main/jni/moonlight-core/usb_ids.h | 41 | #define USB_VENDOR_HARMONIX 0x1bad | COMMENT |
| LOW | app/src/main/jni/moonlight-core/usb_ids.h | 61 | #define USB_VENDOR_SCEA 0x12ba | COMMENT |
| LOW | app/src/main/jni/moonlight-core/usb_ids.h | 81 | #define USB_PRODUCT_8BITDO_ULTIMATE3 0x202f // mode switch to BT | COMMENT |
| LOW | app/src/main/jni/moonlight-core/usb_ids.h | 101 | #define USB_PRODUCT_HARMONIX_WII_RB2_GUITAR 0x3010 | COMMENT |
| LOW | app/src/main/jni/moonlight-core/usb_ids.h | 121 | #define USB_PRODUCT_NINTENDO_N64_CONTROLLER 0x2019 | COMMENT |
| LOW | app/src/main/jni/moonlight-core/usb_ids.h | 141 | #define USB_PRODUCT_PDP_XB1_JAGUAR_GUITAR 0x0170 | COMMENT |
| LOW | app/src/main/jni/moonlight-core/usb_ids.h | 161 | #define USB_PRODUCT_RAZER_WOLVERINE_V3_PRO 0x0a3f | COMMENT |
| LOW | app/src/main/jni/moonlight-core/usb_ids.h | 181 | #define USB_PRODUCT_SWITCH_RETRO_CONTROLLER 0x0575 | COMMENT |
| LOW | app/src/main/jni/moonlight-core/usb_ids.h | 201 | #define USB_PRODUCT_XBOX_ONE_S 0x02ea | COMMENT |
| LOW | app/src/main/jni/moonlight-core/usb_ids.h | 221 | // USB usage pages | COMMENT |
| LOW | app/src/main/jni/moonlight-core/usb_ids.h | 241 | #define USB_USAGE_GENERIC_RY 0x0034 | COMMENT |
| LOW | …main/jni/moonlight-core/libopus/include/opus_defines.h | 61 | /**@}*/ | COMMENT |
| LOW | …main/jni/moonlight-core/libopus/include/opus_defines.h | 81 | # if defined(__GNUC__)&&defined(__GNUC_MINOR__) | COMMENT |
| LOW | …main/jni/moonlight-core/libopus/include/opus_defines.h | 101 | #if (!defined(__STDC_VERSION__) || (__STDC_VERSION__ < 199901L) ) | COMMENT |
| LOW | …main/jni/moonlight-core/libopus/include/opus_defines.h | 121 | #if !defined(OPUS_BUILD) && defined(__GNUC__) && OPUS_GNUC_PREREQ(3, 4) | COMMENT |
| LOW | …main/jni/moonlight-core/libopus/include/opus_defines.h | 141 | #define OPUS_GET_COMPLEXITY_REQUEST 4011 | COMMENT |
| LOW | …main/jni/moonlight-core/libopus/include/opus_defines.h | 161 | #define OPUS_SET_LSB_DEPTH_REQUEST 4036 | COMMENT |
| LOW | …main/jni/moonlight-core/libopus/include/opus_defines.h | 181 | #define __opus_check_int(x) (((void)((x) == (opus_int32)0)), (opus_int32)(x)) | COMMENT |
| LOW | …main/jni/moonlight-core/libopus/include/opus_defines.h | 221 | #define OPUS_BANDWIDTH_MEDIUMBAND 1102 /**< 6 kHz bandpass @hideinitializer*/ | COMMENT |
| LOW | …/main/jni/moonlight-core/openssl/include/openssl/kdf.h | 21 | # define EVP_PKEY_CTRL_HKDF_MD (EVP_PKEY_ALG_CTRL + 3) | COMMENT |
| LOW | …/main/jni/moonlight-core/openssl/include/openssl/pem.h | 21 | extern "C" { | COMMENT |
| LOW | …/main/jni/moonlight-core/openssl/include/openssl/pem.h | 41 | # define PEM_STRING_PKCS8INF "PRIVATE KEY" | COMMENT |
| LOW | …/jni/moonlight-core/openssl/include/openssl/asyncerr.h | 21 | int ERR_load_ASYNC_strings(void); | COMMENT |
| LOW | …/main/jni/moonlight-core/openssl/include/openssl/md2.h | 41 | # endif | COMMENT |
| LOW | …main/jni/moonlight-core/openssl/include/openssl/ssl3.h | 41 | # define SSL3_CK_RSA_IDEA_128_SHA 0x03000007 | COMMENT |
| LOW | …main/jni/moonlight-core/openssl/include/openssl/ssl3.h | 61 | # define SSL3_CK_DHE_RSA_DES_64_CBC_SHA 0x03000015 | COMMENT |
| LOW | …main/jni/moonlight-core/openssl/include/openssl/ssl3.h | 81 | # define SSL3_RFC_RSA_RC4_128_SHA "TLS_RSA_WITH_RC4_128_SHA" | COMMENT |
| LOW | …main/jni/moonlight-core/openssl/include/openssl/ssl3.h | 101 | COMMENT | |
| LOW | …main/jni/moonlight-core/openssl/include/openssl/ssl3.h | 121 | # define SSL3_TXT_ADH_RC4_40_MD5 "EXP-ADH-RC4-MD5" | COMMENT |
| LOW | …main/jni/moonlight-core/openssl/include/openssl/ssl3.h | 201 | # define SSL3_RT_MAX_TLS13_ENCRYPTED_LENGTH \ | COMMENT |
| LOW | …main/jni/moonlight-core/openssl/include/openssl/ssl3.h | 221 | # define TLS1_RT_CRYPTO_PREMASTER (TLS1_RT_CRYPTO | 0x1) | COMMENT |
| LOW | …main/jni/moonlight-core/openssl/include/openssl/ssl3.h | 241 | # define SSL3_AD_UNEXPECTED_MESSAGE 10/* fatal */ | COMMENT |
| LOW | …main/jni/moonlight-core/openssl/include/openssl/ssl3.h | 261 | # define SSL3_CT_RSA_EPHEMERAL_DH 5 | COMMENT |
| LOW | …main/jni/moonlight-core/openssl/include/openssl/ssl3.h | 301 | # define SSL3_MT_NEWSESSION_TICKET 4 | COMMENT |
| LOW | …main/jni/moonlight-core/openssl/include/openssl/ssl3.h | 321 | /* Dummy message type for handling CCS like a normal handshake message */ | COMMENT |
| LOW | …main/jni/moonlight-core/openssl/include/openssl/ssl3.h | 341 | #endif | COMMENT |
| LOW | …/jni/moonlight-core/openssl/include/openssl/ossl_typ.h | 21 | # ifdef NO_ASN1_TYPEDEFS | COMMENT |
| LOW | …/jni/moonlight-core/openssl/include/openssl/ossl_typ.h | 61 | COMMENT | |
| LOW | …/main/jni/moonlight-core/openssl/include/openssl/err.h | 21 | # include <openssl/bio.h> | COMMENT |
| LOW | …/main/jni/moonlight-core/openssl/include/openssl/err.h | 61 | # define ERR_LIB_OBJ 8 | COMMENT |
| LOW | …/main/jni/moonlight-core/openssl/include/openssl/err.h | 81 | # define ERR_LIB_DSO 37 | COMMENT |
| LOW | …/main/jni/moonlight-core/openssl/include/openssl/err.h | 101 | # define SYSerr(f,r) ERR_PUT_error(ERR_LIB_SYS,(f),(r),OPENSSL_FILE,OPENSSL_LINE) | COMMENT |
| LOW | …/main/jni/moonlight-core/openssl/include/openssl/err.h | 121 | # define DSOerr(f,r) ERR_PUT_error(ERR_LIB_DSO,(f),(r),OPENSSL_FILE,OPENSSL_LINE) | COMMENT |
| LOW | …/main/jni/moonlight-core/openssl/include/openssl/err.h | 141 | (((unsigned int)(r) & 0xFFF) ) ) | COMMENT |
| LOW | …/main/jni/moonlight-core/openssl/include/openssl/err.h | 161 | # define SYS_F_SETSOCKOPT 14 | COMMENT |
| LOW | …/main/jni/moonlight-core/openssl/include/openssl/err.h | 181 | # define ERR_R_PEM_LIB ERR_LIB_PEM/* 9 */ | COMMENT |
| LOW | …c/main/jni/moonlight-core/openssl/include/openssl/bn.h | 61 | # define BN_FLG_CONSTTIME 0x04 | COMMENT |
| LOW | …c/main/jni/moonlight-core/openssl/include/openssl/bn.h | 521 | COMMENT | |
| LOW | …/main/jni/moonlight-core/openssl/include/openssl/cms.h | 41 | # define CMS_SIGNERINFO_ISSUER_SERIAL 0 | COMMENT |
| LOW | …/main/jni/moonlight-core/openssl/include/openssl/cms.h | 61 | # define CMS_NOVERIFY 0x20 | COMMENT |
| LOW | …in/jni/moonlight-core/openssl/include/openssl/engine.h | 21 | # include <openssl/dh.h> | COMMENT |
| 629 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | app/src/main/java/com/limelight/Game.java | 2546 | // We want to change frame rate even if it's not seamless, since prepareDisplayForRendering() | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | app/src/main/res/values/arrays.xml | 46 | <!-- Don't forget to update locales_config.xml when you modify this! --> | CODE |
| LOW | app/src/main/res/xml/locales_config.xml | 3 | <!-- Don't forget to update arrays.xml when you modify this file! --> | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | …ight/binding/input/virtual_controller/AnalogStick.java | 93 | private boolean circle_stick = true; // TODO: implement square sick for simulations | CODE |