Repository Analysis

Tautulli/Tautulli

A Python based monitoring and tracking tool for Plex Media Server.

12.4 Low AI signal View on GitHub

Analysis Overview

This report presents the forensic synthetic code analysis of Tautulli/Tautulli, a Python project with 6,573 GitHub stars. SynthScan v2.0 examined 650,539 lines of code across 1985 source files, recording 6303 pattern matches distributed across 21 syntactic categories. The overall adjusted score of 12.4 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).

12.4
Adjusted Score
12.4
Raw Score
100%
Time Factor
2026-08-29
Last Push
6.6K
Stars
Python
Language
650.5K
Lines of Code
2.0K
Files
6.3K
Pattern Hits
2026-08-29
Scan Date
0.16
HC Hit Rate

What These Metrics Mean

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

Score History

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

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

Severity Breakdown

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

CRITICAL 12HIGH 310MEDIUM 316LOW 5665

Directory Score Breakdown

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

Pattern Findings

The scanner identified 6303 distinct pattern matches across 21 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.

Unused Imports2097 hits · 1970 pts
SeverityFileLineSnippetContext
LOWlib/IPy.py12CODE
LOWlib/six.py23CODE
LOWlib/typing_extensions.py4035CODE
LOWlib/jwt/algorithms.py1CODE
LOWlib/jwt/api_jwt.py1CODE
LOWlib/jwt/__init__.py1CODE
LOWlib/jwt/__init__.py1CODE
LOWlib/jwt/__init__.py2CODE
LOWlib/jwt/__init__.py2CODE
LOWlib/jwt/__init__.py2CODE
LOWlib/jwt/__init__.py2CODE
LOWlib/jwt/__init__.py2CODE
LOWlib/jwt/__init__.py9CODE
LOWlib/jwt/__init__.py9CODE
LOWlib/jwt/__init__.py9CODE
LOWlib/jwt/__init__.py9CODE
LOWlib/jwt/__init__.py10CODE
LOWlib/jwt/__init__.py10CODE
LOWlib/jwt/__init__.py10CODE
LOWlib/jwt/__init__.py10CODE
LOWlib/jwt/__init__.py10CODE
LOWlib/jwt/__init__.py10CODE
LOWlib/jwt/__init__.py10CODE
LOWlib/jwt/__init__.py10CODE
LOWlib/jwt/__init__.py10CODE
LOWlib/jwt/__init__.py10CODE
LOWlib/jwt/__init__.py10CODE
LOWlib/jwt/__init__.py10CODE
LOWlib/jwt/__init__.py10CODE
LOWlib/jwt/__init__.py10CODE
LOWlib/jwt/__init__.py10CODE
LOWlib/jwt/__init__.py10CODE
LOWlib/jwt/__init__.py28CODE
LOWlib/jwt/__init__.py29CODE
LOWlib/jwt/utils.py7CODE
LOWlib/jwt/api_jwk.py1CODE
LOWlib/jwt/jwks_client.py1CODE
LOWlib/jwt/api_jws.py1CODE
LOWlib/mdurl/_decode.py1CODE
LOWlib/mdurl/_url.py1CODE
LOWlib/mdurl/__init__.py14CODE
LOWlib/mdurl/__init__.py14CODE
LOWlib/mdurl/__init__.py14CODE
LOWlib/mdurl/__init__.py15CODE
LOWlib/mdurl/__init__.py15CODE
LOWlib/mdurl/__init__.py15CODE
LOWlib/mdurl/__init__.py16CODE
LOWlib/mdurl/__init__.py17CODE
LOWlib/mdurl/__init__.py18CODE
LOWlib/mdurl/_format.py1CODE
LOWlib/mdurl/_parse.py42CODE
LOWlib/mdurl/_encode.py1CODE
LOWlib/zc/lockfile/tests.py17CODE
LOWlib/paho/mqtt/client.py19CODE
LOWlib/paho/mqtt/publish.py21CODE
LOWlib/twitter/models.py2CODE
LOWlib/twitter/twitter_utils.py2CODE
LOWlib/twitter/__init__.py19CODE
LOWlib/twitter/__init__.py31CODE
LOWlib/twitter/__init__.py38CODE
2037 more matches not shown…
Deep Nesting1062 hits · 961 pts
SeverityFileLineSnippetContext
LOWTautulli.py51CODE
LOWTautulli.py311CODE
LOWlib/xmltodict.py442CODE
LOWlib/xmltodict.py77CODE
LOWlib/IPy.py1347CODE
LOWlib/IPy.py1442CODE
LOWlib/IPy.py142CODE
LOWlib/IPy.py841CODE
LOWlib/IPy.py1072CODE
LOWlib/profilehooks.py495CODE
LOWlib/typing_extensions.py857CODE
LOWlib/typing_extensions.py907CODE
LOWlib/typing_extensions.py1156CODE
LOWlib/typing_extensions.py1627CODE
LOWlib/typing_extensions.py3187CODE
LOWlib/typing_extensions.py3243CODE
LOWlib/typing_extensions.py3316CODE
LOWlib/typing_extensions.py3366CODE
LOWlib/typing_extensions.py4047CODE
LOWlib/typing_extensions.py4181CODE
LOWlib/typing_extensions.py495CODE
LOWlib/typing_extensions.py763CODE
LOWlib/typing_extensions.py1179CODE
LOWlib/typing_extensions.py2101CODE
LOWlib/typing_extensions.py3079CODE
LOWlib/typing_extensions.py3447CODE
LOWlib/typing_extensions.py2662CODE
LOWlib/typing_extensions.py2680CODE
LOWlib/jwt/algorithms.py705CODE
LOWlib/jwt/algorithms.py749CODE
LOWlib/jwt/api_jwk.py20CODE
LOWlib/mdurl/_decode.py39CODE
LOWlib/mdurl/_parse.py116CODE
LOWlib/mdurl/_encode.py45CODE
LOWlib/paho/mqtt/properties.py251CODE
LOWlib/paho/mqtt/properties.py332CODE
LOWlib/paho/mqtt/properties.py351CODE
LOWlib/paho/mqtt/properties.py368CODE
LOWlib/paho/mqtt/client.py291CODE
LOWlib/paho/mqtt/client.py331CODE
LOWlib/paho/mqtt/client.py1709CODE
LOWlib/paho/mqtt/client.py1894CODE
LOWlib/paho/mqtt/client.py2040CODE
LOWlib/paho/mqtt/client.py2254CODE
LOWlib/paho/mqtt/client.py2812CODE
LOWlib/paho/mqtt/client.py2859CODE
LOWlib/paho/mqtt/client.py3054CODE
LOWlib/paho/mqtt/client.py3160CODE
LOWlib/paho/mqtt/client.py3261CODE
LOWlib/paho/mqtt/client.py3712CODE
LOWlib/paho/mqtt/client.py3797CODE
LOWlib/paho/mqtt/client.py3844CODE
LOWlib/paho/mqtt/client.py4041CODE
LOWlib/paho/mqtt/client.py4091CODE
LOWlib/paho/mqtt/client.py4187CODE
LOWlib/paho/mqtt/client.py4229CODE
LOWlib/paho/mqtt/client.py4281CODE
LOWlib/paho/mqtt/client.py4345CODE
LOWlib/paho/mqtt/client.py4398CODE
LOWlib/paho/mqtt/client.py4467CODE
1002 more matches not shown…
Cross-Language Confusion146 hits · 779 pts
SeverityFileLineSnippetContext
HIGHlib/pygments/lexers/c_like.py242 (r'(true|false|null)\b', Name.Builtin),CODE
HIGHlib/pygments/lexers/ada.py49 (r'(true|false|null)\b', Keyword.Constant),CODE
HIGHlib/pygments/lexers/qvt.py63 (r'(true|false|unlimited|null)\b', Keyword.Constant),CODE
HIGHlib/pygments/lexers/nix.py59 (r'\b(true|false|null)\b', Name.Constant),CODE
HIGHlib/pygments/lexers/parasail.py40 r'(is|not)\s+null)\b',CODE
HIGHlib/pygments/lexers/smithy.py61 (r"(true|false|null)", Keyword.Constant),CODE
HIGHlib/pygments/lexers/hare.py59 (r'(true|false|null)\b', Name.Builtin),CODE
HIGHlib/pygments/lexers/webmisc.py868 (r'(true|false|null|NaN|Infinity|undefined)\b', Keyword.Constant),CODE
HIGHlib/pygments/lexers/_julia_builtins.py147for compl in filter!(x -> isa(x, REPLCompletions.ModuleCompletion) && (x.parent === Base || x.parent === Core),STRING
HIGHlib/pygments/lexers/_julia_builtins.py151 if (v isa Type || v isa TypeVar) && (compl.mod != "=>")STRING
HIGHlib/pygments/lexers/_julia_builtins.py358for compl in filter!(x -> isa(x, REPLCompletions.ModuleCompletion) && (x.parent === Base || x.parent === Core),STRING
HIGHlib/pygments/lexers/_julia_builtins.py362 if !(v isa Function || v isa Type || v isa TypeVar || v isa Module || v isa Colon)STRING
HIGHlib/pygments/lexers/scripting.py1605 (r'(true|false|null)\b', Keyword.Constant),CODE
HIGHlib/pygments/lexers/d.py65 (r'(false|true|null)\b', Keyword.Constant),CODE
HIGHlib/pygments/lexers/d.py213 (r'(false|true|null)\b', Keyword.Constant),CODE
HIGHlib/pygments/lexers/jmespath.py63 (r'(false|true|null)\b', Keyword.Constant),CODE
HIGHlib/pygments/lexers/templates.py183 (r'(true|false|null)\b', Keyword.Constant),CODE
HIGHlib/pygments/lexers/templates.py265 (r'(true|false|null)\b', Keyword.Constant),CODE
HIGHlib/pygments/lexers/templates.py1567 (r'(true|false|null)\b', Keyword.Constant),STRING
HIGHlib/pygments/lexers/templates.py2205 (r'(?i)(true|false|none|null)\b', Keyword.Pseudo),STRING
HIGHlib/pygments/lexers/jvm.py64 (r'(true|false|null)\b', Keyword.Constant),CODE
HIGHlib/pygments/lexers/jvm.py317 (r'(true|false|null)\b', Keyword.Constant),CODE
HIGHlib/pygments/lexers/jvm.py585 (r'(true|false|null)\b', Keyword.Constant),CODE
HIGHlib/pygments/lexers/jvm.py984 (r'(true|false|null)\b', Keyword.Constant),CODE
HIGHlib/pygments/lexers/jvm.py1045 (r'(true|false|null)\b', Keyword.Constant),CODE
HIGHlib/pygments/lexers/jvm.py1139 (r'(true|false|null)\b', Keyword.Constant),CODE
HIGHlib/pygments/lexers/jvm.py1276 (r'(true|false|null)\b', Keyword.Constant),CODE
HIGHlib/pygments/lexers/php.py73 (r'(true|false|null|undefined)\b', Keyword.Constant),CODE
HIGHlib/pygments/lexers/php.py225 (r'(true|false|null)\b', Keyword.Constant),CODE
HIGHlib/pygments/lexers/whiley.py58 (r'(true|false|null)\b', Keyword.Constant),CODE
HIGHlib/pygments/lexers/javascript.py99 (r'(true|false|null|NaN|Infinity|undefined)\b', Keyword.Constant),CODE
HIGHlib/pygments/lexers/javascript.py896 (r'(true|false|null|NaN|Infinity|undefined)\b', Keyword.Constant),CODE
HIGHlib/pygments/lexers/javascript.py1069 r'NaN|Infinity|undefined)\b',CODE
HIGHlib/pygments/lexers/fantom.py62 (r'\b(true|false|null)\b', Keyword.Constant), # Bool & nullCODE
HIGHlib/pygments/lexers/haxe.py435 (r'(?:true|false|null)\b', Keyword.Constant, ('#pop', 'expr-chain')),CODE
HIGHlib/jaraco/text/__init__.py552 null, prefix, rest = line.partition(self.prefix)STRING
HIGHlib/jaraco/text/__init__.py582 null, prefix, rest = text.rpartition(prefix)STRING
HIGHlib/jaraco/collections/__init__.py598 >>> stack.push(dict(a=3))STRING
HIGHlib/markdown_it/parser_block.py58 self.ruler.push(name, rule, {"alt": alt})CODE
HIGHlib/markdown_it/parser_core.py41 self.ruler.push(name, rule)CODE
HIGHlib/markdown_it/parser_inline.py59 self.ruler.push(name, rule)CODE
HIGHlib/markdown_it/parser_inline.py63 self.ruler2.push(name, rule2)CODE
HIGHlib/markdown_it/parser_inline.py120 # - return trueCOMMENT
HIGHlib/markdown_it/rules_block/html_block.py86 token = state.push("html_block", "", 0)CODE
HIGHlib/markdown_it/rules_block/list.py174 token = state.push("ordered_list_open", "ol", 1)CODE
HIGHlib/markdown_it/rules_block/list.py179 token = state.push("bullet_list_open", "ul", 1)CODE
HIGHlib/markdown_it/rules_block/list.py232 token = state.push("list_item_open", "li", 1)CODE
HIGHlib/markdown_it/rules_block/list.py284 token = state.push("list_item_close", "li", -1)CODE
HIGHlib/markdown_it/rules_block/list.py330 token = state.push("ordered_list_close", "ol", -1)CODE
HIGHlib/markdown_it/rules_block/list.py332 token = state.push("bullet_list_close", "ul", -1)CODE
HIGHlib/markdown_it/rules_block/fence.py95 token = state.push("fence", "code", 0)CODE
HIGHlib/markdown_it/rules_block/code.py32 token = state.push("code_block", "code", 0)CODE
HIGHlib/markdown_it/rules_block/lheading.py72 token = state.push("heading_open", "h" + str(level), 1)CODE
HIGHlib/markdown_it/rules_block/lheading.py76 token = state.push("inline", "", 0)CODE
HIGHlib/markdown_it/rules_block/lheading.py81 token = state.push("heading_close", "h" + str(level), -1)CODE
HIGHlib/markdown_it/rules_block/hr.py52 token = state.push("hr", "hr", 0)CODE
HIGHlib/markdown_it/rules_block/heading.py57 token = state.push("heading_open", "h" + str(level), 1)CODE
HIGHlib/markdown_it/rules_block/heading.py61 token = state.push("inline", "", 0)CODE
HIGHlib/markdown_it/rules_block/heading.py66 token = state.push("heading_close", "h" + str(level), -1)CODE
HIGHlib/markdown_it/rules_block/blockquote.py276 token = state.push("blockquote_open", "blockquote", 1)CODE
86 more matches not shown…
Hyper-Verbose Identifiers712 hits · 722 pts
SeverityFileLineSnippetContext
LOWlib/portend.py169def find_available_local_port():CODE
LOWlib/typing_extensions.py281 def _should_collect_from_parameters(t):CODE
LOWlib/typing_extensions.py286 def _should_collect_from_parameters(t):CODE
LOWlib/typing_extensions.py726 def _allow_reckless_class_checks(depth=2):CODE
LOWlib/typing_extensions.py1156 def _get_typeddict_qualifiers(annotation_type):CODE
LOWlib/typing_extensions.py1617 def _could_be_inserted_optional(t):CODE
LOWlib/typing_extensions.py2210def _create_concatenate_alias(origin, parameters):CODE
LOWlib/typing_extensions.py2680 def _typevartuple_prepare_subst(alias, args):CODE
LOWlib/typing_extensions.py3281def _has_generic_or_protocol_as_origin() -> bool:CODE
LOWlib/typing_extensions.py3303def _is_unpacked_typevartuple(x) -> bool:CODE
LOWlib/typing_extensions.py2607 def __typing_unpacked_tuple_args__(self):STRING
LOWlib/typing_extensions.py2618 def __typing_is_unpacked_typevartuple__(self):STRING
LOWlib/jwt/api_jwt.py424 def _validate_required_claims(CODE
LOWlib/zc/lockfile/tests.py46def many_threads_read_and_write():CODE
LOWlib/zc/lockfile/tests.py159 def test_unlock_and_lock_while_multiprocessing_process_running(self):CODE
LOWlib/paho/mqtt/client.py2946 def on_socket_unregister_write(CODE
LOWlib/paho/mqtt/client.py2952 def socket_unregister_write_callback(CODE
LOWlib/paho/mqtt/client.py2962 def _call_socket_unregister_write(CODE
LOWlib/paho/mqtt/client.py352def convert_connack_rc_to_reason_code(connack_code: ConnackCode) -> ReasonCode:CODE
LOWlib/paho/mqtt/client.py383def convert_disconnect_error_code_to_reason_code(rc: MQTTErrorCode) -> ReasonCode:CODE
LOWlib/paho/mqtt/client.py2172 def max_inflight_messages_set(self, inflight: int) -> None:CODE
LOWlib/paho/mqtt/client.py2898 def socket_register_write_callback(CODE
LOWlib/paho/mqtt/client.py2906 def _call_socket_register_write(self) -> None:CODE
LOWlib/paho/mqtt/client.py2925 def on_socket_unregister_write(CODE
LOWlib/paho/mqtt/client.py3318 def _filter_wildcard_len_check(sub: bytes) -> MQTTErrorCode:CODE
LOWlib/paho/mqtt/client.py3712 def _messages_reconnect_reset_out(self) -> None:CODE
LOWlib/paho/mqtt/client.py3741 def _messages_reconnect_reset_in(self) -> None:CODE
LOWlib/paho/mqtt/client.py3754 def _messages_reconnect_reset(self) -> None:CODE
LOWlib/paho/mqtt/client.py4627 def _create_unix_socket_connection(self) -> _socket.socket:CODE
LOWlib/paho/mqtt/client.py4632 def _create_socket_connection(self) -> _socket.socket:CODE
LOWlib/twitter/twitter_utils.py171def calc_expected_status_length(status, short_url_length=23):CODE
LOWlib/websocket/_handshake.py208def _create_sec_websocket_key() -> str:CODE
LOWlib/websocket/tests/test_ssl_edge_cases.py43 def test_ssl_handshake_failure(self):CODE
LOWlib/websocket/tests/test_ssl_edge_cases.py60 def test_ssl_certificate_verification_failures(self):CODE
LOWlib/websocket/tests/test_ssl_edge_cases.py77 def test_ssl_context_configuration_edge_cases(self):CODE
LOWlib/websocket/tests/test_ssl_edge_cases.py95 def test_ssl_ca_bundle_environment_edge_cases(self):CODE
LOWlib/websocket/tests/test_ssl_edge_cases.py133 def test_ssl_cipher_configuration_edge_cases(self):CODE
LOWlib/websocket/tests/test_ssl_edge_cases.py151 def test_ssl_ecdh_curve_edge_cases(self):CODE
LOWlib/websocket/tests/test_ssl_edge_cases.py167 def test_ssl_client_certificate_edge_cases(self):CODE
LOWlib/websocket/tests/test_ssl_edge_cases.py183 def test_ssl_want_read_write_retry_edge_cases(self):CODE
LOWlib/websocket/tests/test_ssl_edge_cases.py215 def test_ssl_want_write_retry_edge_cases(self):CODE
LOWlib/websocket/tests/test_ssl_edge_cases.py244 def test_ssl_eof_error_edge_cases(self):CODE
LOWlib/websocket/tests/test_ssl_edge_cases.py257 def test_ssl_pending_data_edge_cases(self):CODE
LOWlib/websocket/tests/test_ssl_edge_cases.py280 def test_ssl_renegotiation_edge_cases(self):CODE
LOWlib/websocket/tests/test_ssl_edge_cases.py307 def test_ssl_server_hostname_override(self):CODE
LOWlib/websocket/tests/test_ssl_edge_cases.py328 def test_ssl_protocol_version_edge_cases(self):CODE
LOWlib/websocket/tests/test_ssl_edge_cases.py345 def test_ssl_keylog_file_edge_cases(self):CODE
LOWlib/websocket/tests/test_ssl_edge_cases.py362 def test_ssl_context_verification_modes(self):CODE
LOWlib/websocket/tests/test_ssl_edge_cases.py386 def test_ssl_socket_shutdown_edge_cases(self):CODE
LOWlib/websocket/tests/test_ssl_edge_cases.py403 def test_ssl_socket_close_during_operation(self):CODE
LOWlib/websocket/tests/test_ssl_edge_cases.py419 def test_ssl_compression_edge_cases(self):CODE
LOWlib/websocket/tests/test_ssl_edge_cases.py438 def test_ssl_session_reuse_edge_cases(self):CODE
LOWlib/websocket/tests/test_ssl_edge_cases.py457 def test_ssl_alpn_protocol_edge_cases(self):CODE
LOWlib/websocket/tests/test_ssl_edge_cases.py497 def test_ssl_buffer_size_edge_cases(self):CODE
LOWlib/websocket/tests/test_ssl_edge_cases.py520 def test_ssl_protocol_downgrade_protection(self):CODE
LOWlib/websocket/tests/test_ssl_edge_cases.py537 def test_ssl_certificate_chain_validation(self):CODE
LOWlib/websocket/tests/test_ssl_edge_cases.py555 def test_ssl_weak_cipher_rejection(self):CODE
LOWlib/websocket/tests/test_ssl_edge_cases.py570 def test_ssl_hostname_verification_edge_cases(self):CODE
LOWlib/websocket/tests/test_ssl_edge_cases.py614 def test_ssl_memory_bio_edge_cases(self):CODE
LOWlib/websocket/tests/test_socket_bugs.py36 def test_bug_implicit_none_return_from_ssl_want_read_fixed(self):CODE
652 more matches not shown…
Cross-File Repetition119 hits · 595 pts
SeverityFileLineSnippetContext
HIGHlib/websocket/_logging.py0test_app.py websocket - websocket client library for python copyright 2025 engn33r licensed under the apache license, veSTRING
HIGHlib/websocket/_socket.py0test_app.py websocket - websocket client library for python copyright 2025 engn33r licensed under the apache license, veSTRING
HIGHlib/websocket/_url.py0test_app.py websocket - websocket client library for python copyright 2025 engn33r licensed under the apache license, veSTRING
HIGHlib/websocket/_http.py0test_app.py websocket - websocket client library for python copyright 2025 engn33r licensed under the apache license, veSTRING
HIGHlib/websocket/_wsdump.py0test_app.py websocket - websocket client library for python copyright 2025 engn33r licensed under the apache license, veSTRING
HIGHlib/websocket/_ssl_compat.py0test_app.py websocket - websocket client library for python copyright 2025 engn33r licensed under the apache license, veSTRING
HIGHlib/websocket/_handshake.py0test_app.py websocket - websocket client library for python copyright 2025 engn33r licensed under the apache license, veSTRING
HIGHlib/websocket/_dispatcher.py0test_app.py websocket - websocket client library for python copyright 2025 engn33r licensed under the apache license, veSTRING
HIGHlib/websocket/__init__.py0test_app.py websocket - websocket client library for python copyright 2025 engn33r licensed under the apache license, veSTRING
HIGHlib/websocket/_app.py0test_app.py websocket - websocket client library for python copyright 2025 engn33r licensed under the apache license, veSTRING
HIGHlib/websocket/_abnf.py0test_app.py websocket - websocket client library for python copyright 2025 engn33r licensed under the apache license, veSTRING
HIGHlib/websocket/_core.py0test_app.py websocket - websocket client library for python copyright 2025 engn33r licensed under the apache license, veSTRING
HIGHlib/websocket/_cookiejar.py0test_app.py websocket - websocket client library for python copyright 2025 engn33r licensed under the apache license, veSTRING
HIGHlib/websocket/_exceptions.py0test_app.py websocket - websocket client library for python copyright 2025 engn33r licensed under the apache license, veSTRING
HIGHlib/websocket/_utils.py0test_app.py websocket - websocket client library for python copyright 2025 engn33r licensed under the apache license, veSTRING
HIGHlib/websocket/tests/test_ssl_edge_cases.py0test_app.py websocket - websocket client library for python copyright 2025 engn33r licensed under the apache license, veSTRING
HIGHlib/websocket/tests/test_utils.py0test_app.py websocket - websocket client library for python copyright 2025 engn33r licensed under the apache license, veSTRING
HIGHlib/websocket/tests/test_socket_bugs.py0test_app.py websocket - websocket client library for python copyright 2025 engn33r licensed under the apache license, veSTRING
HIGHlib/websocket/tests/test_large_payloads.py0test_app.py websocket - websocket client library for python copyright 2025 engn33r licensed under the apache license, veSTRING
HIGHlib/websocket/tests/test_cookiejar.py0test_app.py websocket - websocket client library for python copyright 2025 engn33r licensed under the apache license, veSTRING
HIGHlib/websocket/tests/test_websocket.py0test_app.py websocket - websocket client library for python copyright 2025 engn33r licensed under the apache license, veSTRING
HIGHlib/websocket/tests/test_abnf.py0test_app.py websocket - websocket client library for python copyright 2025 engn33r licensed under the apache license, veSTRING
HIGHlib/websocket/tests/test_socket.py0test_app.py websocket - websocket client library for python copyright 2025 engn33r licensed under the apache license, veSTRING
HIGHlib/websocket/tests/test_handshake_large_response.py0test_app.py websocket - websocket client library for python copyright 2025 engn33r licensed under the apache license, veSTRING
HIGHlib/websocket/tests/test_http.py0test_app.py websocket - websocket client library for python copyright 2025 engn33r licensed under the apache license, veSTRING
HIGHlib/websocket/tests/test_url.py0test_app.py websocket - websocket client library for python copyright 2025 engn33r licensed under the apache license, veSTRING
HIGHlib/websocket/tests/test_dispatcher.py0test_app.py websocket - websocket client library for python copyright 2025 engn33r licensed under the apache license, veSTRING
HIGHlib/websocket/tests/test_ssl_compat.py0test_app.py websocket - websocket client library for python copyright 2025 engn33r licensed under the apache license, veSTRING
HIGHlib/websocket/tests/test_app.py0test_app.py websocket - websocket client library for python copyright 2025 engn33r licensed under the apache license, veSTRING
HIGHlib/oauthlib/oauth2/rfc8628/__init__.py0oauthlib.oauth2.rfc8628 ~~~~~~~~~~~~~~~~~~~~~~~ this module is an implementation of various logic needed for consuming aSTRING
HIGHlib/oauthlib/oauth2/rfc8628/clients/device.py0oauthlib.oauth2.rfc8628 ~~~~~~~~~~~~~~~~~~~~~~~ this module is an implementation of various logic needed for consuming aSTRING
HIGHlib/oauthlib/oauth2/rfc8628/endpoints/__init__.py0oauthlib.oauth2.rfc8628 ~~~~~~~~~~~~~~~~~~~~~~~ this module is an implementation of various logic needed for consuming aSTRING
HIGHlib/oauthlib/oauth2/rfc8628/clients/__init__.py0oauthlib.oauth2.rfc8628 ~~~~~~~~~~~~~~~~~~~~~~~ this module is an implementation of various logic needed for consuming aSTRING
HIGH…thlib/oauth2/rfc8628/endpoints/device_authorization.py0oauthlib.oauth2.rfc8628 ~~~~~~~~~~~~~~~~~~~~~~~ this module is an implementation of various logic needed for consuming aSTRING
HIGHlib/oauthlib/oauth2/rfc8628/grant_types/device_code.py0return token or error in json format. :param request: oauthlib request. :type request: oauthlib.common.request :param toSTRING
HIGH…749/grant_types/resource_owner_password_credentials.py0return token or error in json format. :param request: oauthlib request. :type request: oauthlib.common.request :param toSTRING
HIGH…thlib/oauth2/rfc6749/grant_types/client_credentials.py0return token or error in json format. :param request: oauthlib request. :type request: oauthlib.common.request :param toSTRING
HIGHlib/oauthlib/oauth2/rfc6749/__init__.py0oauthlib.oauth2.rfc6749 ~~~~~~~~~~~~~~~~~~~~~~~ this module is an implementation of various logic needed for consuming oSTRING
HIGHlib/oauthlib/oauth2/rfc6749/clients/web_application.py0oauthlib.oauth2.rfc6749 ~~~~~~~~~~~~~~~~~~~~~~~ this module is an implementation of various logic needed for consuming oSTRING
HIGH…/oauthlib/oauth2/rfc6749/clients/mobile_application.py0oauthlib.oauth2.rfc6749 ~~~~~~~~~~~~~~~~~~~~~~~ this module is an implementation of various logic needed for consuming oSTRING
HIGH…/oauthlib/oauth2/rfc6749/clients/legacy_application.py0oauthlib.oauth2.rfc6749 ~~~~~~~~~~~~~~~~~~~~~~~ this module is an implementation of various logic needed for consuming oSTRING
HIGH…oauthlib/oauth2/rfc6749/clients/backend_application.py0oauthlib.oauth2.rfc6749 ~~~~~~~~~~~~~~~~~~~~~~~ this module is an implementation of various logic needed for consuming oSTRING
HIGH…oauthlib/oauth2/rfc6749/clients/service_application.py0oauthlib.oauth2.rfc6749 ~~~~~~~~~~~~~~~~~~~~~~~ this module is an implementation of various logic needed for consuming oSTRING
HIGHlib/oauthlib/oauth2/rfc6749/endpoints/token.py0oauthlib.oauth2.rfc6749 ~~~~~~~~~~~~~~~~~~~~~~~ this module is an implementation of various logic needed for consuming oSTRING
HIGHlib/oauthlib/oauth2/rfc6749/endpoints/resource.py0oauthlib.oauth2.rfc6749 ~~~~~~~~~~~~~~~~~~~~~~~ this module is an implementation of various logic needed for consuming oSTRING
HIGHlib/oauthlib/oauth2/rfc6749/endpoints/__init__.py0oauthlib.oauth2.rfc6749 ~~~~~~~~~~~~~~~~~~~~~~~ this module is an implementation of various logic needed for consuming oSTRING
HIGHlib/oauthlib/oauth2/rfc6749/endpoints/authorization.py0oauthlib.oauth2.rfc6749 ~~~~~~~~~~~~~~~~~~~~~~~ this module is an implementation of various logic needed for consuming oSTRING
HIGHlib/oauthlib/oauth2/rfc6749/endpoints/base.py0oauthlib.oauth2.rfc6749 ~~~~~~~~~~~~~~~~~~~~~~~ this module is an implementation of various logic needed for consuming oSTRING
HIGHlib/oauthlib/oauth2/rfc6749/clients/__init__.py0oauthlib.oauth2.rfc6749 ~~~~~~~~~~~~~~~~~~~~~~~ this module is an implementation of various logic needed for consuming oSTRING
HIGHlib/oauthlib/oauth2/rfc6749/clients/base.py0oauthlib.oauth2.rfc6749 ~~~~~~~~~~~~~~~~~~~~~~~ this module is an implementation of various logic needed for consuming oSTRING
HIGHlib/oauthlib/oauth2/rfc6749/tokens.py0:param request: oauthlib request. :type request: oauthlib.common.requestSTRING
HIGHlib/oauthlib/oauth2/rfc6749/grant_types/implicit.py0:param request: oauthlib request. :type request: oauthlib.common.requestSTRING
HIGH…b/oauthlib/oauth2/rfc6749/grant_types/refresh_token.py0:param request: oauthlib request. :type request: oauthlib.common.requestSTRING
HIGH…thlib/oauth2/rfc6749/grant_types/authorization_code.py0:param request: oauthlib request. :type request: oauthlib.common.requestSTRING
HIGH…thlib/oauth2/rfc6749/grant_types/client_credentials.py0:param request: oauthlib request. :type request: oauthlib.common.requestSTRING
HIGHlib/oauthlib/oauth2/rfc6749/grant_types/base.py0:param request: oauthlib request. :type request: oauthlib.common.requestSTRING
HIGH…749/grant_types/resource_owner_password_credentials.py0oauthlib.oauth2.rfc6749.grant_types ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~STRING
HIGHlib/oauthlib/oauth2/rfc6749/grant_types/__init__.py0oauthlib.oauth2.rfc6749.grant_types ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~STRING
HIGHlib/oauthlib/oauth2/rfc6749/grant_types/implicit.py0oauthlib.oauth2.rfc6749.grant_types ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~STRING
HIGH…b/oauthlib/oauth2/rfc6749/grant_types/refresh_token.py0oauthlib.oauth2.rfc6749.grant_types ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~STRING
59 more matches not shown…
Excessive Try-Catch Wrapping508 hits · 533 pts
SeverityFileLineSnippetContext
LOWlib/typing_extensions.py947 except Exception as e:CODE
LOWlib/paho/mqtt/client.py1480 except Exception: # noqa: S110CODE
LOWlib/paho/mqtt/client.py1592 except Exception as err:CODE
LOWlib/paho/mqtt/client.py1680 except Exception:CODE
LOWlib/paho/mqtt/client.py2821 except Exception as err:CODE
LOWlib/paho/mqtt/client.py2868 except Exception as err:CODE
LOWlib/paho/mqtt/client.py2918 except Exception as err:CODE
LOWlib/paho/mqtt/client.py2977 except Exception as err:CODE
LOWlib/paho/mqtt/client.py3210 except Exception as err:CODE
LOWlib/paho/mqtt/client.py3254 except Exception: # noqa: S110CODE
LOWlib/paho/mqtt/client.py3275 except Exception:CODE
LOWlib/paho/mqtt/client.py3943 except Exception as err:CODE
LOWlib/paho/mqtt/client.py4085 except Exception as err:CODE
LOWlib/paho/mqtt/client.py4337 except Exception as err:CODE
LOWlib/paho/mqtt/client.py4392 except Exception as err:CODE
LOWlib/paho/mqtt/client.py4421 except Exception as err:CODE
LOWlib/paho/mqtt/client.py4488 except Exception as err:CODE
LOWlib/paho/mqtt/client.py4502 except Exception as err:CODE
LOWlib/paho/mqtt/client.py4517 except Exception as err:CODE
LOWlib/twitter/twitter_utils.py265 except Exception as e:CODE
LOWlib/twitter/api.py1371 except Exception as e:CODE
LOWlib/websocket/_wsdump.py243 except Exception as e:CODE
LOWlib/websocket/_app.py250 except Exception as e:CODE
LOWlib/websocket/_app.py615 except Exception as e:CODE
LOWlib/requests_oauthlib/oauth1_session.py20 except Exception:CODE
LOWlib/oauthlib/oauth2/rfc6749/endpoints/base.py106 except Exception as e:CODE
LOWlib/oauthlib/openid/connect/core/grant_types/base.py44 except Exception as ex:CODE
LOWlib/bleach/_vendor/html5lib/_inputstream.py446 except Exception:CODE
LOWlib/bleach/_vendor/html5lib/_utils.py38except Exception:CODE
LOWlib/pygments/util.py127 except Exception:STRING
MEDIUMlib/pygments/util.py124def text_analyse(text):CODE
MEDIUMlib/pygments/cmdline.py345 print('Error: -s option not usable when input file specified',CODE
LOWlib/pygments/cmdline.py353 except Exception as err:CODE
MEDIUMlib/pygments/cmdline.py354 print('Error: cannot read infile:', err, file=sys.stderr)CODE
MEDIUMlib/pygments/cmdline.py391 print('Error: when using -s a lexer has to be selected with -l',CODE
LOWlib/pygments/cmdline.py443 except Exception as err:CODE
MEDIUMlib/pygments/cmdline.py444 print('Error: cannot open outfile:', err, file=sys.stderr)CODE
LOWlib/pygments/cmdline.py522 except Exception:CODE
LOWlib/pygments/cmdline.py644 except Exception:CODE
MEDIUMlib/pygments/cmdline.py67def _print_help(what, name):CODE
LOWlib/pygments/lexer.py580 except Exception as err:CODE
LOWlib/pygments/lexers/__init__.py165 except Exception as err:CODE
LOWlib/pygments/formatters/__init__.py114 except Exception as err:CODE
LOWlib/mako/pyparser.py41 except Exception as e:CODE
LOWlib/mako/runtime.py781 except Exception:CODE
LOWlib/mako/runtime.py930 except Exception:CODE
LOWlib/mako/template.py785 except Exception:CODE
LOWlib/mako/testing/_config.py78 except Exception as e:CODE
LOWlib/rumps/_internal.py64 except Exception as e:CODE
MEDIUMlib/rumps/_internal.py60def wrapper(*args, **kwargs):CODE
LOWlib/rumps/events.py30 except Exception:CODE
LOWlib/rumps/rumps.py734 except Exception:CODE
LOWlib/rumps/rumps.py1002 except Exception:CODE
LOWlib/rumps/notifications.py52 except Exception:CODE
LOWlib/rumps/notifications.py85 except Exception:CODE
LOWlib/rumps/notifications.py115 except Exception:CODE
LOWlib/typer/main.py1136 except Exception as e:CODE
LOWlib/colorama/ansitowin32.py99 except Exception:CODE
MEDIUMlib/configobj/__init__.py738def _getval(key):CODE
LOWlib/configobj/__init__.py893 except Exception:CODE
448 more matches not shown…
Modern Structural Boilerplate474 hits · 472 pts
SeverityFileLineSnippetContext
LOWlib/profilehooks.py106__all__ = ['coverage', 'profile', 'timecall']CODE
LOWlib/typing_extensions.py21__all__ = [CODE
LOWlib/jwt/__init__.py46__all__ = [CODE
LOWlib/paho/mqtt/client.py532 def _set_as_published(self) -> None:CODE
LOWlib/twitter/api.py80logger = logging.getLogger(__name__)CODE
LOWlib/websocket/_logging.py36__all__ = [CODE
LOWlib/websocket/_socket.py44__all__ = [CODE
LOWlib/websocket/_url.py26__all__ = ["parse_url", "get_proxy_info"]CODE
LOWlib/websocket/_http.py35__all__ = ["proxy_info", "connect", "read_headers"]CODE
LOWlib/websocket/_ssl_compat.py37__all__ = [CODE
LOWlib/websocket/_handshake.py32__all__ = ["handshake_response", "handshake", "SUPPORTED_REDIRECT_STATUSES"]CODE
LOWlib/websocket/_app.py38__all__ = ["WebSocketApp"]CODE
LOWlib/websocket/_app.py43def set_reconnect(reconnectInterval: int) -> None:CODE
LOWlib/websocket/_abnf.py54__all__ = [CODE
LOWlib/websocket/_core.py41__all__ = ["WebSocket", "create_connection"]CODE
LOWlib/websocket/_utils.py21__all__ = ["NoLock", "validate_utf8", "extract_err_message", "extract_error_code"]CODE
LOWlib/defusedxml/cElementTree.py52__all__ = [CODE
LOWlib/defusedxml/__init__.py61__all__ = [CODE
LOWlib/defusedxml/ElementTree.py144__all__ = [CODE
LOWlib/bleach/__init__.py19__all__ = ["clean", "linkify"]CODE
LOWlib/bleach/_vendor/parse.py34__all__ = ["urlparse", "urlunparse", "urljoin", "urldefrag",CODE
LOWlib/bleach/_vendor/html5lib/__init__.py30__all__ = ["HTMLParser", "parse", "parseFragment", "getTreeBuilder",CODE
LOWlib/bleach/_vendor/html5lib/_utils.py21__all__ = ["default_etree", "MethodDispatcher", "isSurrogatePair",CODE
LOWlib/bleach/_vendor/html5lib/filters/sanitizer.py20__all__ = ["Filter"]CODE
LOWlib/bleach/_vendor/html5lib/treewalkers/__init__.py16__all__ = ["getTreeWalker", "pprint"]CODE
LOWlib/bleach/_vendor/html5lib/treewalkers/base.py6__all__ = ["DOCUMENT", "DOCTYPE", "TEXT", "ELEMENT", "COMMENT", "ENTITY", "UNKNOWN",CODE
LOWlib/bleach/_vendor/html5lib/_trie/__init__.py5__all__ = ["Trie"]CODE
LOWlib/bleach/_vendor/html5lib/treeadapters/__init__.py23__all__ = ["sax"]CODE
LOWlib/pygments/modeline.py13__all__ = ['get_filetype_from_buffer']CODE
LOWlib/pygments/formatter.py16__all__ = ['Formatter']CODE
LOWlib/pygments/__init__.py32__all__ = ['lex', 'format', 'highlight']CODE
LOWlib/pygments/lexer.py22__all__ = ['Lexer', 'RegexLexer', 'ExtendedRegexLexer', 'DelegatingLexer',CODE
LOWlib/pygments/lexers/soong.py15__all__ = ['SoongLexer']CODE
LOWlib/pygments/lexers/c_like.py21__all__ = ['PikeLexer', 'NesCLexer', 'ClayLexer', 'ECLexer', 'ValaLexer',CODE
LOWlib/pygments/lexers/ampl.py15__all__ = ['AmplLexer']CODE
LOWlib/pygments/lexers/agile.py25__all__ = []CODE
LOWlib/pygments/lexers/graphics.py16__all__ = ['GLShaderLexer', 'PostScriptLexer', 'AsymptoteLexer', 'GnuplotLexer',CODE
LOWlib/pygments/lexers/hdl.py17__all__ = ['VerilogLexer', 'SystemVerilogLexer', 'VhdlLexer']CODE
LOWlib/pygments/lexers/ecl.py17__all__ = ['ECLLexer']CODE
LOWlib/pygments/lexers/futhark.py16__all__ = ['FutharkLexer']CODE
LOWlib/pygments/lexers/ada.py19__all__ = ['AdaLexer']CODE
LOWlib/pygments/lexers/console.py15__all__ = ['VCTreeStatusLexer', 'PyPyLogLexer']CODE
LOWlib/pygments/lexers/mime.py18__all__ = ["MIMELexer"]CODE
LOWlib/pygments/lexers/capnproto.py14__all__ = ['CapnProtoLexer']CODE
LOWlib/pygments/lexers/nimrod.py17__all__ = ['NimrodLexer']CODE
LOWlib/pygments/lexers/rebol.py17__all__ = ['RebolLexer', 'RedLexer']CODE
LOWlib/pygments/lexers/objective.py20__all__ = ['ObjectiveCLexer', 'ObjectiveCppLexer', 'LogosLexer', 'SwiftLexer']CODE
LOWlib/pygments/lexers/sas.py16__all__ = ['SASLexer']CODE
LOWlib/pygments/lexers/phix.py17__all__ = ['PhixLexer']CODE
LOWlib/pygments/lexers/graphql.py20__all__ = ["GraphQLLexer"]CODE
LOWlib/pygments/lexers/usd.py18__all__ = ["UsdLexer"]CODE
LOWlib/pygments/lexers/crystal.py18__all__ = ['CrystalLexer']CODE
LOWlib/pygments/lexers/verifpal.py15__all__ = ['VerifpalLexer']CODE
LOWlib/pygments/lexers/web.py24__all__ = []CODE
LOWlib/pygments/lexers/ldap.py18__all__ = ['LdifLexer', 'LdaprcLexer']CODE
LOWlib/pygments/lexers/verification.py15__all__ = ['BoogieLexer', 'SilverLexer']CODE
LOWlib/pygments/lexers/erlang.py18__all__ = ['ErlangLexer', 'ErlangShellLexer', 'ElixirConsoleLexer',CODE
LOWlib/pygments/lexers/apdlexer.py17__all__ = ['apdlexer']CODE
LOWlib/pygments/lexers/slash.py15__all__ = ['SlashLexer']CODE
LOWlib/pygments/lexers/boa.py15__all__ = ['BoaLexer']CODE
414 more matches not shown…
Self-Referential Comments164 hits · 450 pts
SeverityFileLineSnippetContext
MEDIUMTautulli.py5# This file is part of Tautulli.COMMENT
MEDIUMPlexPy.py5# This file is part of Tautulli.COMMENT
MEDIUMlib/mdurl/_encode.py15# Create a lookup array where anything but characters in `chars` stringCOMMENT
MEDIUMlib/websocket/tests/test_large_payloads.py68 # Create a large payload that would trigger chunked readingCOMMENT
MEDIUMlib/websocket/tests/test_socket.py334 # Create a scenario where send succeeds after selector retryCOMMENT
MEDIUMlib/websocket/tests/test_handshake_large_response.py35 # Create a large error response body (> 16KB)COMMENT
MEDIUMlib/webencodings/labels.py14# This file is automatically generated by mklabels.pyCOMMENT
MEDIUMlib/webencodings/mklabels.py40# This file is automatically generated by mklabels.pyCOMMENT
MEDIUMlib/defusedxml/cElementTree.py21# This module is an alias for ElementTree just like xml.etree.cElementTreeCOMMENT
MEDIUMlib/oauthlib/oauth2/rfc6749/tokens.py135 # Create the normalized base stringCOMMENT
MEDIUMlib/bleach/linkifier.py142 # Create a parser/tokenizer that allows all HTML tags and escapesSTRING
MEDIUMlib/bleach/_vendor/html5lib/_tokenizer.py229 """This method is a generic handler for emitting the tags. It also setsSTRING
MEDIUMlib/bleach/_vendor/html5lib/treebuilders/etree_lxml.py372 # Create the root document and add the ElementTree to itCOMMENT
MEDIUMlib/mako/pyparser.py4# This module is part of Mako and is released underCOMMENT
MEDIUMlib/mako/cmd.py4# This module is part of Mako and is released underCOMMENT
MEDIUMlib/mako/compat.py4# This module is part of Mako and is released underCOMMENT
MEDIUMlib/mako/util.py4# This module is part of Mako and is released underCOMMENT
MEDIUMlib/mako/_ast_util.py4# This module is part of Mako and is released underCOMMENT
MEDIUMlib/mako/lookup.py4# This module is part of Mako and is released underCOMMENT
MEDIUMlib/mako/cache.py4# This module is part of Mako and is released underCOMMENT
MEDIUMlib/mako/__init__.py4# This module is part of Mako and is released underCOMMENT
MEDIUMlib/mako/runtime.py4# This module is part of Mako and is released underCOMMENT
MEDIUMlib/mako/lexer.py4# This module is part of Mako and is released underCOMMENT
MEDIUMlib/mako/template.py4# This module is part of Mako and is released underCOMMENT
MEDIUMlib/mako/ast.py4# This module is part of Mako and is released underCOMMENT
MEDIUMlib/mako/exceptions.py4# This module is part of Mako and is released underCOMMENT
MEDIUMlib/mako/parsetree.py4# This module is part of Mako and is released underCOMMENT
MEDIUMlib/mako/codegen.py4# This module is part of Mako and is released underCOMMENT
MEDIUMlib/mako/filters.py4# This module is part of Mako and is released underCOMMENT
MEDIUMlib/mako/pygen.py4# This module is part of Mako and is released underCOMMENT
MEDIUMlib/mako/ext/linguaplugin.py4# This module is part of Mako and is released underCOMMENT
MEDIUMlib/mako/ext/preprocessors.py4# This module is part of Mako and is released underCOMMENT
MEDIUMlib/mako/ext/beaker_cache.py4# This module is part of Mako and is released underCOMMENT
MEDIUMlib/mako/ext/autohandler.py4# This module is part of Mako and is released underCOMMENT
MEDIUMlib/mako/ext/babelplugin.py4# This module is part of Mako and is released underCOMMENT
MEDIUMlib/mako/ext/extract.py4# This module is part of Mako and is released underCOMMENT
MEDIUMlib/mako/ext/pygmentplugin.py4# This module is part of Mako and is released underCOMMENT
MEDIUMlib/mako/ext/turbogears.py4# This module is part of Mako and is released underCOMMENT
MEDIUMlib/typer/completion.py63# Create a fake command function to extract the completion parametersCOMMENT
MEDIUMlib/typer/main.py1180 # Create a GroupCOMMENT
MEDIUMlib/typer/main.py1187 # Create a single CommandCOMMENT
MEDIUMlib/past/translation/__init__.py171# The following method is used by Sanjay Vinip in uprefix. This fails forCOMMENT
MEDIUMlib/arrow/arrow.py1370 # Create a locale object based off given localCOMMENT
MEDIUMlib/arrow/arrow.py1383 # Create an object containing the relative time infoCOMMENT
MEDIUMlib/arrow/arrow.py1388 # Create an object representing if unit has been seenCOMMENT
MEDIUMlib/arrow/arrow.py1394 # Create a regex pattern object for numbersCOMMENT
MEDIUMlib/soupsieve/css_parser.py1134 # Initialize important variablesSTRING
MEDIUMlib/cherrypy/test/test_auth_digest.py1# This file is part of CherryPy <http://www.cherrypy.dev/>COMMENT
MEDIUMlib/cherrypy/test/test_auth_basic.py1# This file is part of CherryPy <http://www.cherrypy.dev/>COMMENT
MEDIUMlib/cherrypy/lib/auth_basic.py1# This file is part of CherryPy <http://www.cherrypy.org/>COMMENT
MEDIUMlib/cherrypy/lib/auth_digest.py1# This file is part of CherryPy <http://www.cherrypy.org/>COMMENT
MEDIUMlib/cherrypy/process/wspbus.py298 # This method is often called asynchronously (whether thread,COMMENT
MEDIUMlib/idna/idnadata.py1# This file is automatically generated by tools/idna-dataCOMMENT
MEDIUMlib/idna/uts46data.py1# This file is automatically generated by tools/idna-dataCOMMENT
MEDIUMlib/bs4/__init__.py781 """This method is part of the PageElement API, but `BeautifulSoup` doesn't implementSTRING
MEDIUMlib/bs4/__init__.py789 """This method is part of the PageElement API, but `BeautifulSoup` doesn't implementSTRING
MEDIUMlib/bs4/dammit.py495 """This class is capable of guessing a number of possible encodingsSTRING
MEDIUMlib/bs4/builder/_html5lib.py399 # Create a brand new NavigableString from this string.COMMENT
MEDIUMlib/click/_winconsole.py1# This module is based on the excellent work by Adam Bartoš whoCOMMENT
MEDIUMlib/click/core.py2358 # Define the conversion function based on nargs and type.STRING
104 more matches not shown…
Over-Commented Block401 hits · 392 pts
SeverityFileLineSnippetContext
LOWTautulli.py1#!/usr/bin/env pythonCOMMENT
LOWPlexPy.py1#!/usr/bin/env pythonCOMMENT
LOWlib/six.py1# Copyright (c) 2010-2024 Benjamin PetersonCOMMENT
LOWlib/mdurl/_parse.py1# Copyright Joyent, Inc. and other Node contributors.COMMENT
LOWlib/mdurl/_parse.py21COMMENT
LOWlib/mdurl/_parse.py161 # comes *before* the @-sign.COMMENT
LOWlib/zc/lockfile/__init__.py1##############################################################################COMMENT
LOWlib/zc/lockfile/tests.py1##############################################################################COMMENT
LOWlib/paho/mqtt/subscribe.py1# Copyright (c) 2016 Roger Light <roger@atchoo.org>COMMENT
LOWlib/paho/mqtt/properties.py1# *******************************************************************COMMENT
LOWlib/paho/mqtt/client.py1# Copyright (c) 2012-2019 Roger Light and othersCOMMENT
LOWlib/paho/mqtt/reasoncodes.py1# *******************************************************************COMMENT
LOWlib/paho/mqtt/publish.py1# Copyright (c) 2014 Roger Light <roger@atchoo.org>COMMENT
LOWlib/twitter/__init__.py1#!/usr/bin/env pythonCOMMENT
LOWlib/twitter/api.py1#!/usr/bin/env pythonCOMMENT
LOWlib/requests_oauthlib/oauth2_session.py281COMMENT
LOW…thlib/oauth2/rfc6749/grant_types/authorization_code.py361 # https://tools.ietf.org/html/rfc6749#section-3.1.2COMMENT
LOWlib/oauthlib/openid/connect/core/grant_types/base.py101 # Fallback for asking some help from oauthlib framework.COMMENT
LOWlib/oauthlib/openid/connect/core/grant_types/base.py121 # - code id_token token (Hybrid)COMMENT
LOWlib/oauthlib/oauth1/rfc5849/__init__.py321 "instead of {}".format(content_type or "not set",COMMENT
LOWlib/oauthlib/oauth1/rfc5849/signature.py81 base_string = utils.escape(http_method.upper())COMMENT
LOWlib/oauthlib/oauth1/rfc5849/signature.py141COMMENT
LOWlib/oauthlib/oauth1/rfc5849/signature.py221 # other components are to be encoded or not.COMMENT
LOWlib/oauthlib/oauth1/rfc5849/signature.py261 params = []COMMENT
LOWlib/oauthlib/oauth1/rfc5849/signature.py281 # values are decoded as defined by `Section 3.5.1`_.COMMENT
LOWlib/oauthlib/oauth1/rfc5849/signature.py341COMMENT
LOWlib/oauthlib/oauth1/rfc5849/signature.py381 .. _`section 3.4.2`: https://tools.ietf.org/html/rfc5849#section-3.4.2COMMENT
LOWlib/oauthlib/oauth1/rfc5849/signature.py721COMMENT
LOWlib/oauthlib/oauth1/rfc5849/endpoints/resource.py101 request.client_key = self.request_validator.dummy_clientCOMMENT
LOWlib/oauthlib/oauth1/rfc5849/endpoints/resource.py121 #COMMENT
LOWlib/oauthlib/oauth1/rfc5849/endpoints/request_token.py141COMMENT
LOWlib/oauthlib/oauth1/rfc5849/endpoints/request_token.py161 # Note that early exit would enable client realm access enumeration.COMMENT
LOWlib/oauthlib/oauth1/rfc5849/endpoints/base.py121COMMENT
LOWlib/bleach/linkifier.py261 def extract_character_data(self, token_list):COMMENT
LOWlib/bleach/html5lib_shim.py381 last_error_token["data"] == "expected-closing-tag-but-got-char"COMMENT
LOWlib/bleach/html5lib_shim.py441 # * more characters repeated with a space between (e.g. "abc abc")COMMENT
LOWlib/bleach/html5lib_shim.py721 #COMMENT
LOWlib/bleach/_vendor/html5lib/html5parser.py1421 # the list of active formatting elements that:COMMENT
LOWlib/bleach/_vendor/html5lib/filters/optionaltags.py61 # A colgroup element's start tag may be omitted if the first thingCOMMENT
LOWlib/bleach/_vendor/html5lib/filters/optionaltags.py161 if type in ("Comment", "SpaceCharacters"):COMMENT
LOWlib/pygments/lexer.py681 #: ``new_state`` can be omitted to signify no state transition.COMMENT
LOWlib/pygments/lexers/configs.py1141 tokens = {COMMENT
LOWlib/pygments/lexers/inferno.py81 # Any limbo module implements somethingCOMMENT
LOWlib/pygments/lexers/lisp.py181 yield match.start(), token_type, match.group()COMMENT
LOWlib/pygments/lexers/lisp.py3101 # non-empty content enclosed by a pair of n-backticksCOMMENT
LOWlib/pygments/lexers/scripting.py1301 version_added = '2.1'COMMENT
LOWlib/pygments/lexers/matlab.py2821 version_added = '1.5'COMMENT
LOWlib/pygments/lexers/lilypond.py101 # "list splicing operators".COMMENT
LOWlib/pygments/lexers/lilypond.py121 """, Token.Punctuation),COMMENT
LOWlib/pygments/lexers/markup.py581 'inline': [COMMENT
LOWlib/pygments/lexers/ml.py521 String.Char),COMMENT
LOWlib/pygments/lexers/ml.py541 # unfortunately, i don't know how to match the ']' inCOMMENT
LOWlib/pygments/lexers/ml.py581 # it is quite painful to have to parse types to know where they endCOMMENT
LOWlib/pygments/lexers/ml.py681 # ],COMMENT
LOWlib/pygments/lexers/bqn.py41 # '#' is a comment that continues to the end of the lineCOMMENT
LOWlib/pygments/lexers/bqn.py61 # ===================COMMENT
LOWlib/pygments/lexers/bqn.py81 # 1-ModifiersCOMMENT
LOWlib/pygments/lexers/bqn.py101 #COMMENT
LOWlib/pygments/lexers/csound.py321 (r'\}\}', String, '#pop'),COMMENT
LOWlib/pygments/lexers/minecraft.py221 ## Generic Property ContainerCOMMENT
341 more matches not shown…
Decorative Section Separators88 hits · 276 pts
SeverityFileLineSnippetContext
MEDIUMlib/paho/mqtt/client.py3032 # ============================================================COMMENT
MEDIUMlib/paho/mqtt/client.py3034 # ============================================================COMMENT
MEDIUMlib/pygments/lexer.py323# ------------------------------------------------------------------------------COMMENT
MEDIUMlib/pygments/lexers/_googlesql_builtins.py19# ----------------------------------------------------------------------------COMMENT
MEDIUMlib/pygments/lexers/bqn.py36 # ==========COMMENT
MEDIUMlib/pygments/lexers/bqn.py50 # ==============COMMENT
MEDIUMlib/pygments/lexers/bqn.py55 # ===========COMMENT
MEDIUMlib/pygments/lexers/bqn.py61 # ===================COMMENT
MEDIUMlib/pygments/lexers/bqn.py76 # ===========COMMENT
MEDIUMlib/pygments/lexers/bqn.py82 # ===========COMMENT
MEDIUMlib/pygments/lexers/bqn.py99 # ====================COMMENT
MEDIUMlib/pygments/lexers/bqn.py107 # ================COMMENT
MEDIUMlib/pygments/lexers/apl.py34 # ==========COMMENT
MEDIUMlib/pygments/lexers/apl.py48 # ===========COMMENT
MEDIUMlib/pygments/lexers/apl.py54 # ==============COMMENT
MEDIUMlib/pygments/lexers/apl.py60 # ===================COMMENT
MEDIUMlib/pygments/lexers/apl.py81 # ==========COMMENT
MEDIUMlib/pygments/lexers/apl.py91 # ===========COMMENT
MEDIUMlib/pygments/lexers/apl.py95 # =================COMMENT
MEDIUMlib/pygments/lexers/sql.py792 # ---------------------------COMMENT
MEDIUMlib/pygments/lexers/sql.py810 # ----------------COMMENT
MEDIUMlib/pygments/lexers/sql.py827 # ------------------COMMENT
MEDIUMlib/pygments/lexers/sql.py848 # ----------------------------COMMENT
MEDIUMlib/pygments/lexers/sql.py974 # ---------------------------COMMENT
MEDIUMlib/pygments/lexers/sql.py983 # ----------------COMMENT
MEDIUMlib/pygments/lexers/sql.py1000 # ------------------COMMENT
MEDIUMlib/pygments/lexers/sql.py1021 # ----------------------------COMMENT
MEDIUMlib/pygments/lexers/_mysql_builtins.py109# -----------------------------------------------------------------------------COMMENT
MEDIUMlib/cherrypy/test/test_dynamicobjectmapping.py70 # -------------------------------------------------------------------------COMMENT
MEDIUMlib/backports/tarfile/__init__.py75#---------------------------------------------------------COMMENT
MEDIUMlib/backports/tarfile/__init__.py77#---------------------------------------------------------COMMENT
MEDIUMlib/backports/tarfile/__init__.py147#---------------------------------------------------------COMMENT
MEDIUMlib/backports/tarfile/__init__.py149#---------------------------------------------------------COMMENT
MEDIUMlib/backports/tarfile/__init__.py155#---------------------------------------------------------COMMENT
MEDIUMlib/backports/tarfile/__init__.py157#---------------------------------------------------------COMMENT
MEDIUMlib/backports/tarfile/__init__.py1#-------------------------------------------------------------------COMMENT
MEDIUMlib/backports/tarfile/__init__.py3#-------------------------------------------------------------------COMMENT
MEDIUMlib/backports/tarfile/__init__.py111#---------------------------------------------------------COMMENT
MEDIUMlib/backports/tarfile/__init__.py113#---------------------------------------------------------COMMENT
MEDIUMlib/backports/tarfile/__init__.py304#---------------------------COMMENT
MEDIUMlib/backports/tarfile/__init__.py306#---------------------------COMMENT
MEDIUMlib/backports/tarfile/__init__.py603#------------------------COMMENT
MEDIUMlib/backports/tarfile/__init__.py605#------------------------COMMENT
MEDIUMlib/backports/tarfile/__init__.py723#-----------------------------COMMENT
MEDIUMlib/backports/tarfile/__init__.py725#-----------------------------COMMENT
MEDIUMlib/backports/tarfile/__init__.py843#------------------COMMENT
MEDIUMlib/backports/tarfile/__init__.py845#------------------COMMENT
MEDIUMlib/backports/tarfile/__init__.py1321 #--------------------------------------------------------------------------COMMENT
MEDIUMlib/backports/tarfile/__init__.py1765 #--------------------------------------------------------------------------COMMENT
MEDIUMlib/backports/tarfile/__init__.py2468 #--------------------------------------------------------------------------COMMENT
MEDIUMlib/backports/tarfile/__init__.py2620 #--------------------------------------------------------------------------COMMENT
MEDIUMlib/backports/tarfile/__init__.py2685 #--------------------------------------------------------------------------COMMENT
MEDIUMlib/backports/tarfile/__init__.py2816#--------------------COMMENT
MEDIUMlib/backports/tarfile/__init__.py2818#--------------------COMMENT
MEDIUMlib/backports/tarfile/__init__.py1977 #--------------------------------------------------------------------------STRING
MEDIUMlib/requests/compat.py32# -------------------COMMENT
MEDIUMlib/requests/compat.py34# -------------------COMMENT
MEDIUMlib/requests/compat.py85# --------------COMMENT
MEDIUMlib/requests/compat.py87# --------------COMMENT
MEDIUMlib/plexapi/client.py259 # ---------------------COMMENT
28 more matches not shown…
AI Structural Patterns269 hits · 242 pts
SeverityFileLineSnippetContext
LOWlib/xmltodict.py442CODE
LOWlib/xmltodict.py16CODE
LOWlib/profilehooks.py121CODE
LOWlib/jwt/api_jwt.py174CODE
LOWlib/jwt/api_jwt.py303CODE
LOWlib/paho/mqtt/subscribe.py65CODE
LOWlib/paho/mqtt/subscribe.py186CODE
LOWlib/paho/mqtt/client.py733CODE
LOWlib/paho/mqtt/client.py1205CODE
LOWlib/paho/mqtt/subscribeoptions.py113CODE
LOWlib/paho/mqtt/publish.py106CODE
LOWlib/paho/mqtt/publish.py231CODE
LOWlib/twitter/api.py147CODE
LOWlib/twitter/api.py398CODE
LOWlib/twitter/api.py743CODE
LOWlib/twitter/api.py995CODE
LOWlib/twitter/api.py915CODE
LOWlib/twitter/api.py1025CODE
LOWlib/twitter/api.py1396CODE
LOWlib/twitter/api.py2599CODE
LOWlib/twitter/api.py2876CODE
LOWlib/twitter/api.py3226CODE
LOWlib/twitter/api.py3740CODE
LOWlib/twitter/api.py3969CODE
LOWlib/twitter/api.py4049CODE
LOWlib/twitter/api.py4598CODE
LOWlib/websocket/_app.py53CODE
LOWlib/websocket/_app.py256CODE
LOWlib/requests_oauthlib/oauth2_session.py36CODE
LOWlib/requests_oauthlib/oauth2_session.py202CODE
LOWlib/requests_oauthlib/oauth1_session.py102CODE
LOWlib/requests_oauthlib/oauth1_auth.py24CODE
LOW…oauthlib/oauth2/rfc6749/clients/service_application.py64CODE
LOWlib/oauthlib/oauth2/rfc6749/clients/base.py55CODE
LOWlib/oauthlib/oauth1/rfc5849/__init__.py91CODE
LOWlib/bleach/sanitizer.py259CODE
LOWlib/bleach/_vendor/html5lib/_ihatexml.py121CODE
LOWlib/bleach/_vendor/html5lib/filters/sanitizer.py728CODE
LOWlib/pygments/lexers/shell.py281CODE
LOWlib/pygments/lexers/shell.py355CODE
LOWlib/pygments/lexers/shell.py416CODE
LOWlib/pygments/lexers/templates.py1832CODE
LOWlib/pygments/formatters/html.py956CODE
LOWlib/mako/lookup.py150CODE
LOWlib/mako/template.py225CODE
LOWlib/mako/template.py503CODE
LOWlib/mako/codegen.py30CODE
LOWlib/typer/params.py15CODE
LOWlib/typer/params.py80CODE
LOWlib/typer/params.py143CODE
LOWlib/typer/params.py1005CODE
LOWlib/typer/params.py1061CODE
LOWlib/typer/params.py1115CODE
LOWlib/typer/models.py196CODE
LOWlib/typer/models.py231CODE
LOWlib/typer/models.py276CODE
LOWlib/typer/models.py384CODE
LOWlib/typer/models.py512CODE
LOWlib/typer/core.py251CODE
LOWlib/typer/core.py403CODE
209 more matches not shown…
Docstring Block Structure45 hits · 225 pts
SeverityFileLineSnippetContext
HIGH…thlib/oauth2/rfc6749/grant_types/authorization_code.py175 The client constructs the request URI by adding the following parameters to the query component of the STRING
HIGHlib/distro/distro.py676 The initialization method of this class gathers information from the available data sources, and storesSTRING
HIGHlib/ipwhois/experimental.py41 The function for retrieving ASN information for multiple IP addresses from Cymru via port 43/tcp (WHOIS). STRING
HIGHlib/ipwhois/experimental.py116 The function for bulk retrieving and parsing whois information for a list of IP addresses via HTTP (RDAP). ThisSTRING
HIGHlib/ipwhois/net.py243 The function for retrieving the information for an ASN from Cymru via port 53 (DNS). This is needed sinSTRING
HIGHlib/ipwhois/net.py285 The function for retrieving ASN information for an IP address from Cymru via port 43/tcp (WHOIS). STRING
HIGHlib/ipwhois/net.py355 The function for retrieving ASN information for an IP address from Arin via port 80 (HTTP). Currently lSTRING
HIGHlib/ipwhois/net.py410 The function for retrieving CIDR info for an ASN via whois. Args: asn_registry (:obj:`str`STRING
HIGHlib/ipwhois/net.py526 The function for retrieving whois or rwhois information for an IP address via any port. Defaults to porSTRING
HIGHlib/ipwhois/net.py665 The function for retrieving a json result via HTTP. Args: url (:obj:`str`): The URL to retSTRING
HIGHlib/ipwhois/net.py787 The function for retrieving host information for an IP address. Args: retry_count (:obj:`iSTRING
HIGHlib/ipwhois/net.py850 The function for retrieving a raw HTML result via HTTP. Args: url (:obj:`str`): The URL toSTRING
HIGHlib/ipwhois/asn.py115 The function for parsing ASN fields from a dns response. Args: response (:obj:`str`): The STRING
HIGHlib/ipwhois/asn.py173 The function for parsing ASN fields from a verbose dns response. Args: response (:obj:`strSTRING
HIGHlib/ipwhois/asn.py230 The function for parsing ASN fields from a whois response. Args: response (:obj:`str`): ThSTRING
HIGHlib/ipwhois/asn.py287 The function for parsing ASN fields from a http response. Args: response (:obj:`str`): TheSTRING
HIGHlib/ipwhois/asn.py388 The wrapper function for retrieving and parsing ASN information for an IP address. Args: STRING
HIGHlib/ipwhois/asn.py713 The function for retrieving and parsing ASN origin whois information via port 43/tcp (WHOIS). STRING
HIGHlib/ipwhois/utils.py458 The function to search an input string and/or file, extracting and counting IPv4/IPv6 addresses/networks. SummaSTRING
HIGHlib/plexapi/server.py434 Creates and returns a new :class:`~plexapi.collection.Collection`. Parameters: title (str)STRING
HIGHlib/plexapi/server.py490 Creates and returns a new :class:`~plexapi.playlist.Playlist`. Parameters: title (str): TiSTRING
HIGHlib/plexapi/library.py644 Returns the media item with the specified external Plex, IMDB, TMDB, or TVDB ID. Note: Only available for tSTRING
HIGHlib/plexapi/library.py1302 Search the library. The http requests will be batched in container_size. If you are only looking for the fiSTRING
HIGHlib/plexapi/library.py1567 Add current library section as sync item for specified device. See description of :func:`~plexapi.library.LSTRING
HIGHlib/plexapi/library.py2052 Returns a list of tracks from this library section that are part of a sonic adventure. ID's should be of a STRING
HIGHlib/plexapi/playlist.py424 Create a playlist. Parameters: server (:class:`~plexapi.server.PlexServer`): Server to creSTRING
HIGHlib/plexapi/playlist.py477 Add the playlist as a sync item for the specified device. See :func:`~plexapi.myplex.MyPlexAccount.sync` foSTRING
HIGHlib/plexapi/collection.py462 Create a collection. Parameters: server (:class:`~plexapi.server.PlexServer`): Server to cSTRING
HIGHlib/plexapi/collection.py498 Add the collection as sync item for the specified device. See :func:`~plexapi.myplex.MyPlexAccount.sync` foSTRING
HIGHlib/plexapi/myplex.py821 Adds specified sync item for the client. It's always easier to use methods defined directly in the media obSTRING
HIGHlib/plexapi/audio.py149Returns a list of sonically similar audio items. Parameters: limit (int): Maximum count of items toSTRING
HIGHlib/plexapi/audio.py638Returns a sonic adventure from the current track to the specified track. Parameters: to (:class:`~pSTRING
HIGHlib/rich/measure.py82Get a measurement for a renderable. Args: console (~rich.console.Console): Console instance. STRING
HIGHlib/rich/console.py829Set Live instance. Used by Live context manager (no need to call directly). Args: live (Live): LiveSTRING
HIGHlib/rich/console.py1479Get a Style instance by its theme name or parse a definition. Args: name (str): The name of a styleSTRING
HIGHlib/rich/console.py1906Get caller frame information. Args: offset (int): the caller offset within the current frame stack.STRING
HIGHlib/rich/style.py495Parse a style definition. Args: style_definition (str): A string containing a style. RaiseSTRING
HIGHlib/rich/markup.py112Render console markup in to a Text instance. Args: markup (str): A string containing console markup. STRING
HIGHlib/rich/highlighter.py21Highlight a str or Text instance. Args: text (Union[str, ~Text]): Text to highlight. RaiseSTRING
HIGHlib/rich/progress_bar.py129Renders the pulse animation. Args: console (Console): Console instance. width (int): WiSTRING
HIGHlib/rich/prompt.py228Process response from user, convert to prompt type. Args: value (str): String typed by user. STRING
HIGHlib/rich/progress.py1245Track progress file reading from a binary file. Args: file (BinaryIO): A file-like object opened inSTRING
HIGHlib/rich/progress.py1324Track progress while reading from a binary file. Args: path (Union[str, PathLike[str]]): The path tSTRING
HIGHlib/rich/_win32_console.py96Retrieves the current input mode of a console's input buffer or the current output mode of a console screen buffer. STRING
HIGHlib/rich/_unicode_data/__init__.py32Parse a version string into a tuple of 3 integers. Args: version: A version string. Raises: VaSTRING
Redundant / Tautological Comments87 hits · 130 pts
SeverityFileLineSnippetContext
LOWTautulli.py89 # Assign values to application-specific variableCOMMENT
LOWlib/typing_extensions.py863 # Check if the members appears in the class dictionary...COMMENT
LOWlib/oauthlib/common.py108 # Check if query contains invalid charactersCOMMENT
LOWlib/bleach/_vendor/parse.py851 # Check if ' ' in string, where string may either be a str or bytes. IfCOMMENT
LOWlib/bleach/_vendor/html5lib/_inputstream.py871 # Check if the attr name is charsetCOMMENT
LOWlib/bleach/_vendor/html5lib/html5parser.py948 # Set this to the default handlerCOMMENT
LOWlib/bleach/_vendor/html5lib/_tokenizer.py234 # Add token to the queue to be yieldedCOMMENT
LOWlib/pygments/lexers/modula2.py1301 # Set lexer to a specified dialectCOMMENT
LOWlib/pygments/lexers/modula2.py1566 # Check if this looks like Pascal, if not, bail out earlyCOMMENT
LOWlib/pygments/lexers/sql.py346 # Check if this is the end of the commandCOMMENT
LOWlib/pygments/formatters/html.py47 # Check if the color can be shortened from 6 to 3 charactersCOMMENT
LOWlib/rumps/rumps.py1143 # Open files in application support folderCOMMENT
LOWlib/typer/models.py330 # Check if user has provided multiple custom parsersCOMMENT
LOWlib/markdown_it/renderer.py151 # Check if we need to add a newline after this tagCOMMENT
LOWlib/cherrypy/lib/sessions.py797 # Check if request came with a session IDCOMMENT
LOWlib/cherrypy/lib/static.py92 # Check if path is a directory.COMMENT
LOWlib/cherrypy/lib/reprconf.py201 # Open file objectCOMMENT
LOWlib/bs4/__init__.py910 # Check if we are inserting into an already parsed node.COMMENT
LOWlib/ipwhois/net.py150 # Check if no ASN/whois resolution needs to occur.COMMENT
LOWlib/ipwhois/net.py171 # Check if no ASN/whois resolution needs to occur.COMMENT
LOWlib/ipwhois/utils.py213 # Read the file.COMMENT
LOWlib/ipwhois/utils.py217 # Check if there is data.COMMENT
LOWlib/ipwhois/utils.py504 # Read the file.COMMENT
LOWlib/ipwhois/utils.py513 # Check if there is data.COMMENT
LOWlib/more_itertools/more.py1390 # Check if beyond max levelCOMMENT
LOWlib/more_itertools/more.py1396 # Check if done iteratingCOMMENT
LOWlib/more_itertools/more.py4558 # Check if any chunks need addition processingCOMMENT
LOWlib/backports/tarfile/__init__.py1203 # Check if one of the fields contains surrogate characters and therebyCOMMENT
LOWlib/backports/tarfile/__init__.py1437 # Check if the pax header contains a hdrcharset field. This tells usCOMMENT
LOWlib/requests/models.py579 # Check if file, fo, generator, iterator.COMMENT
LOWlib/html5lib/_inputstream.py871 # Check if the attr name is charsetCOMMENT
LOWlib/html5lib/html5parser.py948 # Set this to the default handlerCOMMENT
LOWlib/html5lib/_tokenizer.py234 # Add token to the queue to be yieldedCOMMENT
LOWlib/urllib3/connection.py736 # Check if the target origin supports HTTP/2.COMMENT
LOWlib/urllib3/connectionpool.py941 # Check if we should retry the HTTP response.COMMENT
LOWlib/urllib3/util/request.py246 # Check if the body implements the buffer API.COMMENT
LOWlib/urllib3/util/request.py250 # Check if the body is an iterableCOMMENT
LOWlib/urllib3/util/response.py31 # Check if the object is a container for another file-like object thatCOMMENT
LOWlib/libfuturize/fixes/fix_metaclass.py125 # Check if the expr_node is a simple assignment.COMMENT
LOWlib/future/backports/urllib/parse.py707 # Check if ' ' in string, where string may either be a str or bytes. IfCOMMENT
LOWlib/future/backports/http/cookies.py433 # Return the resultSTRING
LOWlib/future/backports/http/server.py576 # Set this to HTTP/1.1 to enable automatic keepaliveCOMMENT
LOWlib/apscheduler/util.py428 # Check if keyword arguments are being fed to positional-only parametersCOMMENT
LOWlib/apscheduler/triggers/calendarinterval.py142 # Check if the time is off due to normalization and a forward DST shiftCOMMENT
LOWlib/apscheduler/schedulers/base.py702 # Check if the job is among the pending jobsCOMMENT
LOWlib/apscheduler/schedulers/base.py1013 # Check if the job is among the pending jobsCOMMENT
LOWlib/cheroot/server.py780 # Set started_request to True so communicate() knows to send 408COMMENT
LOWlib/dateutil/rrule.py849 # Output resultsCOMMENT
LOWlib/dateutil/parser/_parser.py731 # Check if it's a numberCOMMENT
LOWplexpy/config.py496 # Check if the key is in the environment variablesCOMMENT
LOWplexpy/config.py506 # Check if the key is in the environment variablesCOMMENT
LOWplexpy/users.py63 # Check if we've set a custom avatar if so don't overwrite it.COMMENT
LOWplexpy/users.py75 # Check if title is the same as the usernameCOMMENT
LOWplexpy/users.py79 # Check if username is blank (Managed Users)COMMENT
LOWplexpy/__init__.py263 # Check if Tautulli has a uuidCOMMENT
LOWplexpy/__init__.py269 # Check if Tautulli has an API keyCOMMENT
LOWplexpy/__init__.py275 # Check if Tautulli has a jwt_secretCOMMENT
LOWplexpy/__init__.py329 # Check if the release was updatedCOMMENT
LOWplexpy/__init__.py426 # Check if scheduler should be startedCOMMENT
LOWplexpy/__init__.py1451 # Set reference_id to the first row where (user_id = previous row, rating_key != previous row) and user_id = useCOMMENT
27 more matches not shown…
Hallucination Indicators12 hits · 115 pts
SeverityFileLineSnippetContext
CRITICALlib/pygments/sphinxext.py87 self.state.document.settings.record_dependencies.add(fn)STRING
CRITICAL…ary/static/cloudinary/js/jquery.fileupload-validate.js38 $.blueimp.fileupload.prototype.options.processQueue.push(CODE
CRITICAL…dinary/static/cloudinary/js/jquery.fileupload-image.js50 $.blueimp.fileupload.prototype.options.processQueue.unshift(CODE
CRITICALlib/importlib_resources/future/adapters.py39 reader.spec.loader.__class__.__module__.startswith('zipimport')CODE
CRITICALlib/importlib_resources/future/adapters.py40 or reader.spec.loader.__class__.__module__.startswith(CODE
CRITICALdata/interfaces/default/js/highcharts.min.js295" "+this.className:""),visibility:D,zIndex:-1}),r.point=this,n.styledMode||r.attr(c({fill:this.color||h.color,"fill-opacCODE
CRITICALdata/interfaces/default/js/highcharts.min.js556f=this.connectorShapes,g=c.connectorShape;f[g]&&(g=f[g]);return g.call(this,{x:a.final.x,y:a.final.y,alignment:a.alignmeCODE
CRITICALdata/interfaces/default/js/jquery-ui.min.js6(function(e){"function"==typeof define&&define.amd?define(["jquery"],e):e(jQuery)})(function(e){function t(t,s){var n,a,CODE
CRITICALdata/interfaces/default/js/jquery-ui.min.js8return e.datepicker._get(n,"constrainInput")?(i=e.datepicker._possibleChars(e.datepicker._get(n,"dateFormat")),s=String.CODE
CRITICALdata/interfaces/default/js/jquery-3.6.0.min.js2!function(e,t){"use strict";"object"==typeof module&&"object"==typeof module.exports?module.exports=e.document?t(e,!0):fCODE
CRITICALdata/interfaces/default/js/dataTables.colVis.js636 that.s.dt.oInstance.oApi._fnScrollDraw( that.s.dt );CODE
CRITICALdata/interfaces/default/js/bootstrap-select.min.js8!function(e,t){void 0===e&&void 0!==window&&(e=window),"function"==typeof define&&define.amd?define(["jquery"],function(CODE
AI Slop Vocabulary44 hits · 68 pts
SeverityFileLineSnippetContext
LOWlib/requests_oauthlib/compliance_fixes/instagram.py15 # Nothing to do, just return.COMMENT
LOWlib/requests_oauthlib/compliance_fixes/slack.py18 # Nothing to do, just return.COMMENT
LOWlib/bleach/_vendor/html5lib/html5parser.py746 # the abstract Unicode string, and just use theCOMMENT
LOWlib/mako/codegen.py1035 # in an enclosing namespace (i.e. names we can just use)COMMENT
LOWlib/rumps/_internal.py36 # a bound method of the App instance. If it is found, use it, otherwise simply call function.COMMENT
LOWlib/configobj/__init__.py1403 # else, just use the _decode utility method to handleCOMMENT
LOWlib/configobj/__init__.py439 # Anything else: ignore completely, just return it unchangedSTRING
LOWlib/cherrypy/_cprequest.py128 # We can't just use 'update' because we want copies of theCOMMENT
LOWlib/cherrypy/lib/xmlrpcutil.py35 # as a "Protocol Error", we'll just return 200 every time.COMMENT
MEDIUMlib/cherrypy/lib/static.py57 """Set status, headers, and body in order to serve the given path.STRING
MEDIUMlib/cherrypy/lib/static.py134 """Set status, headers, and body in order to serve the given file object.STRING
MEDIUMlib/cherrypy/process/plugins.py332 # in order to facilitate the most common use: starting on a lowCOMMENT
LOWlib/cherrypy/process/plugins.py735 # We can't just use get_ident as the thread IDCOMMENT
LOWlib/cherrypy/process/wspbus.py308 # process, so we just call os.exit here.COMMENT
LOWlib/gntp/config.py49 # saving the config, it should be safe to just add it here so theCOMMENT
LOWlib/gntp/core.py77 # For Python2 we can just return the bytes as is without worryCOMMENT
LOWlib/bs4/builder/_html5lib.py461 # but we just set/changed the attributes, so call it again.COMMENT
LOWlib/backports/tarfile/__init__.py1468 # Normally, we could just use "utf-8" as the encoding and "strict"COMMENT
MEDIUMlib/requests/sessions.py757 # Set defaults that the hooks can utilize to ensure they always haveSTRING
LOWlib/requests/models.py723 # method. To prevent iterating over None, simply use an empty listCOMMENT
LOWlib/requests/utils.py491 # a UNC path, then just return the value without quotes. Using theSTRING
LOWlib/html5lib/html5parser.py746 # the abstract Unicode string, and just use theCOMMENT
LOWlib/certifi/core.py70 # file, it will just return the file system location and theCOMMENT
LOWlib/plexapi/server.py174 # so just return the library without the data.COMMENT
MEDIUMlib/urllib3/exceptions.py251 """Response needs to be chunked in order to read it as chunks."""STRING
LOWlib/dns/resolver.py1238 # We just call _enrich_nameservers() for checkingCOMMENT
MEDIUMlib/dns/rdtypes/dsbase.py38 3: 32, # GOST R 34.11-94, RFC 5933 Sec. 4 in conjunction with RFC 4490 Sec. 2.1CODE
LOWlib/dns/rdtypes/svcbbase.py271 # a from_value() and a from_wire_parser(), so we just return NoneCOMMENT
LOWlib/dns/rdtypes/svcbbase.py404 # a from_value() and a from_wire_parser(), so we just return NoneCOMMENT
MEDIUMlib/future/backports/http/cookies.py12# pertaining to distribution of the software without specific, writtenCOMMENT
MEDIUMlib/future/backports/http/server.py573 # Essentially static class variablesCOMMENT
MEDIUMlib/future/backports/xmlrpc/client.py75# pertaining to distribution of the software without specific, writtenCOMMENT
LOWlib/future/backports/email/header.py76 # If it is a Header object, we can just return the encoded chunks.STRING
LOWlib/future/backports/email/header.py80 # If no encoding, just return the header with no charset.STRING
LOWlib/future/backports/email/header.py172 # None means us-ascii but we can simply pass it on to h.append()STRING
MEDIUMlib/libpasteurize/fixes/__init__.py49 # 'libpasteurize.fixes.fix_super', # maybe, if our magic super() isn't robust enoughCOMMENT
LOWlib/dateutil/rrule.py454 # been supplied (the string retrieval will just use .get())COMMENT
MEDIUMdata/interfaces/default/js/filterer.jquery.js4var r,o,i,a=[];for(r=0,i=(o=t).length;r<i;++r)n=o[r],a.push(e(n));return a}())}),A=function(e){var t;return[].concat.appCODE
MEDIUMdata/interfaces/default/js/ace/mode-html.js1define("ace/mode/jsdoc_comment_highlight_rules",["require","exports","module","ace/lib/oop","ace/mode/text_highlight_rulCODE
MEDIUMdata/interfaces/default/js/ace/mode-html.js1define("ace/mode/jsdoc_comment_highlight_rules",["require","exports","module","ace/lib/oop","ace/mode/text_highlight_rulCODE
LOWplexpy/notifiers.py2658 # Can keep message content in "data" payload and just add a header for the attachmentCOMMENT
LOWplexpy/datatables.py290 # If no name exists for the column, just use the column index to sortCOMMENT
LOWplexpy/datatables.py323 # If no name exists for the column, just use the column index to searchCOMMENT
LOWplexpy/helpers.py790 # Removed anonymous redirect and just return the URLCOMMENT
Fake / Example Data26 hits · 29 pts
SeverityFileLineSnippetContext
LOWlib/pygments/lexers/perl.py332 'pick','pickpairs','pid','placeholder','plan','plus','polar','poll',CODE
LOWlib/jaraco/text/__init__.py257 Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed doCODE
LOWlib/jaraco/text/__init__.py257 Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed doCODE
LOWlib/jaraco/text/__init__.py295 Lorem ipsum dolor sit amet, consectetur adipiscing ...CODE
LOWlib/jaraco/text/__init__.py295 Lorem ipsum dolor sit amet, consectetur adipiscing ...CODE
LOWlib/jaraco/text/__init__.py305 files(__name__).joinpath('Lorem ipsum.txt').read_text(encoding='utf-8')STRING
LOWlib/jaraco/text/__init__.py604 >>> normalize_newlines('Lorem Ipsum\u2029')CODE
LOWlib/jaraco/text/__init__.py605 'Lorem Ipsum\n'CODE
LOWlib/jaraco/text/__init__.py606 >>> normalize_newlines('Lorem Ipsum\r\n')CODE
LOWlib/jaraco/text/__init__.py607 'Lorem Ipsum\n'CODE
LOWlib/jaraco/text/__init__.py608 >>> normalize_newlines('Lorem Ipsum\x85')CODE
LOWlib/jaraco/text/__init__.py609 'Lorem Ipsum\n'CODE
LOWlib/jaraco/text/__init__.py742 >>> lines = lines_from(files(__name__).joinpath('Lorem ipsum.txt'))CODE
LOWlib/jaraco/text/__init__.py744 'Lorem ipsum...'CODE
LOWlib/jaraco/text/Lorem ipsum.txt1Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqCODE
LOWlib/jaraco/text/Lorem ipsum.txt1Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqCODE
LOWlib/rich/text.py1342 """\nLorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et doloSTRING
LOWlib/rich/text.py1342 """\nLorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et doloSTRING
LOWlib/rich/__main__.py71 lorem = "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Quisque in metus sed sapien ultricies pretium a atCODE
LOWlib/rich/__main__.py71 lorem = "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Quisque in metus sed sapien ultricies pretium a atCODE
LOWdata/interfaces/default/js/selectize.min.js2!function(a,b){"function"==typeof define&&define.amd?define("sifter",b):"object"==typeof exports?module.exports=b():a.SiCODE
LOWdata/interfaces/default/js/selectize.min.js3b&&(b.preventDefault(),b.stopPropagation())}else(l.isFocused||"single"===l.settings.mode)&&l.items.length&&(0>e&&0===f.sCODE
LOWdata/interfaces/default/js/script.js280 $(".dataTables_filter input").attr("placeholder", "filter " + text + "");CODE
LOWdata/interfaces/default/js/jquery.dataTables.min.js55null!==a.searchDelay?a.searchDelay:"ssp"===Q(a)?400:0;var m=l("input",b).val(e.sSearch).attr("placeholder",d.sSearchPlacCODE
LOWdata/interfaces/default/js/jquery.inputaffix.min.js1"use strict";!function(t){if(!t)throw new Error("Input Affix: no jQuery found. Make sure window.jQuery exists.");t.fn.caCODE
LOW…terfaces/default/js/dataTables.bootstrap.pagination.js99 search_input.attr('placeholder', 'Search')CODE
Verbosity Indicators17 hits · 26 pts
SeverityFileLineSnippetContext
LOWlib/bleach/_vendor/html5lib/html5parser.py1418 # Step 4:COMMENT
LOWlib/bleach/_vendor/html5lib/html5parser.py1463 # Step 5:COMMENT
LOWlib/bleach/_vendor/html5lib/html5parser.py1476 # Step 6:COMMENT
LOWlib/bleach/_vendor/html5lib/html5parser.py1494 # Step 8:COMMENT
LOWlib/bleach/_vendor/html5lib/treebuilders/base.py223 # Step 1: stop the algorithm when there's nothing to do.COMMENT
LOWlib/bleach/_vendor/html5lib/treebuilders/base.py240 # Step 5: let entry be one earlier in the list.COMMENT
LOWlib/pygments/lexers/sql.py673 # We need to check if there are any names usingCOMMENT
LOWlib/bs4/__init__.py610 # Step 1: does it end with a common textual file extension?COMMENT
LOWlib/bs4/__init__.py619 # Step 2: it _might_ be a file, but there are a few thingsCOMMENT
LOWlib/bs4/__init__.py649 # Step 3: If it survived all of those checks, it's similarCOMMENT
LOWlib/html5lib/html5parser.py1418 # Step 4:COMMENT
LOWlib/html5lib/html5parser.py1463 # Step 5:COMMENT
LOWlib/html5lib/html5parser.py1476 # Step 6:COMMENT
LOWlib/html5lib/html5parser.py1494 # Step 8:COMMENT
LOWlib/html5lib/treebuilders/base.py223 # Step 1: stop the algorithm when there's nothing to do.COMMENT
LOWlib/html5lib/treebuilders/base.py240 # Step 5: let entry be one earlier in the list.COMMENT
LOWlib/future/backports/email/header.py398 # Step 1: Normalize the chunks so that all runs of identical charsetsSTRING
Slop Phrases12 hits · 26 pts
SeverityFileLineSnippetContext
LOWlib/oauthlib/openid/connect/core/request_validator.py27 blank value `""` don't forget to check it before using those valuesSTRING
LOWlib/oauthlib/oauth1/rfc5849/__init__.py42# Note: if additional values are defined here, don't forget to update theCOMMENT
LOWlib/oauthlib/oauth1/rfc5849/__init__.py42# Note: if additional values are defined here, don't forget to update theCOMMENT
MEDIUMlib/pygments/lexers/crystal.py240 # there so that you can use the ternary operator.STRING
LOWlib/pygments/lexers/perl.py596 # them, make sure you also process the corresponding one!COMMENT
MEDIUMlib/pygments/lexers/ruby.py292 # there so that you can use the ternary operator.COMMENT
MEDIUMlib/markdown_it/presets/commonmark.py28 # For example, you can use '«»„“' for Russian, '„“‚‘' for German,COMMENT
MEDIUMlib/markdown_it/presets/zero.py23 # For example, you can use '«»„“' for Russian, '„“‚‘' for German,COMMENT
MEDIUMlib/markdown_it/presets/default.py20 # For example, you can use '«»„“' for Russian, '„“‚‘' for German,COMMENT
LOWlib/urllib3/response.py1152 # TODO make sure to initially read enough data to get past the headersCOMMENT
MEDIUMlib/urllib3/util/wait.py12# There are two types of APIs you can use for waiting on sockets: the fancyCOMMENT
MEDIUMlib/future/backports/urllib/request.py1644 # Undocumented feature: you can use a differentCOMMENT
Dead Code9 hits · 18 pts
SeverityFileLineSnippetContext
MEDIUMlib/pygments/formatters/irc.py94CODE
MEDIUMlib/cherrypy/test/test_request_obj.py192CODE
MEDIUMlib/cherrypy/test/test_core.py472CODE
MEDIUMlib/cherrypy/test/test_core.py473CODE
MEDIUMlib/cherrypy/test/test_core.py474CODE
MEDIUMlib/cherrypy/test/test_core.py475CODE
MEDIUMlib/cherrypy/test/test_encoding.py87CODE
MEDIUMlib/cherrypy/test/test_encoding.py96CODE
MEDIUMlib/cherrypy/test/test_tools.py209CODE
Structural Annotation Overuse9 hits · 14 pts
SeverityFileLineSnippetContext
LOWlib/bleach/_vendor/html5lib/treebuilders/base.py223 # Step 1: stop the algorithm when there's nothing to do.COMMENT
LOWlib/bleach/_vendor/html5lib/treebuilders/base.py240 # Step 5: let entry be one earlier in the list.COMMENT
LOWlib/bs4/__init__.py610 # Step 1: does it end with a common textual file extension?COMMENT
LOWlib/bs4/__init__.py619 # Step 2: it _might_ be a file, but there are a few thingsCOMMENT
LOWlib/bs4/__init__.py649 # Step 3: If it survived all of those checks, it's similarCOMMENT
LOWlib/bs4/builder/_htmlparser.py113 # NOTE: This method is required so long as Python 3.9 isCOMMENT
LOWlib/html5lib/treebuilders/base.py223 # Step 1: stop the algorithm when there's nothing to do.COMMENT
LOWlib/html5lib/treebuilders/base.py240 # Step 5: let entry be one earlier in the list.COMMENT
LOWlib/future/backports/email/header.py398 # Step 1: Normalize the chunks so that all runs of identical charsetsSTRING
Overly Generic Function Names2 hits · 2 pts
SeverityFileLineSnippetContext
LOWlib/future/backports/socketserver.py277 def handle_request(self):CODE
LOWlib/future/backports/xmlrpc/server.py684 def handle_request(self, request_text=None):CODE