Repository Analysis

GopeedLab/gopeed

A fast, modern download manager for HTTP, BitTorrent, Magnet, and ed2k. Cross-platform, built with Golang and Flutter.

0.7 Likely human-written View on GitHub
0.7
Adjusted Score
0.7
Raw Score
100%
Time Factor
2026-05-07
Last Push
24,703
Stars
Go
Language
67,192
Lines of Code
394
Files
34
Pattern Hits
2026-05-31
Scan Date

Score History

Severity Breakdown

CRITICAL 0HIGH 0MEDIUM 2LOW 32

Pattern Findings

34 matches across 5 categories. Click a row to expand file-level details.

Verbosity Indicators15 hits · 26 pts
SeverityFileLineSnippet
LOWcmd/web/flags_test.go1014 // Step 1: Simulate loadCliArgs() with default values
LOWcmd/web/flags_test.go1025 // Step 2: loadConfigFile with non-existent file
LOWcmd/web/flags_test.go1028 // Step 3: loadEnvVars with empty environment
LOWcmd/web/flags_test.go1031 // Step 4: overrideWithCliArgs (no flags set in test environment)
LOWcmd/web/flags_test.go1034 // Step 5: setDefaults
LOWinternal/protocol/http/fetcher_test.go1278 // Step 1: Try to resolve with bad URL - should fail with error
LOWinternal/protocol/http/fetcher_test.go1284 // Step 2: Create a new fetcher and resolve with bad URL but don't wait
LOWinternal/protocol/http/fetcher_test.go1299 // Step 3: Patch to change URL (simulating URL change scenario)
LOWinternal/protocol/http/fetcher_test.go1311 // Step 4: Start download and verify success
LOWinternal/protocol/http/fetcher_test.go1536 // Step 1: Resolve with old_token - should succeed (first request accepts old_token)
LOWinternal/protocol/http/fetcher_test.go1556 // Step 2: Start download - should fail because old_token is now expired
LOWinternal/protocol/http/fetcher_test.go1569 // Step 3: Patch with new valid cookie
LOWinternal/protocol/http/fetcher_test.go1587 // Step 4: Restart download - should succeed with new cookie
LOWpkg/util/path.go202 // Step 1: Replace invalid characters
LOWpkg/util/path.go207 // Step 2: Truncate if needed
Over-Commented Block14 hits · 14 pts
SeverityFileLineSnippet
LOWui/flutter/pubspec.yaml1name: gopeed
LOWui/flutter/analysis_options.yaml1# This file configures the analyzer, which statically analyzes Dart code to
LOWui/flutter/analysis_options.yaml21 # or a specific dart file by using the `// ignore: name_of_lint` and
LOWui/flutter/ios/Runner/Runner-Bridging-Header.h1#import "GeneratedPluginRegistrant.h"
LOWui/flutter/lib/app/modules/home/views/home_view.dart121 // barAnimation: BarAnimation.blink,
LOWui/flutter/lib/app/modules/home/views/home_view.dart141 // onTap: (index) {
LOW…lutter/lib/app/modules/setting/views/setting_view.dart1821 // child: Column(
LOWui/flutter/lib/icon/gopeed_icons.dart1/// Flutter icons Gopeed
LOWui/flutter/windows/runner/utils.h1#ifndef RUNNER_UTILS_H_
LOWui/flutter/windows/runner/win32_window.cpp1#include "win32_window.h"
LOWui/flutter/windows/runner/resource.h1//{{NO_DEPENDENCIES}}
LOW.github/FUNDING.yml1# These are supported funding model platforms
LOW.github/ISSUE_TEMPLATE.md1<!--
LOW.github/workflows/scripts/flutter_local_font.dart1// Localize external Google Fonts (fonts.gstatic.com) references in Flutter Web build output.
Self-Referential Comments1 hit · 3 pts
SeverityFileLineSnippet
MEDIUMui/flutter/pubspec.yaml113# The following section is specific to Flutter packages.
Slop Phrases1 hit · 3 pts
SeverityFileLineSnippet
MEDIUMui/flutter/pubspec.yaml116 # included with your application, so that you can use the icons in
Hyper-Verbose Identifiers3 hits · 3 pts
SeverityFileLineSnippet
LOWpkg/download/engine/engine_test.go148async function testResponseBodyGetReader() {
LOWpkg/download/engine/engine_test.go170async function testStreamingFetchResponseBody() {
LOWpkg/download/engine/inject/stream/stream.js558 function isIgnorableGBlobObjectURLError(error) {