Skip to content

Call graph (perl): calls written without parentheses are not extracted #6433

Done

Description

@squid-protocol

Found by #3799. $obj->method, shift, plan tests => 4, blessed $x, delete $h->{k} are calls (C3) that the engine takes only when name( is written. Shapes: perl method_call_expression/method (490), func1op/shift (214), ambiguous_function_call_expression (188), and most of engine-attributes (731).

Activity

  1. squid-protocol commented on Oct 24, 2026

    @squid-protocol
    OwnerAuthor

    Churn run 6433-20261024T1104Z (host melek) ended without a PR. plan-held approved earlier; resumed as 6433-20261024T1115Z

  2. added
    bug
    scope:frontier
    on Oct 24, 2026
  3. 9 remaining items

  4. squid-protocol commented on Nov 22, 2026

    @squid-protocol
    OwnerAuthor

    Fixed across #6449, #6721, #6894, #6945, #7004, and #8815 via CALLS_OUT_PERL in gitgalaxy/standards/language_standards/languages/perl.py.

    Verified all five issue examples extract directly:

    • $obj->method; -> ["method"]
    • my $x = shift; -> ["shift"]
    • plan tests => 4; -> ["plan"]
    • blessed $x; -> ["blessed"]
    • delete $h->{k}; -> ["delete"]

    Perl Level-1 call extraction now stands at 93.9% precision / 96.3% recall (4,378 TP, 286 FP, 166 FN across 943 functions). Closing as complete.

  5. squid-protocol commented on Nov 22, 2026

    @squid-protocol
    OwnerAuthor

    Reopening: while the 5 examples in the issue body now extract via CALLS_OUT_PERL (93.9% P / 96.3% R), docs/self_scan/graph_comparison_ledger.json still shows 149 reproducing Perl call misses (engine-attributes-to-another-function 101, method_call_expression/method 21, func1op_call_expression/-x 20, ambiguous_function_call_expression/function 7) that need targeted fixes.

  6. squid-protocol commented on Nov 26, 2026

    @squid-protocol
    OwnerAuthor

    Claimed by promoter-bot host melek, lease renewed 2026-11-26T00:51Z. It lapses after 6 h without a renewal. To take it back, assign someone or remove the claim:melek label.

  7. squid-protocol commented on Nov 26, 2026

    @squid-protocol
    OwnerAuthor

    Closing: paren-less Perl calls (method, shift, plan tests =>, blessed $x, delete) were extracted by slices 1-7; PR #9351 removed the operator-word false calls (m/s/tr/y/x). Perl call comparison is now 94.2% precision / 97.7% recall. Leftovers (function_call_expression/function miss of 12, string_literal/scalar<replacement shapes, Plack import shapes) are frontier, no burned-estate program needs them.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugcall-graphclaim:melekpriority: lowscope:frontier

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions