Repository navigation
Call graph (perl): die, or/and anchors, split, block and hash args (Part of #6433) - #6449
Conversation
…s (Part of #6433) Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
|
No description provided. |
…104Z # Conflicts: # tests/golden_master_audit/12_scan_output_snapshots/llm_brief.json # tests/golden_master_audit/6_parsed_files_scanned_artifacts/files/11_scan_db_snapshot/pagerank.json # tests/golden_master_zero_dep_audit/12_scan_output_snapshots/llm_brief.json # tests/golden_master_zero_dep_audit/6_parsed_files_scanned_artifacts/files/11_scan_db_snapshot/pagerank.json
Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
|
No description provided. |
|
No description provided. |
|
No description provided. |
1 similar comment
|
No description provided. |
…104Z # Conflicts: # tests/golden_master_audit/12_scan_output_snapshots/llm_brief.json # tests/golden_master_audit/6_parsed_files_scanned_artifacts/files/11_scan_db_snapshot/pagerank.json # tests/golden_master_zero_dep_audit/12_scan_output_snapshots/llm_brief.json # tests/golden_master_zero_dep_audit/6_parsed_files_scanned_artifacts/files/11_scan_db_snapshot/pagerank.json
|
This PR conflicts with main, so no checks ran. Merge origin/main into it and regenerate generated files with their tools (never hand-merge them), then push. |
Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
|
CI shepherd: the head of this PR (b7d6eb0) is not the one a maintainer labelled |
|
No description provided. |
|
No description provided. |
Part of #6433 (slice 2 after #6437).
What changed
dieleaves perl_calls_out_ignore(a built-in tree-sitter counts as a call).CALLS_OUT_PERLgains anchors:or/and/xor/notbefore a call,split /re/,name {block} @list,%hash/qq{}/file-handle first args;_PERL_BUILTINnow matchesshift }while{shift}stays a hash key.test_calls_out_perl_6433.py(positive, negative, ReDoS payloads).Measured (call_graph_accuracy, perl)
Precision 94.3% -> 94.4%, recall 94.7% -> 96.2% (TP 4305 -> 4370, FP 262 -> 259, FN 239 -> 174). Baseline regenerated.
Goldens: perl-only drift (calls_out_to, fan_in/out, pagerank, graph/brief), both legs.
Class / Sibling gaps
_set_product). Tried 300/500/800: 500 fixes it but regresses Makefile.PL and Parser.pm. Not fixed here.-e -f -d(20 FN): operators, not callables; not emitted.rand/int randand similar no-argument builtins.open FH, ...file-handle forms.Cross-repo
Touches
docs/calls_out_rule_contract.md(one perl row), shared with worker 6432: merged main before pushing. Keyword-rosetta perl control:dieleft the ignore list; no companion PR identified.Facts checked: pr_gates --fast 7/7, audit_check clear, plain pytest of the new file from /tmp (65 passed).
🤖 Generated with Claude Code