AI Slop Code RIsk Monitor

morpheus65535/bazarr

Bazarr is a companion application to Sonarr and Radarr. It manages and downloads subtitles based on your requirements. You define your preferences by TV show or movie and Bazarr takes care of everything for you.

15.4 Elevated pattern signal View on GitHub

Maintenance and Governance Review

This report summarizes scanner evidence for morpheus65535/bazarr, a Python project with 4,356 GitHub stars. SynthScan examined 1,623,976 lines of code across 4481 source files, recording 16563 pattern matches distributed across 25 syntactic categories. The legacy adjusted pattern signal is 15.4 (Elevated 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.

15.4
Adjusted Signal
15.4
Raw Pattern Score
100%
Time Factor
2026-10-10
Last Push
4.4K
Stars
Python
Language
1.6M
Lines of Code
4.5K
Files
16.6K
Pattern Hits
2026-10-12
Scan Date
0.42
HC Hit Rate

Risk Review · v3

Use each vector to guide manual verification of the underlying findings.

Cognitive Ownership Risk 22.5/100 · LOW

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

Hallucinated Dependency & Supply Chain Risk 17.8/100 · LOW

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

Agent Over-Engineering Ratio 34.4/100 · MEDIUM

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

PR Review Velocity Impact 57.5/100 · HIGH

Which changes need focused human review? 16563 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 18HIGH 1877MEDIUM 838LOW 13830

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 16563 distinct pattern matches across 25 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.

Unused Imports5505 hits · 4758 pts
SeverityFileLineSnippetContext
LOWbazarr/get_args.py4CODE
LOWbazarr/init.py57CODE
LOWbazarr/init.py80CODE
LOWbazarr/init.py80CODE
LOWbazarr/init.py80CODE
LOWbazarr/init.py80CODE
LOWbazarr/init.py80CODE
LOWbazarr/init.py79CODE
LOWbazarr/init.py79CODE
LOWbazarr/init.py83CODE
LOWbazarr/main.py26CODE
LOWbazarr/main.py27CODE
LOWbazarr/app/database.py17CODE
LOWbazarr/app/database.py17CODE
LOWbazarr/app/app.py45CODE
LOWbazarr/app/signalr_client.py18CODE
LOWbazarr/app/signalr_client.py19CODE
LOWbazarr/app/signalr_client.py23CODE
LOWbazarr/app/signalr_client.py27CODE
LOWbazarr/app/announcements.py14CODE
LOWbazarr/app/announcements.py17CODE
LOWbazarr/radarr/sync/movies.py18CODE
LOWbazarr/plex/operations.py5CODE
LOWbazarr/api/jellyfin/__init__.py6CODE
LOWbazarr/api/providers/providers_episodes.py11CODE
LOWbazarr/api/providers/providers_episodes.py12CODE
LOWbazarr/api/providers/providers_movies.py11CODE
LOWbazarr/api/providers/providers_movies.py12CODE
LOWbazarr/api/system/settings.py14CODE
LOWbazarr/api/movies/movies_subtitles.py10CODE
LOWbazarr/api/movies/movies_subtitles.py14CODE
LOWbazarr/api/movies/movies_subtitles.py16CODE
LOWbazarr/api/movies/movies_subtitles.py17CODE
LOWbazarr/api/movies/movies_subtitles.py18CODE
LOWbazarr/api/plex/security.py4CODE
LOWbazarr/api/plex/__init__.py6CODE
LOWbazarr/api/plex/oauth.py17CODE
LOWbazarr/api/subtitles/subtitles_contents.py2CODE
LOWbazarr/api/webhooks/radarr.py10CODE
LOWbazarr/api/webhooks/plex.py6CODE
LOWbazarr/api/webhooks/sonarr.py10CODE
LOWbazarr/subtitles/__init__.py3CODE
LOWbazarr/subtitles/__init__.py4CODE
LOWbazarr/subtitles/__init__.py5CODE
LOWbazarr/subtitles/manual.py27CODE
LOWbazarr/subtitles/upgrade.py6CODE
LOWbazarr/subtitles/post_processing.py7CODE
LOWbazarr/subtitles/tools/subsyncer.py30CODE
LOW…arr/subtitles/tools/translate/core/translator_utils.py14CODE
LOW…arr/subtitles/tools/translate/core/translator_utils.py14CODE
LOW…ubtitles/tools/translate/services/gemini_translator.py24CODE
LOW…ubtitles/tools/translate/services/gemini_translator.py25CODE
LOW…ubtitles/tools/translate/services/gemini_translator.py27CODE
LOWbazarr/subtitles/refiners/anilist.py5CODE
LOWbazarr/subtitles/refiners/anilist.py7CODE
LOWbazarr/subtitles/refiners/anidb.py7CODE
LOWbazarr/subtitles/mass_download/__init__.py3CODE
LOWbazarr/subtitles/mass_download/__init__.py4CODE
LOWbazarr/subtitles/mass_download/__init__.py4CODE
LOWbazarr/subtitles/wanted/__init__.py3CODE
5445 more matches not shown…
Cross-File Repetition856 hits · 4280 pts
SeverityFileLineSnippetContext
HIGHlibs/wcwidth/table_zero.py0exports wide_eastasian table keyed by supporting unicode version level. this code generated by python wcwidth project.STRING
HIGHlibs/wcwidth/table_vs16.py0exports wide_eastasian table keyed by supporting unicode version level. this code generated by python wcwidth project.STRING
HIGHlibs/wcwidth/table_mc.py0exports wide_eastasian table keyed by supporting unicode version level. this code generated by python wcwidth project.STRING
HIGHlibs/wcwidth/table_ambiguous.py0exports wide_eastasian table keyed by supporting unicode version level. this code generated by python wcwidth project.STRING
HIGHlibs/wcwidth/table_vs15.py0exports wide_eastasian table keyed by supporting unicode version level. this code generated by python wcwidth project.STRING
HIGHlibs/wcwidth/table_wide.py0exports wide_eastasian table keyed by supporting unicode version level. this code generated by python wcwidth project.STRING
HIGHlibs/websocket/_logging.py0test_app.py websocket - websocket client library for python copyright 2025 engn33r licensed under the apache license, veSTRING
HIGHlibs/websocket/_socket.py0test_app.py websocket - websocket client library for python copyright 2025 engn33r licensed under the apache license, veSTRING
HIGHlibs/websocket/_url.py0test_app.py websocket - websocket client library for python copyright 2025 engn33r licensed under the apache license, veSTRING
HIGHlibs/websocket/_http.py0test_app.py websocket - websocket client library for python copyright 2025 engn33r licensed under the apache license, veSTRING
HIGHlibs/websocket/_wsdump.py0test_app.py websocket - websocket client library for python copyright 2025 engn33r licensed under the apache license, veSTRING
HIGHlibs/websocket/_ssl_compat.py0test_app.py websocket - websocket client library for python copyright 2025 engn33r licensed under the apache license, veSTRING
HIGHlibs/websocket/_handshake.py0test_app.py websocket - websocket client library for python copyright 2025 engn33r licensed under the apache license, veSTRING
HIGHlibs/websocket/_dispatcher.py0test_app.py websocket - websocket client library for python copyright 2025 engn33r licensed under the apache license, veSTRING
HIGHlibs/websocket/__init__.py0test_app.py websocket - websocket client library for python copyright 2025 engn33r licensed under the apache license, veSTRING
HIGHlibs/websocket/_app.py0test_app.py websocket - websocket client library for python copyright 2025 engn33r licensed under the apache license, veSTRING
HIGHlibs/websocket/_abnf.py0test_app.py websocket - websocket client library for python copyright 2025 engn33r licensed under the apache license, veSTRING
HIGHlibs/websocket/_core.py0test_app.py websocket - websocket client library for python copyright 2025 engn33r licensed under the apache license, veSTRING
HIGHlibs/websocket/_cookiejar.py0test_app.py websocket - websocket client library for python copyright 2025 engn33r licensed under the apache license, veSTRING
HIGHlibs/websocket/_exceptions.py0test_app.py websocket - websocket client library for python copyright 2025 engn33r licensed under the apache license, veSTRING
HIGHlibs/websocket/_utils.py0test_app.py websocket - websocket client library for python copyright 2025 engn33r licensed under the apache license, veSTRING
HIGHlibs/websocket/tests/test_ssl_edge_cases.py0test_app.py websocket - websocket client library for python copyright 2025 engn33r licensed under the apache license, veSTRING
HIGHlibs/websocket/tests/test_utils.py0test_app.py websocket - websocket client library for python copyright 2025 engn33r licensed under the apache license, veSTRING
HIGHlibs/websocket/tests/test_socket_bugs.py0test_app.py websocket - websocket client library for python copyright 2025 engn33r licensed under the apache license, veSTRING
HIGHlibs/websocket/tests/test_large_payloads.py0test_app.py websocket - websocket client library for python copyright 2025 engn33r licensed under the apache license, veSTRING
HIGHlibs/websocket/tests/test_cookiejar.py0test_app.py websocket - websocket client library for python copyright 2025 engn33r licensed under the apache license, veSTRING
HIGHlibs/websocket/tests/test_websocket.py0test_app.py websocket - websocket client library for python copyright 2025 engn33r licensed under the apache license, veSTRING
HIGHlibs/websocket/tests/test_abnf.py0test_app.py websocket - websocket client library for python copyright 2025 engn33r licensed under the apache license, veSTRING
HIGHlibs/websocket/tests/test_socket.py0test_app.py websocket - websocket client library for python copyright 2025 engn33r licensed under the apache license, veSTRING
HIGHlibs/websocket/tests/test_handshake_large_response.py0test_app.py websocket - websocket client library for python copyright 2025 engn33r licensed under the apache license, veSTRING
HIGHlibs/websocket/tests/test_http.py0test_app.py websocket - websocket client library for python copyright 2025 engn33r licensed under the apache license, veSTRING
HIGHlibs/websocket/tests/test_url.py0test_app.py websocket - websocket client library for python copyright 2025 engn33r licensed under the apache license, veSTRING
HIGHlibs/websocket/tests/test_dispatcher.py0test_app.py websocket - websocket client library for python copyright 2025 engn33r licensed under the apache license, veSTRING
HIGHlibs/websocket/tests/test_ssl_compat.py0test_app.py websocket - websocket client library for python copyright 2025 engn33r licensed under the apache license, veSTRING
HIGHlibs/websocket/tests/test_app.py0test_app.py websocket - websocket client library for python copyright 2025 engn33r licensed under the apache license, veSTRING
HIGHlibs/flask_migrate/templates/flask/env.py0run migrations in 'offline' mode. this configures the context with just a url and not an engine, though an engine is accSTRING
HIGHlibs/flask_migrate/templates/aioflask-multidb/env.py0run migrations in 'offline' mode. this configures the context with just a url and not an engine, though an engine is accSTRING
HIGHlibs/flask_migrate/templates/aioflask/env.py0run migrations in 'offline' mode. this configures the context with just a url and not an engine, though an engine is accSTRING
HIGHlibs/flask_migrate/templates/flask-multidb/env.py0run migrations in 'offline' mode. this configures the context with just a url and not an engine, though an engine is accSTRING
HIGHlibs/alembic/templates/pyproject_async/env.py0run migrations in 'offline' mode. this configures the context with just a url and not an engine, though an engine is accSTRING
HIGHlibs/alembic/templates/async/env.py0run migrations in 'offline' mode. this configures the context with just a url and not an engine, though an engine is accSTRING
HIGHlibs/alembic/templates/multidb/env.py0run migrations in 'offline' mode. this configures the context with just a url and not an engine, though an engine is accSTRING
HIGHlibs/alembic/templates/pyproject/env.py0run migrations in 'offline' mode. this configures the context with just a url and not an engine, though an engine is accSTRING
HIGHlibs/alembic/templates/generic/env.py0run migrations in 'offline' mode. this configures the context with just a url and not an engine, though an engine is accSTRING
HIGHlibs/flask_migrate/templates/flask/env.py0run migrations in 'online' mode. in this scenario we need to create an engine and associate a connection with the contexSTRING
HIGHlibs/flask_migrate/templates/aioflask-multidb/env.py0run migrations in 'online' mode. in this scenario we need to create an engine and associate a connection with the contexSTRING
HIGHlibs/flask_migrate/templates/aioflask/env.py0run migrations in 'online' mode. in this scenario we need to create an engine and associate a connection with the contexSTRING
HIGHlibs/flask_migrate/templates/flask-multidb/env.py0run migrations in 'online' mode. in this scenario we need to create an engine and associate a connection with the contexSTRING
HIGHlibs/alembic/templates/multidb/env.py0run migrations in 'online' mode. in this scenario we need to create an engine and associate a connection with the contexSTRING
HIGHlibs/alembic/templates/pyproject/env.py0run migrations in 'online' mode. in this scenario we need to create an engine and associate a connection with the contexSTRING
HIGHlibs/alembic/templates/generic/env.py0run migrations in 'online' mode. in this scenario we need to create an engine and associate a connection with the contexSTRING
HIGHlibs/deep_translator/microsoft.py0class that wraps functions, which use the linguee translator under the hood to translate word(s)STRING
HIGHlibs/deep_translator/yandex.py0class that wraps functions, which use the linguee translator under the hood to translate word(s)STRING
HIGHlibs/deep_translator/qcri.py0class that wraps functions, which use the linguee translator under the hood to translate word(s)STRING
HIGHlibs/deep_translator/deepl.py0class that wraps functions, which use the linguee translator under the hood to translate word(s)STRING
HIGHlibs/deep_translator/tencent.py0class that wraps functions, which use the linguee translator under the hood to translate word(s)STRING
HIGHlibs/deep_translator/baidu.py0class that wraps functions, which use the linguee translator under the hood to translate word(s)STRING
HIGHlibs/deep_translator/linguee.py0class that wraps functions, which use the linguee translator under the hood to translate word(s)STRING
HIGHlibs/deep_translator/microsoft.py0function that uses google translate to translate a text @param text: desired text to translate @return: str: translated STRING
HIGHlibs/deep_translator/libre.py0function that uses google translate to translate a text @param text: desired text to translate @return: str: translated STRING
796 more matches not shown…
Empty Error Handlers718 hits · 3580 pts
SeverityFileLineSnippetContext
HIGHbazarr.py151except FileNotFoundError:CODE
HIGHbazarr.py156except FileNotFoundError:CODE
HIGHbazarr/init.py142except Exception:CODE
HIGHbazarr/app/server.py96except Exception:CODE
HIGHbazarr/app/event_handler.py17except (ValueError, TypeError):CODE
HIGHbazarr/app/config.py730except ValueError:CODE
HIGHbazarr/app/config.py978except Exception:CODE
HIGHbazarr/app/config.py985except Exception:CODE
HIGHbazarr/app/config.py1583except Exception:CODE
HIGHbazarr/app/database.py552except ValueError:CODE
HIGHbazarr/app/signalr_client.py403except IndexError:CODE
HIGHbazarr/utilities/backup.py183except FileNotFoundError:CODE
HIGHbazarr/utilities/video_analyzer.py210except ValueError:CODE
HIGHbazarr/utilities/video_analyzer.py279except Exception:CODE
HIGHbazarr/subtitles/upload.py121except Exception:CODE
HIGHbazarr/subtitles/download.py119except (OSError, FileNotFoundError):CODE
HIGH…ubtitles/tools/translate/services/gemini_translator.py293except (TypeError, ValueError):CODE
HIGH…ubtitles/tools/translate/services/gemini_translator.py568except OSError:CODE
HIGHbazarr/subtitles/indexer/series.py374except ValueError:CODE
HIGHbazarr/subtitles/indexer/series.py382except ValueError:CODE
HIGHbazarr/subtitles/indexer/movies.py363except ValueError:CODE
HIGHbazarr/subtitles/indexer/movies.py371except ValueError:CODE
HIGHbazarr/subtitles/indexer/utils.py94except Exception:CODE
HIGHlibs/appdirs.py501except UnicodeError:CODE
HIGHlibs/appdirs.py499except ImportError:CODE
HIGHlibs/socks.py288except socket.error:CODE
HIGHlibs/six.py103except AttributeError:CODE
HIGHlibs/six.py209except KeyError:CODE
HIGHlibs/rarfile.py3177except ValueError:CODE
HIGHlibs/rarfile.py1640except UnicodeError:CODE
HIGHlibs/rarfile.py2485except OSError:CODE
HIGHlibs/srt.py391except TypeError:CODE
HIGHlibs/typing_extensions.py618except AttributeError: # For platforms without _getframemodulename()CODE
HIGHlibs/typing_extensions.py622except (AttributeError, ValueError): # For platforms without _getframe()CODE
HIGHlibs/typing_extensions.py3884except ImportError:CODE
HIGHlibs/typing_extensions.py317except (AttributeError, TypeError):CODE
HIGHlibs/typing_extensions.py479except AttributeError:CODE
HIGHlibs/typing_extensions.py2868except (AttributeError, TypeError):CODE
HIGHlibs/typing_extensions.py400except TypeError:CODE
HIGHlibs/typing_extensions.py4051except ValueError:CODE
HIGHlibs/typing_extensions.py3353except AttributeError:CODE
HIGHlibs/pycountry/db.py204except LookupError:CODE
HIGHlibs/pycountry/__init__.py62except LookupError:CODE
HIGHlibs/trakit/language.py123except CountryReverseError:CODE
HIGHlibs/trakit/converters/country.py17except KeyError:CODE
HIGHlibs/trakit/converters/country.py23except ValueError:CODE
HIGHlibs/trakit/converters/country.py29except CountryReverseError:CODE
HIGHlibs/trakit/converters/language.py20except KeyError:CODE
HIGHlibs/trakit/converters/language.py27except (ValueError, LanguageReverseError):CODE
HIGHlibs/flask/config.py163except Exception:CODE
HIGHlibs/flask/cli.py1106except ValueError:CODE
HIGHlibs/flask/cli.py1044except ImportError:CODE
HIGHlibs/tld/utils.py594except (TldBadUrl, TldDomainNotFound, TldImproperlyConfigured, TldIOError):CODE
HIGHlibs/tld/utils.py252except Exception:CODE
HIGHlibs/rebulk/chain.py356except ValueError:CODE
HIGHlibs/wcwidth/sgr_state.py206except StopIteration:CODE
HIGHlibs/websocket/_socket.py100except SSLWantReadError:CODE
HIGHlibs/websocket/_socket.py170except SSLWantWriteError:CODE
HIGHlibs/websocket/_wsdump.py36except ImportError:CODE
HIGHlibs/websocket/_wsdump.py195except:CODE
658 more matches not shown…
Hyper-Verbose Identifiers3043 hits · 3011 pts
SeverityFileLineSnippetContext
LOW⚡bazarr/app/config.py1483def cleanup_legacy_oauth_config():CODE
LOWbazarr/app/config.py1049def configure_sz_ssl_verify_func():CODE
LOWbazarr/app/config.py1519def migrate_plex_library_to_list():CODE
LOWbazarr/app/database.py544def get_audio_profile_languages(audio_languages_list_str):CODE
LOWbazarr/app/database.py610def upgrade_languages_profile_values():CODE
LOWbazarr/app/database.py642def fix_languages_profiles_with_duplicate_ids():CODE
LOWbazarr/app/check_update.py19def deprecated_python_version():CODE
LOW⚡bazarr/app/get_providers.py47def titulky_limit_reset_timedelta():CODE
LOW⚡bazarr/app/get_providers.py53def legendasdivx_limit_reset_timedelta():CODE
LOW⚡bazarr/app/get_providers.py58def midnight_gmt_limit_reset_timedelta():CODE
LOWbazarr/app/get_providers.py501def update_throttled_provider():CODE
LOWbazarr/app/get_providers.py544def reset_throttled_providers(only_auth_or_conf_error=False):CODE
LOWbazarr/app/jobs_queue.py325 def update_job_progress_status(self, job_id: int, is_progress: bool = False) -> bool:CODE
LOWbazarr/app/jobs_queue.py401 def remove_job_from_pending_queue(self, job_id: int):CODE
LOWbazarr/app/jobs_queue.py429 def move_job_in_pending_queue(self, job_id: int, move_destination: str) -> bool:CODE
LOWbazarr/app/jobs_queue.py505 def consume_jobs_pending_queue(self):CODE
LOWbazarr/app/scheduler.py103 def update_configurable_tasks(self):CODE
LOWbazarr/app/scheduler.py237 def __sonarr_full_update_task(self):CODE
LOWbazarr/app/scheduler.py258 def __radarr_full_update_task(self):CODE
LOWbazarr/app/scheduler.py307 def __search_wanted_subtitles_task(self):CODE
LOWbazarr/app/scheduler.py329 def __randomize_interval_task(self):CODE
LOWbazarr/app/announcements.py24def upcoming_deprecated_python_version():CODE
LOWbazarr/app/announcements.py52def get_announcements_to_file(job_id=None, startup=False, wait_for_completion=False):CODE
LOWbazarr/app/announcements.py150def mark_announcement_as_dismissed(hashed_announcement):CODE
LOWbazarr/radarr/blacklist.py36def blacklist_delete_all_movie():CODE
LOWbazarr/radarr/sync/movies.py40def get_movie_file_size_from_db(movie_path):CODE
LOWbazarr/radarr/sync/movies.py79def get_movie_monitored_status(movie_id):CODE
LOWbazarr/radarr/sync/movies.py378def _is_there_missing_subtitles(radarr_id: int) -> bool:CODE
LOWbazarr/radarr/sync/utils.py69def get_movies_from_radarr_api(apikey_radarr, radarr_id=None):CODE
LOWbazarr/radarr/sync/utils.py99def get_history_from_radarr_api(apikey_radarr, movie_id):CODE
LOWbazarr/utilities/backup.py22def _validate_backup_filename(filename):CODE
LOW⚡bazarr/utilities/autopulse_webhook.py376def _detect_smart_path_differences():CODE
LOWbazarr/utilities/autopulse_webhook.py12def generate_autopulse_config(decrypted_token=None):CODE
LOWbazarr/utilities/autopulse_webhook.py110def _get_autopulse_template_url():CODE
LOWbazarr/utilities/autopulse_webhook.py132def _generate_config_from_template(template_data, server_url, decrypted_token, server_name):CODE
LOWbazarr/utilities/autopulse_webhook.py273def test_external_webhook_connection():CODE
LOWbazarr/utilities/autopulse_webhook.py427def _detect_mount_point_difference(bazarr_path, plex_path, media_type):CODE
LOWbazarr/utilities/path_mappings.py71 def path_replace_reverse_movie(self, path):CODE
LOWbazarr/utilities/plex_utils.py8def get_plex_libraries_with_paths():CODE
LOWbazarr/utilities/helper.py33def get_subtitle_destination_folder():CODE
LOWbazarr/utilities/video_analyzer.py119def subtitles_sync_references(subtitles_path, sonarr_episode_id=None, radarr_movie_id=None):CODE
LOW⚡bazarr/plex/operations.py90def plex_set_movie_added_date_now(movie_metadata) -> None:CODE
LOW⚡bazarr/plex/operations.py132def plex_set_episode_added_date_now(episode_metadata) -> None:CODE
LOWbazarr/api/utils.py69def audio_language_filter_clause(column, language):CODE
LOWbazarr/api/utils.py75def series_audio_language_filter_clause(language):CODE
LOWbazarr/api/plex/security.py58def get_or_create_encryption_key(settings_obj, key_name: str) -> str:CODE
LOWbazarr/api/plex/oauth.py71def get_or_create_client_identifier():CODE
LOWbazarr/subtitles/download.py168def _blacklist_unusable_subtitles(video, subtitles, media_type, language, failed_subtitle=None):CODE
LOWbazarr/subtitles/manual.py256def episode_manually_download_specific_subtitle(sonarr_series_id, sonarr_episode_id, hi, forced, use_original_format,CODE
LOWbazarr/subtitles/manual.py312def movie_manually_download_specific_subtitle(radarr_id, hi, forced, use_original_format, selected_provider, subtitle,CODE
LOWbazarr/subtitles/upgrade.py42def upgrade_episodes_subtitles(job_id=None, wait_for_completion=False):CODE
LOWbazarr/subtitles/upgrade.py259def get_queries_condition_parameters():CODE
LOWbazarr/subtitles/upgrade.py288def get_upgradable_episode_subtitles(history_id_list=None):CODE
LOWbazarr/subtitles/upgrade.py370def get_upgradable_movies_subtitles(history_id_list=None):CODE
LOWbazarr/subtitles/utils.py107def refine_video_with_scenename(initial_video, scenename_video):CODE
LOWbazarr/subtitles/embedded.py70def extract_embedded_subtitle(subtitles_id, media_type, job_id=None):CODE
LOWbazarr/subtitles/tools/subsyncer.py62 def _audio_stream_for_original_language(cls, sonarr_series_id=None, sonarr_episode_id=None, radarr_id=None):CODE
LOWbazarr/subtitles/tools/translate/main.py18def extract_and_translate_embedded(subtitles_id, media_type, video_path, from_lang, to_lang, forced, hi,CODE
LOW…arr/subtitles/tools/translate/core/translator_utils.py23def validate_translation_params(video_path, source_srt_file, from_lang, to_lang):CODE
LOW…arr/subtitles/tools/translate/core/translator_utils.py34def resolve_translation_source(subtitles, subtitles_path, subtitles_id, language_validator=alpha3_from_alpha2):CODE
2983 more matches not shown…
Deep Nesting2030 hits · 1849 pts
SeverityFileLineSnippetContext
LOWbazarr/app/server.py44CODE
LOWbazarr/app/config.py651CODE
LOWbazarr/app/config.py690CODE
LOWbazarr/app/config.py1099CODE
LOWbazarr/app/config.py1559CODE
LOWbazarr/app/ui.py236CODE
LOWbazarr/app/database.py522CODE
LOWbazarr/app/database.py544CODE
LOWbazarr/app/database.py574CODE
LOWbazarr/app/database.py610CODE
LOWbazarr/app/database.py671CODE
LOWbazarr/app/check_update.py24CODE
LOWbazarr/app/check_update.py66CODE
LOWbazarr/app/check_update.py149CODE
LOWbazarr/app/check_update.py207CODE
LOWbazarr/app/get_providers.py409CODE
LOWbazarr/app/get_providers.py472CODE
LOWbazarr/app/get_providers.py501CODE
LOWbazarr/app/logger.py112CODE
LOWbazarr/app/logger.py248CODE
LOWbazarr/app/jobs_queue.py429CODE
LOWbazarr/app/jobs_queue.py505CODE
LOWbazarr/app/scheduler.py122CODE
LOWbazarr/app/scheduler.py237CODE
LOWbazarr/app/scheduler.py258CODE
LOWbazarr/app/signalr_client.py249CODE
LOWbazarr/app/signalr_client.py319CODE
LOWbazarr/app/signalr_client.py360CODE
LOWbazarr/app/signalr_client.py48CODE
LOWbazarr/jellyfin/operations.py65CODE
LOWbazarr/jellyfin/operations.py128CODE
LOWbazarr/radarr/rootfolder.py63CODE
LOWbazarr/radarr/sync/converter.py3CODE
LOWbazarr/radarr/sync/converter.py32CODE
LOWbazarr/radarr/sync/movies.py104CODE
LOWbazarr/radarr/sync/movies.py235CODE
LOWbazarr/radarr/sync/parser.py24CODE
LOWbazarr/radarr/sync/utils.py11CODE
LOWbazarr/languages/custom_lang.py180CODE
LOWbazarr/utilities/backup.py125CODE
LOWbazarr/utilities/binaries.py43CODE
LOWbazarr/utilities/filesystem.py7CODE
LOWbazarr/utilities/autopulse_webhook.py56CODE
LOWbazarr/utilities/autopulse_webhook.py201CODE
LOWbazarr/utilities/autopulse_webhook.py273CODE
LOWbazarr/utilities/autopulse_webhook.py493CODE
LOWbazarr/utilities/path_mappings.py17CODE
LOWbazarr/utilities/path_mappings.py35CODE
LOWbazarr/utilities/path_mappings.py53CODE
LOWbazarr/utilities/path_mappings.py71CODE
LOWbazarr/utilities/plex_utils.py8CODE
LOWbazarr/utilities/plex_utils.py69CODE
LOWbazarr/utilities/video_analyzer.py119CODE
LOWbazarr/utilities/video_analyzer.py230CODE
LOWbazarr/plex/operations.py219CODE
LOWbazarr/api/utils.py118CODE
LOWbazarr/api/series/series.py253CODE
LOWbazarr/api/system/releases.py32CODE
LOWbazarr/api/system/logs.py44CODE
LOWbazarr/api/system/languages.py23CODE
1970 more matches not shown…
Cross-Language Confusion238 hits · 1345 pts
SeverityFileLineSnippetContext
HIGHlibs/flask/app.py1392 :meth:`RequestContext.push() <flask.ctx.RequestContext.push>`STRING
HIGHlibs/flask/app.py1442 ctx.push()STRING
HIGHlibs/flask/app.py1510 ctx.push()CODE
HIGHlibs/flask/ctx.py275 self.push()CODE
HIGHlibs/flask/ctx.py384 app_ctx.push()CODE
HIGHlibs/flask/ctx.py444 self.push()CODE
HIGHlibs/pyjsparser/parser.py1162 if (self.firstCoverInitializedNameError != null):CODE
HIGHlibs/pyjsparser/parser.py1191 elements.append(null)CODE
HIGHlibs/pyjsparser/parser.py1270 elements.append(null)CODE
HIGHlibs/pyjsparser/parser.py1306 return node.finishFunctionExpression(null, paramInfo.get('params'),CODE
HIGHlibs/pyjsparser/parser.py1312 params = self.parseParams(null)CODE
HIGHlibs/pyjsparser/parser.py1345 return trueCODE
HIGHlibs/pyjsparser/parser.py1348 return falseCODE
HIGHlibs/pyjsparser/parser.py1370 'stricted': null,CODE
HIGHlibs/pyjsparser/parser.py1371 'firstRestricted': null,CODE
HIGHlibs/pyjsparser/parser.py1386 'firstRestricted': null,CODE
HIGHlibs/pyjsparser/parser.py1477 if (expr['elements'][i] != null):CODE
HIGHlibs/pyjsparser/parser.py1965 if (param.elements[i] != null):CODE
HIGHlibs/pyjsparser/parser.py1995 defaults.append(null)CODE
HIGHlibs/pyjsparser/parser.py2436 return node.finishContinueStatement(null)CODE
HIGHlibs/pyjsparser/parser.py2440 return node.finishContinueStatement(null)CODE
HIGHlibs/pyjsparser/parser.py2467 return node.finishBreakStatement(null)CODE
HIGHlibs/pyjsparser/parser.py2471 return node.finishBreakStatement(null)CODE
HIGHlibs/pyjsparser/parser.py2503 return node.finishReturnStatement(null)CODE
HIGHlibs/pyjsparser/parser.py2579 if (clause.test == null):CODE
HIGHlibs/pyjsparser/parser.py2804 options['defaults'].append(null)CODE
HIGHlibs/pyjsparser/parser.py2805 return falseCODE
HIGHlibs/chardet/pipeline/ascii.py34 return None # Non-null, non-ASCII bytes presentSTRING
HIGHlibs/chardet/pipeline/utf1632.py165 every other byte is null), we disambiguate by decoding both ways andSTRING
HIGHlibs/chardet/pipeline/utf1632.py212 # byte is null). Decode both and pick the one with higher text quality.COMMENT
HIGHlibs/pygments/lexers/c_like.py242 (r'(true|false|null)\b', Name.Builtin),CODE
HIGHlibs/pygments/lexers/ada.py49 (r'(true|false|null)\b', Keyword.Constant),CODE
HIGHlibs/pygments/lexers/qvt.py63 (r'(true|false|unlimited|null)\b', Keyword.Constant),CODE
HIGHlibs/pygments/lexers/nix.py59 (r'\b(true|false|null)\b', Name.Constant),CODE
HIGHlibs/pygments/lexers/parasail.py40 r'(is|not)\s+null)\b',CODE
HIGHlibs/pygments/lexers/smithy.py61 (r"(true|false|null)", Keyword.Constant),CODE
HIGHlibs/pygments/lexers/hare.py59 (r'(true|false|null)\b', Name.Builtin),CODE
HIGHlibs/pygments/lexers/webmisc.py868 (r'(true|false|null|NaN|Infinity|undefined)\b', Keyword.Constant),CODE
HIGHlibs/pygments/lexers/_julia_builtins.py147for compl in filter!(x -> isa(x, REPLCompletions.ModuleCompletion) && (x.parent === Base || x.parent === Core),STRING
HIGHlibs/pygments/lexers/_julia_builtins.py151 if (v isa Type || v isa TypeVar) && (compl.mod != "=>")STRING
HIGHlibs/pygments/lexers/_julia_builtins.py358for compl in filter!(x -> isa(x, REPLCompletions.ModuleCompletion) && (x.parent === Base || x.parent === Core),STRING
HIGHlibs/pygments/lexers/_julia_builtins.py362 if !(v isa Function || v isa Type || v isa TypeVar || v isa Module || v isa Colon)STRING
HIGHlibs/pygments/lexers/scripting.py1627 (r'(true|false|null)\b', Keyword.Constant),CODE
HIGHlibs/pygments/lexers/d.py65 (r'(false|true|null)\b', Keyword.Constant),CODE
HIGHlibs/pygments/lexers/d.py213 (r'(false|true|null)\b', Keyword.Constant),CODE
HIGHlibs/pygments/lexers/jmespath.py63 (r'(false|true|null)\b', Keyword.Constant),CODE
HIGHlibs/pygments/lexers/templates.py183 (r'(true|false|null)\b', Keyword.Constant),CODE
HIGHlibs/pygments/lexers/templates.py265 (r'(true|false|null)\b', Keyword.Constant),CODE
HIGHlibs/pygments/lexers/templates.py1567 (r'(true|false|null)\b', Keyword.Constant),STRING
HIGHlibs/pygments/lexers/templates.py2205 (r'(?i)(true|false|none|null)\b', Keyword.Pseudo),STRING
HIGHlibs/pygments/lexers/rell.py38 (r'(false|true|null)\b', Keyword.Constant),CODE
HIGHlibs/pygments/lexers/jvm.py64 (r'(true|false|null)\b', Keyword.Constant),CODE
HIGHlibs/pygments/lexers/jvm.py322 (r'(true|false|null)\b', Keyword.Constant),CODE
HIGHlibs/pygments/lexers/jvm.py590 (r'(true|false|null)\b', Keyword.Constant),CODE
HIGHlibs/pygments/lexers/jvm.py989 (r'(true|false|null)\b', Keyword.Constant),CODE
HIGHlibs/pygments/lexers/jvm.py1050 (r'(true|false|null)\b', Keyword.Constant),CODE
HIGHlibs/pygments/lexers/jvm.py1144 (r'(true|false|null)\b', Keyword.Constant),CODE
HIGHlibs/pygments/lexers/jvm.py1281 (r'(true|false|null)\b', Keyword.Constant),CODE
HIGHlibs/pygments/lexers/php.py73 (r'(true|false|null|undefined)\b', Keyword.Constant),CODE
HIGHlibs/pygments/lexers/php.py226 (r'(true|false|null)\b', Keyword.Constant),CODE
178 more matches not shown…
Self-Referential Comments465 hits · 1320 pts
SeverityFileLineSnippetContext
MEDIUM⚡tests/bazarr/test_sonarr_sync_episodes.py85 # Create a Row-like object as returned by:COMMENT
MEDIUMlibs/flask/app.py782 """This method is called whenever an exception occurs thatSTRING
MEDIUM⚡libs/flask/app.py954 """This method is called to create the default ``OPTIONS`` response.STRING
MEDIUMlibs/tld/tests/test_core.py416 # Define a custom TLD source parser classCOMMENT
MEDIUMlibs/websocket/tests/test_large_payloads.py68 # Create a large payload that would trigger chunked readingCOMMENT
MEDIUMlibs/websocket/tests/test_socket.py334 # Create a scenario where send succeeds after selector retryCOMMENT
MEDIUMlibs/websocket/tests/test_handshake_large_response.py35 # Create a large error response body (> 16KB)COMMENT
MEDIUMlibs/flask_sqlalchemy/extension.py368 # Create the metadata and engine for each bind key.COMMENT
MEDIUMlibs/webencodings/labels.py14# This file is automatically generated by mklabels.pyCOMMENT
MEDIUMlibs/webencodings/mklabels.py40# This file is automatically generated by mklabels.pyCOMMENT
MEDIUMlibs/deep_translator/deepl.py70 # Create the request parameters.COMMENT
MEDIUMlibs/deep_translator/tencent.py81 # Create the request parameters.COMMENT
MEDIUMlibs/deep_translator/baidu.py76 # Create the request parameters.COMMENT
MEDIUMlibs/oauthlib/oauth2/rfc6749/tokens.py135 # Create the normalized base stringCOMMENT
MEDIUMlibs/mako/pyparser.py4# This module is part of Mako and is released underCOMMENT
MEDIUMlibs/mako/cmd.py4# This module is part of Mako and is released underCOMMENT
MEDIUMlibs/mako/compat.py4# This module is part of Mako and is released underCOMMENT
MEDIUMlibs/mako/util.py4# This module is part of Mako and is released underCOMMENT
MEDIUMlibs/mako/_ast_util.py4# This module is part of Mako and is released underCOMMENT
MEDIUMlibs/mako/lookup.py4# This module is part of Mako and is released underCOMMENT
MEDIUMlibs/mako/cache.py4# This module is part of Mako and is released underCOMMENT
MEDIUMlibs/mako/__init__.py4# This module is part of Mako and is released underCOMMENT
MEDIUMlibs/mako/runtime.py4# This module is part of Mako and is released underCOMMENT
MEDIUMlibs/mako/lexer.py4# This module is part of Mako and is released underCOMMENT
MEDIUMlibs/mako/template.py4# This module is part of Mako and is released underCOMMENT
MEDIUMlibs/mako/ast.py4# This module is part of Mako and is released underCOMMENT
MEDIUMlibs/mako/exceptions.py4# This module is part of Mako and is released underCOMMENT
MEDIUMlibs/mako/parsetree.py4# This module is part of Mako and is released underCOMMENT
MEDIUMlibs/mako/codegen.py4# This module is part of Mako and is released underCOMMENT
MEDIUMlibs/mako/filters.py4# This module is part of Mako and is released underCOMMENT
MEDIUMlibs/mako/pygen.py4# This module is part of Mako and is released underCOMMENT
MEDIUMlibs/mako/ext/linguaplugin.py4# This module is part of Mako and is released underCOMMENT
MEDIUMlibs/mako/ext/preprocessors.py4# This module is part of Mako and is released underCOMMENT
MEDIUMlibs/mako/ext/beaker_cache.py4# This module is part of Mako and is released underCOMMENT
MEDIUMlibs/mako/ext/autohandler.py4# This module is part of Mako and is released underCOMMENT
MEDIUMlibs/mako/ext/babelplugin.py4# This module is part of Mako and is released underCOMMENT
MEDIUMlibs/mako/ext/extract.py4# This module is part of Mako and is released underCOMMENT
MEDIUMlibs/mako/ext/pygmentplugin.py4# This module is part of Mako and is released underCOMMENT
MEDIUMlibs/mako/ext/turbogears.py4# This module is part of Mako and is released underCOMMENT
MEDIUMlibs/flask_cors/extension.py188 # Create a human-readable form of these resources by converting the compiledCOMMENT
MEDIUMlibs/past/translation/__init__.py171# The following method is used by Sanjay Vinip in uprefix. This fails forCOMMENT
MEDIUMlibs/jinja2/bccache.py332 """This class implements a bytecode cache that uses a memcache cache forSTRING
MEDIUMlibs/jinja2/ext.py102 """This method is called before the actual lexing and can be used toSTRING
MEDIUMlibs/soupsieve/css_parser.py977 # Initialize important variablesSTRING
MEDIUMlibs/markdown/blockprocessors.py639 # Create a regular paragraphCOMMENT
MEDIUMlibs/waitress/server.py135# This class is only ever used if we have multiple listen sockets. It allowsCOMMENT
MEDIUMlibs/idna/idnadata.py1# This file is automatically generated by tools/idna-dataCOMMENT
MEDIUMlibs/idna/uts46data.py1# This file is automatically generated by tools/idna-dataCOMMENT
MEDIUMlibs/werkzeug/formparser.py134 """This class implements parsing of form data for Werkzeug. By itselfSTRING
MEDIUMlibs/werkzeug/routing/matcher.py82 # This function is meant to be called recursively, and will attemptCOMMENT
MEDIUMlibs/js2py/translators/translator.py77 """This class ise used """STRING
MEDIUMlibs/bs4/__init__.py781 """This method is part of the PageElement API, but `BeautifulSoup` doesn't implementSTRING
MEDIUMlibs/bs4/__init__.py789 """This method is part of the PageElement API, but `BeautifulSoup` doesn't implementSTRING
MEDIUMlibs/bs4/dammit.py495 """This class is capable of guessing a number of possible encodingsSTRING
MEDIUMlibs/bs4/builder/_html5lib.py399 # Create a brand new NavigableString from this string.COMMENT
MEDIUMlibs/click/_winconsole.py1# This module is based on the excellent work by Adam Bartoš whoCOMMENT
MEDIUMlibs/click/core.py2407 # Define the conversion function based on nargs and type.STRING
MEDIUMlibs/requests_toolbelt/utils/dump.py1"""This module provides functions for dumping information about responses."""STRING
MEDIUMlibs/sqlalchemy/log.py6# This module is part of SQLAlchemy and is released underCOMMENT
MEDIUMlibs/sqlalchemy/events.py5# This module is part of SQLAlchemy and is released underCOMMENT
405 more matches not shown…
Over-Commented Block1015 hits · 986 pts
SeverityFileLineSnippetContext
LOWbazarr/app/announcements.py21from app.jobs_queue import jobs_queueCOMMENT
LOWlibs/six.py1# Copyright (c) 2010-2024 Benjamin PetersonCOMMENT
LOWlibs/rarfile.py1# rarfile.pyCOMMENT
LOWlibs/typing_extensions.py1041# PEP 728 is implemented in CPythonCOMMENT
LOWlibs/flask/views.py61 #: decorator.COMMENT
LOWlibs/flask/sansio/app.py161 #: Defaults to :class:`werkzeug.exceptions.Aborter`.COMMENT
LOWlibs/flask/sansio/app.py181 #: was changed in 0.10 to :attr:`app_ctx_globals_class` because theCOMMENT
LOWlibs/flask/sansio/app.py201 #: additional runtime cost which should not be enabled by default.COMMENT
LOWlibs/flask/sansio/app.py241COMMENT
LOWlibs/flask/sansio/app.py261 #:COMMENT
LOWlibs/flask/sansio/app.py341COMMENT
LOWlibs/flask/sansio/app.py361 #:COMMENT
LOWlibs/flask/sansio/app.py381 #: similar things.COMMENT
LOWlibs/flask/sansio/scaffold.py101COMMENT
LOWlibs/flask/sansio/scaffold.py121 #: This data structure is internal. It should not be modifiedCOMMENT
LOWlibs/flask/sansio/scaffold.py141COMMENT
LOWlibs/flask/sansio/scaffold.py161 #:COMMENT
LOWlibs/flask/sansio/scaffold.py181 #: directly and its format may change at any time.COMMENT
LOWlibs/flask/sansio/scaffold.py201COMMENT
LOWlibs/tld/res/effective_tld_names_public_only.dat.txt16041// University of Banja Luka : https://unibl.orgCOMMENT
LOWlibs/tld/res/effective_tld_names.dat.txt16041// University of Banja Luka : https://unibl.orgCOMMENT
LOWlibs/tld/tests/res/effective_tld_names_custom.dat.txt6761ytCOMMENT
LOWlibs/rebulk/toposort.py1#!/usr/bin/env pythonCOMMENT
LOWlibs/rebulk/test/__init__.py1#!/usr/bin/env pythonCOMMENT
LOWlibs/rebulk/test/test_toposort.py1#!/usr/bin/env pythonCOMMENT
LOWlibs/pyjsparser/pyjsparserdata.py1# The MIT LicenseCOMMENT
LOWlibs/pyjsparser/parser.py1# The MIT LicenseCOMMENT
LOWlibs/pyjsparser/parser.py921 # return advanceSlash();COMMENT
LOWlibs/pyjsparser/parser.py941 # 'line': self.lineNumber,COMMENT
LOWlibs/pyjsparser/parser.py1121COMMENT
LOWlibs/pyjsparser/parser.py1141 # //COMMENT
LOWlibs/wcwidth/escape_sequences.py21COMMENT
LOWlibs/h11/_readers.py1# Code to read HTTP dataCOMMENT
LOWlibs/h11/_version.py1# This file must be kept very simple, because it is consumed from severalCOMMENT
LOWlibs/h11/_receivebuffer.py1import reCOMMENT
LOWlibs/h11/_receivebuffer.py21# - I haven't benchmarked or profiled any of this yet.COMMENT
LOWlibs/h11/_receivebuffer.py141 # timeout will get rid of them).COMMENT
LOWlibs/h11/_abnf.py1# We use native strings for all the re patterns, to take advantage of stringCOMMENT
LOWlibs/h11/_abnf.py21field_name = tokenCOMMENT
LOWlibs/h11/_abnf.py41# fields containing a single visible character surrounded by whitespace,COMMENT
LOWlibs/h11/_abnf.py101 r"{http_version}"COMMENT
LOWlibs/h11/_state.py1################################################################COMMENT
LOWlibs/h11/_state.py21# 1) The client state, with its complicated automaton (see the docs)COMMENT
LOWlibs/h11/_state.py41# happens. But there are somewhat complicated rules for which machines canCOMMENT
LOWlibs/h11/_state.py61#COMMENT
LOWlibs/h11/_state.py81# This is fundamentally different from an event-based transition, because itCOMMENT
LOWlibs/h11/_state.py101#COMMENT
LOWlibs/h11/_state.py321 # It could happen that both these special-case transitions areCOMMENT
LOWlibs/h11/_util.py41 def __init__(self, msg: str, error_status_hint: int = 400) -> None:COMMENT
LOWlibs/h11/_util.py61 # After catching a LocalProtocolError, use this method to re-raise itCOMMENT
LOWlibs/h11/_headers.py21# Headers are:COMMENT
LOWlibs/h11/_headers.py41#COMMENT
LOWlibs/h11/_headers.py201 )COMMENT
LOWlibs/h11/_headers.py221 #COMMENT
LOWlibs/h11/_connection.py61# request/response line + headers together, so this is effectively the limit onCOMMENT
LOWlibs/h11/_connection.py101 # Returns one of:COMMENT
LOWlibs/h11/_connection.py581 This causes :attr:`Connection.our_state` to immediately becomeCOMMENT
LOWlibs/h11/_connection.py621 # If our peer is HTTP/1.1, we use Transfer-Encoding: chunkedCOMMENT
LOWlibs/chardet/pipeline/utf1632.py21_MIN_BYTES_UTF16 = 10 # 5 full code unitsCOMMENT
LOWlibs/chardet/pipeline/orchestrator.py321# pair ratio, byte coverage) and by coverage-aware boosting in statisticalCOMMENT
955 more matches not shown…
Excessive Try-Catch Wrapping818 hits · 890 pts
SeverityFileLineSnippetContext
LOWbazarr.py85 except Exception:CODE
LOWbazarr.py97 except Exception:CODE
LOWbazarr.py107 except Exception:CODE
MEDIUMbazarr.py75def get_stop_status_code(input_file):CODE
LOWbazarr/init.py142 except Exception:CODE
LOWbazarr/app/server.py96 except Exception:CODE
MEDIUMbazarr/app/server.py44def configure_server(self):CODE
MEDIUMbazarr/app/config.py75def check_parser_binary(value):CODE
LOW⚡bazarr/app/config.py1474 except Exception as rollback_error:CODE
LOW⚡bazarr/app/config.py1478 except Exception as e:CODE
LOWbazarr/app/config.py569 except Exception as error:CODE
LOWbazarr/app/config.py574 except Exception as error:CODE
LOWbazarr/app/config.py682 except Exception:CODE
LOWbazarr/app/config.py686 except Exception:CODE
LOWbazarr/app/config.py978 except Exception:CODE
LOWbazarr/app/config.py985 except Exception:CODE
LOWbazarr/app/config.py1176 except Exception as e:CODE
LOWbazarr/app/config.py1221 except Exception as e:CODE
LOWbazarr/app/config.py1301 except Exception as e:CODE
LOWbazarr/app/config.py1387 except Exception as e:CODE
LOWbazarr/app/config.py1442 except Exception as e:CODE
LOWbazarr/app/config.py1583 except Exception:CODE
LOWbazarr/app/ui.py99 except Exception:CODE
LOWbazarr/app/ui.py104 except Exception:CODE
LOWbazarr/app/ui.py243 except Exception as e:CODE
LOWbazarr/app/ui.py250 except Exception:CODE
LOW⚡bazarr/app/database.py393 except Exception:CODE
LOW⚡bazarr/app/database.py399 except Exception:CODE
LOWbazarr/app/check_update.py134 except Exception:CODE
LOWbazarr/app/check_update.py143 except Exception:CODE
LOWbazarr/app/check_update.py168 except Exception:CODE
LOWbazarr/app/check_update.py183 except Exception:CODE
LOWbazarr/app/check_update.py191 except Exception:CODE
LOWbazarr/app/check_update.py291 except Exception:CODE
LOWbazarr/app/get_providers.py190 except Exception as error:CODE
LOWbazarr/app/get_providers.py568 except Exception:CODE
LOWbazarr/app/jobs_queue.py451 except Exception as e:CODE
LOWbazarr/app/jobs_queue.py581 except Exception as e:CODE
LOWbazarr/app/jobs_queue.py604 except Exception as e:CODE
LOWbazarr/app/signalr_client.py83 except Exception:CODE
LOWbazarr/app/signalr_client.py312 except Exception as e:CODE
MEDIUMbazarr/app/signalr_client.py80def stop(self, log=True):CODE
MEDIUMbazarr/app/signalr_client.py249def dispatcher(data):CODE
LOWbazarr/app/announcements.py63 except Exception:CODE
LOWbazarr/app/announcements.py70 except Exception:CODE
LOWbazarr/jellyfin/operations.py34 except Exception as e:CODE
LOWbazarr/jellyfin/operations.py60 except Exception as e:CODE
LOWbazarr/jellyfin/operations.py107 except Exception as e:CODE
LOWbazarr/jellyfin/operations.py122 except Exception as e:CODE
LOWbazarr/jellyfin/operations.py188 except Exception as e:CODE
LOWbazarr/jellyfin/operations.py192 except Exception:CODE
LOWbazarr/jellyfin/operations.py237 except Exception as e:CODE
LOWbazarr/jellyfin/operations.py246 except Exception as e:CODE
LOWbazarr/radarr/rootfolder.py98 except Exception as e:CODE
LOWbazarr/radarr/notify.py19 except Exception:CODE
MEDIUMbazarr/radarr/notify.py11def notify_radarr(radarr_id):CODE
LOWbazarr/radarr/info.py48 except Exception:CODE
LOWbazarr/radarr/sync/movies.py287 except Exception:CODE
MEDIUMbazarr/radarr/sync/movies.py40def get_movie_file_size_from_db(movie_path):CODE
LOW⚡bazarr/radarr/sync/parser.py28 except Exception:CODE
758 more matches not shown…
Modern Structural Boilerplate822 hits · 807 pts
SeverityFileLineSnippetContext
LOWbazarr/app/database.py28logger = logging.getLogger(__name__)CODE
LOWbazarr/jellyfin/client.py8logger = logging.getLogger(__name__)CODE
LOWbazarr/jellyfin/operations.py8logger = logging.getLogger(__name__)CODE
LOWbazarr/languages/custom_lang.py11logger = logging.getLogger(__name__)CODE
LOWbazarr/plex/operations.py8logger = logging.getLogger(__name__)CODE
LOW⚡bazarr/plex/operations.py79def update_added_date(video, added_date: str) -> None:CODE
LOWbazarr/api/plex/security.py15logger = logging.getLogger(__name__)CODE
LOW…arr/subtitles/tools/translate/core/translator_utils.py20logger = logging.getLogger(__name__)CODE
LOW…ubtitles/tools/translate/services/google_translator.py21logger = logging.getLogger(__name__)CODE
LOW…btitles/tools/translate/services/lingarr_translator.py19logger = logging.getLogger(__name__)CODE
LOW…ubtitles/tools/translate/services/gemini_translator.py30logger = logging.getLogger(__name__)CODE
LOWbazarr/subtitles/refiners/anilist.py13logger = logging.getLogger(__name__)CODE
LOWbazarr/subtitles/refiners/anidb.py26logger = logging.getLogger(__name__)CODE
LOWlibs/rarfile.py98__all__ = ["get_rar_version", "is_rarfile", "is_rarfile_sfx", "RarInfo", "RarFile", "RarExtFile"]CODE
LOWlibs/typing_extensions.py21__all__ = [CODE
LOWlibs/flask/app.py506 def update_template_context(self, context: dict[str, t.Any]) -> None:CODE
LOWlibs/ffmpeg/_view.py108__all__ = ['view']CODE
LOWlibs/ffmpeg/_ffmpeg.py97__all__ = ['input', 'merge_outputs', 'output', 'overwrite_output']CODE
LOWlibs/ffmpeg/_probe.py27__all__ = ['probe']CODE
LOWlibs/ffmpeg/nodes.py377__all__ = ['Stream']CODE
LOWlibs/ffmpeg/_run.py329__all__ = ['compile', 'Error', 'get_args', 'run', 'run_async']CODE
LOWlibs/ffmpeg/_filters.py445__all__ = [CODE
LOWlibs/pyjsparser/__init__.py1__all__ = ['PyJsParser', 'parse', 'JsSyntaxError', 'pyjsparserdata']CODE
LOWlibs/pyjsparser/parser.py26__all__ = [CODE
LOWlibs/wcwidth/table_overrides.py853__all__ = ['WIDE_OVERRIDES', 'SRI_OVERRIDES', 'SFZ_OVERRIDES', 'VS16_OVERRIDES', 'VS15_OVERRIDES', 'NARROW_OVERRIDES']CODE
LOWlibs/websocket/_logging.py36__all__ = [CODE
LOWlibs/websocket/_socket.py44__all__ = [CODE
LOWlibs/websocket/_url.py26__all__ = ["parse_url", "get_proxy_info"]CODE
LOWlibs/websocket/_http.py35__all__ = ["proxy_info", "connect", "read_headers"]CODE
LOWlibs/websocket/_ssl_compat.py37__all__ = [CODE
LOWlibs/websocket/_handshake.py32__all__ = ["handshake_response", "handshake", "SUPPORTED_REDIRECT_STATUSES"]CODE
LOWlibs/websocket/_app.py38__all__ = ["WebSocketApp"]CODE
LOWlibs/websocket/_app.py43def set_reconnect(reconnectInterval: int) -> None:CODE
LOWlibs/websocket/_abnf.py54__all__ = [CODE
LOWlibs/websocket/_core.py41__all__ = ["WebSocket", "create_connection"]CODE
LOWlibs/websocket/_utils.py21__all__ = ["NoLock", "validate_utf8", "extract_err_message", "extract_error_code"]CODE
LOWlibs/h11/_readers.py37__all__ = ["READERS"]CODE
LOWlibs/h11/_receivebuffer.py5__all__ = ["ReceiveBuffer"]CODE
LOWlibs/h11/_writers.py17__all__ = ["WRITERS"]CODE
LOWlibs/h11/_state.py119__all__ = [CODE
LOWlibs/h11/_util.py3__all__ = [CODE
LOWlibs/h11/_events.py18__all__ = [CODE
LOWlibs/h11/_connection.py48__all__ = ["Connection", "NEED_DATA", "PAUSED"]CODE
LOWlibs/flask_sqlalchemy/__init__.py7__all__ = [CODE
LOWlibs/flask_sqlalchemy/extension.py937 def _set_rel_query(self, kwargs: dict[str, t.Any]) -> None:CODE
LOWlibs/chardet/_version.py5__all__ = [CODE
LOWlibs/chardet/__init__.py23__all__ = [CODE
LOWlibs/chardet/universaldetector.py25__all__ = ["UniversalDetector"]CODE
LOWlibs/deep_translator/__init__.py24__all__ = [CODE
LOWlibs/attrs/__init__.py31__all__ = [CODE
LOWlibs/pygments/modeline.py13__all__ = ['get_filetype_from_buffer']CODE
LOWlibs/pygments/formatter.py16__all__ = ['Formatter']CODE
LOWlibs/pygments/__init__.py32__all__ = ['lex', 'format', 'highlight']CODE
LOWlibs/pygments/lexer.py22__all__ = ['Lexer', 'RegexLexer', 'ExtendedRegexLexer', 'DelegatingLexer',CODE
LOWlibs/pygments/lexers/soong.py15__all__ = ['SoongLexer']CODE
LOWlibs/pygments/lexers/c_like.py21__all__ = ['PikeLexer', 'NesCLexer', 'ClayLexer', 'ECLexer', 'ValaLexer',CODE
LOWlibs/pygments/lexers/ampl.py15__all__ = ['AmplLexer']CODE
LOWlibs/pygments/lexers/agile.py25__all__ = []CODE
LOWlibs/pygments/lexers/graphics.py16__all__ = ['GLShaderLexer', 'PostScriptLexer', 'AsymptoteLexer', 'GnuplotLexer',CODE
LOWlibs/pygments/lexers/hdl.py17__all__ = ['VerilogLexer', 'SystemVerilogLexer', 'VhdlLexer']CODE
762 more matches not shown…
Decorative Section Separators220 hits · 724 pts
SeverityFileLineSnippetContext
MEDIUM⚡tests/bazarr/test_download_blacklist_on_failure.py53# ──────────────────────────────────────────────────────────────────────────────COMMENT
MEDIUM⚡tests/bazarr/test_download_blacklist_on_failure.py55# ──────────────────────────────────────────────────────────────────────────────COMMENT
MEDIUM⚡tests/bazarr/test_download_blacklist_on_failure.py78# ──────────────────────────────────────────────────────────────────────────────COMMENT
MEDIUM⚡tests/bazarr/test_download_blacklist_on_failure.py80# ──────────────────────────────────────────────────────────────────────────────COMMENT
MEDIUM⚡tests/bazarr/test_download_blacklist_on_failure.py93# ──────────────────────────────────────────────────────────────────────────────COMMENT
MEDIUM⚡tests/bazarr/test_download_blacklist_on_failure.py95# ──────────────────────────────────────────────────────────────────────────────COMMENT
MEDIUM⚡tests/bazarr/test_download_blacklist_on_failure.py149# ──────────────────────────────────────────────────────────────────────────────COMMENT
MEDIUM⚡tests/bazarr/test_download_blacklist_on_failure.py151# ──────────────────────────────────────────────────────────────────────────────COMMENT
MEDIUMtests/bazarr/test_download_blacklist_on_failure.py14# ──────────────────────────────────────────────────────────────────────────────COMMENT
MEDIUMtests/bazarr/test_download_blacklist_on_failure.py16# ──────────────────────────────────────────────────────────────────────────────COMMENT
MEDIUM⚡tests/bazarr/test_post_processing.py85# ──────────────────────────────────────────────────────────────────────────────COMMENT
MEDIUM⚡tests/bazarr/test_post_processing.py87# ──────────────────────────────────────────────────────────────────────────────COMMENT
MEDIUMtests/bazarr/test_post_processing.py15# ──────────────────────────────────────────────────────────────────────────────COMMENT
MEDIUMtests/bazarr/test_post_processing.py17# ──────────────────────────────────────────────────────────────────────────────COMMENT
MEDIUMtests/bazarr/test_post_processing.py38# ──────────────────────────────────────────────────────────────────────────────COMMENT
MEDIUMtests/bazarr/test_post_processing.py40# ──────────────────────────────────────────────────────────────────────────────COMMENT
MEDIUMtests/bazarr/test_post_processing.py222# ──────────────────────────────────────────────────────────────────────────────COMMENT
MEDIUMtests/bazarr/test_post_processing.py224# ──────────────────────────────────────────────────────────────────────────────COMMENT
MEDIUMtests/bazarr/test_post_processing.py346# ──────────────────────────────────────────────────────────────────────────────COMMENT
MEDIUMtests/bazarr/test_post_processing.py348# ──────────────────────────────────────────────────────────────────────────────COMMENT
MEDIUM⚡tests/bazarr/test_get_providers_blacklist.py50# ──────────────────────────────────────────────────────────────────────────────COMMENT
MEDIUM⚡tests/bazarr/test_get_providers_blacklist.py52# ──────────────────────────────────────────────────────────────────────────────COMMENT
MEDIUM⚡tests/bazarr/test_get_providers_blacklist.py75# ──────────────────────────────────────────────────────────────────────────────COMMENT
MEDIUM⚡tests/bazarr/test_get_providers_blacklist.py77# ──────────────────────────────────────────────────────────────────────────────COMMENT
MEDIUM⚡tests/bazarr/test_get_providers_blacklist.py107# ──────────────────────────────────────────────────────────────────────────────COMMENT
MEDIUM⚡tests/bazarr/test_get_providers_blacklist.py109# ──────────────────────────────────────────────────────────────────────────────COMMENT
MEDIUM⚡tests/bazarr/test_get_providers_blacklist.py128# ──────────────────────────────────────────────────────────────────────────────COMMENT
MEDIUM⚡tests/bazarr/test_get_providers_blacklist.py130# ──────────────────────────────────────────────────────────────────────────────COMMENT
MEDIUMtests/bazarr/test_get_providers_blacklist.py14# ──────────────────────────────────────────────────────────────────────────────COMMENT
MEDIUMtests/bazarr/test_get_providers_blacklist.py16# ──────────────────────────────────────────────────────────────────────────────COMMENT
MEDIUMlibs/h11/_state.py16# ===================COMMENT
MEDIUMlibs/h11/_state.py93# --------------COMMENT
MEDIUMlibs/chardet/pipeline/structural.py17# ---------------------------------------------------------------------------COMMENT
MEDIUMlibs/chardet/pipeline/structural.py28# ---------------------------------------------------------------------------COMMENT
MEDIUMlibs/chardet/pipeline/structural.py412# ---------------------------------------------------------------------------COMMENT
MEDIUMlibs/chardet/pipeline/structural.py414# ---------------------------------------------------------------------------COMMENT
MEDIUMlibs/chardet/pipeline/structural.py443# ---------------------------------------------------------------------------COMMENT
MEDIUMlibs/chardet/pipeline/structural.py445# ---------------------------------------------------------------------------COMMENT
MEDIUMlibs/pygments/lexer.py323# ------------------------------------------------------------------------------COMMENT
MEDIUMlibs/pygments/lexers/_googlesql_builtins.py19# ----------------------------------------------------------------------------COMMENT
MEDIUMlibs/pygments/lexers/bqn.py36 # ==========COMMENT
MEDIUM⚡libs/pygments/lexers/bqn.py50 # ==============COMMENT
MEDIUM⚡libs/pygments/lexers/bqn.py55 # ===========COMMENT
MEDIUM⚡libs/pygments/lexers/bqn.py61 # ===================COMMENT
MEDIUMlibs/pygments/lexers/bqn.py76 # ===========COMMENT
MEDIUMlibs/pygments/lexers/bqn.py82 # ===========COMMENT
MEDIUMlibs/pygments/lexers/bqn.py99 # ====================COMMENT
MEDIUMlibs/pygments/lexers/bqn.py107 # ================COMMENT
MEDIUMlibs/pygments/lexers/apl.py34 # ==========COMMENT
MEDIUM⚡libs/pygments/lexers/apl.py48 # ===========COMMENT
MEDIUM⚡libs/pygments/lexers/apl.py54 # ==============COMMENT
MEDIUM⚡libs/pygments/lexers/apl.py60 # ===================COMMENT
MEDIUM⚡libs/pygments/lexers/apl.py81 # ==========COMMENT
MEDIUM⚡libs/pygments/lexers/apl.py91 # ===========COMMENT
MEDIUM⚡libs/pygments/lexers/apl.py95 # =================COMMENT
MEDIUMlibs/pygments/lexers/sql.py794 # ---------------------------COMMENT
MEDIUMlibs/pygments/lexers/sql.py812 # ----------------COMMENT
MEDIUMlibs/pygments/lexers/sql.py829 # ------------------COMMENT
MEDIUMlibs/pygments/lexers/sql.py850 # ----------------------------COMMENT
MEDIUMlibs/pygments/lexers/sql.py976 # ---------------------------COMMENT
160 more matches not shown…
AI Structural Patterns384 hits · 362 pts
SeverityFileLineSnippetContext
LOWbazarr/app/logger.py243CODE
LOWbazarr/jellyfin/operations.py128CODE
LOWbazarr/subtitles/sync.py12CODE
LOWbazarr/subtitles/tools/subsyncer.py109CODE
LOWtests/subliminal_patch/test_subsdump.py14CODE
LOWlibs/socks.py153CODE
LOWlibs/rarfile.py3213CODE
LOWlibs/rarfile.py3237CODE
LOWlibs/flask/blueprints.py19CODE
LOWlibs/flask/app.py226CODE
LOWlibs/flask/sansio/blueprints.py174CODE
LOWlibs/flask/sansio/app.py282CODE
LOWlibs/tld/tests/base.py46CODE
LOWlibs/rebulk/pattern.py45CODE
LOWlibs/rebulk/match.py596CODE
LOWlibs/ffmpeg/nodes.py53CODE
LOWlibs/msgpack/fallback.py226CODE
LOWlibs/msgpack/fallback.py659CODE
LOWlibs/wcwidth/textwrap.py527CODE
LOWlibs/websocket/_app.py53CODE
LOWlibs/websocket/_app.py256CODE
LOWlibs/flask_sqlalchemy/extension.py164CODE
LOWlibs/flask_sqlalchemy/pagination.py346CODE
LOWlibs/flask_sqlalchemy/pagination.py359CODE
LOWlibs/flask_sqlalchemy/pagination.py364CODE
LOWlibs/chardet/detector.py50CODE
LOWlibs/chardet/__init__.py37CODE
LOWlibs/chardet/__init__.py100CODE
LOWlibs/flask_migrate/__init__.py152CODE
LOWlibs/flask_migrate/__init__.py165CODE
LOWlibs/requests_oauthlib/oauth2_session.py36CODE
LOWlibs/requests_oauthlib/oauth2_session.py202CODE
LOWlibs/requests_oauthlib/oauth1_session.py102CODE
LOWlibs/requests_oauthlib/oauth1_auth.py24CODE
LOWlibs/inflect/__init__.py3828CODE
LOW…oauthlib/oauth2/rfc6749/clients/service_application.py64CODE
LOWlibs/oauthlib/oauth2/rfc6749/clients/base.py55CODE
LOWlibs/oauthlib/oauth1/rfc5849/__init__.py91CODE
LOWlibs/pygments/lexers/shell.py281CODE
LOWlibs/pygments/lexers/shell.py355CODE
LOWlibs/pygments/lexers/shell.py416CODE
LOWlibs/pygments/lexers/templates.py1832CODE
LOWlibs/pygments/formatters/html.py958CODE
LOWlibs/mako/lookup.py152CODE
LOWlibs/mako/template.py220CODE
LOWlibs/mako/template.py493CODE
LOWlibs/mako/codegen.py31CODE
LOWlibs/retry/api.py79CODE
LOWlibs/dogpile/cache/region.py825CODE
LOWlibs/pyparsing/core.py2287CODE
LOWlibs/pyparsing/core.py6213CODE
LOWlibs/pyparsing/testing.py278CODE
LOWlibs/json_tricks/nonp.py94CODE
LOWlibs/json_tricks/nonp.py137CODE
LOWlibs/json_tricks/nonp.py198CODE
LOWlibs/json_tricks/nonp.py269CODE
LOWlibs/jinja2/environment.py294CODE
LOWlibs/jinja2/environment.py386CODE
LOWlibs/jinja2/environment.py1167CODE
LOWlibs/markdown/extensions/footnotes.py163CODE
324 more matches not shown…
Docstring Block Structure63 hits · 315 pts
SeverityFileLineSnippetContext
HIGHbazarr/app/database.py672 Fix inconsistencies in language codes within language profiles by converting ISO 639-3 codes to ISO 639-1 codesSTRING
HIGHlibs/ffmpeg/_run.py203Asynchronously invoke ffmpeg for the supplied node graph. Args: pipe_stdin: if True, connect pipe to subproSTRING
HIGHlibs/h11/_connection.py365Add data to our internal receive buffer. This does not actually do any processing on the data, just stores STRING
HIGHlibs/h11/_connection.py518Convert a high-level event into bytes that can be sent to the peer, while updating our internal state machine. STRING
HIGH…thlib/oauth2/rfc6749/grant_types/authorization_code.py175 The client constructs the request URI by adding the following parameters to the query component of the STRING
HIGHlibs/filetype/filetype.py13 Infers the type of the given input. Function is overloaded to accept multiple types in input and peform thSTRING
HIGHlibs/filetype/filetype.py32 Infers the file type of the given input and returns its MIME type. Args: obj: path to file, bytes STRING
HIGHlibs/filetype/filetype.py50 Infers the file type of the given input and returns its RFC file extension. Args: obj: path to filSTRING
HIGHlibs/filetype/utils.py46 Infers the input type and reads the first 8192 bytes, returning a sliced bytearray. Args: obj: patSTRING
HIGHlibs/filetype/helpers.py48 Checks if a given input is a supported type image. Args: obj: path to file, bytes or bytearray. RSTRING
HIGHlibs/filetype/helpers.py64 Checks if a given input is a supported type archive. Args: obj: path to file, bytes or bytearray. STRING
HIGHlibs/filetype/helpers.py80 Checks if a given input is a supported type audio. Args: obj: path to file, bytes or bytearray. RSTRING
HIGHlibs/filetype/helpers.py96 Checks if a given input is a supported type video. Args: obj: path to file, bytes or bytearray. RSTRING
HIGHlibs/filetype/helpers.py112 Checks if a given input is a supported type font. Args: obj: path to file, bytes or bytearray. ReSTRING
HIGHlibs/filetype/helpers.py128 Checks if a given input is a supported type document. Args: obj: path to file, bytes or bytearray. STRING
HIGHlibs/filetype/match.py17 Matches the given input against the available file type matchers. Args: obj: path to file, bytes oSTRING
HIGHlibs/filetype/match.py40 Matches the given input against the available image type matchers. Args: obj: path to file, bytes STRING
HIGHlibs/filetype/match.py57 Matches the given input against the available font type matchers. Args: obj: path to file, bytes oSTRING
HIGHlibs/filetype/match.py74 Matches the given input against the available video type matchers. Args: obj: path to file, bytes STRING
HIGHlibs/filetype/match.py91 Matches the given input against the available autio type matchers. Args: obj: path to file, bytes STRING
HIGHlibs/filetype/match.py108 Matches the given input against the available archive type matchers. Args: obj: path to file, byteSTRING
HIGHlibs/filetype/match.py125 Matches the given input against the available application type matchers. Args: obj: path to file, STRING
HIGHlibs/filetype/match.py142 Matches the given input against the available document type matchers. Args: obj: path to file, bytSTRING
HIGHlibs/apprise/plugins/base.py1176Parses the URL and returns it broken apart into a dictionary. This is very specific and customized for Apprise.STRING
HIGHlibs/attr/_make.py588 Create a new instance, based on the first positional argument with *changes* applied. .. tip:: On STRING
HIGHlibs/attr/_make.py1892 Return the tuple of *attrs* attributes for a class or instance. The tuple also allows accessing the fields by STRING
HIGHlibs/attr/_make.py1943 Return an ordered dictionary of *attrs* attributes for a class, whose keys are the attribute names. Args: STRING
HIGHlibs/attr/_next_gen.py652 Inspect the class and return its effective build parameters. Warning: This feature is currently **expeSTRING
HIGHlibs/attr/_funcs.py36 Return the *attrs* attribute values of *inst* as a dict. Optionally recurse into other *attrs*-decorated classSTRING
HIGHlibs/attr/_funcs.py239 Return the *attrs* attribute values of *inst* as a tuple. Optionally recurse into other *attrs*-decorated clasSTRING
HIGHlibs/attr/_funcs.py355 Check whether *cls* is a class with *attrs* attributes. Args: cls (type): Class to introspect. RaSTRING
HIGHlibs/attr/_funcs.py383 Copy *inst* and apply *changes*. This is different from `evolve` that applies the changes to the arguments STRING
HIGHlibs/attr/_funcs.py428 Resolve any strings and forward annotations in type annotations. This is only required if you need concrete tySTRING
HIGHlibs/plexapi/server.py434 Creates and returns a new :class:`~plexapi.collection.Collection`. Parameters: title (str)STRING
HIGHlibs/plexapi/server.py490 Creates and returns a new :class:`~plexapi.playlist.Playlist`. Parameters: title (str): TiSTRING
HIGHlibs/plexapi/library.py642 Returns the media item with the specified external Plex, IMDB, TMDB, or TVDB ID. Note: Only available for tSTRING
HIGHlibs/plexapi/library.py1291 Search the library. The http requests will be batched in container_size. If you are only looking for the fiSTRING
HIGHlibs/plexapi/library.py1556 Add current library section as sync item for specified device. See description of :func:`~plexapi.library.LSTRING
HIGHlibs/plexapi/library.py2041 Returns a list of tracks from this library section that are part of a sonic adventure. ID's should be of a STRING
HIGHlibs/plexapi/playlist.py404 Create a playlist. Parameters: server (:class:`~plexapi.server.PlexServer`): Server to creSTRING
HIGHlibs/plexapi/playlist.py457 Add the playlist as a sync item for the specified device. See :func:`~plexapi.myplex.MyPlexAccount.sync` foSTRING
HIGHlibs/plexapi/collection.py462 Create a collection. Parameters: server (:class:`~plexapi.server.PlexServer`): Server to cSTRING
HIGHlibs/plexapi/collection.py498 Add the collection as sync item for the specified device. See :func:`~plexapi.myplex.MyPlexAccount.sync` foSTRING
HIGHlibs/plexapi/myplex.py821 Adds specified sync item for the client. It's always easier to use methods defined directly in the media obSTRING
HIGHlibs/plexapi/audio.py149Returns a list of sonically similar audio items. Parameters: limit (int): Maximum count of items toSTRING
HIGHlibs/plexapi/audio.py637Returns a sonic adventure from the current track to the specified track. Parameters: to (:class:`~pSTRING
HIGHlibs/rich/measure.py82Get a measurement for a renderable. Args: console (~rich.console.Console): Console instance. STRING
HIGHlibs/rich/console.py823Set Live instance. Used by Live context manager (no need to call directly). Args: live (Live): LiveSTRING
HIGHlibs/rich/console.py1473Get a Style instance by its theme name or parse a definition. Args: name (str): The name of a styleSTRING
HIGHlibs/rich/console.py1912Get caller frame information. Args: offset (int): the caller offset within the current frame stack.STRING
HIGHlibs/rich/style.py499Parse a style definition. Args: style_definition (str): A string containing a style. RaiseSTRING
HIGHlibs/rich/markup.py112Render console markup in to a Text instance. Args: markup (str): A string containing console markup. STRING
HIGHlibs/rich/highlighter.py21Highlight a str or Text instance. Args: text (Union[str, ~Text]): Text to highlight. RaiseSTRING
HIGHlibs/rich/progress_bar.py129Renders the pulse animation. Args: console (Console): Console instance. width (int): WiSTRING
HIGHlibs/rich/prompt.py228Process response from user, convert to prompt type. Args: value (str): String typed by user. STRING
HIGHlibs/rich/progress.py1245Track progress file reading from a binary file. Args: file (BinaryIO): A file-like object opened inSTRING
HIGHlibs/rich/progress.py1324Track progress while reading from a binary file. Args: path (Union[str, PathLike[str]]): The path tSTRING
HIGHlibs/rich/_win32_console.py96Retrieves the current input mode of a console's input buffer or the current output mode of a console screen buffer. STRING
HIGHlibs/rich/_unicode_data/__init__.py32Parse a version string into a tuple of 3 integers. Args: version: A version string. Raises: VaSTRING
HIGHlibs/pysubs2/ssafile.py72 Load subtitle file from given path. This method is implemented in terms of :meth:`SSAFile.from_file()`STRING
3 more matches not shown…
Hallucination Indicators18 hits · 210 pts
SeverityFileLineSnippetContext
CRITICAL⚡bazarr/app/database.py392 database_engine = database.bind.engine.dialect.name.capitalize()CODE
CRITICALlibs/pygments/sphinxext.py87 self.state.document.settings.record_dependencies.add(fn)STRING
CRITICALlibs/markdown/extensions/md_in_html.py364 self.parser.md.htmlStash.rawHtmlBlocks.pop(index)CODE
CRITICALlibs/markdown/extensions/md_in_html.py365 self.parser.md.htmlStash.rawHtmlBlocks.insert(index, '')CODE
CRITICALlibs/markdown/extensions/md_in_html.py402 self.parser.md.htmlStash.rawHtmlBlocks.pop(index)CODE
CRITICALlibs/markdown/extensions/md_in_html.py403 self.parser.md.htmlStash.rawHtmlBlocks.insert(index, '')CODE
CRITICALlibs/sqlalchemy/testing/suite/test_results.py99 self.tables.plain_pk.c.data.label("data"),CODE
CRITICALlibs/sqlalchemy/testing/suite/test_select.py81 self.tables.some_table.c.data.collate(collation).asc()CODE
CRITICALlibs/importlib_resources/future/adapters.py39 reader.spec.loader.__class__.__module__.startswith('zipimport')CODE
CRITICALlibs/importlib_resources/future/adapters.py40 or reader.spec.loader.__class__.__module__.startswith(CODE
CRITICALlibs/pydantic/mypy.py333 for name, sym in self._ctx.cls.info.names.items():CODE
CRITICALcustom_libs/sseclient.py75 chunk = self.resp.raw._fp.fp.read1(self.chunk_size)CODE
CRITICAL⚡custom_libs/py7zr/compression.py199 self.header.main_streams.substreamsinfo.digests.append(crc)CODE
CRITICAL⚡custom_libs/py7zr/compression.py200 self.header.main_streams.substreamsinfo.digestsdefined.append(True)CODE
CRITICAL⚡custom_libs/py7zr/compression.py201 self.header.main_streams.substreamsinfo.unpacksizes.append(insize)CODE
CRITICAL⚡custom_libs/py7zr/compression.py219 self.header.main_streams.substreamsinfo.digests.append(crc)CODE
CRITICAL⚡custom_libs/py7zr/compression.py220 self.header.main_streams.substreamsinfo.digestsdefined.append(True)CODE
CRITICAL⚡custom_libs/py7zr/compression.py222 self.header.main_streams.substreamsinfo.unpacksizes.append(insize)CODE
Redundant / Tautological Comments110 hits · 161 pts
SeverityFileLineSnippetContext
LOWbazarr/init.py33# Check if args.config_dir existCOMMENT
LOW⚡bazarr/app/config.py1491 # Check if any legacy values existCOMMENT
LOWbazarr/app/config.py1095 # Check if user needs seamless migration from API key to OAuthCOMMENT
LOWbazarr/app/config.py1128 # Check if already migrated (has OAuth token)COMMENT
LOWbazarr/app/config.py1136 # Check if migration is disabled (for emergency rollback)COMMENT
LOWbazarr/radarr/sync/movies.py238 # Check if there's a row in the database for this movie IDCOMMENT
LOWbazarr/utilities/autopulse_webhook.py432 # Check if Bazarr has extra prefix (e.g., /mnt/media vs /media)COMMENT
LOWbazarr/utilities/autopulse_webhook.py444 # Check if Plex has extra prefix (e.g., /data/media vs /media)COMMENT
LOWbazarr/utilities/autopulse_webhook.py206 # Check if external webhook is enabledSTRING
LOWbazarr/utilities/video_analyzer.py283 # Check if file size and file id matches and if so, we return the cached value if available for theCOMMENT
LOWbazarr/api/plex/oauth.py42 # Check if encryption key exists before attempting to create oneCOMMENT
LOWbazarr/api/plex/oauth.py124 # Check if subscription is active firstCOMMENT
LOWbazarr/api/plex/oauth.py131 # Check if specific feature is in the subscription features listCOMMENT
LOWbazarr/api/plex/oauth.py950 # Check if user has Plex Pass with webhooks featureCOMMENT
LOWbazarr/api/webhooks/plex.py120 # Check if this is a valid Plex webhook (should have 'event' field)COMMENT
LOWbazarr/api/webhooks/plex.py131 # Check if Metadata key exists in the payloadCOMMENT
LOW…ubtitles/tools/translate/services/gemini_translator.py546 # Check if we exited the loop due to an interruptCOMMENT
LOWbazarr/sonarr/sync/series.py141 # Check if there's a row in database for this series IDCOMMENT
LOWbazarr/sonarr/sync/episodes.py249 # Check if there's a row in database for this episode IDCOMMENT
LOWlibs/socks.py611 # Check if the destination address provided is an IP addressCOMMENT
LOWlibs/typing_extensions.py770 # Check if the members appears in the class dictionary...COMMENT
LOWlibs/flask_sqlalchemy/model.py168 # Check if a table with this name already exists. Allows reflected tables to beCOMMENT
LOWlibs/flask_sqlalchemy/model.py239 # Check if a table with this name already exists. Allows reflected tables to beCOMMENT
LOWlibs/chardet/pipeline/ascii.py32 # Check if the only non-allowed bytes are null separatorsSTRING
LOWlibs/chardet/pipeline/orchestrator.py494 # Check if KOI8-T is anywhere in the resultsCOMMENT
LOWlibs/oauthlib/common.py108 # Check if query contains invalid charactersCOMMENT
LOWlibs/pygments/lexers/modula2.py1301 # Set lexer to a specified dialectCOMMENT
LOWlibs/pygments/lexers/modula2.py1566 # Check if this looks like Pascal, if not, bail out earlyCOMMENT
LOWlibs/pygments/lexers/sql.py346 # Check if this is the end of the commandCOMMENT
LOWlibs/pygments/formatters/html.py49 # Check if the color can be shortened from 6 to 3 charactersCOMMENT
LOWlibs/markdown/blockprocessors.py401 # Check if a custom start integer is setCOMMENT
LOWlibs/markdown/blockprocessors.py406 # Loop through items in block, recursively parsing each with theCOMMENT
LOWlibs/markdown/htmlparser.py298 # Check if the comment is unclosed, if so, we need to override positionCOMMENT
LOWlibs/markdown/util.py320 # Check if an item exists by this name.COMMENT
LOWlibs/markdown/util.py322 # Check if this instance exists.COMMENT
LOWlibs/markdown/extensions/md_in_html.py215 # Check if element has a tailCOMMENT
LOWlibs/werkzeug/debug/__init__.py323 # Set _pin to None explicitly to prevent regeneration by the getterCOMMENT
LOWlibs/js2py/base.py343 ) # Check if setter method is definedCODE
LOWlibs/js2py/internals/base.py98 desc['set']) # Check if setter method is definedCODE
LOWlibs/bs4/__init__.py910 # Check if we are inserting into an already parsed node.COMMENT
LOWlibs/cloudscraper/__init__.py283 # Check if Cloudflare anti-bot is onCOMMENT
LOWlibs/sqlalchemy/sql/functions.py105 # Check if a function with the same identifier is registered.COMMENT
LOWlibs/sqlalchemy/sql/functions.py1547 # Set _register to True to register child classes by defaultSTRING
LOWlibs/sqlalchemy/sql/base.py525 # Check if user explicitly set it.STRING
LOWlibs/requests/models.py579 # Check if file, fo, generator, iterator.COMMENT
LOWlibs/filetype/types/document.py46 # Check if first file in archive is the identifying fileCOMMENT
LOWlibs/filetype/types/document.py56 # Check if first file in archive is the identifying fileCOMMENT
LOWlibs/html5lib/_inputstream.py871 # Check if the attr name is charsetCOMMENT
LOWlibs/html5lib/html5parser.py948 # Set this to the default handlerCOMMENT
LOWlibs/html5lib/_tokenizer.py234 # Add token to the queue to be yieldedCOMMENT
LOWlibs/apprise/asset.py217 # Set storage to autoCOMMENT
LOWlibs/apprise/url.py325 # Set time to 'now' and no need to throttleCOMMENT
LOWlibs/apprise/plugins/sfr.py308 # Check if the request was successfullCOMMENT
LOWlibs/apprise/plugins/aprs.py389 # Check if we are connectedCOMMENT
LOWlibs/apprise/plugins/aprs.py464 # Check if we are connectedCOMMENT
LOWlibs/apprise/plugins/aprs.py517 # Check if we are connectedCOMMENT
LOWlibs/apprise/plugins/__init__.py293 # Check if the mapped reference is a list; if it is, thenCOMMENT
LOWlibs/apprise/plugins/twist.py178 # Check if it is validCOMMENT
LOWlibs/apprise/plugins/threema.py177 # Check if an email was definedCOMMENT
LOWlibs/apprise/plugins/pushbullet.py250 # Check if an email was definedCOMMENT
50 more matches not shown…
AI Slop Vocabulary96 hits · 145 pts
SeverityFileLineSnippetContext
MEDIUMbazarr/app/config.py1095 # Check if user needs seamless migration from API key to OAuthCOMMENT
LOWbazarr/subtitles/tools/translate/main.py85 # otherwise, we just use the destination path as it isCOMMENT
MEDIUMfrontend/package-lock.json12087 "resolved": "https://registry.npmjs.org/robust-predicates/-/robust-predicates-3.0.3.tgz",CODE
LOWlibs/whichcraft.py64 # what file suffixes are executable, so just pass on cmd as-is.COMMENT
MEDIUMlibs/flask/sessions.py101 """The basic interface you have to implement in order to replace theSTRING
MEDIUMlibs/flask/app.py1299 """Can be overridden in order to modify the response objectSTRING
LOWlibs/h11/_headers.py60# aren't. For now we punt and just use a super simple representation: headersCOMMENT
LOWlibs/requests_oauthlib/compliance_fixes/instagram.py15 # Nothing to do, just return.COMMENT
LOWlibs/requests_oauthlib/compliance_fixes/slack.py18 # Nothing to do, just return.COMMENT
LOWlibs/mako/codegen.py1038 # in an enclosing namespace (i.e. names we can just use)COMMENT
LOWlibs/pyparsing/util.py323 # no need to list them with "-", just return as a listSTRING
LOWlibs/pyparsing/util.py384 # internal recursive call, just return empty string if no wordsSTRING
LOWlibs/pyparsing/core.py3550 # a match with `pos > len(instring)`, it will just return ""STRING
LOWlibs/pyparsing/helpers.py302 # last resort, just use MatchFirst of Token class corresponding to caselessCOMMENT
LOWlibs/pyparsing/diagram/__init__.py599 # if not, just return NoneSTRING
LOWlibs/jinja2/compiler.py1009 # if we have a known extends we just add a template runtimeCOMMENT
LOWlibs/jinja2/idtracking.py112 # Otherwise we can just set it to undefined.COMMENT
LOWlibs/jinja2/bccache.py224 # explicitly forced otherwise. We can just use that.COMMENT
MEDIUMlibs/markdown/serializers.py24# pertaining to distribution of the software without specific, writtenCOMMENT
LOWlibs/waitress/task.py531 # for the WSGI application. Spec says we can just set this toCOMMENT
LOWlibs/waitress/server.py122 # We are running a single server, so we can just return the last server,COMMENT
MEDIUMlibs/waitress/wasyncore.py15# Rushing not be used in advertising or publicity pertaining toCOMMENT
LOWlibs/waitress/channel.py404 # (probably close the socket, and then just return)COMMENT
LOWlibs/waitress/parser.py281 # NB: We can not just call bare strip() here because it will alsoCOMMENT
LOWlibs/js2py/constructors/jsobject.py20 #Implementation dependent, but my will simply return :)COMMENT
LOWlibs/js2py/internals/base.py378# if not array then use to_string(prop). In array if prop is integer then just use itCOMMENT
LOWlibs/js2py/internals/constructors/jsobject.py19 # Implementation dependent, but my will simply return :)COMMENT
LOWlibs/bs4/builder/_html5lib.py461 # but we just set/changed the attributes, so call it again.COMMENT
LOWlibs/requests_toolbelt/auth/http_proxy_digest.py97 # if we have nonce, then just use it, otherwise server will tell usCOMMENT
LOWlibs/pytz/tzinfo.py544 # A StaticTzInfo - just return itCOMMENT
LOWlibs/sqlalchemy/exc.py619 # Don't ever wrap these, just return them directly as ifCOMMENT
MEDIUMlibs/sqlalchemy/ext/mypy/util.py290 # TODO: figure out a more robust way to check this. The node is someCOMMENT
LOWlibs/sqlalchemy/dialects/postgresql/psycopg.py638 # Normal cursor just call _close() in a non-sync way.STRING
LOWlibs/sqlalchemy/dialects/oracle/cx_oracle.py1256 # simplify the whole thing and just use the method that we wereSTRING
LOWlibs/sqlalchemy/dialects/oracle/base.py2131 # so it seems easier to just use bind param in this caseCOMMENT
LOWlibs/sqlalchemy/dialects/mysql/base.py1838 # No offset provided, so just use the limitCOMMENT
LOWlibs/sqlalchemy/dialects/mssql/pyodbc.py609 # async adapter drivers just return None hereCOMMENT
LOWlibs/sqlalchemy/orm/decl_base.py545 # and while it seems like we could just set these on Field as weCOMMENT
LOWlibs/sqlalchemy/orm/loading.py646 # So here, we just add the PK cols if thatCOMMENT
MEDIUMlibs/sqlalchemy/orm/path_registry.py703 # also make use of of_type() or other intricate polymorphicCOMMENT
LOWlibs/sqlalchemy/orm/query.py1953 # just return self._from_obj[0] if present, because there is noSTRING
LOWlibs/sqlalchemy/orm/strategies.py741 # get() clause. then we can just use mapper.get()COMMENT
LOWlibs/sqlalchemy/orm/strategies.py2284 # just return itCOMMENT
LOWlibs/sqlalchemy/orm/util.py781 # "self"; so just return a new method with the same function andSTRING
LOWlibs/sqlalchemy/orm/context.py750 # if the col is from some other mapper, just return it, assume theCOMMENT
LOWlibs/sqlalchemy/orm/context.py3049 # the resulting callable is entirely cacheable so just returnCOMMENT
LOWlibs/sqlalchemy/orm/bulk_persistence.py594 # Since we have cols_to_return, just return what we askedCOMMENT
LOWlibs/sqlalchemy/engine/create.py785 # since "on_connect" is virtually always present, just useCOMMENT
LOWlibs/sqlalchemy/engine/cursor.py485 # no compiled objects to map, just create keymap by primary stringCOMMENT
LOWlibs/sqlalchemy/engine/cursor.py794 # conflicting keyname - just add the column-linked objectsCOMMENT
LOWlibs/sqlalchemy/sql/compiler.py4119 # or this is the same CTE. just return the name.COMMENT
MEDIUMlibs/sqlalchemy/sql/type_api.py656 r"""Produce a copy of this type object that will utilize the givenCODE
LOWlibs/sqlalchemy/sql/type_api.py2359 # couldn't adapt - so just return the type itselfCOMMENT
MEDIUMlibs/requests/sessions.py757 # Set defaults that the hooks can utilize to ensure they always haveSTRING
LOWlibs/requests/models.py723 # method. To prevent iterating over None, simply use an empty listCOMMENT
LOWlibs/requests/utils.py491 # a UNC path, then just return the value without quotes. Using theSTRING
LOWlibs/html5lib/html5parser.py746 # the abstract Unicode string, and just use theCOMMENT
LOWlibs/pymediainfo/__init__.py532 else: # We have a filename, simply pass it:CODE
LOWlibs/certifi/core.py70 # file, it will just return the file system location and theCOMMENT
LOWlibs/apprise/persistent_store.py1287 # For the below, we just set both cases and set them up as anCOMMENT
36 more matches not shown…
Slop Phrases26 hits · 42 pts
SeverityFileLineSnippetContext
LOWbazarr/api/subtitles/subtitles.py178 percent_score=0, # make sure to always sync when requested manuallyCODE
LOWbazarr/subtitles/wanted/series.py157 # make sure to override the progress value updated by the subtitles synchronizationCOMMENT
LOWbazarr/subtitles/wanted/movies.py142 # make sure to override the progress value updated by the subtitles synchronizationCOMMENT
LOWlibs/wcwidth/__init__.py81__version__ = '0.8.1' # don't forget to also update pyproject.toml:versionCODE
LOWlibs/wcwidth/__init__.py81__version__ = '0.8.1' # don't forget to also update pyproject.toml:versionCODE
LOWlibs/pyrsistent/_transformations.py134 # Allow expansion of structure but make sure to cover the caseCOMMENT
LOWlibs/oauthlib/openid/connect/core/request_validator.py27 blank value `""` don't forget to check it before using those valuesSTRING
LOWlibs/oauthlib/oauth1/rfc5849/__init__.py42# Note: if additional values are defined here, don't forget to update theCOMMENT
LOWlibs/oauthlib/oauth1/rfc5849/__init__.py42# Note: if additional values are defined here, don't forget to update theCOMMENT
MEDIUMlibs/pygments/lexers/crystal.py240 # there so that you can use the ternary operator.STRING
LOWlibs/pygments/lexers/perl.py596 # them, make sure you also process the corresponding one!COMMENT
MEDIUMlibs/pygments/lexers/ruby.py292 # there so that you can use the ternary operator.COMMENT
MEDIUMlibs/werkzeug/routing/__init__.py76And here is how you can match URLs:STRING
LOWlibs/js2py/evaljs.py213 # make sure you have a temp folder:COMMENT
MEDIUMlibs/js2py/internals/constructors/jsfunction.py27# you can use this one lovely piece of function to compile and execute code on the fly! Watch out though as it may generCOMMENT
LOWlibs/sqlalchemy/dialects/oracle/provision.py69 # NOTE: make sure you've run "ALTER DATABASE default tablespace users" orCOMMENT
MEDIUMlibs/apprise/config/base.py645 # Or you can use this format (no tags associated)STRING
MEDIUMlibs/apprise/config/base.py648 # you can also use the keyword 'include' and identify aSTRING
MEDIUMlibs/attr/_funcs.py496 # Return the class so you can use it as a decorator too.COMMENT
MEDIUMlibs/jsonschema/benchmarks/issue232/issue.json1617 "description": "This is a sample server Petstore server. You can find out more about Swagger atCODE
MEDIUMlibs/tqdm/std.py793 >>> # Now you can use `progress_apply` instead of `apply`STRING
LOWlibs/urllib3/response.py1152 # TODO make sure to initially read enough data to get past the headersCOMMENT
MEDIUMlibs/urllib3/util/wait.py12# There are two types of APIs you can use for waiting on sockets: the fancyCOMMENT
MEDIUMlibs/future/backports/urllib/request.py1644 # Undocumented feature: you can use a differentCOMMENT
LOWcustom_libs/subliminal_patch/core.py626 # make sure to preserve original subtitles format if requestedCOMMENT
LOWcustom_libs/subliminal_patch/providers/subsource.py279 # we make sure to get only one language to search forCOMMENT
Verbosity Indicators24 hits · 38 pts
SeverityFileLineSnippetContext
LOW⚡bazarr/utilities/autopulse_webhook.py362 # Step 1: Try smart detection (compare actual Bazarr vs Plex paths)COMMENT
LOW⚡bazarr/utilities/autopulse_webhook.py367 # Step 2: Fall back to common pattern detectionCOMMENT
LOWlibs/h11/_connection.py112 # Step 1: some responses always have an empty body, regardless of what theCOMMENT
LOW⚡libs/h11/_connection.py126 # Step 2: check for Transfer-Encoding (T-E beats C-L):COMMENT
LOW⚡libs/h11/_connection.py132 # Step 3: check for Content-LengthCOMMENT
LOW⚡libs/h11/_connection.py137 # Step 4: no applicable headers; fallback/default depends on typeCOMMENT
LOWlibs/pygments/lexers/sql.py675 # We need to check if there are any names usingCOMMENT
LOW⚡libs/bs4/__init__.py610 # Step 1: does it end with a common textual file extension?COMMENT
LOW⚡libs/bs4/__init__.py619 # Step 2: it _might_ be a file, but there are a few thingsCOMMENT
LOWlibs/bs4/__init__.py649 # Step 3: If it survived all of those checks, it's similarCOMMENT
LOWlibs/click/core.py2858 # value, we need to check if `flag_value` or `default` was set. Either one isSTRING
LOWlibs/html5lib/html5parser.py1418 # Step 4:COMMENT
LOWlibs/html5lib/html5parser.py1463 # Step 5:COMMENT
LOWlibs/html5lib/html5parser.py1476 # Step 6:COMMENT
LOWlibs/html5lib/html5parser.py1494 # Step 8:COMMENT
LOWlibs/html5lib/treebuilders/base.py223 # Step 1: stop the algorithm when there's nothing to do.COMMENT
LOWlibs/html5lib/treebuilders/base.py240 # Step 5: let entry be one earlier in the list.COMMENT
LOWlibs/apprise/plugins/bluesky.py307 # Step 1: Acquire DID from bsky.appCOMMENT
LOWlibs/apprise/plugins/bluesky.py327 # Step 2: Use DID to find the PDSCOMMENT
LOWlibs/apprise/plugins/bluesky.py392 # Step 3: Send to correct endpointCOMMENT
LOWlibs/dynaconf/utils/parse_conf.py163 we need to check if the first part is a numberSTRING
LOWlibs/ffsubsync/subtitle_preprocessor.py149 # Step 1: Filter non-dialogue contentCOMMENT
LOWlibs/ffsubsync/subtitle_preprocessor.py164 # Step 2: Merge short subtitlesCOMMENT
LOWlibs/future/backports/email/header.py398 # Step 1: Normalize the chunks so that all runs of identical charsetsSTRING
Fake / Example Data40 hits · 37 pts
SeverityFileLineSnippetContext
LOWfrontend/src/components/inputs/Selector.test.tsx145 describe("placeholder", () => {CODE
LOW⚡tests/subliminal_patch/test_subdl.py99 with SubdlProvider("fake-key", ai_translate=False) as provider:CODE
LOW⚡tests/subliminal_patch/test_subdl.py298 with SubdlProvider("fake-key", ai_translate=True) as provider:CODE
LOW⚡tests/subliminal_patch/test_subdl.py566 with SubdlProvider("fake-key") as provider:CODE
LOWtests/subliminal_patch/test_subdl.py74 with SubdlProvider("fake-key", ai_translate=True) as provider:CODE
LOWtests/subliminal_patch/test_subdl.py166 with SubdlProvider("fake-key", include_ai_translated=False) as provider:CODE
LOWtests/subliminal_patch/test_subdl.py169 with SubdlProvider("fake-key", include_ai_translated=True) as provider:CODE
LOWtests/subliminal_patch/test_subdl.py216 with SubdlProvider("fake-key", ai_translate=True) as provider:CODE
LOWtests/subliminal_patch/test_subdl.py238 with SubdlProvider("fake-key", ai_translate=True) as provider:CODE
LOWtests/subliminal_patch/test_subdl.py256 with SubdlProvider("fake-key", ai_translate=True) as provider:CODE
LOWtests/subliminal_patch/test_subdl.py277 with SubdlProvider("fake-key") as provider:CODE
LOWtests/subliminal_patch/test_subdl.py469 "fake-key", ai_translate=True, include_ai_translated=FalseCODE
LOWtests/subliminal_patch/test_subdl.py541 with SubdlProvider("fake-key", ai_translate=True) as provider:CODE
LOWtests/subliminal_patch/test_subdl.py613 with SubdlProvider("fake-key") as provider:CODE
LOWtests/subliminal_patch/test_subdl.py666 with SubdlProvider("fake-key") as provider:CODE
LOWtests/subliminal_patch/test_subdl.py680 with SubdlProvider("fake-key") as provider:CODE
LOWtests/subliminal_patch/test_subdl.py707 with SubdlProvider("fake-key") as provider:CODE
LOWtests/subliminal_patch/test_subdl.py734 with SubdlProvider("fake-key") as provider:CODE
LOWtests/subliminal_patch/test_subdl.py754 with SubdlProvider("fake-key", ai_translate=True) as provider:CODE
LOWlibs/deep_translator/linguee.py89 "span", {"class": "placeholder"}CODE
LOWlibs/pygments/lexers/perl.py332 'pick','pickpairs','pid','placeholder','plan','plus','polar','poll',CODE
LOWlibs/jinja2/constants.py1#: list of lorem ipsum words used by the lipsum() helper functionCOMMENT
LOWlibs/jinja2/utils.py356 """Generate some lorem ipsum for the template."""STRING
LOWlibs/sqlalchemy/ext/automap.py61 session.add(Address(email_address="foo@bar.com", user=User(name="foo")))CODE
LOWlibs/sqlalchemy/ext/automap.py369 u1 = User(addresses=[Address(email="foo@bar.com")])CODE
LOWlibs/sqlalchemy/orm/query.py2374 User.addresses.and_(Address.email_address != "foo@bar.com")CODE
LOWlibs/sqlalchemy/orm/_orm_constructors.py2621 .filter(Address.email_address == "foo@bar.com")CODE
LOWlibs/sqlalchemy/orm/_orm_constructors.py2630 .filter(Address.email_address == "foo@bar.com")CODE
LOWlibs/sqlalchemy/engine/cursor.py1902 ("john", 1, 1, "foo@bar.com", 1),STRING
LOWlibs/sqlalchemy/sql/_elements_constructors.py482 "placeholder" value in a SQL expression, the value of which isCODE
LOWlibs/sqlalchemy/sql/_elements_constructors.py489 a "placeholder" for eventual population, but also as a means ofCODE
LOW⚡libs/apprise/plugins/twist.py320 # "email": "user@example.com",COMMENT
LOW⚡libs/apprise/plugins/twist.py333 # "email": "user@example.com",COMMENT
LOWlibs/rich/text.py1342 """\nLorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et doloSTRING
LOWlibs/rich/text.py1342 """\nLorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et doloSTRING
LOWlibs/rich/__main__.py71 lorem = "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Quisque in metus sed sapien ultricies pretium a atCODE
LOWlibs/rich/__main__.py71 lorem = "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Quisque in metus sed sapien ultricies pretium a atCODE
LOWlibs/flask_restx/static/swagger-ui.js1!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amCODE
LOWlibs/flask_restx/static/swagger-ui-es-bundle-core.js2import*as e from"react-immutable-pure-component";import*as t from"remarkable/linkify";import*as r from"dompurify";importCODE
LOWlibs/flask_restx/static/swagger-ui-standalone-preset.js2!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amCODE
Structural Annotation Overuse18 hits · 31 pts
SeverityFileLineSnippetContext
LOW⚡bazarr/utilities/autopulse_webhook.py362 # Step 1: Try smart detection (compare actual Bazarr vs Plex paths)COMMENT
LOW⚡bazarr/utilities/autopulse_webhook.py367 # Step 2: Fall back to common pattern detectionCOMMENT
LOWlibs/h11/_connection.py112 # Step 1: some responses always have an empty body, regardless of what theCOMMENT
LOW⚡libs/h11/_connection.py126 # Step 2: check for Transfer-Encoding (T-E beats C-L):COMMENT
LOW⚡libs/h11/_connection.py132 # Step 3: check for Content-LengthCOMMENT
LOW⚡libs/h11/_connection.py137 # Step 4: no applicable headers; fallback/default depends on typeCOMMENT
LOW⚡libs/bs4/__init__.py610 # Step 1: does it end with a common textual file extension?COMMENT
LOW⚡libs/bs4/__init__.py619 # Step 2: it _might_ be a file, but there are a few thingsCOMMENT
LOWlibs/bs4/__init__.py649 # Step 3: If it survived all of those checks, it's similarCOMMENT
LOWlibs/bs4/builder/_htmlparser.py113 # NOTE: This method is required so long as Python 3.9 isCOMMENT
LOWlibs/html5lib/treebuilders/base.py223 # Step 1: stop the algorithm when there's nothing to do.COMMENT
LOWlibs/html5lib/treebuilders/base.py240 # Step 5: let entry be one earlier in the list.COMMENT
LOWlibs/apprise/plugins/bluesky.py307 # Step 1: Acquire DID from bsky.appCOMMENT
LOWlibs/apprise/plugins/bluesky.py327 # Step 2: Use DID to find the PDSCOMMENT
LOWlibs/apprise/plugins/bluesky.py392 # Step 3: Send to correct endpointCOMMENT
LOWlibs/ffsubsync/subtitle_preprocessor.py149 # Step 1: Filter non-dialogue contentCOMMENT
LOWlibs/ffsubsync/subtitle_preprocessor.py164 # Step 2: Merge short subtitlesCOMMENT
LOWlibs/future/backports/email/header.py398 # Step 1: Normalize the chunks so that all runs of identical charsetsSTRING
Dead Code28 hits · 28 pts
SeverityFileLineSnippetContext
MEDIUMlibs/pyjsparser/parser.py1185CODE
MEDIUMlibs/pyjsparser/parser.py1186CODE
MEDIUMlibs/pyjsparser/parser.py1187CODE
MEDIUMlibs/pyjsparser/parser.py1188CODE
MEDIUMlibs/pyjsparser/parser.py1203CODE
MEDIUMlibs/pyjsparser/parser.py1204CODE
MEDIUMlibs/pyjsparser/parser.py1229CODE
MEDIUMlibs/pyjsparser/parser.py1230CODE
MEDIUMlibs/pyjsparser/parser.py1231CODE
MEDIUMlibs/pyjsparser/parser.py1232CODE
MEDIUMlibs/pyjsparser/parser.py1236CODE
MEDIUMlibs/pyjsparser/parser.py1237CODE
MEDIUMlibs/pyjsparser/parser.py1408CODE
MEDIUMlibs/pyjsparser/parser.py2012CODE
MEDIUMlibs/pyjsparser/parser.py2014CODE
MEDIUMlibs/pyjsparser/parser.py2015CODE
MEDIUMlibs/pyjsparser/parser.py2017CODE
MEDIUMlibs/pyjsparser/parser.py2019CODE
MEDIUMlibs/pyjsparser/parser.py2022CODE
MEDIUMlibs/pyjsparser/parser.py2026CODE
MEDIUMlibs/pyjsparser/parser.py2028CODE
MEDIUMlibs/pyjsparser/parser.py2239CODE
MEDIUMlibs/pyjsparser/parser.py2241CODE
MEDIUMlibs/pyjsparser/parser.py2243CODE
MEDIUMlibs/pyjsparser/parser.py2245CODE
MEDIUMlibs/pyjsparser/parser.py2246CODE
MEDIUMlibs/pyjsparser/parser.py2249CODE
MEDIUMlibs/pyjsparser/parser.py2251CODE
Overly Generic Function Names23 hits · 22 pts
SeverityFileLineSnippetContext
LOW⚡tests/bazarr/test_ui.py31 def test_function():CODE
LOWtests/bazarr/test_ui.py58 def test_function():CODE
LOWtests/bazarr/test_ui.py75 def test_function():CODE
LOWtests/bazarr/test_ui.py96 def test_function():CODE
LOWtests/bazarr/test_ui.py120 def test_function():CODE
LOWtests/bazarr/test_ui.py142 def test_function():CODE
LOWtests/bazarr/test_ui.py165 def test_function():CODE
LOWtests/bazarr/test_ui.py188 def test_function(arg1, arg2, kwarg1=None):CODE
LOWtests/bazarr/test_ui.py204 def test_function():CODE
LOWtests/bazarr/test_ui.py232 def test_function():CODE
LOWlibs/rarfile.py962 def helper(name, flags):CODE
LOWlibs/dogpile/cache/region.py286 def my_function(a, b, **kw):CODE
LOWlibs/dogpile/testing/fixtures.py376 def my_function(x, y):CODE
LOWlibs/engineio/server.py188 def handle_request(self, environ, start_response):CODE
LOWlibs/engineio/async_server.py208 async def handle_request(self, *args, **kwargs):CODE
LOWlibs/sqlalchemy/ext/asyncio/base.py255 def helper(*args: Any, **kwds: Any) -> GeneratorStartableContext[_T_co]:CODE
LOWlibs/sqlalchemy/orm/events.py1927 def do_something(session, previous_transaction):CODE
LOWlibs/sqlalchemy/orm/collections.py376 def do_stuff(self, thing, entity=None): ...STRING
LOWlibs/socketio/server.py423 def handle_request(self, environ, start_response):CODE
LOWlibs/socketio/async_server.py448 async def handle_request(self, *args, **kwargs):CODE
LOWlibs/alembic/runtime/environment.py138 def my_function(rev, context):STRING
LOWlibs/future/backports/socketserver.py277 def handle_request(self):CODE
LOWlibs/future/backports/xmlrpc/server.py684 def handle_request(self, request_text=None):CODE
AI Response Leakage1 hit · 8 pts
SeverityFileLineSnippetContext
HIGHlibs/pydantic/mypy.py552 # I don't know whether it's possible to hit this branch, but I've added it for safetyCOMMENT
Magic Placeholder Names1 hit · 5 pts
SeverityFileLineSnippetContext
HIGHlibs/deep_translator/exceptions.py173Example: export {env_var}="your_api_key"CODE
TODO Padding1 hit · 2 pts
SeverityFileLineSnippetContext
LOWcustom_libs/subliminal_patch/providers/gestdown.py123 # TODO: implement rate limitingCOMMENT