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.
This report presents the forensic synthetic code analysis of morpheus65535/bazarr, a Python project with 4,137 GitHub stars. SynthScan v2.0 examined 1,595,484 lines of code across 4328 source files, recording 15600 pattern matches distributed across 24 syntactic categories. The overall adjusted score of 13.2 places this repository in the Low AI signal band.
The scanner applied 160+ deterministic lexical heuristics, multi-line block detectors, abstract syntax tree depth profilers, and a cross-file Jaccard similarity matrix to construct a statistically normalised synthetic code estimate. All matches are individually weighted by severity coefficient and contextual multiplier before summation, and the resulting headline score is temporally discounted to account for the repository's development history relative to the commercial emergence of large language model coding tooling (November 2022 onward).
Longitudinal tracking requires multiple scan runs. Once this repository is re-scanned after new commits land, this chart will visualise how the synthetic code signal evolves over time — enabling you to detect whether AI authorship is growing, stabilising, or being actively corrected by human engineers.
Classifies detected patterns by their diagnostic confidence and structural impact. CRITICAL patterns (coefficient 10) represent definitive synthetic signatures — hallucinated imports, explicit LLM attribution metadata — virtually never produced by human authors. HIGH (5) indicates strong structural tells such as cross-file repetition or cross-linguistic idioms. MEDIUM (2) covers recognisable conversational padding and AI-specific vocabulary. LOW (1) captures subtle indicators like tautological comments and generic boilerplate that require density to carry independent signal.
This horizontal bar chart decomposes the repository's raw synthetic code score by top-level directory, allowing you to pinpoint precisely which modules or components carry the highest AI authorship density. Directories with disproportionately high scores relative to their size warrant targeted manual review: concentrated AI signatures often trace back to mass-generated configuration layers, auto-ported test suites, LLM-scaffolded boilerplate classes, or entire subsystems authored under heavy copilot assistance. Use this view to prioritise your human code-review effort.
The scanner identified 15600 distinct pattern matches across 24 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a statistically significant AI authorship indicator. Expand any category row to inspect the individual file paths, line numbers, code snippets, and the lexical context (CODE, COMMENT, or STRING) in which each match was detected.
Reading the findings table: The Severity column indicates the diagnostic confidence level (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — comment-context matches receive a ×1.5 weight because LLMs systematically over-annotate. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier as dense clusters constitute far stronger evidence of synthetic authorship than isolated hits.
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | bazarr/get_args.py | 4 | CODE | |
| LOW | bazarr/init.py | 57 | CODE | |
| LOW | bazarr/init.py | 80 | CODE | |
| LOW | bazarr/init.py | 80 | CODE | |
| LOW | bazarr/init.py | 80 | CODE | |
| LOW | bazarr/init.py | 80 | CODE | |
| LOW | bazarr/init.py | 80 | CODE | |
| LOW | bazarr/init.py | 79 | CODE | |
| LOW | bazarr/init.py | 79 | CODE | |
| LOW | bazarr/init.py | 83 | CODE | |
| LOW | bazarr/main.py | 26 | CODE | |
| LOW | bazarr/main.py | 27 | CODE | |
| LOW | bazarr/app/database.py | 14 | CODE | |
| LOW | bazarr/app/database.py | 17 | CODE | |
| LOW | bazarr/app/database.py | 17 | CODE | |
| LOW | bazarr/app/app.py | 45 | CODE | |
| LOW | bazarr/app/signalr_client.py | 18 | CODE | |
| LOW | bazarr/app/signalr_client.py | 19 | CODE | |
| LOW | bazarr/app/signalr_client.py | 23 | CODE | |
| LOW | bazarr/app/signalr_client.py | 27 | CODE | |
| LOW | bazarr/app/announcements.py | 14 | CODE | |
| LOW | bazarr/app/announcements.py | 17 | CODE | |
| LOW | bazarr/radarr/sync/movies.py | 18 | CODE | |
| LOW | bazarr/plex/operations.py | 5 | CODE | |
| LOW | bazarr/api/jellyfin/__init__.py | 6 | CODE | |
| LOW | bazarr/api/providers/providers_episodes.py | 11 | CODE | |
| LOW | bazarr/api/providers/providers_episodes.py | 12 | CODE | |
| LOW | bazarr/api/providers/providers_movies.py | 11 | CODE | |
| LOW | bazarr/api/providers/providers_movies.py | 12 | CODE | |
| LOW | bazarr/api/episodes/episodes_subtitles.py | 10 | CODE | |
| LOW | bazarr/api/episodes/episodes_subtitles.py | 10 | CODE | |
| LOW | bazarr/api/episodes/episodes_subtitles.py | 14 | CODE | |
| LOW | bazarr/api/episodes/episodes_subtitles.py | 16 | CODE | |
| LOW | bazarr/api/episodes/episodes_subtitles.py | 17 | CODE | |
| LOW | bazarr/api/episodes/episodes_subtitles.py | 18 | CODE | |
| LOW | bazarr/api/system/settings.py | 14 | CODE | |
| LOW | bazarr/api/movies/movies_subtitles.py | 10 | CODE | |
| LOW | bazarr/api/movies/movies_subtitles.py | 14 | CODE | |
| LOW | bazarr/api/movies/movies_subtitles.py | 16 | CODE | |
| LOW | bazarr/api/movies/movies_subtitles.py | 17 | CODE | |
| LOW | bazarr/api/movies/movies_subtitles.py | 18 | CODE | |
| LOW | bazarr/api/plex/security.py | 4 | CODE | |
| LOW | bazarr/api/plex/__init__.py | 6 | CODE | |
| LOW | bazarr/api/plex/oauth.py | 17 | CODE | |
| LOW | bazarr/api/subtitles/subtitles.py | 12 | CODE | |
| LOW | bazarr/api/subtitles/subtitles.py | 18 | CODE | |
| LOW | bazarr/api/subtitles/subtitles_contents.py | 2 | CODE | |
| LOW | bazarr/api/webhooks/radarr.py | 10 | CODE | |
| LOW | bazarr/api/webhooks/plex.py | 6 | CODE | |
| LOW | bazarr/api/webhooks/sonarr.py | 10 | CODE | |
| LOW | bazarr/subtitles/__init__.py | 3 | CODE | |
| LOW | bazarr/subtitles/__init__.py | 4 | CODE | |
| LOW | bazarr/subtitles/__init__.py | 5 | CODE | |
| LOW | bazarr/subtitles/manual.py | 26 | CODE | |
| LOW | bazarr/subtitles/upgrade.py | 6 | CODE | |
| LOW | bazarr/subtitles/processing.py | 15 | CODE | |
| LOW | bazarr/subtitles/tools/subsyncer.py | 30 | CODE | |
| LOW | …arr/subtitles/tools/translate/core/translator_utils.py | 14 | CODE | |
| LOW | …arr/subtitles/tools/translate/core/translator_utils.py | 14 | CODE | |
| LOW | …ubtitles/tools/translate/services/google_translator.py | 7 | CODE | |
| 5467 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | libs/wcwidth/table_zero.py | 0 | exports wide_eastasian table keyed by supporting unicode version level. this code generated by python wcwidth project. | STRING |
| HIGH | libs/wcwidth/table_vs16.py | 0 | exports wide_eastasian table keyed by supporting unicode version level. this code generated by python wcwidth project. | STRING |
| HIGH | libs/wcwidth/table_mc.py | 0 | exports wide_eastasian table keyed by supporting unicode version level. this code generated by python wcwidth project. | STRING |
| HIGH | libs/wcwidth/table_ambiguous.py | 0 | exports wide_eastasian table keyed by supporting unicode version level. this code generated by python wcwidth project. | STRING |
| HIGH | libs/wcwidth/table_vs15.py | 0 | exports wide_eastasian table keyed by supporting unicode version level. this code generated by python wcwidth project. | STRING |
| HIGH | libs/wcwidth/table_wide.py | 0 | exports wide_eastasian table keyed by supporting unicode version level. this code generated by python wcwidth project. | STRING |
| HIGH | libs/websocket/_logging.py | 0 | test_app.py websocket - websocket client library for python copyright 2025 engn33r licensed under the apache license, ve | STRING |
| HIGH | libs/websocket/_socket.py | 0 | test_app.py websocket - websocket client library for python copyright 2025 engn33r licensed under the apache license, ve | STRING |
| HIGH | libs/websocket/_url.py | 0 | test_app.py websocket - websocket client library for python copyright 2025 engn33r licensed under the apache license, ve | STRING |
| HIGH | libs/websocket/_http.py | 0 | test_app.py websocket - websocket client library for python copyright 2025 engn33r licensed under the apache license, ve | STRING |
| HIGH | libs/websocket/_wsdump.py | 0 | test_app.py websocket - websocket client library for python copyright 2025 engn33r licensed under the apache license, ve | STRING |
| HIGH | libs/websocket/_ssl_compat.py | 0 | test_app.py websocket - websocket client library for python copyright 2025 engn33r licensed under the apache license, ve | STRING |
| HIGH | libs/websocket/_handshake.py | 0 | test_app.py websocket - websocket client library for python copyright 2025 engn33r licensed under the apache license, ve | STRING |
| HIGH | libs/websocket/_dispatcher.py | 0 | test_app.py websocket - websocket client library for python copyright 2025 engn33r licensed under the apache license, ve | STRING |
| HIGH | libs/websocket/__init__.py | 0 | test_app.py websocket - websocket client library for python copyright 2025 engn33r licensed under the apache license, ve | STRING |
| HIGH | libs/websocket/_app.py | 0 | test_app.py websocket - websocket client library for python copyright 2025 engn33r licensed under the apache license, ve | STRING |
| HIGH | libs/websocket/_abnf.py | 0 | test_app.py websocket - websocket client library for python copyright 2025 engn33r licensed under the apache license, ve | STRING |
| HIGH | libs/websocket/_core.py | 0 | test_app.py websocket - websocket client library for python copyright 2025 engn33r licensed under the apache license, ve | STRING |
| HIGH | libs/websocket/_cookiejar.py | 0 | test_app.py websocket - websocket client library for python copyright 2025 engn33r licensed under the apache license, ve | STRING |
| HIGH | libs/websocket/_exceptions.py | 0 | test_app.py websocket - websocket client library for python copyright 2025 engn33r licensed under the apache license, ve | STRING |
| HIGH | libs/websocket/_utils.py | 0 | test_app.py websocket - websocket client library for python copyright 2025 engn33r licensed under the apache license, ve | STRING |
| HIGH | libs/websocket/tests/test_ssl_edge_cases.py | 0 | test_app.py websocket - websocket client library for python copyright 2025 engn33r licensed under the apache license, ve | STRING |
| HIGH | libs/websocket/tests/test_utils.py | 0 | test_app.py websocket - websocket client library for python copyright 2025 engn33r licensed under the apache license, ve | STRING |
| HIGH | libs/websocket/tests/test_socket_bugs.py | 0 | test_app.py websocket - websocket client library for python copyright 2025 engn33r licensed under the apache license, ve | STRING |
| HIGH | libs/websocket/tests/test_large_payloads.py | 0 | test_app.py websocket - websocket client library for python copyright 2025 engn33r licensed under the apache license, ve | STRING |
| HIGH | libs/websocket/tests/test_cookiejar.py | 0 | test_app.py websocket - websocket client library for python copyright 2025 engn33r licensed under the apache license, ve | STRING |
| HIGH | libs/websocket/tests/test_websocket.py | 0 | test_app.py websocket - websocket client library for python copyright 2025 engn33r licensed under the apache license, ve | STRING |
| HIGH | libs/websocket/tests/test_abnf.py | 0 | test_app.py websocket - websocket client library for python copyright 2025 engn33r licensed under the apache license, ve | STRING |
| HIGH | libs/websocket/tests/test_socket.py | 0 | test_app.py websocket - websocket client library for python copyright 2025 engn33r licensed under the apache license, ve | STRING |
| HIGH | libs/websocket/tests/test_handshake_large_response.py | 0 | test_app.py websocket - websocket client library for python copyright 2025 engn33r licensed under the apache license, ve | STRING |
| HIGH | libs/websocket/tests/test_http.py | 0 | test_app.py websocket - websocket client library for python copyright 2025 engn33r licensed under the apache license, ve | STRING |
| HIGH | libs/websocket/tests/test_url.py | 0 | test_app.py websocket - websocket client library for python copyright 2025 engn33r licensed under the apache license, ve | STRING |
| HIGH | libs/websocket/tests/test_dispatcher.py | 0 | test_app.py websocket - websocket client library for python copyright 2025 engn33r licensed under the apache license, ve | STRING |
| HIGH | libs/websocket/tests/test_ssl_compat.py | 0 | test_app.py websocket - websocket client library for python copyright 2025 engn33r licensed under the apache license, ve | STRING |
| HIGH | libs/websocket/tests/test_app.py | 0 | test_app.py websocket - websocket client library for python copyright 2025 engn33r licensed under the apache license, ve | STRING |
| HIGH | libs/flask_migrate/templates/flask/env.py | 0 | run migrations in 'offline' mode. this configures the context with just a url and not an engine, though an engine is acc | STRING |
| HIGH | libs/flask_migrate/templates/aioflask-multidb/env.py | 0 | run migrations in 'offline' mode. this configures the context with just a url and not an engine, though an engine is acc | STRING |
| HIGH | libs/flask_migrate/templates/aioflask/env.py | 0 | run migrations in 'offline' mode. this configures the context with just a url and not an engine, though an engine is acc | STRING |
| HIGH | libs/flask_migrate/templates/flask-multidb/env.py | 0 | run migrations in 'offline' mode. this configures the context with just a url and not an engine, though an engine is acc | STRING |
| HIGH | libs/alembic/templates/pyproject_async/env.py | 0 | run migrations in 'offline' mode. this configures the context with just a url and not an engine, though an engine is acc | STRING |
| HIGH | libs/alembic/templates/async/env.py | 0 | run migrations in 'offline' mode. this configures the context with just a url and not an engine, though an engine is acc | STRING |
| HIGH | libs/alembic/templates/multidb/env.py | 0 | run migrations in 'offline' mode. this configures the context with just a url and not an engine, though an engine is acc | STRING |
| HIGH | libs/alembic/templates/pyproject/env.py | 0 | run migrations in 'offline' mode. this configures the context with just a url and not an engine, though an engine is acc | STRING |
| HIGH | libs/alembic/templates/generic/env.py | 0 | run migrations in 'offline' mode. this configures the context with just a url and not an engine, though an engine is acc | STRING |
| HIGH | libs/flask_migrate/templates/flask/env.py | 0 | run migrations in 'online' mode. in this scenario we need to create an engine and associate a connection with the contex | STRING |
| HIGH | libs/flask_migrate/templates/aioflask-multidb/env.py | 0 | run migrations in 'online' mode. in this scenario we need to create an engine and associate a connection with the contex | STRING |
| HIGH | libs/flask_migrate/templates/aioflask/env.py | 0 | run migrations in 'online' mode. in this scenario we need to create an engine and associate a connection with the contex | STRING |
| HIGH | libs/flask_migrate/templates/flask-multidb/env.py | 0 | run migrations in 'online' mode. in this scenario we need to create an engine and associate a connection with the contex | STRING |
| HIGH | libs/alembic/templates/multidb/env.py | 0 | run migrations in 'online' mode. in this scenario we need to create an engine and associate a connection with the contex | STRING |
| HIGH | libs/alembic/templates/pyproject/env.py | 0 | run migrations in 'online' mode. in this scenario we need to create an engine and associate a connection with the contex | STRING |
| HIGH | libs/alembic/templates/generic/env.py | 0 | run migrations in 'online' mode. in this scenario we need to create an engine and associate a connection with the contex | STRING |
| HIGH | libs/deep_translator/microsoft.py | 0 | class that wraps functions, which use the linguee translator under the hood to translate word(s) | STRING |
| HIGH | libs/deep_translator/yandex.py | 0 | class that wraps functions, which use the linguee translator under the hood to translate word(s) | STRING |
| HIGH | libs/deep_translator/qcri.py | 0 | class that wraps functions, which use the linguee translator under the hood to translate word(s) | STRING |
| HIGH | libs/deep_translator/deepl.py | 0 | class that wraps functions, which use the linguee translator under the hood to translate word(s) | STRING |
| HIGH | libs/deep_translator/chatgpt.py | 0 | class that wraps functions, which use the linguee translator under the hood to translate word(s) | STRING |
| HIGH | libs/deep_translator/baidu.py | 0 | class that wraps functions, which use the linguee translator under the hood to translate word(s) | STRING |
| HIGH | libs/deep_translator/linguee.py | 0 | class that wraps functions, which use the linguee translator under the hood to translate word(s) | STRING |
| HIGH | libs/deep_translator/microsoft.py | 0 | function that uses google translate to translate a text @param text: desired text to translate @return: str: translated | STRING |
| HIGH | libs/deep_translator/libre.py | 0 | function that uses google translate to translate a text @param text: desired text to translate @return: str: translated | STRING |
| 795 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | bazarr/app/config.py | 1442 | def cleanup_legacy_oauth_config(): | CODE |
| LOW | bazarr/app/config.py | 1008 | def configure_sz_ssl_verify_func(): | CODE |
| LOW | bazarr/app/config.py | 1478 | def migrate_plex_library_to_list(): | CODE |
| LOW | bazarr/app/database.py | 545 | def get_audio_profile_languages(audio_languages_list_str): | CODE |
| LOW | bazarr/app/database.py | 611 | def upgrade_languages_profile_values(): | CODE |
| LOW | bazarr/app/database.py | 643 | def fix_languages_profiles_with_duplicate_ids(): | CODE |
| LOW | bazarr/app/check_update.py | 19 | def deprecated_python_version(): | CODE |
| LOW⚡ | bazarr/app/get_providers.py | 47 | def titulky_limit_reset_timedelta(): | CODE |
| LOW⚡ | bazarr/app/get_providers.py | 53 | def legendasdivx_limit_reset_timedelta(): | CODE |
| LOW⚡ | bazarr/app/get_providers.py | 58 | def midnight_gmt_limit_reset_timedelta(): | CODE |
| LOW | bazarr/app/get_providers.py | 472 | def update_throttled_provider(): | CODE |
| LOW | bazarr/app/get_providers.py | 515 | def reset_throttled_providers(only_auth_or_conf_error=False): | CODE |
| LOW | bazarr/app/jobs_queue.py | 325 | def update_job_progress_status(self, job_id: int, is_progress: bool = False) -> bool: | CODE |
| LOW | bazarr/app/jobs_queue.py | 401 | def remove_job_from_pending_queue(self, job_id: int): | CODE |
| LOW | bazarr/app/jobs_queue.py | 429 | def move_job_in_pending_queue(self, job_id: int, move_destination: str) -> bool: | CODE |
| LOW | bazarr/app/jobs_queue.py | 505 | def consume_jobs_pending_queue(self): | CODE |
| LOW | bazarr/app/scheduler.py | 103 | def update_configurable_tasks(self): | CODE |
| LOW | bazarr/app/scheduler.py | 237 | def __sonarr_full_update_task(self): | CODE |
| LOW | bazarr/app/scheduler.py | 258 | def __radarr_full_update_task(self): | CODE |
| LOW | bazarr/app/scheduler.py | 307 | def __search_wanted_subtitles_task(self): | CODE |
| LOW | bazarr/app/scheduler.py | 329 | def __randomize_interval_task(self): | CODE |
| LOW | bazarr/app/announcements.py | 24 | def upcoming_deprecated_python_version(): | CODE |
| LOW | bazarr/app/announcements.py | 52 | def get_announcements_to_file(job_id=None, startup=False, wait_for_completion=False): | CODE |
| LOW | bazarr/app/announcements.py | 150 | def mark_announcement_as_dismissed(hashed_announcement): | CODE |
| LOW | bazarr/radarr/blacklist.py | 36 | def blacklist_delete_all_movie(): | CODE |
| LOW | bazarr/radarr/sync/movies.py | 42 | def get_movie_file_size_from_db(movie_path): | CODE |
| LOW | bazarr/radarr/sync/movies.py | 81 | def get_movie_monitored_status(movie_id): | CODE |
| LOW | bazarr/radarr/sync/movies.py | 371 | def _is_there_missing_subtitles(radarr_id: int) -> bool: | CODE |
| LOW | bazarr/radarr/sync/utils.py | 69 | def get_movies_from_radarr_api(apikey_radarr, radarr_id=None): | CODE |
| LOW | bazarr/radarr/sync/utils.py | 99 | def get_history_from_radarr_api(apikey_radarr, movie_id): | CODE |
| LOW | bazarr/utilities/backup.py | 22 | def _validate_backup_filename(filename): | CODE |
| LOW⚡ | bazarr/utilities/autopulse_webhook.py | 376 | def _detect_smart_path_differences(): | CODE |
| LOW | bazarr/utilities/autopulse_webhook.py | 12 | def generate_autopulse_config(decrypted_token=None): | CODE |
| LOW | bazarr/utilities/autopulse_webhook.py | 110 | def _get_autopulse_template_url(): | CODE |
| LOW | bazarr/utilities/autopulse_webhook.py | 132 | def _generate_config_from_template(template_data, server_url, decrypted_token, server_name): | CODE |
| LOW | bazarr/utilities/autopulse_webhook.py | 273 | def test_external_webhook_connection(): | CODE |
| LOW | bazarr/utilities/autopulse_webhook.py | 427 | def _detect_mount_point_difference(bazarr_path, plex_path, media_type): | CODE |
| LOW | bazarr/utilities/path_mappings.py | 71 | def path_replace_reverse_movie(self, path): | CODE |
| LOW | bazarr/utilities/plex_utils.py | 8 | def get_plex_libraries_with_paths(): | CODE |
| LOW | bazarr/utilities/helper.py | 30 | def get_subtitle_destination_folder(): | CODE |
| LOW | bazarr/utilities/video_analyzer.py | 119 | def subtitles_sync_references(subtitles_path, sonarr_episode_id=None, radarr_movie_id=None): | CODE |
| LOW⚡ | bazarr/plex/operations.py | 90 | def plex_set_movie_added_date_now(movie_metadata) -> None: | CODE |
| LOW⚡ | bazarr/plex/operations.py | 132 | def plex_set_episode_added_date_now(episode_metadata) -> None: | CODE |
| LOW | bazarr/api/plex/security.py | 58 | def get_or_create_encryption_key(settings_obj, key_name: str) -> str: | CODE |
| LOW | bazarr/api/plex/oauth.py | 71 | def get_or_create_client_identifier(): | CODE |
| LOW | bazarr/subtitles/manual.py | 229 | def episode_manually_download_specific_subtitle(sonarr_series_id, sonarr_episode_id, hi, forced, use_original_format, | CODE |
| LOW | bazarr/subtitles/manual.py | 287 | def movie_manually_download_specific_subtitle(radarr_id, hi, forced, use_original_format, selected_provider, subtitle, | CODE |
| LOW | bazarr/subtitles/upgrade.py | 41 | def upgrade_episodes_subtitles(job_id=None, wait_for_completion=False): | CODE |
| LOW | bazarr/subtitles/upgrade.py | 262 | def get_queries_condition_parameters(): | CODE |
| LOW | bazarr/subtitles/upgrade.py | 291 | def get_upgradable_episode_subtitles(history_id_list=None): | CODE |
| LOW | bazarr/subtitles/upgrade.py | 373 | def get_upgradable_movies_subtitles(history_id_list=None): | CODE |
| LOW | bazarr/subtitles/utils.py | 107 | def refine_video_with_scenename(initial_video, scenename_video): | CODE |
| LOW | bazarr/subtitles/tools/subsyncer.py | 62 | def _audio_stream_for_original_language(cls, sonarr_series_id=None, sonarr_episode_id=None, radarr_id=None): | CODE |
| LOW | …arr/subtitles/tools/translate/core/translator_utils.py | 23 | def validate_translation_params(video_path, source_srt_file, from_lang, to_lang): | CODE |
| LOW | …ubtitles/tools/translate/services/gemini_translator.py | 270 | def _is_rate_limited_response(response) -> bool: | CODE |
| LOW | …ubtitles/tools/translate/services/gemini_translator.py | 417 | def _process_translated_lines( | CODE |
| LOW | …ubtitles/tools/translate/services/gemini_translator.py | 431 | def _dominant_strong_direction(s: str) -> str: | CODE |
| LOW | bazarr/subtitles/mass_download/series.py | 25 | def series_download_subtitles(no, job_id=None, job_sub_function=False): | CODE |
| LOW | bazarr/subtitles/mass_download/series.py | 84 | def episode_download_subtitles(no, job_id=None, job_sub_function=False, providers_list=None, fallback_allowed=False): | CODE |
| LOW | bazarr/subtitles/mass_download/series.py | 188 | def episode_download_specific_subtitles(sonarr_series_id, sonarr_episode_id, language, hi, forced, job_id=None): | CODE |
| 2808 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | bazarr/app/server.py | 44 | CODE | |
| LOW | bazarr/app/config.py | 635 | CODE | |
| LOW | bazarr/app/config.py | 674 | CODE | |
| LOW | bazarr/app/config.py | 1058 | CODE | |
| LOW | bazarr/app/config.py | 1518 | CODE | |
| LOW | bazarr/app/ui.py | 181 | CODE | |
| LOW | bazarr/app/database.py | 523 | CODE | |
| LOW | bazarr/app/database.py | 545 | CODE | |
| LOW | bazarr/app/database.py | 575 | CODE | |
| LOW | bazarr/app/database.py | 611 | CODE | |
| LOW | bazarr/app/check_update.py | 24 | CODE | |
| LOW | bazarr/app/check_update.py | 66 | CODE | |
| LOW | bazarr/app/check_update.py | 149 | CODE | |
| LOW | bazarr/app/check_update.py | 207 | CODE | |
| LOW | bazarr/app/get_providers.py | 385 | CODE | |
| LOW | bazarr/app/get_providers.py | 448 | CODE | |
| LOW | bazarr/app/get_providers.py | 472 | CODE | |
| LOW | bazarr/app/logger.py | 94 | CODE | |
| LOW | bazarr/app/logger.py | 230 | CODE | |
| LOW | bazarr/app/jobs_queue.py | 429 | CODE | |
| LOW | bazarr/app/jobs_queue.py | 505 | CODE | |
| LOW | bazarr/app/scheduler.py | 122 | CODE | |
| LOW | bazarr/app/scheduler.py | 237 | CODE | |
| LOW | bazarr/app/scheduler.py | 258 | CODE | |
| LOW | bazarr/app/signalr_client.py | 249 | CODE | |
| LOW | bazarr/app/signalr_client.py | 319 | CODE | |
| LOW | bazarr/app/signalr_client.py | 360 | CODE | |
| LOW | bazarr/app/signalr_client.py | 48 | CODE | |
| LOW | bazarr/jellyfin/operations.py | 65 | CODE | |
| LOW | bazarr/jellyfin/operations.py | 128 | CODE | |
| LOW | bazarr/radarr/rootfolder.py | 63 | CODE | |
| LOW | bazarr/radarr/sync/converter.py | 3 | CODE | |
| LOW | bazarr/radarr/sync/converter.py | 32 | CODE | |
| LOW | bazarr/radarr/sync/movies.py | 106 | CODE | |
| LOW | bazarr/radarr/sync/movies.py | 237 | CODE | |
| LOW | bazarr/radarr/sync/parser.py | 24 | CODE | |
| LOW | bazarr/radarr/sync/utils.py | 11 | CODE | |
| LOW | bazarr/languages/custom_lang.py | 180 | CODE | |
| LOW | bazarr/utilities/backup.py | 125 | CODE | |
| LOW | bazarr/utilities/binaries.py | 43 | CODE | |
| LOW | bazarr/utilities/filesystem.py | 7 | CODE | |
| LOW | bazarr/utilities/autopulse_webhook.py | 56 | CODE | |
| LOW | bazarr/utilities/autopulse_webhook.py | 201 | CODE | |
| LOW | bazarr/utilities/autopulse_webhook.py | 273 | CODE | |
| LOW | bazarr/utilities/autopulse_webhook.py | 493 | CODE | |
| LOW | bazarr/utilities/path_mappings.py | 17 | CODE | |
| LOW | bazarr/utilities/path_mappings.py | 35 | CODE | |
| LOW | bazarr/utilities/path_mappings.py | 53 | CODE | |
| LOW | bazarr/utilities/path_mappings.py | 71 | CODE | |
| LOW | bazarr/utilities/plex_utils.py | 8 | CODE | |
| LOW | bazarr/utilities/plex_utils.py | 69 | CODE | |
| LOW | bazarr/utilities/video_analyzer.py | 119 | CODE | |
| LOW | bazarr/utilities/video_analyzer.py | 230 | CODE | |
| LOW | bazarr/plex/operations.py | 219 | CODE | |
| LOW | bazarr/api/series/series.py | 210 | CODE | |
| LOW | bazarr/api/system/releases.py | 32 | CODE | |
| LOW | bazarr/api/system/logs.py | 44 | CODE | |
| LOW | bazarr/api/system/languages.py | 23 | CODE | |
| LOW | bazarr/api/history/stats.py | 46 | CODE | |
| LOW | bazarr/api/movies/movies.py | 168 | CODE | |
| 1962 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | libs/flask/app.py | 1392 | :meth:`RequestContext.push() <flask.ctx.RequestContext.push>` | STRING |
| HIGH | libs/flask/app.py | 1442 | ctx.push() | STRING |
| HIGH | libs/flask/app.py | 1510 | ctx.push() | CODE |
| HIGH | libs/flask/ctx.py | 275 | self.push() | CODE |
| HIGH | libs/flask/ctx.py | 384 | app_ctx.push() | CODE |
| HIGH | libs/flask/ctx.py | 444 | self.push() | CODE |
| HIGH | libs/pyjsparser/parser.py | 1162 | if (self.firstCoverInitializedNameError != null): | CODE |
| HIGH | libs/pyjsparser/parser.py | 1191 | elements.append(null) | CODE |
| HIGH | libs/pyjsparser/parser.py | 1270 | elements.append(null) | CODE |
| HIGH | libs/pyjsparser/parser.py | 1306 | return node.finishFunctionExpression(null, paramInfo.get('params'), | CODE |
| HIGH | libs/pyjsparser/parser.py | 1312 | params = self.parseParams(null) | CODE |
| HIGH | libs/pyjsparser/parser.py | 1345 | return true | CODE |
| HIGH | libs/pyjsparser/parser.py | 1348 | return false | CODE |
| HIGH | libs/pyjsparser/parser.py | 1370 | 'stricted': null, | CODE |
| HIGH | libs/pyjsparser/parser.py | 1371 | 'firstRestricted': null, | CODE |
| HIGH | libs/pyjsparser/parser.py | 1386 | 'firstRestricted': null, | CODE |
| HIGH | libs/pyjsparser/parser.py | 1477 | if (expr['elements'][i] != null): | CODE |
| HIGH | libs/pyjsparser/parser.py | 1965 | if (param.elements[i] != null): | CODE |
| HIGH | libs/pyjsparser/parser.py | 1995 | defaults.append(null) | CODE |
| HIGH | libs/pyjsparser/parser.py | 2436 | return node.finishContinueStatement(null) | CODE |
| HIGH | libs/pyjsparser/parser.py | 2440 | return node.finishContinueStatement(null) | CODE |
| HIGH | libs/pyjsparser/parser.py | 2467 | return node.finishBreakStatement(null) | CODE |
| HIGH | libs/pyjsparser/parser.py | 2471 | return node.finishBreakStatement(null) | CODE |
| HIGH | libs/pyjsparser/parser.py | 2503 | return node.finishReturnStatement(null) | CODE |
| HIGH | libs/pyjsparser/parser.py | 2579 | if (clause.test == null): | CODE |
| HIGH | libs/pyjsparser/parser.py | 2804 | options['defaults'].append(null) | CODE |
| HIGH | libs/pyjsparser/parser.py | 2805 | return false | CODE |
| HIGH | libs/chardet/pipeline/ascii.py | 34 | return None # Non-null, non-ASCII bytes present | STRING |
| HIGH | libs/chardet/pipeline/utf1632.py | 165 | every other byte is null), we disambiguate by decoding both ways and | STRING |
| HIGH | libs/chardet/pipeline/utf1632.py | 212 | # byte is null). Decode both and pick the one with higher text quality. | COMMENT |
| HIGH | libs/pygments/lexers/c_like.py | 242 | (r'(true|false|null)\b', Name.Builtin), | CODE |
| HIGH | libs/pygments/lexers/ada.py | 49 | (r'(true|false|null)\b', Keyword.Constant), | CODE |
| HIGH | libs/pygments/lexers/qvt.py | 63 | (r'(true|false|unlimited|null)\b', Keyword.Constant), | CODE |
| HIGH | libs/pygments/lexers/nix.py | 59 | (r'\b(true|false|null)\b', Name.Constant), | CODE |
| HIGH | libs/pygments/lexers/parasail.py | 40 | r'(is|not)\s+null)\b', | CODE |
| HIGH | libs/pygments/lexers/smithy.py | 61 | (r"(true|false|null)", Keyword.Constant), | CODE |
| HIGH | libs/pygments/lexers/hare.py | 59 | (r'(true|false|null)\b', Name.Builtin), | CODE |
| HIGH | libs/pygments/lexers/webmisc.py | 868 | (r'(true|false|null|NaN|Infinity|undefined)\b', Keyword.Constant), | CODE |
| HIGH | libs/pygments/lexers/_julia_builtins.py | 147 | for compl in filter!(x -> isa(x, REPLCompletions.ModuleCompletion) && (x.parent === Base || x.parent === Core), | STRING |
| HIGH | libs/pygments/lexers/_julia_builtins.py | 151 | if (v isa Type || v isa TypeVar) && (compl.mod != "=>") | STRING |
| HIGH | libs/pygments/lexers/_julia_builtins.py | 358 | for compl in filter!(x -> isa(x, REPLCompletions.ModuleCompletion) && (x.parent === Base || x.parent === Core), | STRING |
| HIGH | libs/pygments/lexers/_julia_builtins.py | 362 | if !(v isa Function || v isa Type || v isa TypeVar || v isa Module || v isa Colon) | STRING |
| HIGH | libs/pygments/lexers/scripting.py | 1627 | (r'(true|false|null)\b', Keyword.Constant), | CODE |
| HIGH | libs/pygments/lexers/d.py | 65 | (r'(false|true|null)\b', Keyword.Constant), | CODE |
| HIGH | libs/pygments/lexers/d.py | 213 | (r'(false|true|null)\b', Keyword.Constant), | CODE |
| HIGH | libs/pygments/lexers/jmespath.py | 63 | (r'(false|true|null)\b', Keyword.Constant), | CODE |
| HIGH | libs/pygments/lexers/templates.py | 183 | (r'(true|false|null)\b', Keyword.Constant), | CODE |
| HIGH | libs/pygments/lexers/templates.py | 265 | (r'(true|false|null)\b', Keyword.Constant), | CODE |
| HIGH | libs/pygments/lexers/templates.py | 1567 | (r'(true|false|null)\b', Keyword.Constant), | STRING |
| HIGH | libs/pygments/lexers/templates.py | 2205 | (r'(?i)(true|false|none|null)\b', Keyword.Pseudo), | STRING |
| HIGH | libs/pygments/lexers/rell.py | 38 | (r'(false|true|null)\b', Keyword.Constant), | CODE |
| HIGH | libs/pygments/lexers/jvm.py | 64 | (r'(true|false|null)\b', Keyword.Constant), | CODE |
| HIGH | libs/pygments/lexers/jvm.py | 322 | (r'(true|false|null)\b', Keyword.Constant), | CODE |
| HIGH | libs/pygments/lexers/jvm.py | 590 | (r'(true|false|null)\b', Keyword.Constant), | CODE |
| HIGH | libs/pygments/lexers/jvm.py | 989 | (r'(true|false|null)\b', Keyword.Constant), | CODE |
| HIGH | libs/pygments/lexers/jvm.py | 1050 | (r'(true|false|null)\b', Keyword.Constant), | CODE |
| HIGH | libs/pygments/lexers/jvm.py | 1144 | (r'(true|false|null)\b', Keyword.Constant), | CODE |
| HIGH | libs/pygments/lexers/jvm.py | 1281 | (r'(true|false|null)\b', Keyword.Constant), | CODE |
| HIGH | libs/pygments/lexers/php.py | 73 | (r'(true|false|null|undefined)\b', Keyword.Constant), | CODE |
| HIGH | libs/pygments/lexers/php.py | 226 | (r'(true|false|null)\b', Keyword.Constant), | CODE |
| 176 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM⚡ | tests/bazarr/test_sonarr_sync_episodes.py | 85 | # Create a Row-like object as returned by: | COMMENT |
| MEDIUM | libs/flask/app.py | 782 | """This method is called whenever an exception occurs that | STRING |
| MEDIUM⚡ | libs/flask/app.py | 954 | """This method is called to create the default ``OPTIONS`` response. | STRING |
| MEDIUM | libs/tld/tests/test_core.py | 416 | # Define a custom TLD source parser class | COMMENT |
| MEDIUM | libs/websocket/tests/test_large_payloads.py | 68 | # Create a large payload that would trigger chunked reading | COMMENT |
| MEDIUM | libs/websocket/tests/test_socket.py | 334 | # Create a scenario where send succeeds after selector retry | COMMENT |
| MEDIUM | libs/websocket/tests/test_handshake_large_response.py | 35 | # Create a large error response body (> 16KB) | COMMENT |
| MEDIUM | libs/flask_sqlalchemy/extension.py | 368 | # Create the metadata and engine for each bind key. | COMMENT |
| MEDIUM | libs/webencodings/labels.py | 14 | # This file is automatically generated by mklabels.py | COMMENT |
| MEDIUM | libs/webencodings/mklabels.py | 40 | # This file is automatically generated by mklabels.py | COMMENT |
| MEDIUM | libs/deep_translator/deepl.py | 70 | # Create the request parameters. | COMMENT |
| MEDIUM | libs/deep_translator/baidu.py | 76 | # Create the request parameters. | COMMENT |
| MEDIUM | libs/oauthlib/oauth2/rfc6749/tokens.py | 135 | # Create the normalized base string | COMMENT |
| MEDIUM | libs/mako/pyparser.py | 4 | # This module is part of Mako and is released under | COMMENT |
| MEDIUM | libs/mako/cmd.py | 4 | # This module is part of Mako and is released under | COMMENT |
| MEDIUM | libs/mako/compat.py | 4 | # This module is part of Mako and is released under | COMMENT |
| MEDIUM | libs/mako/util.py | 4 | # This module is part of Mako and is released under | COMMENT |
| MEDIUM | libs/mako/_ast_util.py | 4 | # This module is part of Mako and is released under | COMMENT |
| MEDIUM | libs/mako/lookup.py | 4 | # This module is part of Mako and is released under | COMMENT |
| MEDIUM | libs/mako/cache.py | 4 | # This module is part of Mako and is released under | COMMENT |
| MEDIUM | libs/mako/__init__.py | 4 | # This module is part of Mako and is released under | COMMENT |
| MEDIUM | libs/mako/runtime.py | 4 | # This module is part of Mako and is released under | COMMENT |
| MEDIUM | libs/mako/lexer.py | 4 | # This module is part of Mako and is released under | COMMENT |
| MEDIUM | libs/mako/template.py | 4 | # This module is part of Mako and is released under | COMMENT |
| MEDIUM | libs/mako/ast.py | 4 | # This module is part of Mako and is released under | COMMENT |
| MEDIUM | libs/mako/exceptions.py | 4 | # This module is part of Mako and is released under | COMMENT |
| MEDIUM | libs/mako/parsetree.py | 4 | # This module is part of Mako and is released under | COMMENT |
| MEDIUM | libs/mako/codegen.py | 4 | # This module is part of Mako and is released under | COMMENT |
| MEDIUM | libs/mako/filters.py | 4 | # This module is part of Mako and is released under | COMMENT |
| MEDIUM | libs/mako/pygen.py | 4 | # This module is part of Mako and is released under | COMMENT |
| MEDIUM | libs/mako/ext/linguaplugin.py | 4 | # This module is part of Mako and is released under | COMMENT |
| MEDIUM | libs/mako/ext/preprocessors.py | 4 | # This module is part of Mako and is released under | COMMENT |
| MEDIUM | libs/mako/ext/beaker_cache.py | 4 | # This module is part of Mako and is released under | COMMENT |
| MEDIUM | libs/mako/ext/autohandler.py | 4 | # This module is part of Mako and is released under | COMMENT |
| MEDIUM | libs/mako/ext/babelplugin.py | 4 | # This module is part of Mako and is released under | COMMENT |
| MEDIUM | libs/mako/ext/extract.py | 4 | # This module is part of Mako and is released under | COMMENT |
| MEDIUM | libs/mako/ext/pygmentplugin.py | 4 | # This module is part of Mako and is released under | COMMENT |
| MEDIUM | libs/mako/ext/turbogears.py | 4 | # This module is part of Mako and is released under | COMMENT |
| MEDIUM | libs/flask_cors/extension.py | 188 | # Create a human-readable form of these resources by converting the compiled | COMMENT |
| MEDIUM | libs/past/translation/__init__.py | 171 | # The following method is used by Sanjay Vinip in uprefix. This fails for | COMMENT |
| MEDIUM | libs/jinja2/bccache.py | 332 | """This class implements a bytecode cache that uses a memcache cache for | STRING |
| MEDIUM | libs/jinja2/ext.py | 102 | """This method is called before the actual lexing and can be used to | STRING |
| MEDIUM | libs/soupsieve/css_parser.py | 977 | # Initialize important variables | STRING |
| MEDIUM | libs/markdown/blockprocessors.py | 639 | # Create a regular paragraph | COMMENT |
| MEDIUM | libs/waitress/server.py | 135 | # This class is only ever used if we have multiple listen sockets. It allows | COMMENT |
| MEDIUM | libs/idna/idnadata.py | 1 | # This file is automatically generated by tools/idna-data | COMMENT |
| MEDIUM | libs/idna/uts46data.py | 1 | # This file is automatically generated by tools/idna-data | COMMENT |
| MEDIUM | libs/werkzeug/formparser.py | 134 | """This class implements parsing of form data for Werkzeug. By itself | STRING |
| MEDIUM | libs/werkzeug/routing/matcher.py | 82 | # This function is meant to be called recursively, and will attempt | COMMENT |
| MEDIUM | libs/js2py/translators/translator.py | 77 | """This class ise used """ | STRING |
| MEDIUM | libs/bs4/__init__.py | 781 | """This method is part of the PageElement API, but `BeautifulSoup` doesn't implement | STRING |
| MEDIUM | libs/bs4/__init__.py | 789 | """This method is part of the PageElement API, but `BeautifulSoup` doesn't implement | STRING |
| MEDIUM | libs/bs4/dammit.py | 495 | """This class is capable of guessing a number of possible encodings | STRING |
| MEDIUM | libs/bs4/builder/_html5lib.py | 399 | # Create a brand new NavigableString from this string. | COMMENT |
| MEDIUM | libs/click/_winconsole.py | 1 | # This module is based on the excellent work by Adam Bartoš who | COMMENT |
| MEDIUM | libs/click/core.py | 2407 | # Define the conversion function based on nargs and type. | STRING |
| MEDIUM | libs/requests_toolbelt/utils/dump.py | 1 | """This module provides functions for dumping information about responses.""" | STRING |
| MEDIUM | libs/sqlalchemy/log.py | 6 | # This module is part of SQLAlchemy and is released under | COMMENT |
| MEDIUM | libs/sqlalchemy/events.py | 5 | # This module is part of SQLAlchemy and is released under | COMMENT |
| MEDIUM | libs/sqlalchemy/__init__.py | 5 | # This module is part of SQLAlchemy and is released under | COMMENT |
| 404 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | bazarr/app/announcements.py | 21 | from app.jobs_queue import jobs_queue | COMMENT |
| LOW | libs/six.py | 1 | # Copyright (c) 2010-2024 Benjamin Peterson | COMMENT |
| LOW | libs/rarfile.py | 1 | # rarfile.py | COMMENT |
| LOW | libs/typing_extensions.py | 1041 | # PEP 728 is implemented in CPython | COMMENT |
| LOW | libs/flask/views.py | 61 | #: decorator. | COMMENT |
| LOW | libs/flask/sansio/app.py | 161 | #: Defaults to :class:`werkzeug.exceptions.Aborter`. | COMMENT |
| LOW | libs/flask/sansio/app.py | 181 | #: was changed in 0.10 to :attr:`app_ctx_globals_class` because the | COMMENT |
| LOW | libs/flask/sansio/app.py | 201 | #: additional runtime cost which should not be enabled by default. | COMMENT |
| LOW | libs/flask/sansio/app.py | 241 | COMMENT | |
| LOW | libs/flask/sansio/app.py | 261 | #: | COMMENT |
| LOW | libs/flask/sansio/app.py | 341 | COMMENT | |
| LOW | libs/flask/sansio/app.py | 361 | #: | COMMENT |
| LOW | libs/flask/sansio/app.py | 381 | #: similar things. | COMMENT |
| LOW | libs/flask/sansio/scaffold.py | 101 | COMMENT | |
| LOW | libs/flask/sansio/scaffold.py | 121 | #: This data structure is internal. It should not be modified | COMMENT |
| LOW | libs/flask/sansio/scaffold.py | 141 | COMMENT | |
| LOW | libs/flask/sansio/scaffold.py | 161 | #: | COMMENT |
| LOW | libs/flask/sansio/scaffold.py | 181 | #: directly and its format may change at any time. | COMMENT |
| LOW | libs/flask/sansio/scaffold.py | 201 | COMMENT | |
| LOW | libs/tld/res/effective_tld_names_public_only.dat.txt | 16041 | // University of Banja Luka : https://unibl.org | COMMENT |
| LOW | libs/tld/res/effective_tld_names.dat.txt | 16041 | // University of Banja Luka : https://unibl.org | COMMENT |
| LOW | libs/tld/tests/res/effective_tld_names_custom.dat.txt | 6761 | yt | COMMENT |
| LOW | libs/rebulk/toposort.py | 1 | #!/usr/bin/env python | COMMENT |
| LOW | libs/rebulk/test/__init__.py | 1 | #!/usr/bin/env python | COMMENT |
| LOW | libs/rebulk/test/test_toposort.py | 1 | #!/usr/bin/env python | COMMENT |
| LOW | libs/pyjsparser/pyjsparserdata.py | 1 | # The MIT License | COMMENT |
| LOW | libs/pyjsparser/parser.py | 1 | # The MIT License | COMMENT |
| LOW | libs/pyjsparser/parser.py | 921 | # return advanceSlash(); | COMMENT |
| LOW | libs/pyjsparser/parser.py | 941 | # 'line': self.lineNumber, | COMMENT |
| LOW | libs/pyjsparser/parser.py | 1121 | COMMENT | |
| LOW | libs/pyjsparser/parser.py | 1141 | # // | COMMENT |
| LOW | libs/wcwidth/escape_sequences.py | 21 | COMMENT | |
| LOW | libs/h11/_readers.py | 1 | # Code to read HTTP data | COMMENT |
| LOW | libs/h11/_version.py | 1 | # This file must be kept very simple, because it is consumed from several | COMMENT |
| LOW | libs/h11/_receivebuffer.py | 1 | import re | COMMENT |
| LOW | libs/h11/_receivebuffer.py | 21 | # - I haven't benchmarked or profiled any of this yet. | COMMENT |
| LOW | libs/h11/_receivebuffer.py | 141 | # timeout will get rid of them). | COMMENT |
| LOW | libs/h11/_abnf.py | 1 | # We use native strings for all the re patterns, to take advantage of string | COMMENT |
| LOW | libs/h11/_abnf.py | 21 | field_name = token | COMMENT |
| LOW | libs/h11/_abnf.py | 41 | # fields containing a single visible character surrounded by whitespace, | COMMENT |
| LOW | libs/h11/_abnf.py | 101 | r"{http_version}" | COMMENT |
| LOW | libs/h11/_state.py | 1 | ################################################################ | COMMENT |
| LOW | libs/h11/_state.py | 21 | # 1) The client state, with its complicated automaton (see the docs) | COMMENT |
| LOW | libs/h11/_state.py | 41 | # happens. But there are somewhat complicated rules for which machines can | COMMENT |
| LOW | libs/h11/_state.py | 61 | # | COMMENT |
| LOW | libs/h11/_state.py | 81 | # This is fundamentally different from an event-based transition, because it | COMMENT |
| LOW | libs/h11/_state.py | 101 | # | COMMENT |
| LOW | libs/h11/_state.py | 321 | # It could happen that both these special-case transitions are | COMMENT |
| LOW | libs/h11/_util.py | 41 | def __init__(self, msg: str, error_status_hint: int = 400) -> None: | COMMENT |
| LOW | libs/h11/_util.py | 61 | # After catching a LocalProtocolError, use this method to re-raise it | COMMENT |
| LOW | libs/h11/_headers.py | 21 | # Headers are: | COMMENT |
| LOW | libs/h11/_headers.py | 41 | # | COMMENT |
| LOW | libs/h11/_headers.py | 201 | ) | COMMENT |
| LOW | libs/h11/_headers.py | 221 | # | COMMENT |
| LOW | libs/h11/_connection.py | 61 | # request/response line + headers together, so this is effectively the limit on | COMMENT |
| LOW | libs/h11/_connection.py | 101 | # Returns one of: | COMMENT |
| LOW | libs/h11/_connection.py | 581 | This causes :attr:`Connection.our_state` to immediately become | COMMENT |
| LOW | libs/h11/_connection.py | 621 | # If our peer is HTTP/1.1, we use Transfer-Encoding: chunked | COMMENT |
| LOW | libs/chardet/pipeline/utf1632.py | 21 | _MIN_BYTES_UTF16 = 10 # 5 full code units | COMMENT |
| LOW | libs/chardet/pipeline/orchestrator.py | 321 | # pair ratio, byte coverage) and by coverage-aware boosting in statistical | COMMENT |
| 954 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | bazarr.py | 85 | except Exception: | CODE |
| LOW | bazarr.py | 97 | except Exception: | CODE |
| LOW | bazarr.py | 107 | except Exception: | CODE |
| MEDIUM | bazarr.py | 75 | def get_stop_status_code(input_file): | CODE |
| LOW | bazarr/init.py | 142 | except Exception: | CODE |
| LOW | bazarr/app/server.py | 96 | except Exception: | CODE |
| MEDIUM | bazarr/app/server.py | 44 | def configure_server(self): | CODE |
| MEDIUM | bazarr/app/config.py | 75 | def check_parser_binary(value): | CODE |
| LOW⚡ | bazarr/app/config.py | 1433 | except Exception as rollback_error: | CODE |
| LOW⚡ | bazarr/app/config.py | 1437 | except Exception as e: | CODE |
| LOW | bazarr/app/config.py | 553 | except Exception as error: | CODE |
| LOW | bazarr/app/config.py | 558 | except Exception as error: | CODE |
| LOW | bazarr/app/config.py | 666 | except Exception: | CODE |
| LOW | bazarr/app/config.py | 670 | except Exception: | CODE |
| LOW | bazarr/app/config.py | 937 | except Exception: | CODE |
| LOW | bazarr/app/config.py | 944 | except Exception: | CODE |
| LOW | bazarr/app/config.py | 1135 | except Exception as e: | CODE |
| LOW | bazarr/app/config.py | 1180 | except Exception as e: | CODE |
| LOW | bazarr/app/config.py | 1260 | except Exception as e: | CODE |
| LOW | bazarr/app/config.py | 1346 | except Exception as e: | CODE |
| LOW | bazarr/app/config.py | 1401 | except Exception as e: | CODE |
| LOW | bazarr/app/config.py | 1542 | except Exception: | CODE |
| LOW | bazarr/app/ui.py | 95 | except Exception: | CODE |
| LOW | bazarr/app/ui.py | 100 | except Exception: | CODE |
| LOW | bazarr/app/ui.py | 136 | except Exception: | CODE |
| LOW | bazarr/app/ui.py | 150 | except Exception: | CODE |
| LOW | bazarr/app/ui.py | 188 | except Exception as e: | CODE |
| LOW | bazarr/app/ui.py | 195 | except Exception: | CODE |
| LOW⚡ | bazarr/app/database.py | 394 | except Exception: | CODE |
| LOW⚡ | bazarr/app/database.py | 400 | except Exception: | CODE |
| LOW | bazarr/app/check_update.py | 134 | except Exception: | CODE |
| LOW | bazarr/app/check_update.py | 143 | except Exception: | CODE |
| LOW | bazarr/app/check_update.py | 168 | except Exception: | CODE |
| LOW | bazarr/app/check_update.py | 183 | except Exception: | CODE |
| LOW | bazarr/app/check_update.py | 191 | except Exception: | CODE |
| LOW | bazarr/app/check_update.py | 291 | except Exception: | CODE |
| LOW | bazarr/app/get_providers.py | 190 | except Exception as error: | CODE |
| LOW | bazarr/app/get_providers.py | 537 | except Exception: | CODE |
| LOW | bazarr/app/jobs_queue.py | 451 | except Exception as e: | CODE |
| LOW | bazarr/app/jobs_queue.py | 581 | except Exception as e: | CODE |
| LOW | bazarr/app/jobs_queue.py | 604 | except Exception as e: | CODE |
| LOW | bazarr/app/signalr_client.py | 83 | except Exception: | CODE |
| LOW | bazarr/app/signalr_client.py | 312 | except Exception as e: | CODE |
| MEDIUM | bazarr/app/signalr_client.py | 80 | def stop(self, log=True): | CODE |
| MEDIUM | bazarr/app/signalr_client.py | 249 | def dispatcher(data): | CODE |
| LOW | bazarr/app/announcements.py | 63 | except Exception: | CODE |
| LOW | bazarr/app/announcements.py | 70 | except Exception: | CODE |
| LOW | bazarr/jellyfin/operations.py | 34 | except Exception as e: | CODE |
| LOW | bazarr/jellyfin/operations.py | 60 | except Exception as e: | CODE |
| LOW | bazarr/jellyfin/operations.py | 107 | except Exception as e: | CODE |
| LOW | bazarr/jellyfin/operations.py | 122 | except Exception as e: | CODE |
| LOW | bazarr/jellyfin/operations.py | 188 | except Exception as e: | CODE |
| LOW | bazarr/jellyfin/operations.py | 192 | except Exception: | CODE |
| LOW | bazarr/jellyfin/operations.py | 237 | except Exception as e: | CODE |
| LOW | bazarr/jellyfin/operations.py | 246 | except Exception as e: | CODE |
| LOW | bazarr/radarr/rootfolder.py | 98 | except Exception as e: | CODE |
| LOW | bazarr/radarr/notify.py | 19 | except Exception: | CODE |
| MEDIUM | bazarr/radarr/notify.py | 11 | def notify_radarr(radarr_id): | CODE |
| LOW | bazarr/radarr/info.py | 48 | except Exception: | CODE |
| LOW | bazarr/radarr/sync/movies.py | 289 | except Exception: | CODE |
| 733 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | bazarr/app/database.py | 29 | logger = logging.getLogger(__name__) | CODE |
| LOW | bazarr/jellyfin/client.py | 8 | logger = logging.getLogger(__name__) | CODE |
| LOW | bazarr/jellyfin/operations.py | 8 | logger = logging.getLogger(__name__) | CODE |
| LOW | bazarr/languages/custom_lang.py | 11 | logger = logging.getLogger(__name__) | CODE |
| LOW | bazarr/plex/operations.py | 8 | logger = logging.getLogger(__name__) | CODE |
| LOW⚡ | bazarr/plex/operations.py | 79 | def update_added_date(video, added_date: str) -> None: | CODE |
| LOW | bazarr/api/plex/security.py | 15 | logger = logging.getLogger(__name__) | CODE |
| LOW | …arr/subtitles/tools/translate/core/translator_utils.py | 20 | logger = logging.getLogger(__name__) | CODE |
| LOW | …ubtitles/tools/translate/services/google_translator.py | 19 | logger = logging.getLogger(__name__) | CODE |
| LOW | …btitles/tools/translate/services/lingarr_translator.py | 22 | logger = logging.getLogger(__name__) | CODE |
| LOW | …ubtitles/tools/translate/services/gemini_translator.py | 30 | logger = logging.getLogger(__name__) | CODE |
| LOW | bazarr/subtitles/refiners/anilist.py | 13 | logger = logging.getLogger(__name__) | CODE |
| LOW | bazarr/subtitles/refiners/anidb.py | 26 | logger = logging.getLogger(__name__) | CODE |
| LOW | libs/rarfile.py | 98 | __all__ = ["get_rar_version", "is_rarfile", "is_rarfile_sfx", "RarInfo", "RarFile", "RarExtFile"] | CODE |
| LOW | libs/typing_extensions.py | 21 | __all__ = [ | CODE |
| LOW | libs/flask/app.py | 506 | def update_template_context(self, context: dict[str, t.Any]) -> None: | CODE |
| LOW | libs/ffmpeg/_view.py | 108 | __all__ = ['view'] | CODE |
| LOW | libs/ffmpeg/_ffmpeg.py | 97 | __all__ = ['input', 'merge_outputs', 'output', 'overwrite_output'] | CODE |
| LOW | libs/ffmpeg/_probe.py | 27 | __all__ = ['probe'] | CODE |
| LOW | libs/ffmpeg/nodes.py | 377 | __all__ = ['Stream'] | CODE |
| LOW | libs/ffmpeg/_run.py | 329 | __all__ = ['compile', 'Error', 'get_args', 'run', 'run_async'] | CODE |
| LOW | libs/ffmpeg/_filters.py | 445 | __all__ = [ | CODE |
| LOW | libs/pyjsparser/__init__.py | 1 | __all__ = ['PyJsParser', 'parse', 'JsSyntaxError', 'pyjsparserdata'] | CODE |
| LOW | libs/pyjsparser/parser.py | 26 | __all__ = [ | CODE |
| LOW | libs/wcwidth/table_overrides.py | 853 | __all__ = ['WIDE_OVERRIDES', 'SRI_OVERRIDES', 'SFZ_OVERRIDES', 'VS16_OVERRIDES', 'VS15_OVERRIDES', 'NARROW_OVERRIDES'] | CODE |
| LOW | libs/websocket/_logging.py | 36 | __all__ = [ | CODE |
| LOW | libs/websocket/_socket.py | 44 | __all__ = [ | CODE |
| LOW | libs/websocket/_url.py | 26 | __all__ = ["parse_url", "get_proxy_info"] | CODE |
| LOW | libs/websocket/_http.py | 35 | __all__ = ["proxy_info", "connect", "read_headers"] | CODE |
| LOW | libs/websocket/_ssl_compat.py | 37 | __all__ = [ | CODE |
| LOW | libs/websocket/_handshake.py | 32 | __all__ = ["handshake_response", "handshake", "SUPPORTED_REDIRECT_STATUSES"] | CODE |
| LOW | libs/websocket/_app.py | 38 | __all__ = ["WebSocketApp"] | CODE |
| LOW | libs/websocket/_app.py | 43 | def set_reconnect(reconnectInterval: int) -> None: | CODE |
| LOW | libs/websocket/_abnf.py | 54 | __all__ = [ | CODE |
| LOW | libs/websocket/_core.py | 41 | __all__ = ["WebSocket", "create_connection"] | CODE |
| LOW | libs/websocket/_utils.py | 21 | __all__ = ["NoLock", "validate_utf8", "extract_err_message", "extract_error_code"] | CODE |
| LOW | libs/h11/_readers.py | 37 | __all__ = ["READERS"] | CODE |
| LOW | libs/h11/_receivebuffer.py | 5 | __all__ = ["ReceiveBuffer"] | CODE |
| LOW | libs/h11/_writers.py | 17 | __all__ = ["WRITERS"] | CODE |
| LOW | libs/h11/_state.py | 119 | __all__ = [ | CODE |
| LOW | libs/h11/_util.py | 3 | __all__ = [ | CODE |
| LOW | libs/h11/_events.py | 18 | __all__ = [ | CODE |
| LOW | libs/h11/_connection.py | 48 | __all__ = ["Connection", "NEED_DATA", "PAUSED"] | CODE |
| LOW | libs/flask_sqlalchemy/__init__.py | 7 | __all__ = [ | CODE |
| LOW | libs/flask_sqlalchemy/extension.py | 937 | def _set_rel_query(self, kwargs: dict[str, t.Any]) -> None: | CODE |
| LOW | libs/chardet/_version.py | 5 | __all__ = [ | CODE |
| LOW | libs/chardet/__init__.py | 23 | __all__ = [ | CODE |
| LOW | libs/chardet/universaldetector.py | 25 | __all__ = ["UniversalDetector"] | CODE |
| LOW | libs/deep_translator/__init__.py | 23 | __all__ = [ | CODE |
| LOW | libs/attrs/__init__.py | 31 | __all__ = [ | CODE |
| LOW | libs/pygments/modeline.py | 13 | __all__ = ['get_filetype_from_buffer'] | CODE |
| LOW | libs/pygments/formatter.py | 16 | __all__ = ['Formatter'] | CODE |
| LOW | libs/pygments/__init__.py | 32 | __all__ = ['lex', 'format', 'highlight'] | CODE |
| LOW | libs/pygments/lexer.py | 22 | __all__ = ['Lexer', 'RegexLexer', 'ExtendedRegexLexer', 'DelegatingLexer', | CODE |
| LOW | libs/pygments/lexers/soong.py | 15 | __all__ = ['SoongLexer'] | CODE |
| LOW | libs/pygments/lexers/c_like.py | 21 | __all__ = ['PikeLexer', 'NesCLexer', 'ClayLexer', 'ECLexer', 'ValaLexer', | CODE |
| LOW | libs/pygments/lexers/ampl.py | 15 | __all__ = ['AmplLexer'] | CODE |
| LOW | libs/pygments/lexers/agile.py | 25 | __all__ = [] | CODE |
| LOW | libs/pygments/lexers/graphics.py | 16 | __all__ = ['GLShaderLexer', 'PostScriptLexer', 'AsymptoteLexer', 'GnuplotLexer', | CODE |
| LOW | libs/pygments/lexers/hdl.py | 17 | __all__ = ['VerilogLexer', 'SystemVerilogLexer', 'VhdlLexer'] | CODE |
| 758 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | tests/bazarr/test_post_processing.py | 12 | # ────────────────────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | tests/bazarr/test_post_processing.py | 14 | # ────────────────────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | tests/bazarr/test_post_processing.py | 35 | # ────────────────────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | tests/bazarr/test_post_processing.py | 37 | # ────────────────────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM⚡ | tests/bazarr/test_post_processing.py | 82 | # ────────────────────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM⚡ | tests/bazarr/test_post_processing.py | 84 | # ────────────────────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | libs/h11/_state.py | 16 | # =================== | COMMENT |
| MEDIUM | libs/h11/_state.py | 93 | # -------------- | COMMENT |
| MEDIUM | libs/chardet/pipeline/structural.py | 17 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | libs/chardet/pipeline/structural.py | 28 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | libs/chardet/pipeline/structural.py | 412 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | libs/chardet/pipeline/structural.py | 414 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | libs/chardet/pipeline/structural.py | 443 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | libs/chardet/pipeline/structural.py | 445 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | libs/pygments/lexer.py | 323 | # ------------------------------------------------------------------------------ | COMMENT |
| MEDIUM | libs/pygments/lexers/_googlesql_builtins.py | 19 | # ---------------------------------------------------------------------------- | COMMENT |
| MEDIUM | libs/pygments/lexers/bqn.py | 36 | # ========== | COMMENT |
| MEDIUM⚡ | libs/pygments/lexers/bqn.py | 50 | # ============== | COMMENT |
| MEDIUM⚡ | libs/pygments/lexers/bqn.py | 55 | # =========== | COMMENT |
| MEDIUM⚡ | libs/pygments/lexers/bqn.py | 61 | # =================== | COMMENT |
| MEDIUM | libs/pygments/lexers/bqn.py | 76 | # =========== | COMMENT |
| MEDIUM | libs/pygments/lexers/bqn.py | 82 | # =========== | COMMENT |
| MEDIUM | libs/pygments/lexers/bqn.py | 99 | # ==================== | COMMENT |
| MEDIUM | libs/pygments/lexers/bqn.py | 107 | # ================ | COMMENT |
| MEDIUM | libs/pygments/lexers/apl.py | 34 | # ========== | COMMENT |
| MEDIUM⚡ | libs/pygments/lexers/apl.py | 48 | # =========== | COMMENT |
| MEDIUM⚡ | libs/pygments/lexers/apl.py | 54 | # ============== | COMMENT |
| MEDIUM⚡ | libs/pygments/lexers/apl.py | 60 | # =================== | COMMENT |
| MEDIUM⚡ | libs/pygments/lexers/apl.py | 81 | # ========== | COMMENT |
| MEDIUM⚡ | libs/pygments/lexers/apl.py | 91 | # =========== | COMMENT |
| MEDIUM⚡ | libs/pygments/lexers/apl.py | 95 | # ================= | COMMENT |
| MEDIUM | libs/pygments/lexers/sql.py | 794 | # --------------------------- | COMMENT |
| MEDIUM | libs/pygments/lexers/sql.py | 812 | # ---------------- | COMMENT |
| MEDIUM | libs/pygments/lexers/sql.py | 829 | # ------------------ | COMMENT |
| MEDIUM | libs/pygments/lexers/sql.py | 850 | # ---------------------------- | COMMENT |
| MEDIUM | libs/pygments/lexers/sql.py | 976 | # --------------------------- | COMMENT |
| MEDIUM | libs/pygments/lexers/sql.py | 985 | # ---------------- | COMMENT |
| MEDIUM | libs/pygments/lexers/sql.py | 1002 | # ------------------ | COMMENT |
| MEDIUM | libs/pygments/lexers/sql.py | 1023 | # ---------------------------- | COMMENT |
| MEDIUM | libs/pygments/lexers/_mysql_builtins.py | 116 | # ----------------------------------------------------------------------------- | COMMENT |
| MEDIUM | libs/markdown/util.py | 88 | # ----------------------------------------------------------------------------- | COMMENT |
| MEDIUM | libs/markdown/util.py | 100 | # ============================================================================= | COMMENT |
| MEDIUM | libs/markdown/util.py | 186 | # ============================================================================= | COMMENT |
| MEDIUM | libs/markdown/serializers.py | 9 | # -------------------------------------------------------------------- | COMMENT |
| MEDIUM | libs/markdown/serializers.py | 35 | # -------------------------------------------------------------------- | COMMENT |
| MEDIUM | libs/markdown/serializers.py | 183 | # -------------------------------------------------------------------- | COMMENT |
| MEDIUM | libs/markdown/inlinepatterns.py | 99 | # ----------------------------------------------------------------------------- | COMMENT |
| MEDIUM | libs/markdown/inlinepatterns.py | 194 | # ----------------------------------------------------------------------------- | COMMENT |
| MEDIUM | libs/markdown/extensions/extra.py | 2 | # =============================== | COMMENT |
| MEDIUM | libs/markdown/extensions/toc.py | 2 | # =============================================== | COMMENT |
| MEDIUM | libs/markdown/extensions/abbr.py | 2 | # ========================================== | COMMENT |
| MEDIUM | libs/markdown/extensions/legacy_em.py | 2 | # ======================================= | COMMENT |
| MEDIUM | libs/markdown/extensions/admonition.py | 2 | # ======================================== | COMMENT |
| MEDIUM | libs/markdown/extensions/smarty.py | 2 | # ==================================== | COMMENT |
| MEDIUM | libs/markdown/extensions/wikilinks.py | 2 | # ====================================== | COMMENT |
| MEDIUM | libs/markdown/extensions/codehilite.py | 2 | # ======================================== | COMMENT |
| MEDIUM | libs/markdown/extensions/nl2br.py | 2 | # =============== | COMMENT |
| MEDIUM | libs/markdown/extensions/fenced_code.py | 2 | # ========================================= | COMMENT |
| MEDIUM | libs/markdown/extensions/attr_list.py | 2 | # ============================================ | COMMENT |
| MEDIUM | libs/markdown/extensions/tables.py | 2 | # ==================================== | COMMENT |
| 134 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | bazarr/app/logger.py | 225 | CODE | |
| LOW | bazarr/jellyfin/operations.py | 128 | CODE | |
| LOW | bazarr/subtitles/sync.py | 12 | CODE | |
| LOW | libs/socks.py | 153 | CODE | |
| LOW | libs/rarfile.py | 3213 | CODE | |
| LOW | libs/rarfile.py | 3237 | CODE | |
| LOW | libs/flask/blueprints.py | 19 | CODE | |
| LOW | libs/flask/app.py | 226 | CODE | |
| LOW | libs/flask/sansio/blueprints.py | 174 | CODE | |
| LOW | libs/flask/sansio/app.py | 282 | CODE | |
| LOW | libs/tld/tests/base.py | 46 | CODE | |
| LOW | libs/rebulk/pattern.py | 45 | CODE | |
| LOW | libs/rebulk/match.py | 596 | CODE | |
| LOW | libs/ffmpeg/nodes.py | 53 | CODE | |
| LOW | libs/msgpack/fallback.py | 226 | CODE | |
| LOW | libs/msgpack/fallback.py | 659 | CODE | |
| LOW | libs/wcwidth/textwrap.py | 527 | CODE | |
| LOW | libs/websocket/_app.py | 53 | CODE | |
| LOW | libs/websocket/_app.py | 256 | CODE | |
| LOW | libs/flask_sqlalchemy/extension.py | 164 | CODE | |
| LOW | libs/flask_sqlalchemy/pagination.py | 346 | CODE | |
| LOW | libs/flask_sqlalchemy/pagination.py | 359 | CODE | |
| LOW | libs/flask_sqlalchemy/pagination.py | 364 | CODE | |
| LOW | libs/chardet/detector.py | 50 | CODE | |
| LOW | libs/chardet/__init__.py | 37 | CODE | |
| LOW | libs/chardet/__init__.py | 100 | CODE | |
| LOW | libs/flask_migrate/__init__.py | 152 | CODE | |
| LOW | libs/flask_migrate/__init__.py | 165 | CODE | |
| LOW | libs/requests_oauthlib/oauth2_session.py | 36 | CODE | |
| LOW | libs/requests_oauthlib/oauth2_session.py | 202 | CODE | |
| LOW | libs/requests_oauthlib/oauth1_session.py | 102 | CODE | |
| LOW | libs/requests_oauthlib/oauth1_auth.py | 24 | CODE | |
| LOW | libs/inflect/__init__.py | 3828 | CODE | |
| LOW | …oauthlib/oauth2/rfc6749/clients/service_application.py | 64 | CODE | |
| LOW | libs/oauthlib/oauth2/rfc6749/clients/base.py | 55 | CODE | |
| LOW | libs/oauthlib/oauth1/rfc5849/__init__.py | 91 | CODE | |
| LOW | libs/pygments/lexers/shell.py | 281 | CODE | |
| LOW | libs/pygments/lexers/shell.py | 355 | CODE | |
| LOW | libs/pygments/lexers/shell.py | 416 | CODE | |
| LOW | libs/pygments/lexers/templates.py | 1832 | CODE | |
| LOW | libs/pygments/formatters/html.py | 958 | CODE | |
| LOW | libs/mako/lookup.py | 152 | CODE | |
| LOW | libs/mako/template.py | 220 | CODE | |
| LOW | libs/mako/template.py | 493 | CODE | |
| LOW | libs/mako/codegen.py | 31 | CODE | |
| LOW | libs/retry/api.py | 79 | CODE | |
| LOW | libs/dogpile/cache/region.py | 825 | CODE | |
| LOW | libs/pyparsing/core.py | 2287 | CODE | |
| LOW | libs/pyparsing/core.py | 6213 | CODE | |
| LOW | libs/pyparsing/testing.py | 278 | CODE | |
| LOW | libs/json_tricks/nonp.py | 94 | CODE | |
| LOW | libs/json_tricks/nonp.py | 137 | CODE | |
| LOW | libs/json_tricks/nonp.py | 198 | CODE | |
| LOW | libs/json_tricks/nonp.py | 269 | CODE | |
| LOW | libs/jinja2/environment.py | 294 | CODE | |
| LOW | libs/jinja2/environment.py | 386 | CODE | |
| LOW | libs/jinja2/environment.py | 1167 | CODE | |
| LOW | libs/markdown/extensions/footnotes.py | 163 | CODE | |
| LOW | libs/werkzeug/serving.py | 961 | CODE | |
| LOW | libs/werkzeug/test.py | 298 | CODE | |
| 321 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | libs/ffmpeg/_run.py | 203 | Asynchronously invoke ffmpeg for the supplied node graph. Args: pipe_stdin: if True, connect pipe to subpro | STRING |
| HIGH | libs/h11/_connection.py | 365 | Add data to our internal receive buffer. This does not actually do any processing on the data, just stores | STRING |
| HIGH | libs/h11/_connection.py | 518 | Convert 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.py | 175 | The client constructs the request URI by adding the following parameters to the query component of the | STRING |
| HIGH | libs/filetype/filetype.py | 13 | Infers the type of the given input. Function is overloaded to accept multiple types in input and peform th | STRING |
| HIGH | libs/filetype/filetype.py | 32 | Infers the file type of the given input and returns its MIME type. Args: obj: path to file, bytes | STRING |
| HIGH | libs/filetype/filetype.py | 50 | Infers the file type of the given input and returns its RFC file extension. Args: obj: path to fil | STRING |
| HIGH | libs/filetype/utils.py | 46 | Infers the input type and reads the first 8192 bytes, returning a sliced bytearray. Args: obj: pat | STRING |
| HIGH | libs/filetype/helpers.py | 48 | Checks if a given input is a supported type image. Args: obj: path to file, bytes or bytearray. R | STRING |
| HIGH | libs/filetype/helpers.py | 64 | Checks if a given input is a supported type archive. Args: obj: path to file, bytes or bytearray. | STRING |
| HIGH | libs/filetype/helpers.py | 80 | Checks if a given input is a supported type audio. Args: obj: path to file, bytes or bytearray. R | STRING |
| HIGH | libs/filetype/helpers.py | 96 | Checks if a given input is a supported type video. Args: obj: path to file, bytes or bytearray. R | STRING |
| HIGH | libs/filetype/helpers.py | 112 | Checks if a given input is a supported type font. Args: obj: path to file, bytes or bytearray. Re | STRING |
| HIGH | libs/filetype/helpers.py | 128 | Checks if a given input is a supported type document. Args: obj: path to file, bytes or bytearray. | STRING |
| HIGH | libs/filetype/match.py | 17 | Matches the given input against the available file type matchers. Args: obj: path to file, bytes o | STRING |
| HIGH | libs/filetype/match.py | 40 | Matches the given input against the available image type matchers. Args: obj: path to file, bytes | STRING |
| HIGH | libs/filetype/match.py | 57 | Matches the given input against the available font type matchers. Args: obj: path to file, bytes o | STRING |
| HIGH | libs/filetype/match.py | 74 | Matches the given input against the available video type matchers. Args: obj: path to file, bytes | STRING |
| HIGH | libs/filetype/match.py | 91 | Matches the given input against the available autio type matchers. Args: obj: path to file, bytes | STRING |
| HIGH | libs/filetype/match.py | 108 | Matches the given input against the available archive type matchers. Args: obj: path to file, byte | STRING |
| HIGH | libs/filetype/match.py | 125 | Matches the given input against the available application type matchers. Args: obj: path to file, | STRING |
| HIGH | libs/filetype/match.py | 142 | Matches the given input against the available document type matchers. Args: obj: path to file, byt | STRING |
| HIGH | libs/apprise/plugins/base.py | 1176 | Parses the URL and returns it broken apart into a dictionary. This is very specific and customized for Apprise. | STRING |
| HIGH | libs/attr/_make.py | 588 | Create a new instance, based on the first positional argument with *changes* applied. .. tip:: On | STRING |
| HIGH | libs/attr/_make.py | 1892 | Return the tuple of *attrs* attributes for a class or instance. The tuple also allows accessing the fields by | STRING |
| HIGH | libs/attr/_make.py | 1943 | Return an ordered dictionary of *attrs* attributes for a class, whose keys are the attribute names. Args: | STRING |
| HIGH | libs/attr/_next_gen.py | 652 | Inspect the class and return its effective build parameters. Warning: This feature is currently **expe | STRING |
| HIGH | libs/attr/_funcs.py | 36 | Return the *attrs* attribute values of *inst* as a dict. Optionally recurse into other *attrs*-decorated class | STRING |
| HIGH | libs/attr/_funcs.py | 239 | Return the *attrs* attribute values of *inst* as a tuple. Optionally recurse into other *attrs*-decorated clas | STRING |
| HIGH | libs/attr/_funcs.py | 355 | Check whether *cls* is a class with *attrs* attributes. Args: cls (type): Class to introspect. Ra | STRING |
| HIGH | libs/attr/_funcs.py | 383 | Copy *inst* and apply *changes*. This is different from `evolve` that applies the changes to the arguments | STRING |
| HIGH | libs/attr/_funcs.py | 428 | Resolve any strings and forward annotations in type annotations. This is only required if you need concrete ty | STRING |
| HIGH | libs/plexapi/server.py | 434 | Creates and returns a new :class:`~plexapi.collection.Collection`. Parameters: title (str) | STRING |
| HIGH | libs/plexapi/server.py | 490 | Creates and returns a new :class:`~plexapi.playlist.Playlist`. Parameters: title (str): Ti | STRING |
| HIGH | libs/plexapi/library.py | 642 | Returns the media item with the specified external Plex, IMDB, TMDB, or TVDB ID. Note: Only available for t | STRING |
| HIGH | libs/plexapi/library.py | 1291 | Search the library. The http requests will be batched in container_size. If you are only looking for the fi | STRING |
| HIGH | libs/plexapi/library.py | 1556 | Add current library section as sync item for specified device. See description of :func:`~plexapi.library.L | STRING |
| HIGH | libs/plexapi/library.py | 2041 | Returns a list of tracks from this library section that are part of a sonic adventure. ID's should be of a | STRING |
| HIGH | libs/plexapi/playlist.py | 404 | Create a playlist. Parameters: server (:class:`~plexapi.server.PlexServer`): Server to cre | STRING |
| HIGH | libs/plexapi/playlist.py | 457 | Add the playlist as a sync item for the specified device. See :func:`~plexapi.myplex.MyPlexAccount.sync` fo | STRING |
| HIGH | libs/plexapi/collection.py | 462 | Create a collection. Parameters: server (:class:`~plexapi.server.PlexServer`): Server to c | STRING |
| HIGH | libs/plexapi/collection.py | 498 | Add the collection as sync item for the specified device. See :func:`~plexapi.myplex.MyPlexAccount.sync` fo | STRING |
| HIGH | libs/plexapi/myplex.py | 821 | Adds specified sync item for the client. It's always easier to use methods defined directly in the media ob | STRING |
| HIGH | libs/plexapi/audio.py | 149 | Returns a list of sonically similar audio items. Parameters: limit (int): Maximum count of items to | STRING |
| HIGH | libs/plexapi/audio.py | 637 | Returns a sonic adventure from the current track to the specified track. Parameters: to (:class:`~p | STRING |
| HIGH | libs/rich/measure.py | 82 | Get a measurement for a renderable. Args: console (~rich.console.Console): Console instance. | STRING |
| HIGH | libs/rich/console.py | 823 | Set Live instance. Used by Live context manager (no need to call directly). Args: live (Live): Live | STRING |
| HIGH | libs/rich/console.py | 1473 | Get a Style instance by its theme name or parse a definition. Args: name (str): The name of a style | STRING |
| HIGH | libs/rich/console.py | 1912 | Get caller frame information. Args: offset (int): the caller offset within the current frame stack. | STRING |
| HIGH | libs/rich/style.py | 499 | Parse a style definition. Args: style_definition (str): A string containing a style. Raise | STRING |
| HIGH | libs/rich/markup.py | 112 | Render console markup in to a Text instance. Args: markup (str): A string containing console markup. | STRING |
| HIGH | libs/rich/highlighter.py | 21 | Highlight a str or Text instance. Args: text (Union[str, ~Text]): Text to highlight. Raise | STRING |
| HIGH | libs/rich/progress_bar.py | 129 | Renders the pulse animation. Args: console (Console): Console instance. width (int): Wi | STRING |
| HIGH | libs/rich/prompt.py | 228 | Process response from user, convert to prompt type. Args: value (str): String typed by user. | STRING |
| HIGH | libs/rich/progress.py | 1245 | Track progress file reading from a binary file. Args: file (BinaryIO): A file-like object opened in | STRING |
| HIGH | libs/rich/progress.py | 1324 | Track progress while reading from a binary file. Args: path (Union[str, PathLike[str]]): The path t | STRING |
| HIGH | libs/rich/_win32_console.py | 96 | Retrieves the current input mode of a console's input buffer or the current output mode of a console screen buffer. | STRING |
| HIGH | libs/rich/_unicode_data/__init__.py | 32 | Parse a version string into a tuple of 3 integers. Args: version: A version string. Raises: Va | STRING |
| HIGH | libs/pysubs2/ssafile.py | 72 | Load subtitle file from given path. This method is implemented in terms of :meth:`SSAFile.from_file()` | STRING |
| HIGH | libs/pysubs2/formats/base.py | 22 | Load subtitle file into an empty SSAFile. If the parser autodetects framerate, set it as ``subs.fps``. | STRING |
| 2 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| CRITICAL⚡ | bazarr/app/database.py | 393 | database_engine = database.bind.engine.dialect.name.capitalize() | CODE |
| CRITICAL | libs/pygments/sphinxext.py | 87 | self.state.document.settings.record_dependencies.add(fn) | STRING |
| CRITICAL | libs/markdown/extensions/md_in_html.py | 364 | self.parser.md.htmlStash.rawHtmlBlocks.pop(index) | CODE |
| CRITICAL | libs/markdown/extensions/md_in_html.py | 365 | self.parser.md.htmlStash.rawHtmlBlocks.insert(index, '') | CODE |
| CRITICAL | libs/markdown/extensions/md_in_html.py | 402 | self.parser.md.htmlStash.rawHtmlBlocks.pop(index) | CODE |
| CRITICAL | libs/markdown/extensions/md_in_html.py | 403 | self.parser.md.htmlStash.rawHtmlBlocks.insert(index, '') | CODE |
| CRITICAL | libs/sqlalchemy/testing/suite/test_results.py | 99 | self.tables.plain_pk.c.data.label("data"), | CODE |
| CRITICAL | libs/sqlalchemy/testing/suite/test_select.py | 81 | self.tables.some_table.c.data.collate(collation).asc() | CODE |
| CRITICAL | libs/importlib_resources/future/adapters.py | 39 | reader.spec.loader.__class__.__module__.startswith('zipimport') | CODE |
| CRITICAL | libs/importlib_resources/future/adapters.py | 40 | or reader.spec.loader.__class__.__module__.startswith( | CODE |
| CRITICAL | libs/pydantic/mypy.py | 333 | for name, sym in self._ctx.cls.info.names.items(): | CODE |
| CRITICAL | custom_libs/sseclient.py | 75 | chunk = self.resp.raw._fp.fp.read1(self.chunk_size) | CODE |
| CRITICAL⚡ | custom_libs/py7zr/compression.py | 199 | self.header.main_streams.substreamsinfo.digests.append(crc) | CODE |
| CRITICAL⚡ | custom_libs/py7zr/compression.py | 200 | self.header.main_streams.substreamsinfo.digestsdefined.append(True) | CODE |
| CRITICAL⚡ | custom_libs/py7zr/compression.py | 201 | self.header.main_streams.substreamsinfo.unpacksizes.append(insize) | CODE |
| CRITICAL⚡ | custom_libs/py7zr/compression.py | 219 | self.header.main_streams.substreamsinfo.digests.append(crc) | CODE |
| CRITICAL⚡ | custom_libs/py7zr/compression.py | 220 | self.header.main_streams.substreamsinfo.digestsdefined.append(True) | CODE |
| CRITICAL⚡ | custom_libs/py7zr/compression.py | 222 | self.header.main_streams.substreamsinfo.unpacksizes.append(insize) | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | bazarr/init.py | 33 | # Check if args.config_dir exist | COMMENT |
| LOW⚡ | bazarr/app/config.py | 1450 | # Check if any legacy values exist | COMMENT |
| LOW | bazarr/app/config.py | 1054 | # Check if user needs seamless migration from API key to OAuth | COMMENT |
| LOW | bazarr/app/config.py | 1087 | # Check if already migrated (has OAuth token) | COMMENT |
| LOW | bazarr/app/config.py | 1095 | # Check if migration is disabled (for emergency rollback) | COMMENT |
| LOW | bazarr/radarr/sync/movies.py | 240 | # Check if there's a row in the database for this movie ID | COMMENT |
| LOW | bazarr/utilities/autopulse_webhook.py | 432 | # Check if Bazarr has extra prefix (e.g., /mnt/media vs /media) | COMMENT |
| LOW | bazarr/utilities/autopulse_webhook.py | 444 | # Check if Plex has extra prefix (e.g., /data/media vs /media) | COMMENT |
| LOW | bazarr/utilities/autopulse_webhook.py | 206 | # Check if external webhook is enabled | STRING |
| LOW | bazarr/utilities/video_analyzer.py | 283 | # Check if file size and file id matches and if so, we return the cached value if available for the | COMMENT |
| LOW | bazarr/api/plex/oauth.py | 42 | # Check if encryption key exists before attempting to create one | COMMENT |
| LOW | bazarr/api/plex/oauth.py | 124 | # Check if subscription is active first | COMMENT |
| LOW | bazarr/api/plex/oauth.py | 131 | # Check if specific feature is in the subscription features list | COMMENT |
| LOW | bazarr/api/plex/oauth.py | 950 | # Check if user has Plex Pass with webhooks feature | COMMENT |
| LOW | bazarr/api/webhooks/plex.py | 120 | # Check if this is a valid Plex webhook (should have 'event' field) | COMMENT |
| LOW | bazarr/api/webhooks/plex.py | 131 | # Check if Metadata key exists in the payload | COMMENT |
| LOW | …ubtitles/tools/translate/services/gemini_translator.py | 530 | # Check if we exited the loop due to an interrupt | COMMENT |
| LOW | bazarr/sonarr/sync/series.py | 140 | # Check if there's a row in database for this series ID | COMMENT |
| LOW | bazarr/sonarr/sync/episodes.py | 249 | # Check if there's a row in database for this episode ID | COMMENT |
| LOW | libs/socks.py | 611 | # Check if the destination address provided is an IP address | COMMENT |
| LOW | libs/typing_extensions.py | 770 | # Check if the members appears in the class dictionary... | COMMENT |
| LOW | libs/flask_sqlalchemy/model.py | 168 | # Check if a table with this name already exists. Allows reflected tables to be | COMMENT |
| LOW | libs/flask_sqlalchemy/model.py | 239 | # Check if a table with this name already exists. Allows reflected tables to be | COMMENT |
| LOW | libs/chardet/pipeline/ascii.py | 32 | # Check if the only non-allowed bytes are null separators | STRING |
| LOW | libs/chardet/pipeline/orchestrator.py | 494 | # Check if KOI8-T is anywhere in the results | COMMENT |
| LOW | libs/oauthlib/common.py | 108 | # Check if query contains invalid characters | COMMENT |
| LOW | libs/pygments/lexers/modula2.py | 1301 | # Set lexer to a specified dialect | COMMENT |
| LOW | libs/pygments/lexers/modula2.py | 1566 | # Check if this looks like Pascal, if not, bail out early | COMMENT |
| LOW | libs/pygments/lexers/sql.py | 346 | # Check if this is the end of the command | COMMENT |
| LOW | libs/pygments/formatters/html.py | 49 | # Check if the color can be shortened from 6 to 3 characters | COMMENT |
| LOW | libs/markdown/blockprocessors.py | 401 | # Check if a custom start integer is set | COMMENT |
| LOW | libs/markdown/blockprocessors.py | 406 | # Loop through items in block, recursively parsing each with the | COMMENT |
| LOW | libs/markdown/htmlparser.py | 298 | # Check if the comment is unclosed, if so, we need to override position | COMMENT |
| LOW | libs/markdown/util.py | 320 | # Check if an item exists by this name. | COMMENT |
| LOW | libs/markdown/util.py | 322 | # Check if this instance exists. | COMMENT |
| LOW | libs/markdown/extensions/md_in_html.py | 215 | # Check if element has a tail | COMMENT |
| LOW | libs/werkzeug/debug/__init__.py | 323 | # Set _pin to None explicitly to prevent regeneration by the getter | COMMENT |
| LOW | libs/js2py/base.py | 343 | ) # Check if setter method is defined | CODE |
| LOW | libs/js2py/internals/base.py | 98 | desc['set']) # Check if setter method is defined | CODE |
| LOW | libs/bs4/__init__.py | 910 | # Check if we are inserting into an already parsed node. | COMMENT |
| LOW | libs/cloudscraper/__init__.py | 283 | # Check if Cloudflare anti-bot is on | COMMENT |
| LOW | libs/sqlalchemy/sql/functions.py | 105 | # Check if a function with the same identifier is registered. | COMMENT |
| LOW | libs/sqlalchemy/sql/functions.py | 1547 | # Set _register to True to register child classes by default | STRING |
| LOW | libs/sqlalchemy/sql/base.py | 525 | # Check if user explicitly set it. | STRING |
| LOW | libs/requests/models.py | 579 | # Check if file, fo, generator, iterator. | COMMENT |
| LOW | libs/filetype/types/document.py | 46 | # Check if first file in archive is the identifying file | COMMENT |
| LOW | libs/filetype/types/document.py | 56 | # Check if first file in archive is the identifying file | COMMENT |
| LOW | libs/html5lib/_inputstream.py | 871 | # Check if the attr name is charset | COMMENT |
| LOW | libs/html5lib/html5parser.py | 948 | # Set this to the default handler | COMMENT |
| LOW | libs/html5lib/_tokenizer.py | 234 | # Add token to the queue to be yielded | COMMENT |
| LOW | libs/apprise/asset.py | 217 | # Set storage to auto | COMMENT |
| LOW | libs/apprise/url.py | 325 | # Set time to 'now' and no need to throttle | COMMENT |
| LOW | libs/apprise/plugins/sfr.py | 308 | # Check if the request was successfull | COMMENT |
| LOW | libs/apprise/plugins/aprs.py | 389 | # Check if we are connected | COMMENT |
| LOW | libs/apprise/plugins/aprs.py | 464 | # Check if we are connected | COMMENT |
| LOW | libs/apprise/plugins/aprs.py | 517 | # Check if we are connected | COMMENT |
| LOW | libs/apprise/plugins/__init__.py | 293 | # Check if the mapped reference is a list; if it is, then | COMMENT |
| LOW | libs/apprise/plugins/twist.py | 178 | # Check if it is valid | COMMENT |
| LOW | libs/apprise/plugins/threema.py | 177 | # Check if an email was defined | COMMENT |
| LOW | libs/apprise/plugins/pushbullet.py | 250 | # Check if an email was defined | COMMENT |
| 49 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | bazarr/app/config.py | 1054 | # Check if user needs seamless migration from API key to OAuth | COMMENT |
| LOW | bazarr/subtitles/tools/translate/main.py | 51 | # otherwise, we just use the destination path as it is | COMMENT |
| LOW | libs/whichcraft.py | 64 | # what file suffixes are executable, so just pass on cmd as-is. | COMMENT |
| MEDIUM | libs/flask/sessions.py | 101 | """The basic interface you have to implement in order to replace the | STRING |
| MEDIUM | libs/flask/app.py | 1299 | """Can be overridden in order to modify the response object | STRING |
| LOW | libs/h11/_headers.py | 60 | # aren't. For now we punt and just use a super simple representation: headers | COMMENT |
| LOW | libs/requests_oauthlib/compliance_fixes/instagram.py | 15 | # Nothing to do, just return. | COMMENT |
| LOW | libs/requests_oauthlib/compliance_fixes/slack.py | 18 | # Nothing to do, just return. | COMMENT |
| LOW | libs/mako/codegen.py | 1038 | # in an enclosing namespace (i.e. names we can just use) | COMMENT |
| LOW | libs/pyparsing/util.py | 323 | # no need to list them with "-", just return as a list | STRING |
| LOW | libs/pyparsing/util.py | 384 | # internal recursive call, just return empty string if no words | STRING |
| LOW | libs/pyparsing/core.py | 3550 | # a match with `pos > len(instring)`, it will just return "" | STRING |
| LOW | libs/pyparsing/helpers.py | 302 | # last resort, just use MatchFirst of Token class corresponding to caseless | COMMENT |
| LOW | libs/pyparsing/diagram/__init__.py | 599 | # if not, just return None | STRING |
| LOW | libs/jinja2/compiler.py | 1009 | # if we have a known extends we just add a template runtime | COMMENT |
| LOW | libs/jinja2/idtracking.py | 112 | # Otherwise we can just set it to undefined. | COMMENT |
| LOW | libs/jinja2/bccache.py | 224 | # explicitly forced otherwise. We can just use that. | COMMENT |
| MEDIUM | libs/markdown/serializers.py | 24 | # pertaining to distribution of the software without specific, written | COMMENT |
| LOW | libs/waitress/task.py | 531 | # for the WSGI application. Spec says we can just set this to | COMMENT |
| LOW | libs/waitress/server.py | 122 | # We are running a single server, so we can just return the last server, | COMMENT |
| MEDIUM | libs/waitress/wasyncore.py | 15 | # Rushing not be used in advertising or publicity pertaining to | COMMENT |
| LOW | libs/waitress/channel.py | 404 | # (probably close the socket, and then just return) | COMMENT |
| LOW | libs/waitress/parser.py | 281 | # NB: We can not just call bare strip() here because it will also | COMMENT |
| LOW | libs/js2py/constructors/jsobject.py | 20 | #Implementation dependent, but my will simply return :) | COMMENT |
| LOW | libs/js2py/internals/base.py | 378 | # if not array then use to_string(prop). In array if prop is integer then just use it | COMMENT |
| LOW | libs/js2py/internals/constructors/jsobject.py | 19 | # Implementation dependent, but my will simply return :) | COMMENT |
| LOW | libs/bs4/builder/_html5lib.py | 461 | # but we just set/changed the attributes, so call it again. | COMMENT |
| LOW | libs/requests_toolbelt/auth/http_proxy_digest.py | 97 | # if we have nonce, then just use it, otherwise server will tell us | COMMENT |
| LOW | libs/pytz/tzinfo.py | 544 | # A StaticTzInfo - just return it | COMMENT |
| LOW | libs/sqlalchemy/exc.py | 619 | # Don't ever wrap these, just return them directly as if | COMMENT |
| MEDIUM | libs/sqlalchemy/ext/mypy/util.py | 290 | # TODO: figure out a more robust way to check this. The node is some | COMMENT |
| LOW | libs/sqlalchemy/dialects/postgresql/psycopg.py | 638 | # Normal cursor just call _close() in a non-sync way. | STRING |
| LOW | libs/sqlalchemy/dialects/oracle/cx_oracle.py | 1256 | # simplify the whole thing and just use the method that we were | STRING |
| LOW | libs/sqlalchemy/dialects/oracle/base.py | 2131 | # so it seems easier to just use bind param in this case | COMMENT |
| LOW | libs/sqlalchemy/dialects/mysql/base.py | 1838 | # No offset provided, so just use the limit | COMMENT |
| LOW | libs/sqlalchemy/dialects/mssql/pyodbc.py | 609 | # async adapter drivers just return None here | COMMENT |
| LOW | libs/sqlalchemy/orm/decl_base.py | 545 | # and while it seems like we could just set these on Field as we | COMMENT |
| LOW | libs/sqlalchemy/orm/loading.py | 646 | # So here, we just add the PK cols if that | COMMENT |
| MEDIUM | libs/sqlalchemy/orm/path_registry.py | 703 | # also make use of of_type() or other intricate polymorphic | COMMENT |
| LOW | libs/sqlalchemy/orm/query.py | 1953 | # just return self._from_obj[0] if present, because there is no | STRING |
| LOW | libs/sqlalchemy/orm/strategies.py | 741 | # get() clause. then we can just use mapper.get() | COMMENT |
| LOW | libs/sqlalchemy/orm/strategies.py | 2284 | # just return it | COMMENT |
| LOW | libs/sqlalchemy/orm/util.py | 781 | # "self"; so just return a new method with the same function and | STRING |
| LOW | libs/sqlalchemy/orm/context.py | 750 | # if the col is from some other mapper, just return it, assume the | COMMENT |
| LOW | libs/sqlalchemy/orm/context.py | 3049 | # the resulting callable is entirely cacheable so just return | COMMENT |
| LOW | libs/sqlalchemy/orm/bulk_persistence.py | 594 | # Since we have cols_to_return, just return what we asked | COMMENT |
| LOW | libs/sqlalchemy/engine/create.py | 785 | # since "on_connect" is virtually always present, just use | COMMENT |
| LOW | libs/sqlalchemy/engine/cursor.py | 485 | # no compiled objects to map, just create keymap by primary string | COMMENT |
| LOW | libs/sqlalchemy/engine/cursor.py | 794 | # conflicting keyname - just add the column-linked objects | COMMENT |
| LOW | libs/sqlalchemy/sql/compiler.py | 4119 | # or this is the same CTE. just return the name. | COMMENT |
| MEDIUM | libs/sqlalchemy/sql/type_api.py | 656 | r"""Produce a copy of this type object that will utilize the given | CODE |
| LOW | libs/sqlalchemy/sql/type_api.py | 2359 | # couldn't adapt - so just return the type itself | COMMENT |
| MEDIUM | libs/requests/sessions.py | 757 | # Set defaults that the hooks can utilize to ensure they always have | STRING |
| LOW | libs/requests/models.py | 723 | # method. To prevent iterating over None, simply use an empty list | COMMENT |
| LOW | libs/requests/utils.py | 491 | # a UNC path, then just return the value without quotes. Using the | STRING |
| LOW | libs/html5lib/html5parser.py | 746 | # the abstract Unicode string, and just use the | COMMENT |
| LOW | libs/pymediainfo/__init__.py | 532 | else: # We have a filename, simply pass it: | CODE |
| LOW | libs/certifi/core.py | 70 | # file, it will just return the file system location and the | COMMENT |
| LOW | libs/apprise/persistent_store.py | 1287 | # For the below, we just set both cases and set them up as an | COMMENT |
| LOW | libs/apprise/apprise.py | 309 | # Go ahead and just add our plugin into our list | COMMENT |
| 35 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | bazarr/api/subtitles/subtitles.py | 153 | percent_score=0, # make sure to always sync when requested manually | CODE |
| LOW | bazarr/subtitles/wanted/series.py | 159 | # make sure to override the progress value updated by the subtitles synchronization | COMMENT |
| LOW | bazarr/subtitles/wanted/movies.py | 144 | # make sure to override the progress value updated by the subtitles synchronization | COMMENT |
| LOW | libs/wcwidth/__init__.py | 81 | __version__ = '0.8.1' # don't forget to also update pyproject.toml:version | CODE |
| LOW | libs/wcwidth/__init__.py | 81 | __version__ = '0.8.1' # don't forget to also update pyproject.toml:version | CODE |
| LOW | libs/pyrsistent/_transformations.py | 134 | # Allow expansion of structure but make sure to cover the case | COMMENT |
| LOW | libs/oauthlib/openid/connect/core/request_validator.py | 27 | blank value `""` don't forget to check it before using those values | STRING |
| LOW | libs/oauthlib/oauth1/rfc5849/__init__.py | 42 | # Note: if additional values are defined here, don't forget to update the | COMMENT |
| LOW | libs/oauthlib/oauth1/rfc5849/__init__.py | 42 | # Note: if additional values are defined here, don't forget to update the | COMMENT |
| MEDIUM | libs/pygments/lexers/crystal.py | 240 | # there so that you can use the ternary operator. | STRING |
| LOW | libs/pygments/lexers/perl.py | 596 | # them, make sure you also process the corresponding one! | COMMENT |
| MEDIUM | libs/pygments/lexers/ruby.py | 292 | # there so that you can use the ternary operator. | COMMENT |
| MEDIUM | libs/werkzeug/routing/__init__.py | 76 | And here is how you can match URLs: | STRING |
| LOW | libs/js2py/evaljs.py | 213 | # make sure you have a temp folder: | COMMENT |
| MEDIUM | libs/js2py/internals/constructors/jsfunction.py | 27 | # you can use this one lovely piece of function to compile and execute code on the fly! Watch out though as it may gener | COMMENT |
| LOW | libs/sqlalchemy/dialects/oracle/provision.py | 69 | # NOTE: make sure you've run "ALTER DATABASE default tablespace users" or | COMMENT |
| MEDIUM | libs/apprise/config/base.py | 645 | # Or you can use this format (no tags associated) | STRING |
| MEDIUM | libs/apprise/config/base.py | 648 | # you can also use the keyword 'include' and identify a | STRING |
| MEDIUM | libs/attr/_funcs.py | 496 | # Return the class so you can use it as a decorator too. | COMMENT |
| MEDIUM | libs/jsonschema/benchmarks/issue232/issue.json | 1617 | "description": "This is a sample server Petstore server. You can find out more about Swagger at | CODE |
| MEDIUM | libs/tqdm/std.py | 793 | >>> # Now you can use `progress_apply` instead of `apply` | STRING |
| LOW | libs/urllib3/response.py | 1152 | # TODO make sure to initially read enough data to get past the headers | COMMENT |
| MEDIUM | libs/urllib3/util/wait.py | 12 | # There are two types of APIs you can use for waiting on sockets: the fancy | COMMENT |
| MEDIUM | libs/future/backports/urllib/request.py | 1644 | # Undocumented feature: you can use a different | COMMENT |
| LOW | custom_libs/subliminal_patch/core.py | 623 | # make sure to preserve original subtitles format if requested | COMMENT |
| LOW | custom_libs/subliminal_patch/providers/subsource.py | 282 | # we make sure to get only one language to search for | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | bazarr/utilities/autopulse_webhook.py | 362 | # Step 1: Try smart detection (compare actual Bazarr vs Plex paths) | COMMENT |
| LOW⚡ | bazarr/utilities/autopulse_webhook.py | 367 | # Step 2: Fall back to common pattern detection | COMMENT |
| LOW | libs/h11/_connection.py | 112 | # Step 1: some responses always have an empty body, regardless of what the | COMMENT |
| LOW⚡ | libs/h11/_connection.py | 126 | # Step 2: check for Transfer-Encoding (T-E beats C-L): | COMMENT |
| LOW⚡ | libs/h11/_connection.py | 132 | # Step 3: check for Content-Length | COMMENT |
| LOW⚡ | libs/h11/_connection.py | 137 | # Step 4: no applicable headers; fallback/default depends on type | COMMENT |
| LOW | libs/pygments/lexers/sql.py | 675 | # We need to check if there are any names using | COMMENT |
| LOW⚡ | libs/bs4/__init__.py | 610 | # Step 1: does it end with a common textual file extension? | COMMENT |
| LOW⚡ | libs/bs4/__init__.py | 619 | # Step 2: it _might_ be a file, but there are a few things | COMMENT |
| LOW | libs/bs4/__init__.py | 649 | # Step 3: If it survived all of those checks, it's similar | COMMENT |
| LOW | libs/click/core.py | 2858 | # value, we need to check if `flag_value` or `default` was set. Either one is | STRING |
| LOW | libs/html5lib/html5parser.py | 1418 | # Step 4: | COMMENT |
| LOW | libs/html5lib/html5parser.py | 1463 | # Step 5: | COMMENT |
| LOW | libs/html5lib/html5parser.py | 1476 | # Step 6: | COMMENT |
| LOW | libs/html5lib/html5parser.py | 1494 | # Step 8: | COMMENT |
| LOW | libs/html5lib/treebuilders/base.py | 223 | # Step 1: stop the algorithm when there's nothing to do. | COMMENT |
| LOW | libs/html5lib/treebuilders/base.py | 240 | # Step 5: let entry be one earlier in the list. | COMMENT |
| LOW | libs/apprise/plugins/bluesky.py | 307 | # Step 1: Acquire DID from bsky.app | COMMENT |
| LOW | libs/apprise/plugins/bluesky.py | 327 | # Step 2: Use DID to find the PDS | COMMENT |
| LOW | libs/apprise/plugins/bluesky.py | 392 | # Step 3: Send to correct endpoint | COMMENT |
| LOW | libs/dynaconf/utils/parse_conf.py | 163 | we need to check if the first part is a number | STRING |
| LOW | libs/ffsubsync/subtitle_preprocessor.py | 149 | # Step 1: Filter non-dialogue content | COMMENT |
| LOW | libs/ffsubsync/subtitle_preprocessor.py | 164 | # Step 2: Merge short subtitles | COMMENT |
| LOW | libs/future/backports/email/header.py | 398 | # Step 1: Normalize the chunks so that all runs of identical charsets | STRING |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | bazarr/utilities/autopulse_webhook.py | 362 | # Step 1: Try smart detection (compare actual Bazarr vs Plex paths) | COMMENT |
| LOW⚡ | bazarr/utilities/autopulse_webhook.py | 367 | # Step 2: Fall back to common pattern detection | COMMENT |
| LOW | libs/h11/_connection.py | 112 | # Step 1: some responses always have an empty body, regardless of what the | COMMENT |
| LOW⚡ | libs/h11/_connection.py | 126 | # Step 2: check for Transfer-Encoding (T-E beats C-L): | COMMENT |
| LOW⚡ | libs/h11/_connection.py | 132 | # Step 3: check for Content-Length | COMMENT |
| LOW⚡ | libs/h11/_connection.py | 137 | # Step 4: no applicable headers; fallback/default depends on type | COMMENT |
| LOW⚡ | libs/bs4/__init__.py | 610 | # Step 1: does it end with a common textual file extension? | COMMENT |
| LOW⚡ | libs/bs4/__init__.py | 619 | # Step 2: it _might_ be a file, but there are a few things | COMMENT |
| LOW | libs/bs4/__init__.py | 649 | # Step 3: If it survived all of those checks, it's similar | COMMENT |
| LOW | libs/bs4/builder/_htmlparser.py | 113 | # NOTE: This method is required so long as Python 3.9 is | COMMENT |
| LOW | libs/html5lib/treebuilders/base.py | 223 | # Step 1: stop the algorithm when there's nothing to do. | COMMENT |
| LOW | libs/html5lib/treebuilders/base.py | 240 | # Step 5: let entry be one earlier in the list. | COMMENT |
| LOW | libs/apprise/plugins/bluesky.py | 307 | # Step 1: Acquire DID from bsky.app | COMMENT |
| LOW | libs/apprise/plugins/bluesky.py | 327 | # Step 2: Use DID to find the PDS | COMMENT |
| LOW | libs/apprise/plugins/bluesky.py | 392 | # Step 3: Send to correct endpoint | COMMENT |
| LOW | libs/ffsubsync/subtitle_preprocessor.py | 149 | # Step 1: Filter non-dialogue content | COMMENT |
| LOW | libs/ffsubsync/subtitle_preprocessor.py | 164 | # Step 2: Merge short subtitles | COMMENT |
| LOW | libs/future/backports/email/header.py | 398 | # Step 1: Normalize the chunks so that all runs of identical charsets | STRING |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | libs/pyjsparser/parser.py | 1185 | CODE | |
| MEDIUM | libs/pyjsparser/parser.py | 1186 | CODE | |
| MEDIUM | libs/pyjsparser/parser.py | 1187 | CODE | |
| MEDIUM | libs/pyjsparser/parser.py | 1188 | CODE | |
| MEDIUM | libs/pyjsparser/parser.py | 1203 | CODE | |
| MEDIUM | libs/pyjsparser/parser.py | 1204 | CODE | |
| MEDIUM | libs/pyjsparser/parser.py | 1229 | CODE | |
| MEDIUM | libs/pyjsparser/parser.py | 1230 | CODE | |
| MEDIUM | libs/pyjsparser/parser.py | 1231 | CODE | |
| MEDIUM | libs/pyjsparser/parser.py | 1232 | CODE | |
| MEDIUM | libs/pyjsparser/parser.py | 1236 | CODE | |
| MEDIUM | libs/pyjsparser/parser.py | 1237 | CODE | |
| MEDIUM | libs/pyjsparser/parser.py | 1408 | CODE | |
| MEDIUM | libs/pyjsparser/parser.py | 2012 | CODE | |
| MEDIUM | libs/pyjsparser/parser.py | 2014 | CODE | |
| MEDIUM | libs/pyjsparser/parser.py | 2015 | CODE | |
| MEDIUM | libs/pyjsparser/parser.py | 2017 | CODE | |
| MEDIUM | libs/pyjsparser/parser.py | 2019 | CODE | |
| MEDIUM | libs/pyjsparser/parser.py | 2022 | CODE | |
| MEDIUM | libs/pyjsparser/parser.py | 2026 | CODE | |
| MEDIUM | libs/pyjsparser/parser.py | 2028 | CODE | |
| MEDIUM | libs/pyjsparser/parser.py | 2239 | CODE | |
| MEDIUM | libs/pyjsparser/parser.py | 2241 | CODE | |
| MEDIUM | libs/pyjsparser/parser.py | 2243 | CODE | |
| MEDIUM | libs/pyjsparser/parser.py | 2245 | CODE | |
| MEDIUM | libs/pyjsparser/parser.py | 2246 | CODE | |
| MEDIUM | libs/pyjsparser/parser.py | 2249 | CODE | |
| MEDIUM | libs/pyjsparser/parser.py | 2251 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | frontend/src/components/inputs/Selector.test.tsx | 140 | describe("placeholder", () => { | CODE |
| LOW | libs/deep_translator/linguee.py | 89 | "span", {"class": "placeholder"} | CODE |
| LOW | libs/pygments/lexers/perl.py | 332 | 'pick','pickpairs','pid','placeholder','plan','plus','polar','poll', | CODE |
| LOW | libs/jinja2/constants.py | 1 | #: list of lorem ipsum words used by the lipsum() helper function | COMMENT |
| LOW | libs/jinja2/utils.py | 356 | """Generate some lorem ipsum for the template.""" | STRING |
| LOW | libs/sqlalchemy/ext/automap.py | 61 | session.add(Address(email_address="foo@bar.com", user=User(name="foo"))) | CODE |
| LOW | libs/sqlalchemy/ext/automap.py | 369 | u1 = User(addresses=[Address(email="foo@bar.com")]) | CODE |
| LOW | libs/sqlalchemy/orm/query.py | 2374 | User.addresses.and_(Address.email_address != "foo@bar.com") | CODE |
| LOW | libs/sqlalchemy/orm/_orm_constructors.py | 2621 | .filter(Address.email_address == "foo@bar.com") | CODE |
| LOW | libs/sqlalchemy/orm/_orm_constructors.py | 2630 | .filter(Address.email_address == "foo@bar.com") | CODE |
| LOW | libs/sqlalchemy/engine/cursor.py | 1902 | ("john", 1, 1, "foo@bar.com", 1), | STRING |
| LOW | libs/sqlalchemy/sql/_elements_constructors.py | 482 | "placeholder" value in a SQL expression, the value of which is | CODE |
| LOW | libs/sqlalchemy/sql/_elements_constructors.py | 489 | a "placeholder" for eventual population, but also as a means of | CODE |
| LOW⚡ | libs/apprise/plugins/twist.py | 320 | # "email": "user@example.com", | COMMENT |
| LOW⚡ | libs/apprise/plugins/twist.py | 333 | # "email": "user@example.com", | COMMENT |
| LOW | libs/rich/text.py | 1342 | """\nLorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolo | STRING |
| LOW | libs/rich/text.py | 1342 | """\nLorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolo | STRING |
| LOW | libs/rich/__main__.py | 71 | lorem = "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Quisque in metus sed sapien ultricies pretium a at | CODE |
| LOW | libs/rich/__main__.py | 71 | lorem = "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Quisque in metus sed sapien ultricies pretium a at | CODE |
| LOW | libs/flask_restx/static/swagger-ui.js | 1 | !function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.am | CODE |
| LOW | libs/flask_restx/static/swagger-ui-es-bundle-core.js | 2 | import*as e from"react-immutable-pure-component";import*as t from"remarkable/linkify";import*as r from"dompurify";import | CODE |
| LOW | libs/flask_restx/static/swagger-ui-standalone-preset.js | 2 | !function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.am | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | tests/bazarr/test_ui.py | 30 | def test_function(): | CODE |
| LOW | tests/bazarr/test_ui.py | 57 | def test_function(): | CODE |
| LOW | tests/bazarr/test_ui.py | 74 | def test_function(): | CODE |
| LOW | tests/bazarr/test_ui.py | 95 | def test_function(): | CODE |
| LOW | tests/bazarr/test_ui.py | 119 | def test_function(): | CODE |
| LOW | tests/bazarr/test_ui.py | 141 | def test_function(): | CODE |
| LOW | tests/bazarr/test_ui.py | 164 | def test_function(): | CODE |
| LOW | tests/bazarr/test_ui.py | 187 | def test_function(arg1, arg2, kwarg1=None): | CODE |
| LOW | tests/bazarr/test_ui.py | 203 | def test_function(): | CODE |
| LOW | tests/bazarr/test_ui.py | 231 | def test_function(): | CODE |
| LOW | libs/rarfile.py | 962 | def helper(name, flags): | CODE |
| LOW | libs/dogpile/cache/region.py | 286 | def my_function(a, b, **kw): | CODE |
| LOW | libs/dogpile/testing/fixtures.py | 376 | def my_function(x, y): | CODE |
| LOW | libs/engineio/server.py | 188 | def handle_request(self, environ, start_response): | CODE |
| LOW | libs/engineio/async_server.py | 208 | async def handle_request(self, *args, **kwargs): | CODE |
| LOW | libs/sqlalchemy/ext/asyncio/base.py | 255 | def helper(*args: Any, **kwds: Any) -> GeneratorStartableContext[_T_co]: | CODE |
| LOW | libs/sqlalchemy/orm/events.py | 1927 | def do_something(session, previous_transaction): | CODE |
| LOW | libs/sqlalchemy/orm/collections.py | 376 | def do_stuff(self, thing, entity=None): ... | STRING |
| LOW | libs/socketio/server.py | 423 | def handle_request(self, environ, start_response): | CODE |
| LOW | libs/socketio/async_server.py | 448 | async def handle_request(self, *args, **kwargs): | CODE |
| LOW | libs/alembic/runtime/environment.py | 138 | def my_function(rev, context): | STRING |
| LOW | libs/future/backports/socketserver.py | 277 | def handle_request(self): | CODE |
| LOW | libs/future/backports/xmlrpc/server.py | 684 | def handle_request(self, request_text=None): | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | libs/pydantic/mypy.py | 552 | # I don't know whether it's possible to hit this branch, but I've added it for safety | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | libs/deep_translator/exceptions.py | 173 | Example: export {env_var}="your_api_key" | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | custom_libs/subliminal_patch/providers/gestdown.py | 118 | # TODO: implement rate limiting | COMMENT |