AI Slop Code Risk Monitor

Predidit/Kazumi

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

基于自定义规则的番剧采集APP,支持流媒体在线观看,支持弹幕,支持实时超分辨率。

0.6 Low pattern signal View on GitHub

Open-Source Code Quality, Security and Technical Debt Review

This report summarizes scanner evidence for Predidit/Kazumi, a Dart project with 40,333 GitHub stars. SynthScan examined 85,439 lines of code across 499 source files, recording 40 pattern matches distributed across 4 syntactic categories. The legacy adjusted pattern signal is 0.6 (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.

0.6
Adjusted Signal
0.6
Raw Pattern Score
100%
Time Factor
2026-10-31
Last Push
40.3K
Stars
Dart
Language
85.4K
Lines of Code
499
Files
40
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 1.7/100 · LOW

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

Hallucinated Dependency & Supply Chain Risk 0.0/100 · LOW

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

Agent Over-Engineering Ratio 1.5/100 · LOW

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

PR Review Velocity Impact 4.1/100 · LOW

Which changes need focused human review? 40 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 0HIGH 3MEDIUM 8LOW 29

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 40 distinct pattern matches across 4 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 Block29 hits · 29 pts
SeverityFileLineSnippetContext
LOWlinux/flutter/generated_plugin_registrant.h1//COMMENT
LOW.github/workflows/pr.yaml201 # with:COMMENT
LOW.github/workflows/pr.yaml341 --dart-define=DANDANAPI_APPID=$DANDANAPI_APPIDCOMMENT
LOW.github/workflows/release.yaml261 --dart-define=DANDANAPI_KEY=$DANDANAPI_KEYCOMMENT
LOWlib/plugins/anti_crawler_config.dart21/// 反反爬虫配置COMMENT
LOWlib/plugins/anti_crawler_config.dart41 /// 用于在 WebView 页面中定位供用户输入验证码的 input 元素COMMENT
LOWlib/bean/appbar/drag_to_move_bar.dart1import 'package:flutter/material.dart';COMMENT
LOWlib/webview/captcha/captcha_webview_controller.dart41COMMENT
LOWlib/webview/captcha/captcha_webview_controller.dart61 /// 脚本可调用 window.KazumiCaptcha.log/clicked/done/fail。COMMENT
LOWlib/utils/episode_url.dart1/// 集数源站 URL 归一化。COMMENT
LOWlib/utils/constants.dart41final PageTransitionsTheme settingsPageTransitionsTheme = PageTransitionsTheme(COMMENT
LOWlib/repositories/collect_crud_repository.dart21 CollectedBangumi? getCollectible(int id);COMMENT
LOWlib/repositories/download_repository.dart21 /// [bangumiId] 番剧 IDCOMMENT
LOWlib/repositories/history_repository.dart21COMMENT
LOWlib/repositories/collect_repository.dart1import 'package:kazumi/services/storage/storage.dart';COMMENT
LOWlib/repositories/search_history_repository.dart1import 'package:kazumi/services/storage/storage.dart';COMMENT
LOWlib/services/plugin/captcha_verification_service.dart1import 'dart:async';COMMENT
LOWlib/services/video_source/video_source_service.dart61 const VideoSourceCancelledException();COMMENT
LOWlib/services/video_source/video_source_service.dart81 ///COMMENT
LOWwindows/runner/flutter_window.cpp1#include "flutter_window.h"COMMENT
LOWwindows/runner/flutter_window.cpp61COMMENT
LOWwindows/runner/utils.h1#ifndef RUNNER_UTILS_H_COMMENT
LOWwindows/runner/fullscreen_utils.cpp1// This file is a part of media_kitCOMMENT
LOWwindows/runner/win32_window.cpp1#include "win32_window.h"COMMENT
LOWwindows/runner/external_player_utils.h1// This file is a part of KazumiCOMMENT
LOWwindows/runner/resource.h1//{{NO_DEPENDENCIES}}COMMENT
LOWwindows/runner/external_player_utils.cpp1// This file is a part of KazumiCOMMENT
LOWwindows/runner/fullscreen_utils.h1// This file is a part of media_kitCOMMENT
LOWwindows/flutter/generated_plugin_registrant.h1//COMMENT
Cross-File Repetition3 hits · 15 pts
SeverityFileLineSnippetContext
HIGH…webview/captcha/impl/captcha_webview_windows_impl.dart0(function() { function evalxpath(xpath) { try { var r = document.evaluate(xpath, document, null, xpathresult.first_orderSTRING
HIGH…ew/captcha/impl/captcha_webview_inappwebview_impl.dart0(function() { function evalxpath(xpath) { try { var r = document.evaluate(xpath, document, null, xpathresult.first_orderSTRING
HIGH…b/webview/captcha/impl/captcha_webview_linux_impl.dart0(function() { function evalxpath(xpath) { try { var r = document.evaluate(xpath, document, null, xpathresult.first_orderSTRING
Decorative Section Separators7 hits · 9 pts
SeverityFileLineSnippetContext
MEDIUMtest/m3u8_parser_test.dart6 // ── Master playlist ──────────────────────────────────────────────────────COMMENT
MEDIUMtest/m3u8_parser_test.dart36 // ── Media playlist with VOD + ENDLIST ────────────────────────────────────STRING
MEDIUMtest/m3u8_parser_test.dart72 // ── Apple-style: VOD tag present, no ENDLIST ─────────────────────────────STRING
MEDIUMtest/m3u8_parser_test.dart100 // ── No VOD tag, no ENDLIST ───────────────────────────────────────────────STRING
MEDIUMtest/m3u8_parser_test.dart121 // ── EVENT playlist without ENDLIST → not VOD ────────────────────────────STRING
MEDIUMtest/m3u8_parser_test.dart140 // ── Explicit VOD tag, no ENDLIST ─────────────────────────────────────────STRING
MEDIUMtest/m3u8_parser_test.dart169 // ── Nested M3U8 expansion ────────────────────────────────────────────────STRING
Excessive Try-Catch Wrapping1 hit · 2 pts
SeverityFileLineSnippetContext
MEDIUMlib/services/logging/logger.dart250 print('Error clearing file: ${_singleLineLogText(e)}');CODE