Repository Analysis

ScottSloan/Bili23-Downloader

开源、免费、跨平台的 B 站视频下载工具,支持多线程加速、音视频分离、弹幕元数据获取、自定义命名与分类等功能。Open Source, Free, Cross-Platform Bilibili Video Downloader.

7.9 Low AI signal View on GitHub

Analysis Overview

This report presents the forensic synthetic code analysis of ScottSloan/Bili23-Downloader, a Python project with 6,875 GitHub stars. SynthScan v2.0 examined 69,457 lines of code across 240 source files, recording 421 pattern matches distributed across 10 syntactic categories. The overall adjusted score of 7.9 places this repository in the Low AI signal band.

The scanner applied 160+ deterministic lexical heuristics, multi-line block detectors, abstract syntax tree depth profilers, and a cross-file Jaccard similarity matrix to construct a statistically normalised synthetic code estimate. All matches are individually weighted by severity coefficient and contextual multiplier before summation, and the resulting headline score is temporally discounted to account for the repository's development history relative to the commercial emergence of large language model coding tooling (November 2022 onward).

7.9
Adjusted Score
7.9
Raw Score
100%
Time Factor
2026-08-27
Last Push
6.9K
Stars
Python
Language
69.5K
Lines of Code
240
Files
421
Pattern Hits
2026-08-29
Scan Date
0.04
HC Hit Rate

What These Metrics Mean

Adjusted Score
Primary synthetic code indicator. Raw score normalised per 1,000 lines of code and multiplied by the temporal discount factor. This is the definitive comparative metric — use it to rank repositories by AI authorship density.
Raw Score
The unmodified sum of all severity-weighted, context-multiplied pattern match scores before temporal discounting. Reflects the absolute signal strength independent of when the repository was last active.
Time Factor
The temporal discount multiplier (0–100%) applied to the raw score. Repositories last updated before ChatGPT's launch (Nov 2022) receive a 5% factor. Full signal is only assigned to repositories active in the post-adoption era (Jan 2024+).
Pattern Hits
Total count of individual pattern matches across all files and categories. A high hit count with a low score may indicate a very large codebase with isolated AI snippets; a low count with a high score indicates dense, concentrated AI signatures.
HC Hit Rate
High+Critical pattern hits per file, averaged across the repository. This orthogonal signal catches repositories where a few files are densely packed with high-severity AI tells — a strong indicator even when the normalised score appears moderate due to codebase size.
Lines of Code / Files
Total lines and files analysed. The scanner examines 94 file extensions. These denominators are used to normalise the score, enabling fair comparison between repositories of vastly different sizes.

Score History

Longitudinal tracking requires multiple scan runs. Once this repository is re-scanned after new commits land, this chart will visualise how the synthetic code signal evolves over time — enabling you to detect whether AI authorship is growing, stabilising, or being actively corrected by human engineers.

No multi-scan history yet — run the scanner again to build trend data.

Severity Breakdown

Classifies detected patterns by their diagnostic confidence and structural impact. CRITICAL patterns (coefficient 10) represent definitive synthetic signatures — hallucinated imports, explicit LLM attribution metadata — virtually never produced by human authors. HIGH (5) indicates strong structural tells such as cross-file repetition or cross-linguistic idioms. MEDIUM (2) covers recognisable conversational padding and AI-specific vocabulary. LOW (1) captures subtle indicators like tautological comments and generic boilerplate that require density to carry independent signal.

CRITICAL 7HIGH 3MEDIUM 22LOW 389

Directory Score Breakdown

This horizontal bar chart decomposes the repository's raw synthetic code score by top-level directory, allowing you to pinpoint precisely which modules or components carry the highest AI authorship density. Directories with disproportionately high scores relative to their size warrant targeted manual review: concentrated AI signatures often trace back to mass-generated configuration layers, auto-ported test suites, LLM-scaffolded boilerplate classes, or entire subsystems authored under heavy copilot assistance. Use this view to prioritise your human code-review effort.

Pattern Findings

