Repository Analysis

moonlight-stream/moonlight-android

GameStream client for Android

7.3 Low AI signal View on GitHub

Analysis Overview

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).

7.3
Adjusted Score
7.3
Raw Score
100%
Time Factor
2026-09-02
Last Push
7.0K
Stars
C
Language
75.3K
Lines of Code
399
Files
693
Pattern Hits
2026-09-02
Scan Date
0.00
HC Hit Rate

What These Metrics Mean

Adjusted Score
Primary synthetic code indicator. Raw score normalised per 1,000 lines of code and multiplied by the temporal discount factor. This is the definitive comparative metric — use it to rank repositories by AI authorship density.
Raw Score
The unmodified sum of all severity-weighted, context-multiplied pattern match scores before temporal discounting. Reflects the absolute signal strength independent of when the repository was last active.
Time Factor
The temporal discount multiplier (0–100%) applied to the raw score. Repositories last updated before ChatGPT's launch (Nov 2022) receive a 5% factor. Full signal is only assigned to repositories active in the post-adoption era (Jan 2024+).
Pattern Hits
Total count of individual pattern matches across all files and categories. A high hit count with a low score may indicate a very large codebase with isolated AI snippets; a low count with a high score indicates dense, concentrated AI signatures.
HC Hit Rate
High+Critical pattern hits per file, averaged across the repository. This orthogonal signal catches repositories where a few files are densely packed with high-severity AI tells — a strong indicator even when the normalised score appears moderate due to codebase size.
Lines of Code / Files
Total lines and files analysed. The scanner examines 94 file extensions. These denominators are used to normalise the score, enabling fair comparison between repositories of vastly different sizes.

Score History

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.

No multi-scan history yet — run the scanner again to build trend data.

Severity Breakdown

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.

CRITICAL 0HIGH 0MEDIUM 1LOW 692

Directory Score Breakdown

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.

Pattern Findings

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.

