AI Slop Code Risk Monitor

Genymobile/scrcpy

SlopCodeMonitor badge for Genymobile/scrcpy Adjusted legacy signal; badge bands: 25 / 50 / 75 (different from dashboard bands).

Display and control your Android device

2.0 Low pattern signal View on GitHub

Open-Source Code Quality, Security and Technical Debt Review

This report summarizes scanner evidence for Genymobile/scrcpy, a C project with 153,620 GitHub stars. SynthScan examined 54,298 lines of code across 348 source files, recording 68 pattern matches distributed across 3 syntactic categories. The legacy adjusted pattern signal is 2.0 (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.

2.0
Adjusted Signal
2.0
Raw Pattern Score
100%
Time Factor
2026-10-26
Last Push
153.6K
Stars
C
Language
54.3K
Lines of Code
348
Files
68
Pattern Hits
2026-10-31
Scan Date
0.01
HC Hit Rate

Risk Review · Payload v1

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

Payload schema: 1.0.0 · Engine: 2.0.0 · Scoring: heuristic-density-v1 · Scan date: 2026-10-31.

Cognitive Ownership Risk 5.9/100 · LOW

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

Hallucinated Dependency & Supply Chain Risk 3.6/100 · LOW

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

Agent Over-Engineering Ratio 0.0/100 · LOW

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

PR Review Velocity Impact 9.3/100 · LOW

Which changes need focused human review? 68 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 4HIGH 0MEDIUM 1LOW 63

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 68 distinct pattern matches across 3 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 Block63 hits · 63 pts
SeverityFileLineSnippetContext
LOWapp/src/audio_regulator.h1#ifndef SC_AUDIO_REGULATOR_HCOMMENT
LOWapp/src/egl.h1#ifndef SC_EGL_HCOMMENT
LOWapp/src/recorder.c1#include "recorder.h"COMMENT
LOWapp/src/demuxer.c1#include "demuxer.h"COMMENT
LOWapp/src/demuxer.c61 }COMMENT
LOWapp/src/demuxer.c81 // ^<------------------------------->^COMMENT
LOWapp/src/demuxer.c101 // The most significant bits of the PTS are used for packet flags:COMMENT
LOWapp/src/cli.c1#include "cli.h"COMMENT
LOWapp/src/compat.c1#include "compat.h"COMMENT
LOWapp/src/scrcpy.c1#include "scrcpy.h"COMMENT
LOWapp/src/scrcpy.c21#include "events.h"COMMENT
LOWapp/src/scrcpy.c41#include "util/log.h"COMMENT
LOWapp/src/input_manager.h1#ifndef SC_INPUTMANAGER_HCOMMENT
LOWapp/src/screen.c1#include "screen.h"COMMENT
LOWapp/src/video_regulator.h1#ifndef SC_VIDEO_REGULATOR_HCOMMENT
LOWapp/src/audio_player.h1#ifndef SC_AUDIO_PLAYER_HCOMMENT
LOWapp/src/server.c1#include "server.h"COMMENT
LOWapp/src/server.c461 cmd[count++] = NULL;COMMENT
LOWapp/src/recorder.h1#ifndef SC_RECORDER_HCOMMENT
LOWapp/src/shortcut_mod.h1#ifndef SC_SHORTCUT_MOD_HCOMMENT
LOWapp/src/common.h1#ifndef SC_COMMON_HCOMMENT
LOWapp/src/main.c1#include "common.h"COMMENT
LOWapp/src/control_msg.h1#ifndef SC_CONTROLMSG_HCOMMENT
LOWapp/src/compat.h1#ifndef SC_COMPAT_HCOMMENT
LOWapp/src/compat.h21// Deprecate AVFormatContext.{nb_,}side_data, av_stream_add_side_data(),COMMENT
LOWapp/src/vaapi_shim.c1// Load libva and libdrm at runtime (static builds only)COMMENT
LOWapp/src/version.c1#include "version.h"COMMENT
LOWapp/src/hwdec.c1#include "hwdec.h"COMMENT
LOWapp/src/texture.h1#ifndef SC_TEXTURE_HCOMMENT
LOWapp/src/screen.h1#ifndef SC_SCREEN_HCOMMENT
LOWapp/src/input_manager.c1#include "input_manager.h"COMMENT
LOWapp/src/input_manager.c961COMMENT
LOWapp/src/icon.c1#include "icon.h"COMMENT
LOWapp/src/server.h1#ifndef SC_SERVER_HCOMMENT
LOWapp/src/options.c141 // transformation requires an additional 180 degrees rotation toCOMMENT
LOWapp/src/keyboard_sdk.c1#include "keyboard_sdk.h"COMMENT
LOWapp/src/uhid/gamepad_uhid.c1#include "gamepad_uhid.h"COMMENT
LOWapp/src/util/env.h1#ifndef SC_ENV_HCOMMENT
LOWapp/src/util/term.c1#include "term.h"COMMENT
LOWapp/src/util/net.h1#ifndef SC_NET_HCOMMENT
LOWapp/src/util/net.h21// On Windows and macOS, shutdown() does not interrupt accept() or read()COMMENT
LOWapp/src/util/tick.h1#ifndef SC_TICK_HCOMMENT
LOWapp/src/util/command.c21 goto end; \COMMENT
LOWapp/src/util/str.c1#include "str.h"COMMENT
LOWapp/src/util/vecdeque.h141 size_t oldcap = *pcap;COMMENT
LOWapp/src/util/log.h1#ifndef SC_LOG_HCOMMENT
LOWapp/src/util/net.c1#include "net.h"COMMENT
LOWapp/src/util/process.h1#ifndef SC_PROCESS_HCOMMENT
LOWapp/src/interop/interop.h1#ifndef SC_INTEROP_HCOMMENT
LOWapp/src/interop/interop_vaapi.c1#include "interop_vaapi.h"COMMENT
LOWapp/src/interop/interop.c1#include "interop.h"COMMENT
LOWapp/src/usb/aoa_hid.c1#include "aoa_hid.h"COMMENT
LOWapp/src/usb/scrcpy_otg.c1#include "scrcpy_otg.h"COMMENT
LOWapp/src/adb/adb.c1#include "adb.h"COMMENT
LOWapp/src/adb/adb.h1#ifndef SC_ADB_HCOMMENT
LOWapp/src/sys/unix/process.c1#include "util/process.h"COMMENT
LOWapp/src/sys/unix/file.c1#include "util/file.h"COMMENT
LOWapp/src/hid/hid_keyboard.h1#ifndef SC_HID_KEYBOARD_HCOMMENT
LOWapp/src/hid/hid_gamepad.c1#include "hid_gamepad.h"COMMENT
LOWapp/src/hid/hid_keyboard.c1#include "hid_keyboard.h"COMMENT
3 more matches not shown…
Hallucination Indicators4 hits · 40 pts
SeverityFileLineSnippetContext
CRITICAL…ava/com/genymobile/scrcpy/wrappers/DisplayManager.java177 Constructor<android.hardware.display.DisplayManager> ctor = android.hardware.display.DisplayManager.class.getDecCODE
CRITICAL…/java/com/genymobile/scrcpy/wrappers/InputManager.java43 injectInputEventMethod = android.hardware.input.InputManager.class.getMethod("injectInputEvent", InputEvent.CODE
CRITICAL…/java/com/genymobile/scrcpy/wrappers/InputManager.java113 addUniqueIdAssociationByPortMethod = android.hardware.input.InputManager.class.getMethod(CODE
CRITICAL…/java/com/genymobile/scrcpy/wrappers/InputManager.java131 removeUniqueIdAssociationByPortMethod = android.hardware.input.InputManager.class.getMethod(CODE
AI Slop Vocabulary1 hit · 3 pts
SeverityFileLineSnippetContext
MEDIUMapp/src/input_manager.c694 // sending Ctrl+v, to allow seamless copy-paste.COMMENT