The scanner identified 421 distinct pattern matches across 10 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a statistically significant AI authorship indicator. 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 diagnostic confidence level (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — comment-context matches receive a ×1.5 weight because LLMs systematically over-annotate. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier as dense clusters constitute far stronger evidence of synthetic authorship than isolated hits.

Excessive Try-Catch Wrapping116 hits · 144 pts
SeverityFileLineSnippetContext
LOWsrc/main.py227 except Exception:CODE
LOWsrc/main.py234 except Exception:CODE
LOWsrc/main.py467 except Exception:CODE
LOWsrc/main.py521 except Exception:CODE
LOWsrc/main.py539 except Exception:CODE
MEDIUMsrc/main.py461def stop_mcp_server(self):CODE
MEDIUMsrc/main.py531def warmup():CODE
LOWsrc/util/misc/update.py69 except Exception:CODE
LOWsrc/util/misc/macos.py43 except Exception:CODE
LOWsrc/util/ffmpeg/runner.py98 except Exception as e:CODE
LOWsrc/util/ffmpeg/runner.py152 except Exception:CODE
LOWsrc/util/ffmpeg/runner.py174 except Exception:CODE
LOWsrc/util/ffmpeg/runner.py183 except Exception:CODE
LOWsrc/util/ffmpeg/runner.py247 except Exception:CODE
MEDIUMsrc/util/ffmpeg/runner.py140def read_stderr():CODE
LOWsrc/util/auth/qrcode.py37 except Exception:CODE
LOWsrc/util/auth/cookie_login.py62 except Exception:CODE
LOWsrc/util/auth/sms.py37 except Exception:CODE
LOWsrc/util/parse/worker.py98 except Exception as e:CODE
LOWsrc/util/parse/worker.py151 except Exception as e:CODE
LOWsrc/util/parse/parser/dynamic.py46 except Exception as e:CODE
LOWsrc/util/parse/parser/festival.py38 except Exception as e:CODE
LOWsrc/util/parse/preview/worker.py40 except Exception as e:CODE
MEDIUMsrc/util/parse/preview/worker.py22def run(self):CODE
LOWsrc/util/parse/preview/previewer.py103 except Exception as e:CODE
LOWsrc/util/parse/preview/previewer.py158 except Exception as e:CODE
LOWsrc/util/parse/preview/previewer.py263 except Exception as e:CODE
MEDIUMsrc/util/parse/preview/previewer.py96def on_init_success(self):CODE
MEDIUMsrc/util/parse/preview/previewer.py146def parse_info(self):CODE
LOWsrc/util/parse/additional/worker.py36 except Exception as e:CODE
MEDIUMsrc/util/parse/additional/worker.py31def run(self):CODE
LOWsrc/util/network/request.py85 except Exception:CODE
LOWsrc/util/network/request.py104 except Exception:CODE
LOWsrc/util/network/request.py153 except Exception as e:CODE
LOWsrc/util/network/request.py380 except Exception as e:CODE
MEDIUMsrc/util/network/request.py374def run(self):CODE
LOWsrc/util/network/download_url.py180 except Exception as e:CODE
LOWsrc/util/network/download_url.py227 except Exception as e:CODE
LOWsrc/util/network/cdn.py186 except Exception:CODE
LOWsrc/util/mcp/server.py428 except Exception:CODE
LOWsrc/util/mcp/server.py435 except Exception:CODE
MEDIUMsrc/util/mcp/server.py74def handle_one_request(self):CODE
LOWsrc/util/mcp/stdio_bridge.py387 except Exception:CODE
LOWsrc/util/mcp/protocol.py150 except Exception:CODE
LOWsrc/util/mcp/__init__.py44 except Exception:CODE
LOWsrc/util/mcp/invoke.py58 except Exception as e:CODE
LOWsrc/util/mcp/invoke.py123 except Exception:CODE
MEDIUMsrc/util/mcp/invoke.py54def runner():CODE
LOWsrc/util/mcp/tools/download.py282 except Exception:CODE
LOWsrc/util/mcp/tools/download.py432 except Exception:CODE
LOWsrc/util/mcp/tools/__init__.py90 except Exception as e:CODE
LOWsrc/util/mcp/tools/parse.py182 except Exception:CODE
LOWsrc/util/mcp/tools/parse.py260 except Exception:CODE
LOWsrc/util/common/config.py510 except Exception:CODE
LOWsrc/util/common/config.py516 except Exception:CODE
LOWsrc/util/common/config.py526 except Exception as e:CODE
LOWsrc/util/common/io/file.py17 except Exception as e:CODE
LOWsrc/util/common/io/file.py35 except Exception as e:CODE
LOWsrc/util/common/io/directory.py181 except Exception as e:CODE
LOWsrc/util/download/downloader/downloader.py350 except Exception:CODE
56 more matches not shown…
Hyper-Verbose Identifiers111 hits · 115 pts
SeverityFileLineSnippetContext
LOWsrc/main.py159def handle_uncaught_exception(exc_type, exc_value, exc_traceback):CODE
LOWsrc/main.py170def handle_uncaught_thread_exception(args):CODE
LOWsrc/main.py388 def on_new_instance_connection(self):CODE
LOWsrc/main.py432 def activate_existing_instance(self):CODE
LOWsrc/main.py440 def process_pending_instance_activation(self):CODE
LOWsrc/util/misc/update.py74def sanitize_platform_version(value: str):CODE
LOWsrc/util/parse/worker.py172 def _get_interactive_video_parser(self):CODE
LOWsrc/util/parse/worker.py186 def _update_progress_callback(self, text: str):CODE
LOWsrc/util/parse/episode/list.py23 def seasons_archives_list_parser(self):CODE
LOWsrc/util/parse/episode/base.py82 def _video_episode_data_parser(self):CODE
LOWsrc/util/parse/parser/list.py70 def get_seasons_archives_list(self):CODE
LOWsrc/util/parse/parser/lesson.py20def build_lesson_play_payload(course_id: int, lesson_id: int, item_id: int, section_id: int):CODE
LOWsrc/util/parse/parser/favorite.py82 def on_get_favorite_list_success(self, response: dict):CODE
LOWsrc/util/parse/parser/favorite.py101 def on_get_subscription_list_success(self, response: dict):CODE
LOWsrc/util/parse/parser/favorite.py121 def on_get_follow_list_success(self, response: dict):CODE
LOWsrc/util/parse/parser/video.py167 def parse_interactive_video_episodes(self):CODE
LOWsrc/util/parse/parser/video.py298 def get_interactive_video_data(self):CODE
LOWsrc/util/parse/preview/audio_info.py29 def _get_dash_available_quality_list(self):CODE
LOWsrc/util/parse/preview/audio_info.py171 def get_audio_info_by_priority(self):CODE
LOWsrc/util/parse/preview/video_info.py27 def _get_dash_available_quality_list(self):CODE
LOWsrc/util/parse/preview/video_info.py54 def get_available_quality_list(self):CODE
LOWsrc/util/parse/preview/video_info.py172 def get_video_quality_id_by_priority(self):CODE
LOWsrc/util/parse/preview/video_info.py177 def get_video_codec_id_by_priority(self, video_quality_id: int):CODE
LOWsrc/util/parse/additional/file/danmaku_xml.py51 def _filter_invalid_characters(self, text: str) -> str:CODE
LOWsrc/util/network/cdn.py204 def get_default_cdn_server_list() -> list[dict]:CODE
LOWsrc/util/mcp/server.py67class MCPRequestHandler(BaseHTTPRequestHandler):CODE
LOWsrc/util/mcp/protocol.py66def unsupported_version_error(request_id, requested: str):CODE
LOWsrc/util/common/io/directory.py18 def ensure_directory_accessible(directory: str) -> bool:CODE
LOWsrc/util/common/io/directory.py95 def open_directory_in_explorer(directory: str):CODE
LOWsrc/util/common/data/naming_convention.py265 def _interactive_video_variable(self):CODE
LOWsrc/util/download/parse/audio_info.py19 def _get_dash_available_quality_list(self):CODE
LOWsrc/util/download/parse/audio_info.py117 def get_audio_info_by_priority(self):CODE
LOWsrc/util/download/parse/video_info.py16 def _get_dash_available_quality_list(self):CODE
LOWsrc/util/download/parse/video_info.py43 def get_available_quality_list(self):CODE
LOWsrc/util/download/parse/video_info.py98 def get_video_quality_id_by_priority(self):CODE
LOWsrc/util/download/parse/video_info.py103 def get_video_codec_id_by_priority(self, video_quality_id: int):CODE
LOWsrc/util/download/downloader/downloader.py624 def _start_worker_in_background(self, generation: int):CODE
LOWsrc/util/download/downloader/downloader.py1038 def _queue_wait_callback_if_idle(self):CODE
LOWsrc/util/download/downloader/merger.py409 def delete_embedded_subtitles(self):CODE
LOWsrc/util/download/task/manager.py70 def _reset_add_to_queue_toast_flag(self):CODE
LOWsrc/util/download/task/manager.py74 def __episode_info_to_task_info(self, episode_info: dict, number, options: dict = None) -> TaskInfo:CODE
LOWsrc/util/download/task/manager.py116 def __determine_download_type(self, options: dict = None):CODE
LOWsrc/util/download/task/manager.py185 def __filter_illegal_characters(self, episode_info: dict):CODE
LOWsrc/util/download/task/manager.py432 def _remove_temporary_files_async(self, task_info_list: List[TaskInfo]):CODE
LOWsrc/util/download/task/manager.py445 def _remove_temporary_files_storage(self, snapshots: List[tuple]):CODE
LOWsrc/util/download/task/manager.py465 def _mark_as_completed_storage(self, record: tuple):CODE
LOWsrc/util/format/time.py82 def format_ass_time_by_seconds(seconds: float):CODE
LOWsrc/util/format/units.py12 def unformat_episode_duration(duration_str: str):CODE
LOWsrc/util/format/file_name.py118 def get_variable_data_from_task_info(self, task_info: TaskInfo):CODE
LOWsrc/util/format/file_name.py175 def get_type_id_from_task_info(self, task_info: TaskInfo):CODE
LOWsrc/util/format/file_name.py180 def get_type_id_from_attribute(self, attribute: int):CODE
LOWsrc/util/format/file_name.py202 def get_rule_list_from_attribute(self, attribute: int):CODE
LOWsrc/gui/interface/main_window.py77 def show_toast_notification_long_message(self, category: ToastNotificationCategory, title: str, content: str):CODE
LOWsrc/gui/interface/main_window.py225 def is_window_position_visible(x: int, y: int, width: int):CODE
LOWsrc/gui/interface/main_window.py266 def update_download_btn_badge_info(self: "MainWindow", count: int):CODE
LOWsrc/gui/interface/main_window.py306 def show_favorites_flyout_menu(self: "MainWindow"):CODE
LOWsrc/gui/interface/setting.py192 def on_custom_parse_list_column(self):CODE
LOWsrc/gui/interface/setting.py200 def on_custom_monitor_clipboard(self):CODE
LOWsrc/gui/interface/setting.py215 def on_custom_speed_limit_settings(self):CODE
LOWsrc/gui/interface/setting.py221 def on_adjust_video_quality_priority(self):CODE
51 more matches not shown…
Hallucination Indicators7 hits · 100 pts
SeverityFileLineSnippetContext
CRITICALsrc/gui/interface/parse.py459 self.segmented_widget.pager_widget.auto_parse_btn.clicked.connect(self.on_auto_parse)CODE
CRITICALsrc/gui/dialog/download_options/media.py42 self.media_info_card.video_quality_widget.choice.currentIndexChanged.connect(self.on_change_video_info_choice)CODE
CRITICALsrc/gui/dialog/download_options/media.py43 self.media_info_card.audio_quality_widget.choice.currentIndexChanged.connect(self.on_change_audio_info_choice)CODE
CRITICALsrc/gui/dialog/download_options/media.py44 self.media_info_card.video_codec_widget.choice.currentIndexChanged.connect(self.on_change_video_info_choice)CODE
CRITICALsrc/gui/dialog/download_options/media.py46 self.media_info_card.video_quality_widget.custom_btn.clicked.connect(self.on_adjust_video_quality_priority)CODE
CRITICALsrc/gui/dialog/download_options/media.py47 self.media_info_card.audio_quality_widget.custom_btn.clicked.connect(self.on_adjust_audio_quality_priority)CODE
CRITICALsrc/gui/dialog/download_options/media.py48 self.media_info_card.video_codec_widget.custom_btn.clicked.connect(self.on_adjust_video_codec_priority)CODE
Unused Imports85 hits · 77 pts
SeverityFileLineSnippetContext
LOWsrc/main.py312CODE
LOWsrc/main.py32CODE
LOWsrc/main.py533CODE
LOWsrc/util/auth/captcha.py46CODE
LOWsrc/util/mcp/server.py3CODE
LOWsrc/util/common/data/__init__.py1CODE
LOWsrc/util/common/data/__init__.py1CODE
LOWsrc/util/common/data/__init__.py1CODE
LOWsrc/util/common/data/__init__.py1CODE
LOWsrc/util/common/data/__init__.py1CODE
LOWsrc/util/common/data/__init__.py1CODE
LOWsrc/util/common/data/__init__.py1CODE
LOWsrc/util/common/data/__init__.py1CODE
LOWsrc/util/common/data/__init__.py1CODE
LOWsrc/util/common/data/__init__.py1CODE
LOWsrc/util/common/data/__init__.py6CODE
LOWsrc/util/common/data/__init__.py6CODE
LOWsrc/util/common/data/__init__.py6CODE
LOWsrc/util/common/data/__init__.py7CODE
LOWsrc/util/common/data/__init__.py7CODE
LOWsrc/util/common/data/__init__.py8CODE
LOWsrc/util/common/data/__init__.py8CODE
LOWsrc/util/common/data/__init__.py9CODE
LOWsrc/util/common/data/__init__.py10CODE
LOWsrc/util/common/data/__init__.py11CODE
LOWsrc/util/common/data/__init__.py12CODE
LOWsrc/util/common/data/__init__.py13CODE
LOWsrc/util/download/task/db.py2CODE
LOWsrc/gui/component/download_list/__init__.py1CODE
LOWsrc/gui/component/download_list/__init__.py2CODE
LOWsrc/gui/component/download_list/__init__.py3CODE
LOWsrc/gui/component/download_list/__init__.py4CODE
LOWsrc/gui/component/download_list/__init__.py5CODE
LOWsrc/gui/component/widget/info_bar.py1CODE
LOWsrc/gui/component/widget/navigation.py12CODE
LOWsrc/gui/component/entry_list/list_view.py3CODE
LOWsrc/gui/component/entry_list/poster_item_delegate.py1CODE
LOWsrc/gui/component/entry_list/entry_item_delegate.py1CODE
LOWsrc/gui/component/parse_list/__init__.py1CODE
LOWsrc/gui/component/parse_list/__init__.py1CODE
LOWsrc/gui/component/parse_list/__init__.py1CODE
LOWsrc/gui/component/parse_list/__init__.py2CODE
LOWsrc/gui/component/parse_list/__init__.py3CODE
LOWsrc/gui/component/view_model/__init__.py1CODE
LOWsrc/gui/component/view_model/__init__.py1CODE
LOWsrc/gui/component/view_model/__init__.py1CODE
LOWsrc/gui/component/view_model/__init__.py2CODE
LOWsrc/gui/component/view_model/__init__.py3CODE
LOWsrc/gui/component/setting/__init__.py1CODE
LOWsrc/gui/component/setting/__init__.py1CODE
LOWsrc/gui/component/setting/__init__.py1CODE
LOWsrc/gui/component/setting/__init__.py1CODE
LOWsrc/gui/component/setting/__init__.py1CODE
LOWsrc/gui/component/setting/__init__.py1CODE
LOWsrc/gui/component/setting/__init__.py1CODE
LOWsrc/gui/component/setting/__init__.py1CODE
LOWsrc/gui/component/setting/__init__.py1CODE
LOWsrc/gui/component/setting/__init__.py1CODE
LOWsrc/gui/component/setting/__init__.py1CODE
LOWsrc/gui/component/setting/__init__.py1CODE
25 more matches not shown…
Modern Structural Boilerplate56 hits · 56 pts
SeverityFileLineSnippetContext
LOWsrc/main.py326logger = logging.getLogger(__name__)CODE
LOWsrc/util/misc/update.py13logger = logging.getLogger(__name__)CODE
LOWsrc/util/misc/web.py7logger = logging.getLogger(__name__)CODE
LOWsrc/util/misc/macos.py4logger = logging.getLogger(__name__)CODE
LOWsrc/util/ffmpeg/__init__.py11logger = logging.getLogger(__name__)CODE
LOWsrc/util/auth/user.py12logger = logging.getLogger(__name__)CODE
LOWsrc/util/auth/base.py8logger = logging.getLogger(__name__)CODE
LOWsrc/util/parse/worker.py12logger = logging.getLogger(__name__)CODE
LOWsrc/util/parse/episode/lesson.py8logger = logging.getLogger(__name__)CODE
LOWsrc/util/parse/parser/dynamic.py16logger = logging.getLogger(__name__)CODE
LOWsrc/util/parse/parser/base.py16logger = logging.getLogger(__name__)CODE
LOWsrc/util/parse/preview/audio_info.py17logger = logging.getLogger(__name__)CODE
LOWsrc/util/parse/preview/previewer.py24logger = logging.getLogger(__name__)CODE
LOWsrc/util/parse/additional/worker.py18logger = logging.getLogger(__name__)CODE
LOWsrc/util/parse/additional/chapter.py11logger = logging.getLogger(__name__)CODE
LOWsrc/util/network/request.py18logger = logging.getLogger(__name__)CODE
LOWsrc/util/network/download_url.py13logger = logging.getLogger(__name__)CODE
LOWsrc/util/network/cdn.py10logger = logging.getLogger(__name__)CODE
LOWsrc/util/mcp/server.py16logger = logging.getLogger(__name__)CODE
LOWsrc/util/mcp/protocol.py5logger = logging.getLogger(__name__)CODE
LOWsrc/util/mcp/__init__.py12logger = logging.getLogger(__name__)CODE
LOWsrc/util/mcp/invoke.py6logger = logging.getLogger(__name__)CODE
LOWsrc/util/mcp/tools/task.py10logger = logging.getLogger(__name__)CODE
LOWsrc/util/mcp/tools/download.py17logger = logging.getLogger(__name__)CODE
LOWsrc/util/mcp/tools/__init__.py7logger = logging.getLogger(__name__)CODE
LOWsrc/util/mcp/tools/parse.py10logger = logging.getLogger(__name__)CODE
LOWsrc/util/common/_json.py4logger = logging.getLogger(__name__)CODE
LOWsrc/util/common/config.py24logger = logging.getLogger(__name__)CODE
LOWsrc/util/common/io/file.py8logger = logging.getLogger(__name__)CODE
LOWsrc/util/common/io/directory.py14logger = logging.getLogger(__name__)CODE
LOWsrc/util/download/parse/audio_info.py10logger = logging.getLogger(__name__)CODE
LOWsrc/util/download/downloader/downloader.py32logger = logging.getLogger(__name__)CODE
LOWsrc/util/download/downloader/parse_worker.py21logger = logging.getLogger(__name__)CODE
LOWsrc/util/download/downloader/manager.py10logger = logging.getLogger(__name__)CODE
LOWsrc/util/download/downloader/merger.py21logger = logging.getLogger(__name__)CODE
LOWsrc/util/download/task/options.py10logger = logging.getLogger(__name__)CODE
LOWsrc/util/download/task/db.py12logger = logging.getLogger(__name__)CODE
LOWsrc/util/download/task/query_worker.py11logger = logging.getLogger(__name__)CODE
LOWsrc/util/download/task/manager.py29logger = logging.getLogger(__name__)CODE
LOWsrc/util/download/task/reparse_worker.py18logger = logging.getLogger(__name__)CODE
LOWsrc/util/download/cover/db.py9logger = logging.getLogger(__name__)CODE
LOWsrc/util/download/cover/query_worker.py13logger = logging.getLogger(__name__)CODE
LOWsrc/util/format/file_name.py14logger = logging.getLogger(__name__)CODE
LOWsrc/util/thread/dispatcher.py7logger = logging.getLogger(__name__)CODE
LOWsrc/util/thread/async_.py9logger = logging.getLogger(__name__)CODE
LOWsrc/util/thread/pool.py8logger = logging.getLogger(__name__)CODE
LOWsrc/gui/interface/main_window.py17logger = logging.getLogger(__name__)CODE
LOWsrc/gui/interface/setting.py26logger = logging.getLogger(__name__)CODE
LOWsrc/gui/interface/parse.py36logger = logging.getLogger(__name__)CODE
LOWsrc/gui/component/profile.py16logger = logging.getLogger(__name__)CODE
LOWsrc/gui/component/download_list/item_delegate.py21logger = logging.getLogger(__name__)CODE
LOWsrc/gui/component/setting/card.py27logger = logging.getLogger(__name__)CODE
LOWsrc/gui/dialog/misc/interactive_video.py12logger = logging.getLogger(__name__)CODE
LOWsrc/gui/dialog/misc/auto_parse.py14logger = logging.getLogger(__name__)CODE
LOWsrc/gui/dialog/setting/user_agent.py12logger = logging.getLogger(__name__)CODE
LOWsrc/gui/dialog/setting/proxy.py16logger = logging.getLogger(__name__)CODE
Deep Nesting31 hits · 31 pts
SeverityFileLineSnippetContext
LOWsrc/main.py262CODE
LOWsrc/util/auth/server.py10CODE
LOWsrc/util/auth/server.py90CODE
LOWsrc/util/auth/server.py19CODE
LOWsrc/util/auth/qrcode.py46CODE
LOWsrc/util/auth/cookie.py56CODE
LOWsrc/util/auth/cookie.py62CODE
LOWsrc/util/auth/cookie_login.py40CODE
LOWsrc/util/parse/episode/tree.py195CODE
LOWsrc/util/parse/episode/tree.py214CODE
LOWsrc/util/parse/episode/bangumi.py29CODE
LOWsrc/util/parse/episode/cheese.py28CODE
LOWsrc/util/parse/episode/video.py107CODE
LOWsrc/util/parse/preview/previewer.py60CODE
LOWsrc/util/parse/preview/previewer.py106CODE
LOWsrc/util/parse/additional/file/danmaku_ass.py186CODE
LOWsrc/util/network/download_url.py153CODE
LOWsrc/util/download/downloader/downloader.py256CODE
LOWsrc/util/download/downloader/downloader.py836CODE
LOWsrc/util/download/downloader/downloader.py908CODE
LOWsrc/util/download/downloader/parse_worker.py136CODE
LOWsrc/util/download/downloader/merger.py64CODE
LOWsrc/util/download/downloader/merger.py157CODE
LOWsrc/util/download/task/hash_id.py21CODE
LOWsrc/util/download/cover/query_worker.py35CODE
LOWsrc/util/format/file_name.py30CODE
LOWsrc/gui/interface/parse.py62CODE
LOWsrc/gui/component/parse_list/tree_view.py236CODE
LOWsrc/gui/component/parse_list/tree_view.py259CODE
LOWsrc/gui/component/parse_list/tree_view.py456CODE
LOWsrc/gui/dialog/log.py112CODE
Cross-Language Confusion3 hits · 11 pts
SeverityFileLineSnippetContext
HIGHsrc/util/parse/additional/file/danmaku_ass.py113 track.push(stime, duration_ms, text_width, speed)STRING
HIGHsrc/util/parse/additional/file/danmaku_ass.py121 track.push(stime + duration_ms)STRING
HIGHsrc/util/parse/additional/file/danmaku_ass.py129 track.push(stime + duration_ms)STRING
AI Structural Patterns6 hits · 6 pts
SeverityFileLineSnippetContext
LOWsrc/util/parse/additional/cover.py35CODE
LOWsrc/util/parse/additional/subtitles.py197CODE
LOWsrc/util/parse/additional/danmaku.py93CODE
LOWsrc/util/network/request.py278CODE
LOWsrc/util/network/request.py369CODE
LOWsrc/util/download/task/hash_id.py21CODE
Over-Commented Block5 hits · 5 pts
SeverityFileLineSnippetContext
LOWsrc/util/__init__.py1# 此处不要导入子模块:util 是所有工具模块的父包,任何一次 from util.x import y 都会先执行COMMENT
LOWsrc/util/network/proxy.py41 COMMENT
LOWsrc/util/network/download_url.py21# 否则批量下载时的自身并发会把好节点误判成故障节点COMMENT
LOWsrc/util/download/downloader/downloader.py1241 holder[0].waitForDone()COMMENT
LOWsrc/gui/component/widget/__init__.py1# 此处不要聚合导出子模块:导入任意一个子模块都会先执行本文件,聚合导出会把 flyout ->COMMENT
Slop Phrases1 hit · 1 pts
SeverityFileLineSnippetContext
LOWsrc/gui/dialog/main_window/about.py31 self.sponsor_lab = BodyLabel(self.tr("If this project saved you time or solved your problem, consider buying theCODE