Over-Commented Block689 hits · 546 pts
SeverityFileLineSnippetContext
LOW…java/com/limelight/binding/video/MediaCodecHelper.java141COMMENT
LOW…java/com/limelight/binding/video/MediaCodecHelper.java161 !Build.DEVICE.equalsIgnoreCase("mocha") &&COMMENT
LOW…java/com/limelight/binding/video/MediaCodecHelper.java321 // are likely to be okay.COMMENT
LOW…java/com/limelight/binding/video/MediaCodecHelper.java481 // Operate at maximum rate to lower latency as much as possible onCOMMENT
LOW…java/com/limelight/binding/video/MediaCodecHelper.java541 }COMMENT
LOW…limelight/binding/video/MediaCodecDecoderRenderer.java1461COMMENT
LOWapp/src/main/jni/evdev_reader/evdev_reader.c1#include <stdlib.h>COMMENT
LOWapp/src/main/jni/moonlight-core/controller_list.h601 //{ MAKE_CONTROLLER_ID( 0x057e, 0x2019 ), k_eControllerType_SwitchProController, NULL }, // Nintendo Online NCOMMENT
LOWapp/src/main/jni/moonlight-core/usb_ids.h21COMMENT
LOWapp/src/main/jni/moonlight-core/usb_ids.h41#define USB_VENDOR_HARMONIX 0x1badCOMMENT
LOWapp/src/main/jni/moonlight-core/usb_ids.h61#define USB_VENDOR_SCEA 0x12baCOMMENT
LOWapp/src/main/jni/moonlight-core/usb_ids.h81#define USB_PRODUCT_8BITDO_ULTIMATE3 0x202f // mode switch to BTCOMMENT
LOWapp/src/main/jni/moonlight-core/usb_ids.h101#define USB_PRODUCT_HARMONIX_WII_RB2_GUITAR 0x3010COMMENT
LOWapp/src/main/jni/moonlight-core/usb_ids.h121#define USB_PRODUCT_NINTENDO_N64_CONTROLLER 0x2019COMMENT
LOWapp/src/main/jni/moonlight-core/usb_ids.h141#define USB_PRODUCT_PDP_XB1_JAGUAR_GUITAR 0x0170COMMENT
LOWapp/src/main/jni/moonlight-core/usb_ids.h161#define USB_PRODUCT_RAZER_WOLVERINE_V3_PRO 0x0a3fCOMMENT
LOWapp/src/main/jni/moonlight-core/usb_ids.h181#define USB_PRODUCT_SWITCH_RETRO_CONTROLLER 0x0575COMMENT
LOWapp/src/main/jni/moonlight-core/usb_ids.h201#define USB_PRODUCT_XBOX_ONE_S 0x02eaCOMMENT
LOWapp/src/main/jni/moonlight-core/usb_ids.h221// USB usage pagesCOMMENT
LOWapp/src/main/jni/moonlight-core/usb_ids.h241#define USB_USAGE_GENERIC_RY 0x0034COMMENT
LOW…main/jni/moonlight-core/libopus/include/opus_defines.h61/**@}*/COMMENT
LOW…main/jni/moonlight-core/libopus/include/opus_defines.h81# if defined(__GNUC__)&&defined(__GNUC_MINOR__)COMMENT
LOW…main/jni/moonlight-core/libopus/include/opus_defines.h101#if (!defined(__STDC_VERSION__) || (__STDC_VERSION__ < 199901L) )COMMENT
LOW…main/jni/moonlight-core/libopus/include/opus_defines.h121#if !defined(OPUS_BUILD) && defined(__GNUC__) && OPUS_GNUC_PREREQ(3, 4)COMMENT
LOW…main/jni/moonlight-core/libopus/include/opus_defines.h141#define OPUS_GET_COMPLEXITY_REQUEST 4011COMMENT
LOW…main/jni/moonlight-core/libopus/include/opus_defines.h161#define OPUS_SET_LSB_DEPTH_REQUEST 4036COMMENT
LOW…main/jni/moonlight-core/libopus/include/opus_defines.h181#define __opus_check_int(x) (((void)((x) == (opus_int32)0)), (opus_int32)(x))COMMENT
LOW…main/jni/moonlight-core/libopus/include/opus_defines.h221#define OPUS_BANDWIDTH_MEDIUMBAND 1102 /**< 6 kHz bandpass @hideinitializer*/COMMENT
LOW…/main/jni/moonlight-core/openssl/include/openssl/kdf.h21# define EVP_PKEY_CTRL_HKDF_MD (EVP_PKEY_ALG_CTRL + 3)COMMENT
LOW…/main/jni/moonlight-core/openssl/include/openssl/pem.h21extern "C" {COMMENT
LOW…/main/jni/moonlight-core/openssl/include/openssl/pem.h41# define PEM_STRING_PKCS8INF "PRIVATE KEY"COMMENT
LOW…/jni/moonlight-core/openssl/include/openssl/asyncerr.h21int ERR_load_ASYNC_strings(void);COMMENT
LOW…/main/jni/moonlight-core/openssl/include/openssl/md2.h41# endifCOMMENT
LOW…main/jni/moonlight-core/openssl/include/openssl/ssl3.h41# define SSL3_CK_RSA_IDEA_128_SHA 0x03000007COMMENT
LOW…main/jni/moonlight-core/openssl/include/openssl/ssl3.h61# define SSL3_CK_DHE_RSA_DES_64_CBC_SHA 0x03000015COMMENT
LOW…main/jni/moonlight-core/openssl/include/openssl/ssl3.h81# define SSL3_RFC_RSA_RC4_128_SHA "TLS_RSA_WITH_RC4_128_SHA"COMMENT
LOW…main/jni/moonlight-core/openssl/include/openssl/ssl3.h101COMMENT
LOW…main/jni/moonlight-core/openssl/include/openssl/ssl3.h121# define SSL3_TXT_ADH_RC4_40_MD5 "EXP-ADH-RC4-MD5"COMMENT
LOW…main/jni/moonlight-core/openssl/include/openssl/ssl3.h201# define SSL3_RT_MAX_TLS13_ENCRYPTED_LENGTH \COMMENT
LOW…main/jni/moonlight-core/openssl/include/openssl/ssl3.h221# define TLS1_RT_CRYPTO_PREMASTER (TLS1_RT_CRYPTO | 0x1)COMMENT
LOW…main/jni/moonlight-core/openssl/include/openssl/ssl3.h241# define SSL3_AD_UNEXPECTED_MESSAGE 10/* fatal */COMMENT
LOW…main/jni/moonlight-core/openssl/include/openssl/ssl3.h261# define SSL3_CT_RSA_EPHEMERAL_DH 5COMMENT
LOW…main/jni/moonlight-core/openssl/include/openssl/ssl3.h301# define SSL3_MT_NEWSESSION_TICKET 4COMMENT
LOW…main/jni/moonlight-core/openssl/include/openssl/ssl3.h321/* Dummy message type for handling CCS like a normal handshake message */COMMENT
LOW…main/jni/moonlight-core/openssl/include/openssl/ssl3.h341#endifCOMMENT
LOW…/jni/moonlight-core/openssl/include/openssl/ossl_typ.h21# ifdef NO_ASN1_TYPEDEFSCOMMENT
LOW…/jni/moonlight-core/openssl/include/openssl/ossl_typ.h61COMMENT
LOW…/main/jni/moonlight-core/openssl/include/openssl/err.h21# include <openssl/bio.h>COMMENT
LOW…/main/jni/moonlight-core/openssl/include/openssl/err.h61# define ERR_LIB_OBJ 8COMMENT
LOW…/main/jni/moonlight-core/openssl/include/openssl/err.h81# define ERR_LIB_DSO 37COMMENT
LOW…/main/jni/moonlight-core/openssl/include/openssl/err.h101# 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.h121# 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.h141 (((unsigned int)(r) & 0xFFF) ) )COMMENT
LOW…/main/jni/moonlight-core/openssl/include/openssl/err.h161# define SYS_F_SETSOCKOPT 14COMMENT
LOW…/main/jni/moonlight-core/openssl/include/openssl/err.h181# define ERR_R_PEM_LIB ERR_LIB_PEM/* 9 */COMMENT
LOW…c/main/jni/moonlight-core/openssl/include/openssl/bn.h61# define BN_FLG_CONSTTIME 0x04COMMENT
LOW…c/main/jni/moonlight-core/openssl/include/openssl/bn.h521COMMENT
LOW…/main/jni/moonlight-core/openssl/include/openssl/cms.h41# define CMS_SIGNERINFO_ISSUER_SERIAL 0COMMENT
LOW…/main/jni/moonlight-core/openssl/include/openssl/cms.h61# define CMS_NOVERIFY 0x20COMMENT
LOW…in/jni/moonlight-core/openssl/include/openssl/engine.h21# include <openssl/dh.h>COMMENT
629 more matches not shown…
AI Slop Vocabulary1 hit · 3 pts
SeverityFileLineSnippetContext
MEDIUMapp/src/main/java/com/limelight/Game.java2546 // We want to change frame rate even if it's not seamless, since prepareDisplayForRendering()COMMENT
Slop Phrases2 hits · 2 pts
SeverityFileLineSnippetContext
LOWapp/src/main/res/values/arrays.xml46 <!-- Don't forget to update locales_config.xml when you modify this! -->CODE
LOWapp/src/main/res/xml/locales_config.xml3 <!-- Don't forget to update arrays.xml when you modify this file! -->CODE
TODO Padding1 hit · 1 pts
SeverityFileLineSnippetContext
LOW…ight/binding/input/virtual_controller/AnalogStick.java93 private boolean circle_stick = true; // TODO: implement square sick for simulationsCODE