Repository navigation
Perl imports skip POD and __END__ text; plack/Plack as 2nd Perl import-graph repo (Part of #3798) - #6586
Merged
Conversation
…t-graph repo (Part of #3798) Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
…es (Part of #3798) Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Contributor
|
No description provided. |
Contributor
This was referenced Oct 25, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Part of #3798 (Perl second repo slice).
What
plack/Plack@ 9599edb added as the 2nd Perl repo of the import-graph corpus.__END__/__DATA__(import_capture_blankinperl.py, the hook Kotlin/Java/Scala already use). Ause Plack::Builder;in a=head1 SYNOPSISblock was an import edge.Numbers (import_graph_accuracy, perl)
32 false edges before the fix (29 POD/
__END__SYNOPSISuselines); 5 remain.Class / Sibling gaps
Class: non-code surface read as an import because Perl's code stream keeps POD (known gap in
perl.py,lexical_familyisline_exclusive) and_dependency_captureis unanchored. Members handled here: POD blocks (closed and unterminated openers),__END__,__DATA__; each has a test (test_perl_pod_imports_3798.py, including a bounded-time check). Deliberately not stripped fromcode_stream, so no other Perl signal moves.Sibling gaps: (1)
useinside heredoc/string bodies in.tfiles (5 FP in Plack: apache2.t, cgibin_exec.t, wrapcgi_exec.t, framing.t, harakiri.t), a different mechanism (heredoc masking); (2) 3 FNtruth-names-several-files(use libplus a module resolving to 2 files). No burned estate program needs either. Ruby=begin/=endand Raku=begin podwere not scanned for the same leak.Golden
Drift limited to the Perl crucible groups (bugzilla, exiftool, spamassassin) import edges and the values derived from them (coordinates, pagerank, fingerprints). Blessed with
golden-lock.sh crucible_check.py --update --yes.Gates
pr_gates --fast7/7;--ratchets9 pass, 0 fail, 0 skipped; graph tool tests, perl tests pass. No call-graph impact (Perl is not in the call-graph corpus). No workflow change.🤖 Generated with Claude Code