Plumb a PDF for detailed information about each char, rectangle, line, et cetera — and easily extract text and tables.
This report presents the forensic synthetic code analysis of jsvine/pdfplumber, a Python project with 10,611 GitHub stars. SynthScan v2.0 examined 10,104 lines of code across 55 source files, recording 106 pattern matches distributed across 7 syntactic categories. The overall adjusted score of 9.8 places this repository in the Low AI signal band.
The scanner applied 160+ deterministic lexical heuristics, multi-line block detectors, abstract syntax tree depth profilers, and a cross-file Jaccard similarity matrix to construct a statistically normalised synthetic code estimate. All matches are individually weighted by severity coefficient and contextual multiplier before summation, and the resulting headline score is temporally discounted to account for the repository's development history relative to the commercial emergence of large language model coding tooling (November 2022 onward).
Longitudinal tracking requires multiple scan runs. Once this repository is re-scanned after new commits land, this chart will visualise how the synthetic code signal evolves over time — enabling you to detect whether AI authorship is growing, stabilising, or being actively corrected by human engineers.
Classifies detected patterns by their diagnostic confidence and structural impact. CRITICAL patterns (coefficient 10) represent definitive synthetic signatures — hallucinated imports, explicit LLM attribution metadata — virtually never produced by human authors. HIGH (5) indicates strong structural tells such as cross-file repetition or cross-linguistic idioms. MEDIUM (2) covers recognisable conversational padding and AI-specific vocabulary. LOW (1) captures subtle indicators like tautological comments and generic boilerplate that require density to carry independent signal.
This horizontal bar chart decomposes the repository's raw synthetic code score by top-level directory, allowing you to pinpoint precisely which modules or components carry the highest AI authorship density. Directories with disproportionately high scores relative to their size warrant targeted manual review: concentrated AI signatures often trace back to mass-generated configuration layers, auto-ported test suites, LLM-scaffolded boilerplate classes, or entire subsystems authored under heavy copilot assistance. Use this view to prioritise your human code-review effort.
The scanner identified 106 distinct pattern matches across 7 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a statistically significant AI authorship indicator. Expand any category row to inspect the individual file paths, line numbers, code snippets, and the lexical context (CODE, COMMENT, or STRING) in which each match was detected.
Reading the findings table: The Severity column indicates the diagnostic confidence level (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — comment-context matches receive a ×1.5 weight because LLMs systematically over-annotate. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier as dense clusters constitute far stronger evidence of synthetic authorship than isolated hits.
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | pdfplumber/__init__.py | 10 | CODE | |
| LOW | pdfplumber/__init__.py | 11 | CODE | |
| LOW | pdfplumber/__init__.py | 13 | CODE | |
| LOW | pdfplumber/__init__.py | 14 | CODE | |
| LOW | pdfplumber/__init__.py | 16 | CODE | |
| LOW | pdfplumber/page.py | 79 | CODE | |
| LOW | pdfplumber/display.py | 15 | CODE | |
| LOW | pdfplumber/display.py | 17 | CODE | |
| LOW | pdfplumber/structure.py | 32 | CODE | |
| LOW | pdfplumber/structure.py | 33 | CODE | |
| LOW | pdfplumber/table.py | 18 | CODE | |
| LOW | pdfplumber/utils/generic.py | 7 | CODE | |
| LOW | pdfplumber/utils/__init__.py | 1 | CODE | |
| LOW | pdfplumber/utils/__init__.py | 1 | CODE | |
| LOW | pdfplumber/utils/__init__.py | 1 | CODE | |
| LOW | pdfplumber/utils/__init__.py | 2 | CODE | |
| LOW | pdfplumber/utils/__init__.py | 3 | CODE | |
| LOW | pdfplumber/utils/__init__.py | 3 | CODE | |
| LOW | pdfplumber/utils/__init__.py | 3 | CODE | |
| LOW | pdfplumber/utils/__init__.py | 3 | CODE | |
| LOW | pdfplumber/utils/__init__.py | 3 | CODE | |
| LOW | pdfplumber/utils/__init__.py | 3 | CODE | |
| LOW | pdfplumber/utils/__init__.py | 3 | CODE | |
| LOW | pdfplumber/utils/__init__.py | 3 | CODE | |
| LOW | pdfplumber/utils/__init__.py | 3 | CODE | |
| LOW | pdfplumber/utils/__init__.py | 3 | CODE | |
| LOW | pdfplumber/utils/__init__.py | 3 | CODE | |
| LOW | pdfplumber/utils/__init__.py | 3 | CODE | |
| LOW | pdfplumber/utils/__init__.py | 3 | CODE | |
| LOW | pdfplumber/utils/__init__.py | 3 | CODE | |
| LOW | pdfplumber/utils/__init__.py | 3 | CODE | |
| LOW | pdfplumber/utils/__init__.py | 3 | CODE | |
| LOW | pdfplumber/utils/__init__.py | 3 | CODE | |
| LOW | pdfplumber/utils/__init__.py | 3 | CODE | |
| LOW | pdfplumber/utils/__init__.py | 3 | CODE | |
| LOW | pdfplumber/utils/__init__.py | 3 | CODE | |
| LOW | pdfplumber/utils/__init__.py | 25 | CODE | |
| LOW | pdfplumber/utils/__init__.py | 25 | CODE | |
| LOW | pdfplumber/utils/__init__.py | 25 | CODE | |
| LOW | pdfplumber/utils/__init__.py | 25 | CODE | |
| LOW | pdfplumber/utils/__init__.py | 25 | CODE | |
| LOW | pdfplumber/utils/__init__.py | 32 | CODE | |
| LOW | pdfplumber/utils/__init__.py | 32 | CODE | |
| LOW | pdfplumber/utils/__init__.py | 32 | CODE | |
| LOW | pdfplumber/utils/__init__.py | 32 | CODE | |
| LOW | pdfplumber/utils/__init__.py | 32 | CODE | |
| LOW | pdfplumber/utils/__init__.py | 32 | CODE | |
| LOW | pdfplumber/utils/__init__.py | 32 | CODE | |
| LOW | pdfplumber/utils/__init__.py | 32 | CODE | |
| LOW | pdfplumber/utils/__init__.py | 32 | CODE | |
| LOW | pdfplumber/utils/__init__.py | 32 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tests/test_structure.py | 860 | def test_structure_tree_class(self): | CODE |
| LOW | tests/test_utils.py | 102 | def test_extract_words_return_chars(self): | CODE |
| LOW | tests/test_utils.py | 147 | def test_text_rotation_layout(self): | CODE |
| LOW | tests/test_utils.py | 184 | def test_text_render_directions(self): | CODE |
| LOW | tests/test_utils.py | 243 | def test_extract_words_punctuation(self): | CODE |
| LOW | tests/test_utils.py | 290 | def test_extract_text_punctuation(self): | CODE |
| LOW | tests/test_utils.py | 323 | def test_text_flow_overlapping(self): | CODE |
| LOW | tests/test_utils.py | 339 | def test_text_flow_words_mixed_lines(self): | CODE |
| LOW | tests/test_utils.py | 400 | def test_extract_text_layout_cropped(self): | CODE |
| LOW⚡ | tests/test_utils.py | 411 | def test_extract_text_layout_widths(self): | CODE |
| LOW⚡ | tests/test_utils.py | 420 | def test_extract_text_nochars(self): | CODE |
| LOW⚡ | tests/test_utils.py | 425 | def test_search_regex_compiled(self): | CODE |
| LOW | tests/test_utils.py | 440 | def test_search_regex_uncompiled(self): | CODE |
| LOW | tests/test_utils.py | 497 | def test_handle_empty_and_whitespace_search_results(self): | CODE |
| LOW | tests/test_basics.py | 195 | def test_unicode_normalization(self): | CODE |
| LOW | tests/test_basics.py | 216 | def test_load_with_custom_laparams(self): | CODE |
| LOW | tests/test_table.py | 30 | def test_table_settings_errors(self): | CODE |
| LOW | tests/test_table.py | 102 | def test_explicit_desc_decimalization(self): | CODE |
| LOW | tests/test_display.py | 64 | def test_bytes_stream_to_image(self): | CODE |
| LOW | tests/test_convert.py | 170 | def test_additional_attr_types(self): | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | pdfplumber/convert.py | 33 | CODE | |
| LOW | pdfplumber/page.py | 273 | CODE | |
| LOW | pdfplumber/page.py | 282 | CODE | |
| LOW | pdfplumber/cli.py | 95 | CODE | |
| LOW | pdfplumber/structure.py | 351 | CODE | |
| LOW | pdfplumber/structure.py | 419 | CODE | |
| LOW | pdfplumber/structure.py | 466 | CODE | |
| LOW | pdfplumber/structure.py | 391 | CODE | |
| LOW | pdfplumber/table.py | 207 | CODE | |
| LOW | pdfplumber/table.py | 297 | CODE | |
| LOW | pdfplumber/table.py | 421 | CODE | |
| LOW | pdfplumber/table.py | 558 | CODE | |
| LOW | pdfplumber/table.py | 602 | CODE | |
| LOW | pdfplumber/utils/text.py | 241 | CODE | |
| LOW | pdfplumber/utils/text.py | 593 | CODE | |
| LOW | pdfplumber/utils/geometry.py | 163 | CODE | |
| LOW | pdfplumber/utils/pdfinternals.py | 24 | CODE | |
| LOW | tests/test_dedupe_chars.py | 85 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | pdfplumber/page.py | 267 | except Exception as e: | CODE |
| LOW | pdfplumber/pdf.py | 51 | except Exception as e: | CODE |
| LOW | pdfplumber/pdf.py | 61 | except Exception as e: # pragma: nocover | CODE |
| LOW | pdfplumber/pdf.py | 160 | except Exception as e: # pragma: nocover | CODE |
| LOW | tests/test_oss_fuzz.py | 26 | except Exception as e: | CODE |
| LOW | tests/test_oss_fuzz.py | 38 | except Exception as e: | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | pdfplumber/convert.py | 90 | # Otherwise, just use the string-representation | COMMENT |
| LOW | pdfplumber/page.py | 137 | # Even if pdfminer.six's API would just return the objects it | COMMENT |
| LOW | pdfplumber/display.py | 191 | # Otherwise, just use ((x0, top), (x1, bottom)) | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | pdfplumber/__init__.py | 1 | __all__ = [ | CODE |
| LOW | pdfplumber/pdf.py | 22 | logger = logging.getLogger(__name__) | CODE |
| LOW | pdfplumber/structure.py | 28 | logger = logging.getLogger(__name__) | CODE |
| LOW | pdfplumber/utils/text.py | 25 | logger = logging.getLogger(__name__) | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | pdfplumber/pdf.py | 28 | CODE | |
| LOW | pdfplumber/pdf.py | 73 | CODE | |
| LOW | pdfplumber/utils/text.py | 241 | CODE | |
| LOW | pdfplumber/utils/text.py | 424 | CODE |