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.
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.
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.
Can maintainers explain intent, assumptions, and trade-offs? 65 finding(s).
Are imports declared and package/API names verified? 0 finding(s).
Are wrappers, guards, and repeated structures necessary? 0 finding(s).
Which changes need focused human review? 65 finding(s).
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.
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.
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.
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.
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | plugins/web_adapter/lib/src/compute_impl.dart | 1 | // Copyright 2014 The Flutter Authors. All rights reserved. | COMMENT |
| LOW | plugins/web_adapter/lib/src/adapter_impl.dart | 21 | COMMENT | |
| LOW | plugins/web_adapter/lib/src/adapter_impl.dart | 281 | ), | COMMENT |
| LOW | plugins/http2_adapter/test/http2_test.dart | 501 | /// `no_application_protocol` TLS alert. A client advertising `http/1.1` | COMMENT |
| LOW | plugins/http2_adapter/lib/src/connection_manager.dart | 1 | part of 'http2_adapter.dart'; | COMMENT |
| LOW | plugins/http2_adapter/lib/src/client_setting.dart | 21 | bool Function(X509Certificate certificate)? onBadCertificate; | COMMENT |
| LOW | …ugins/native_dio_adapter/example/analysis_options.yaml | 21 | linter: | COMMENT |
| LOW | …er/example/linux/flutter/generated_plugin_registrant.h | 1 | // | COMMENT |
| LOW | …gins/native_dio_adapter/example/windows/runner/utils.h | 1 | #ifndef RUNNER_UTILS_H_ | COMMENT |
| LOW | …s/native_dio_adapter/example/windows/runner/resource.h | 1 | //{{NO_DEPENDENCIES}} | COMMENT |
| LOW | …/example/windows/flutter/generated_plugin_registrant.h | 1 | // | COMMENT |
| LOW | …ative_dio_adapter/lib/src/cronet_fallback_adapter.dart | 21 | /// | COMMENT |
| LOW | …ative_dio_adapter/lib/src/cronet_fallback_adapter.dart | 41 | COMMENT | |
| LOW | …ative_dio_adapter/lib/src/cronet_fallback_adapter.dart | 61 | /// The choice is sticky for the lifetime of this instance: once made, later | COMMENT |
| LOW | plugins/native_dio_adapter/lib/src/native_adapter.dart | 21 | /// Creates a [NativeAdapter]. | COMMENT |
| LOW | plugins/native_dio_adapter/lib/src/native_adapter.dart | 41 | /// Detection happens synchronously before the first request is delegated. | COMMENT |
| LOW | …lutter_app/linux/flutter/generated_plugin_registrant.h | 1 | // | COMMENT |
| LOW | example_flutter_app/windows/runner/utils.h | 1 | #ifndef RUNNER_UTILS_H_ | COMMENT |
| LOW | example_flutter_app/windows/runner/win32_window.cpp | 1 | #include "win32_window.h" | COMMENT |
| LOW | example_flutter_app/windows/runner/resource.h | 1 | //{{NO_DEPENDENCIES}} | COMMENT |
| LOW | …tter_app/windows/flutter/generated_plugin_registrant.h | 1 | // | COMMENT |
| LOW | .github/workflows/codeql.yml | 61 | # Add any setup steps before running the `github/codeql-action/init` action. | COMMENT |
| LOW | .github/workflows/codeql.yml | 81 | # If this step fails, then you should remove it and run the build manually (see below) | COMMENT |
| LOW | dio/README.md | 301 | and the `Options` describes the configuration for a single request. | COMMENT |
| LOW | dio/README.md | 321 | /// and the first received response bytes. | COMMENT |
| LOW | dio/README.md | 341 | /// Custom field that you can retrieve it later in [Interceptor], | COMMENT |
| LOW | dio/README.md | 361 | /// | COMMENT |
| LOW | dio/README.md | 381 | /// with the given status code. | COMMENT |
| LOW | dio/README.md | 401 | /// See [HttpClientRequest.persistentConnection]. | COMMENT |
| LOW | dio/README.md | 441 | COMMENT | |
| LOW | dio/README-ZH.md | 321 | COMMENT | |
| LOW | dio/README-ZH.md | 341 | COMMENT | |
| LOW | dio/README-ZH.md | 361 | COMMENT | |
| LOW | dio/README-ZH.md | 381 | ResponseType? responseType; | COMMENT |
| LOW | dio/README-ZH.md | 401 | bool? followRedirects; | COMMENT |
| LOW | dio/lib/src/response.dart | 41 | String? statusMessage; | COMMENT |
| LOW | dio/lib/src/form_data.dart | 121 | } | COMMENT |
| LOW | dio/lib/src/interceptor.dart | 261 | /// that means redirects aren't triggering interceptors. | COMMENT |
| LOW | dio/lib/src/interceptor.dart | 581 | // across many requests (a supported usage pattern documented on | COMMENT |
| LOW | dio/lib/src/dio.dart | 21 | /// connectTimeout: const Duration(seconds: 5), | COMMENT |
| LOW | dio/lib/src/dio.dart | 41 | COMMENT | |
| LOW | dio/lib/src/dio.dart | 201 | }); | COMMENT |
| LOW | dio/lib/src/dio.dart | 221 | /// // ... | COMMENT |
| LOW | dio/lib/src/dio.dart | 241 | /// The default value is [true]. | COMMENT |
| LOW | dio/lib/src/dio.dart | 261 | /// (await getTemporaryDirectory()).path + 'flutter.svg', | COMMENT |
| LOW | dio/lib/src/transformer.dart | 21 | /// Dio has already implemented a [BackgroundTransformer], and as the default | COMMENT |
| LOW | dio/lib/src/adapter.dart | 21 | /// make the HTTP request. All we need is to provide a [HttpClientAdapter]. | COMMENT |
| LOW | dio/lib/src/adapter.dart | 41 | /// Implement this method to make real HTTP requests. | COMMENT |
| LOW | dio/lib/src/options.dart | 21 | typedef ProgressCallback = void Function(int count, int total); | COMMENT |
| LOW | dio/lib/src/options.dart | 41 | COMMENT | |
| LOW | dio/lib/src/options.dart | 381 | /// HTTP request headers. | COMMENT |
| LOW | dio/lib/src/options.dart | 481 | /// when the content-type of response is [Headers.jsonContentType]. | COMMENT |
| LOW | dio/lib/src/options.dart | 501 | /// | COMMENT |
| LOW | dio/lib/src/options.dart | 521 | /// The type of a request encoding callback. | COMMENT |
| LOW | dio/lib/src/interceptors/log.dart | 1 | import '../dio_exception.dart'; | COMMENT |
| LOW | dio/lib/src/compute/compute_io.dart | 1 | // Copyright 2014 The Flutter Authors. All rights reserved. | COMMENT |
| LOW | dio/lib/src/compute/compute.dart | 1 | // Copyright 2014 The Flutter Authors. All rights reserved. | COMMENT |
| LOW | dio/lib/src/compute/compute.dart | 21 | // | COMMENT |
| LOW | dio/lib/src/compute/compute.dart | 41 | /// Instances of [ComputeCallback] must be functions that can be sent to an | COMMENT |
| LOW | dio/lib/src/compute/compute.dart | 81 | /// value returned by `callback`. | COMMENT |
| 4 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | .github/workflows/codeql.yml | 53 | # If you are analyzing a compiled language, you can modify the 'build-mode' for that language to customize how | COMMENT |