Repository Analysis

lexiforest/curl_cffi

Python binding for curl-impersonate fork via cffi. A http client that can impersonate browser tls/ja3/http2 fingerprints.

22.8 Moderate AI signal View on GitHub

Analysis Overview

This report presents the forensic synthetic code analysis of lexiforest/curl_cffi, a Python project with 6,210 GitHub stars. SynthScan v2.0 examined 24,837 lines of code across 111 source files, recording 509 pattern matches distributed across 15 syntactic categories. The overall adjusted score of 22.8 places this repository in the Moderate 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).

22.8
Adjusted Score
22.8
Raw Score
100%
Time Factor
2026-08-01
Last Push
6.2K
Stars
Python
Language
24.8K
Lines of Code
111
Files
509
Pattern Hits
2026-08-02
Scan Date
0.03
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 0HIGH 3MEDIUM 45LOW 461

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 509 distinct pattern matches across 15 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.

Hyper-Verbose Identifiers276 hits · 245 pts
SeverityFileLineSnippetContext
LOWtests/unittest/test_async_websockets.py1253 async def test_full_session_lifecycle(CODE
LOWtests/unittest/test_async_websockets.py1315 async def test_various_recv_queue_sizes(CODE
LOWtests/unittest/test_async_websockets.py164async def close_immediately_handler(CODE
LOWtests/unittest/test_async_websockets.py237def start_configurable_ws_server(port: int) -> ConfigurableWSServer:CODE
LOWtests/unittest/test_async_websockets.py437 async def test_echo_multiple_messages(self, ws_connection: AsyncWebSocket) -> None:CODE
LOWtests/unittest/test_async_websockets.py527 async def test_pong_is_silently_consumed(CODE
LOWtests/unittest/test_async_websockets.py547 async def test_server_ping_is_silently_consumed(CODE
LOWtests/unittest/test_async_websockets.py586 async def test_recv_timeout_returns_if_data_arrives(CODE
LOWtests/unittest/test_async_websockets.py617 async def test_message_at_curl_frame_boundary(CODE
LOWtests/unittest/test_async_websockets.py626 async def test_message_just_over_frame_boundary(CODE
LOWtests/unittest/test_async_websockets.py639 async def test_concurrent_recv_single_consumer(CODE
LOWtests/unittest/test_async_websockets.py655 async def test_concurrent_recv_multiple_consumers(CODE
LOWtests/unittest/test_async_websockets.py683 async def test_send_while_receiving(self, ws_connection: AsyncWebSocket) -> None:CODE
LOWtests/unittest/test_async_websockets.py704 async def test_more_recv_callers_than_queue_size(CODE
LOWtests/unittest/test_async_websockets.py771 async def test_recv_callers_exceed_queue_with_slow_producer(CODE
LOWtests/unittest/test_async_websockets.py828 async def test_concurrent_recv_with_connection_close(CODE
LOWtests/unittest/test_async_websockets.py905 async def test_cancel_recv_before_message(CODE
LOWtests/unittest/test_async_websockets.py949 async def test_recv_after_close_raises(CODE
LOWtests/unittest/test_async_websockets.py962 async def test_send_after_close_raises(CODE
LOWtests/unittest/test_async_websockets.py974 async def test_server_close_received(CODE
LOWtests/unittest/test_async_websockets.py1023 async def test_aiter_on_closed_raises(CODE
LOWtests/unittest/test_async_websockets.py1036 async def test_iterator_skips_control_frames(CODE
LOWtests/unittest/test_async_websockets.py1061 async def test_recv_queue_size_limit(CODE
LOWtests/unittest/test_async_websockets.py1087 async def test_drain_on_error_false(CODE
LOWtests/unittest/test_async_websockets.py1130 async def test_ping_too_large_raises(self, ws_connection: AsyncWebSocket) -> None:CODE
LOWtests/unittest/test_async_websockets.py1143 async def test_flush_waits_for_queue(self, ws_connection: AsyncWebSocket) -> None:CODE
LOWtests/unittest/test_async_websockets.py1155 async def test_is_alive_true_when_connected(CODE
LOWtests/unittest/test_async_websockets.py1161 async def test_is_alive_false_after_close(CODE
LOWtests/unittest/test_async_websockets.py1175 async def test_close_code_and_reason(CODE
LOWtests/unittest/test_async_websockets.py1208 async def test_empty_string_message(self, ws_connection: AsyncWebSocket) -> None:CODE
LOWtests/unittest/test_async_websockets.py1229 async def test_binary_all_byte_values(self, ws_connection: AsyncWebSocket) -> None:CODE
LOWtests/unittest/test_async_websockets.py1337 async def test_various_send_queue_sizes(CODE
LOWtests/unittest/test_async_websockets.py1430 async def test_various_max_message_sizes(CODE
LOWtests/unittest/test_async_websockets.py1450 async def test_client_enforces_max_message_size(CODE
LOWtests/unittest/test_async_websockets.py1480 async def test_server_enforces_max_message_size(CODE
LOWtests/unittest/test_async_websockets.py1513 async def test_coalesce_frames_enabled(CODE
LOWtests/unittest/test_async_websockets.py1542 async def test_coalesce_frames_disabled(CODE
LOWtests/unittest/test_async_websockets.py1559 async def test_coalesce_send_then_recv(CODE
LOWtests/unittest/test_async_websockets.py1578 async def test_coalesce_preserves_message_order(CODE
LOWtests/unittest/test_async_websockets.py1611 async def test_coalesce_control_frame_interleaving(CODE
LOWtests/unittest/test_async_websockets.py1651 async def test_partial_write_exact_boundary_resumption(CODE
LOWtests/unittest/test_async_websockets.py1696 async def test_send_eagain_retry_preserves_state(CODE
LOWtests/unittest/test_async_websockets.py1727 async def test_manual_fragmentation_with_cont_flag(CODE
LOWtests/unittest/test_async_websockets.py1816 async def test_block_on_recv_queue_full_true(CODE
LOWtests/unittest/test_async_websockets.py1846 async def test_block_on_recv_queue_full_false(CODE
LOWtests/unittest/test_async_websockets.py1928 async def test_close_with_long_reason(CODE
LOWtests/unittest/test_async_websockets.py1965 async def test_send_binary_explicit(CODE
LOWtests/unittest/test_async_websockets.py1979 async def test_multiple_flush_calls(CODE
LOWtests/unittest/test_async_websockets.py2000 async def test_close_code_extraction(CODE
LOWtests/unittest/test_async_websockets.py2055 async def test_terminate_while_operations_pending(CODE
LOWtests/unittest/test_async_websockets.py2084 async def test_recv_timeout_race_condition(CODE
LOWtests/unittest/test_async_websockets.py2118 async def test_recv_json_enforces_text_frame(CODE
LOWtests/unittest/test_async_websockets.py2140 async def test_raw_fragment_assembly_with_interleaved_control_frames(self) -> None:CODE
LOWtests/unittest/test_async_websockets.py2196 async def test_high_concurrency_mixed_frame_stress(CODE
LOWtests/unittest/test_async_websockets.py2278 async def test_unaligned_simd_xor_masking(CODE
LOWtests/unittest/test_async_websockets.py2309 async def test_huge_payload_stress_and_fairness(CODE
LOWtests/unittest/test_async_websockets.py2373 async def test_high_frequency_ping_pong(CODE
LOWtests/unittest/test_async_websockets.py2386 def test_multithreaded_event_loops(CODE
LOWtests/unittest/test_async_websockets.py2414 async def test_boundary_fragmentation_plus_one(CODE
LOWtests/unittest/test_async_websockets.py2429 async def test_transport_exception_bubbles_to_all_waiters(CODE
216 more matches not shown…
Decorative Section Separators28 hits · 99 pts
SeverityFileLineSnippetContext
MEDIUMtests/unittest/test_async_websockets.py1245# =============================================================================COMMENT
MEDIUMtests/unittest/test_async_websockets.py1247# =============================================================================COMMENT
MEDIUMtests/unittest/test_async_websockets.py1306# =============================================================================COMMENT
MEDIUMtests/unittest/test_async_websockets.py1308# =============================================================================COMMENT
MEDIUMtests/unittest/test_async_websockets.py57# =============================================================================COMMENT
MEDIUMtests/unittest/test_async_websockets.py59# =============================================================================COMMENT
MEDIUMtests/unittest/test_async_websockets.py294# =============================================================================COMMENT
MEDIUMtests/unittest/test_async_websockets.py296# =============================================================================COMMENT
MEDIUMtests/unittest/test_async_websockets.py358# =============================================================================COMMENT
MEDIUMtests/unittest/test_async_websockets.py360# =============================================================================COMMENT
MEDIUMtests/unittest/test_async_websockets.py399# =============================================================================COMMENT
MEDIUMtests/unittest/test_async_websockets.py401# =============================================================================COMMENT
MEDIUMtests/unittest/test_async_websockets.py1943# =============================================================================COMMENT
MEDIUMtests/unittest/test_async_websockets.py1945# =============================================================================COMMENT
MEDIUMtests/unittest/test_curl.py441# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/unittest/test_curl.py443# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/unittest/cli/test_run.py145# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/unittest/cli/test_run.py147# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/unittest/cli/test_run.py18# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/unittest/cli/test_run.py20# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/unittest/cli/test_run.py230# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/unittest/cli/test_run.py232# ---------------------------------------------------------------------------COMMENT
MEDIUMcurl_cffi/cli/run.py14# ---------------------------------------------------------------------------COMMENT
MEDIUMcurl_cffi/cli/run.py17# ---------------------------------------------------------------------------COMMENT
MEDIUMcurl_cffi/cli/run.py165# ---------------------------------------------------------------------------COMMENT
MEDIUMcurl_cffi/cli/run.py167# ---------------------------------------------------------------------------COMMENT
MEDIUMcurl_cffi/cli/run.py233# ---------------------------------------------------------------------------COMMENT
MEDIUMcurl_cffi/cli/run.py235# ---------------------------------------------------------------------------COMMENT
Unused Imports95 hits · 76 pts
SeverityFileLineSnippetContext
LOWtests/unittest/test_async_websockets.py17CODE
LOWcurl_cffi/curl.py1CODE
LOWcurl_cffi/__init__.py52CODE
LOWcurl_cffi/__init__.py54CODE
LOWcurl_cffi/__init__.py54CODE
LOWcurl_cffi/__init__.py54CODE
LOWcurl_cffi/__init__.py54CODE
LOWcurl_cffi/__init__.py57CODE
LOWcurl_cffi/__init__.py57CODE
LOWcurl_cffi/__init__.py58CODE
LOWcurl_cffi/__init__.py59CODE
LOWcurl_cffi/__init__.py59CODE
LOWcurl_cffi/__init__.py59CODE
LOWcurl_cffi/__init__.py59CODE
LOWcurl_cffi/__init__.py59CODE
LOWcurl_cffi/__init__.py59CODE
LOWcurl_cffi/__init__.py59CODE
LOWcurl_cffi/__init__.py59CODE
LOWcurl_cffi/__init__.py69CODE
LOWcurl_cffi/__init__.py69CODE
LOWcurl_cffi/__init__.py69CODE
LOWcurl_cffi/__init__.py71CODE
LOWcurl_cffi/__init__.py71CODE
LOWcurl_cffi/__init__.py71CODE
LOWcurl_cffi/__init__.py71CODE
LOWcurl_cffi/__init__.py71CODE
LOWcurl_cffi/__init__.py71CODE
LOWcurl_cffi/__init__.py71CODE
LOWcurl_cffi/__init__.py71CODE
LOWcurl_cffi/__init__.py71CODE
LOWcurl_cffi/__init__.py71CODE
LOWcurl_cffi/__init__.py71CODE
LOWcurl_cffi/__init__.py71CODE
LOWcurl_cffi/__init__.py71CODE
LOWcurl_cffi/__init__.py71CODE
LOWcurl_cffi/__init__.py71CODE
LOWcurl_cffi/__init__.py71CODE
LOWcurl_cffi/__init__.py71CODE
LOWcurl_cffi/__init__.py71CODE
LOWcurl_cffi/__init__.py71CODE
LOWcurl_cffi/__init__.py71CODE
LOWcurl_cffi/__init__.py71CODE
LOWcurl_cffi/__init__.py71CODE
LOWcurl_cffi/__init__.py71CODE
LOWcurl_cffi/__init__.py71CODE
LOWcurl_cffi/__init__.py71CODE
LOWcurl_cffi/__init__.py71CODE
LOWcurl_cffi/__init__.py71CODE
LOWcurl_cffi/__init__.py71CODE
LOWcurl_cffi/__init__.py71CODE
LOWcurl_cffi/__init__.py71CODE
LOWcurl_cffi/__init__.py105CODE
LOWcurl_cffi/__init__.py105CODE
LOWcurl_cffi/__init__.py105CODE
LOWcurl_cffi/cli/run.py1CODE
LOWcurl_cffi/cli/request.py1CODE
LOWcurl_cffi/cli/__init__.py7CODE
LOWcurl_cffi/cli/__init__.py8CODE
LOWcurl_cffi/cli/__init__.py8CODE
LOWcurl_cffi/cli/__init__.py8CODE
35 more matches not shown…
Excessive Try-Catch Wrapping34 hits · 44 pts
SeverityFileLineSnippetContext
LOWbenchmark/benchmark.py84 except Exception:CODE
LOWbenchmark/ws_bench_2.py93 except Exception:CODE
LOWbenchmark/ws_bench_2.py210 except Exception:CODE
LOWbenchmark/ws_bench_1_client.py145 except Exception:CODE
LOWbenchmark/ws_bench_1_server.py75 except Exception:CODE
LOWtests/unittest/test_async_websockets.py891 except Exception:CODE
LOWtests/unittest/conftest.py858 except Exception:CODE
LOWtests/pro/test_fp_verify.py114 except Exception as exc:CODE
LOWcurl_cffi/aio.py290 except Exception:CODE
MEDIUMcurl_cffi/cli/run.py141 print("Error: no requests found in file.", file=sys.stderr)CODE
MEDIUMcurl_cffi/cli/run.py188 print(f"Error: invalid HAR JSON: {exc}", file=sys.stderr)CODE
MEDIUMcurl_cffi/cli/run.py193 print("Error: no entries found in HAR file.", file=sys.stderr)CODE
MEDIUMcurl_cffi/cli/run.py245 print(f"Error: file not found: {filepath}", file=sys.stderr)CODE
MEDIUMcurl_cffi/cli/run.py257 print(f"Error: unsupported file format: {filepath}", file=sys.stderr)CODE
LOWcurl_cffi/cli/request.py53 except Exception as e:CODE
MEDIUMcurl_cffi/cli/request.py54 print(f"Error: {e}", file=sys.stderr)CODE
MEDIUMcurl_cffi/cli/parse.py57 print(f"Error: invalid JSON in '{item}': {exc}", file=sys.stderr)CODE
MEDIUMcurl_cffi/cli/parse.py75 print(f"Error: unknown request item '{item}'", file=sys.stderr)CODE
LOWcurl_cffi/cli/doctor.py33 except Exception as exc:CODE
MEDIUMcurl_cffi/requests/websockets.py848def __anext__(self) -> bytes:CODE
LOWcurl_cffi/requests/websockets.py189 except Exception as e:CODE
LOWcurl_cffi/requests/websockets.py284 except Exception as e:CODE
LOWcurl_cffi/requests/websockets.py1072 except Exception as e:CODE
LOWcurl_cffi/requests/websockets.py1322 except Exception:CODE
LOWcurl_cffi/requests/websockets.py1428 except Exception as exc:CODE
LOWcurl_cffi/requests/websockets.py1442 except Exception:CODE
LOWcurl_cffi/requests/websockets.py1541 except Exception as e:CODE
LOWcurl_cffi/requests/websockets.py1662 except Exception as e:CODE
LOWcurl_cffi/requests/websockets.py1753 except Exception as exc:CODE
LOWcurl_cffi/requests/websockets.py1767 except Exception:CODE
LOWcurl_cffi/requests/websockets.py1820 except Exception as exc:CODE
LOWcurl_cffi/requests/session.py410 except Exception:CODE
LOWcurl_cffi/requests/session.py1327 except Exception:CODE
LOWcurl_cffi/requests/cache.py80 except Exception:CODE
Deep Nesting30 hits · 27 pts
SeverityFileLineSnippetContext
LOWbenchmark/ws_bench_2.py147CODE
LOWbenchmark/ws_bench_2.py297CODE
LOWtests/unittest/test_async_websockets.py2196CODE
LOWtests/unittest/conftest.py84CODE
LOWtests/unittest/test_requests.py1080CODE
LOWtests/unittest/test_requests.py1125CODE
LOWtests/pro/test_fp_verify.py57CODE
LOWcurl_cffi/_asyncio_selector.py168CODE
LOWcurl_cffi/curl.py347CODE
LOWcurl_cffi/aio.py259CODE
LOWcurl_cffi/fingerprints.py524CODE
LOWcurl_cffi/cli/run.py56CODE
LOWcurl_cffi/cli/parse.py45CODE
LOWcurl_cffi/cli/output.py205CODE
LOWcurl_cffi/requests/cookies.py136CODE
LOWcurl_cffi/requests/impersonate.py104CODE
LOWcurl_cffi/requests/streams.py208CODE
LOWcurl_cffi/requests/models.py180CODE
LOWcurl_cffi/requests/websockets.py486CODE
LOWcurl_cffi/requests/websockets.py580CODE
LOWcurl_cffi/requests/websockets.py1328CODE
LOWcurl_cffi/requests/websockets.py1544CODE
LOWcurl_cffi/requests/websockets.py1670CODE
LOWcurl_cffi/requests/session.py667CODE
LOWcurl_cffi/requests/utils.py70CODE
LOWcurl_cffi/requests/utils.py580CODE
LOWcurl_cffi/requests/headers.py84CODE
LOWcurl_cffi/requests/headers.py126CODE
LOWscripts/build.py30CODE
LOWscripts/check_preset.py27CODE
Self-Referential Comments7 hits · 20 pts
SeverityFileLineSnippetContext
MEDIUMbenchmark/ws_bench_utils.py103# Initialize config objectCOMMENT
MEDIUMtests/unittest/test_async_websockets.py2626 # Create a view starting at an odd offset (e.g., address ends in 1, 3, 7)COMMENT
MEDIUMcurl_cffi/_asyncio_selector.py125 # Create a thread to run the select system call. We manage this threadCOMMENT
MEDIUMcurl_cffi/_asyncio_selector.py299 # This class is a __getattribute__-based proxy. All attributes other than thoseCOMMENT
MEDIUMcurl_cffi/const.py1# This file is automatically generated, do not modify it directly.COMMENT
MEDIUMcurl_cffi/requests/websockets.py1799 # Create a task for the queue join operationCOMMENT
MEDIUMscripts/generate_consts.py20 f.write("# This file is automatically generated, do not modify it directly.\n\n")CODE
Docstring Block Structure3 hits · 15 pts
SeverityFileLineSnippetContext
HIGHcurl_cffi/curl.py743Send data to a websocket connection. Args: payload: content to send. flags: websocket fSTRING
HIGHcurl_cffi/curl.py770Close a websocket connection. Shorthand for :meth:`ws_send` with close code and message. Note that to completelySTRING
HIGHcurl_cffi/requests/websockets.py918Receive a WebSocket message. This method waits for and returns the next complete WebSocket message. ArSTRING
Modern Structural Boilerplate13 hits · 13 pts
SeverityFileLineSnippetContext
LOWtests/unittest/test_async_websockets.py246 def set_config(cfg: ServerConfig) -> None:CODE
LOWcurl_cffi/curl.py299 def _set_error_buffer(self) -> None:CODE
LOWcurl_cffi/__init__.py1__all__ = [CODE
LOWcurl_cffi/aio.py13__all__ = ["AsyncCurl"]CODE
LOWcurl_cffi/fingerprints.py14__all__ = [CODE
LOWcurl_cffi/fingerprints.py474 def set_api_key(cls, api_key: str) -> None:CODE
LOWcurl_cffi/cli/__init__.py16__all__ = [CODE
LOWcurl_cffi/requests/cookies.py5__all__ = ["Cookies"]CODE
LOWcurl_cffi/requests/cookies.py221 def update_cookies_from_curl_changes(self, changes: list[bytes]) -> None:CODE
LOWcurl_cffi/requests/cache.py22__all__ = [CODE
LOWcurl_cffi/requests/__init__.py1__all__ = [CODE
LOWcurl_cffi/requests/utils.py3__all__ = ["HttpVersionLiteral", "set_curl_options", "NOT_SET"]CODE
LOWcurl_cffi/requests/errors.py3__all__ = ["CurlError", "RequestsError", "CookieConflict", "SessionClosed"]CODE
AI Structural Patterns11 hits · 11 pts
SeverityFileLineSnippetContext
LOWcurl_cffi/cli/request.py16CODE
LOWcurl_cffi/requests/websockets.py220CODE
LOWcurl_cffi/requests/websockets.py297CODE
LOWcurl_cffi/requests/websockets.py698CODE
LOWcurl_cffi/requests/session.py225CODE
LOWcurl_cffi/requests/session.py667CODE
LOWcurl_cffi/requests/session.py853CODE
LOWcurl_cffi/requests/session.py1162CODE
LOWcurl_cffi/requests/session.py1359CODE
LOWcurl_cffi/requests/session.py1536CODE
LOWcurl_cffi/requests/utils.py580CODE
Over-Commented Block5 hits · 5 pts
SeverityFileLineSnippetContext
LOWbenchmark/server.py21# gunicorn benchmark.server:app -b 127.0.0.1:8000 -n benchmark -w 8 -k \COMMENT
LOWtests/pro/test_fp_verify.py401 # "\n".join(COMMENT
LOWffi/shim.h1#include <stdlib.h>COMMENT
LOWcurl_cffi/_asyncio_selector.py181 # this class is only intended for use on windows, whereCOMMENT
LOWcurl_cffi/requests/impersonate.py341 # 14907-19017:"UnassignedCOMMENT
TODO Padding2 hits · 4 pts
SeverityFileLineSnippetContext
LOWtests/unittest/test_impersonate.py58# TODO: implement local ja3/akamai verification server with th1.COMMENT
LOWcurl_cffi/cli/run.py107 # TODO: implement body checkingCOMMENT
Slop Phrases1 hit · 3 pts
SeverityFileLineSnippetContext
MEDIUMexamples/upload.py23# you can add multiple files under the same field nameCOMMENT
Overly Generic Function Names2 hits · 2 pts
SeverityFileLineSnippetContext
LOWcurl_cffi/aio.py259 def process_data(self, sockfd: int, ev_bitmask: int):CODE
LOWcurl_cffi/cli/request.py80def handle_request(CODE
Redundant / Tautological Comments1 hit · 2 pts
SeverityFileLineSnippetContext
LOWbenchmark/ws_bench_2.py54 # Write file to diskCOMMENT
AI Slop Vocabulary1 hit · 2 pts
SeverityFileLineSnippetContext
LOWcurl_cffi/_asyncio_selector.py204 # polling the waker alone. If we are, just return to theCOMMENT