AI Slop Code Risk Monitor

cfug/dio

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

A powerful HTTP client for Dart and Flutter, which supports global settings, Interceptors, FormData, aborting and canceling a request, files uploading and downloading, requests timeout, custom adapters, etc.

2.0 Low pattern signal View on GitHub

Open-Source Code Quality, Security and Technical Debt Review

This report summarizes scanner evidence for cfug/dio, a Dart project with 12,841 GitHub stars. SynthScan examined 32,760 lines of code across 304 source files, recording 65 pattern matches distributed across 2 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-25
Last Push
12.8K
Stars
Dart
Language
32.8K
Lines of Code
304
Files
65
Pattern Hits
2026-10-31
Scan Date
0.00
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 9.7/100 · LOW

Can maintainers explain intent, assumptions, and trade-offs? 65 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 0.0/100 · LOW

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

PR Review Velocity Impact 9.7/100 · LOW

Which changes need focused human review? 65 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 0MEDIUM 1LOW 64

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 65 distinct pattern matches across 2 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 Block64 hits · 64 pts
SeverityFileLineSnippetContext
LOWplugins/web_adapter/lib/src/compute_impl.dart1// Copyright 2014 The Flutter Authors. All rights reserved.COMMENT
LOWplugins/web_adapter/lib/src/adapter_impl.dart21COMMENT
LOWplugins/web_adapter/lib/src/adapter_impl.dart281 ),COMMENT
LOWplugins/http2_adapter/test/http2_test.dart501/// `no_application_protocol` TLS alert. A client advertising `http/1.1`COMMENT
LOWplugins/http2_adapter/lib/src/connection_manager.dart1part of 'http2_adapter.dart';COMMENT
LOWplugins/http2_adapter/lib/src/client_setting.dart21 bool Function(X509Certificate certificate)? onBadCertificate;COMMENT
LOW…ugins/native_dio_adapter/example/analysis_options.yaml21linter:COMMENT
LOW…er/example/linux/flutter/generated_plugin_registrant.h1//COMMENT
LOW…gins/native_dio_adapter/example/windows/runner/utils.h1#ifndef RUNNER_UTILS_H_COMMENT
LOW…s/native_dio_adapter/example/windows/runner/resource.h1//{{NO_DEPENDENCIES}}COMMENT
LOW…/example/windows/flutter/generated_plugin_registrant.h1//COMMENT
LOW…ative_dio_adapter/lib/src/cronet_fallback_adapter.dart21///COMMENT
LOW…ative_dio_adapter/lib/src/cronet_fallback_adapter.dart41COMMENT
LOW…ative_dio_adapter/lib/src/cronet_fallback_adapter.dart61/// The choice is sticky for the lifetime of this instance: once made, laterCOMMENT
LOWplugins/native_dio_adapter/lib/src/native_adapter.dart21 /// Creates a [NativeAdapter].COMMENT
LOWplugins/native_dio_adapter/lib/src/native_adapter.dart41 /// Detection happens synchronously before the first request is delegated.COMMENT
LOW…lutter_app/linux/flutter/generated_plugin_registrant.h1//COMMENT
LOWexample_flutter_app/windows/runner/utils.h1#ifndef RUNNER_UTILS_H_COMMENT
LOWexample_flutter_app/windows/runner/win32_window.cpp1#include "win32_window.h"COMMENT
LOWexample_flutter_app/windows/runner/resource.h1//{{NO_DEPENDENCIES}}COMMENT
LOW…tter_app/windows/flutter/generated_plugin_registrant.h1//COMMENT
LOW.github/workflows/codeql.yml61 # Add any setup steps before running the `github/codeql-action/init` action.COMMENT
LOW.github/workflows/codeql.yml81 # If this step fails, then you should remove it and run the build manually (see below)COMMENT
LOWdio/README.md301and the `Options` describes the configuration for a single request.COMMENT
LOWdio/README.md321/// and the first received response bytes.COMMENT
LOWdio/README.md341/// Custom field that you can retrieve it later in [Interceptor],COMMENT
LOWdio/README.md361///COMMENT
LOWdio/README.md381/// with the given status code.COMMENT
LOWdio/README.md401/// See [HttpClientRequest.persistentConnection].COMMENT
LOWdio/README.md441COMMENT
LOWdio/README-ZH.md321COMMENT
LOWdio/README-ZH.md341COMMENT
LOWdio/README-ZH.md361COMMENT
LOWdio/README-ZH.md381ResponseType? responseType;COMMENT
LOWdio/README-ZH.md401bool? followRedirects;COMMENT
LOWdio/lib/src/response.dart41 String? statusMessage;COMMENT
LOWdio/lib/src/form_data.dart121 }COMMENT
LOWdio/lib/src/interceptor.dart261/// that means redirects aren't triggering interceptors.COMMENT
LOWdio/lib/src/interceptor.dart581 // across many requests (a supported usage pattern documented onCOMMENT
LOWdio/lib/src/dio.dart21/// connectTimeout: const Duration(seconds: 5),COMMENT
LOWdio/lib/src/dio.dart41COMMENT
LOWdio/lib/src/dio.dart201 });COMMENT
LOWdio/lib/src/dio.dart221 /// // ...COMMENT
LOWdio/lib/src/dio.dart241 /// The default value is [true].COMMENT
LOWdio/lib/src/dio.dart261 /// (await getTemporaryDirectory()).path + 'flutter.svg',COMMENT
LOWdio/lib/src/transformer.dart21/// Dio has already implemented a [BackgroundTransformer], and as the defaultCOMMENT
LOWdio/lib/src/adapter.dart21/// make the HTTP request. All we need is to provide a [HttpClientAdapter].COMMENT
LOWdio/lib/src/adapter.dart41 /// Implement this method to make real HTTP requests.COMMENT
LOWdio/lib/src/options.dart21typedef ProgressCallback = void Function(int count, int total);COMMENT
LOWdio/lib/src/options.dart41COMMENT
LOWdio/lib/src/options.dart381 /// HTTP request headers.COMMENT
LOWdio/lib/src/options.dart481 /// when the content-type of response is [Headers.jsonContentType].COMMENT
LOWdio/lib/src/options.dart501 ///COMMENT
LOWdio/lib/src/options.dart521 /// The type of a request encoding callback.COMMENT
LOWdio/lib/src/interceptors/log.dart1import '../dio_exception.dart';COMMENT
LOWdio/lib/src/compute/compute_io.dart1// Copyright 2014 The Flutter Authors. All rights reserved.COMMENT
LOWdio/lib/src/compute/compute.dart1// Copyright 2014 The Flutter Authors. All rights reserved.COMMENT
LOWdio/lib/src/compute/compute.dart21//COMMENT
LOWdio/lib/src/compute/compute.dart41/// Instances of [ComputeCallback] must be functions that can be sent to anCOMMENT
LOWdio/lib/src/compute/compute.dart81/// value returned by `callback`.COMMENT
4 more matches not shown…
Slop Phrases1 hit · 3 pts
SeverityFileLineSnippetContext
MEDIUM.github/workflows/codeql.yml53 # If you are analyzing a compiled language, you can modify the 'build-mode' for that language to customize howCOMMENT