blib/lib/Perl/Critic/Policy/Community/Prototypes.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 17 | 22 | 77.2 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
36 | 5 | 0 | 1 | $include->version and "version"->parse($include->version) >= "version"->parse("v5.36") |
37 | 4 | 0 | 1 | $include->pragma eq "feature" and $include =~ /\bsignatures\b/ |
38 | 3 | 0 | 1 | $include->pragma eq "experimental" and $include =~ /\bsignatures\b/ |
39 | 2 | 0 | 1 | $include->module eq "Mojo::Base" and $include =~ /-signatures\b/ |
40 | 1 | 0 | 1 | $include->module eq "Mojolicious::Lite" and $include =~ /-signatures\b/ |
line | l | !l | condition |
---|---|---|---|
33 | 6 | 4 | $elem->find('PPI::Statement::Include') || [] |
44 | 3 | 1 | $elem->find('PPI::Token::Prototype') || [] |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
48 | 1 | 1 | 1 | $prototype->prototype eq "" or $prototype->prototype =~ /&/ |