| blib/lib/Perl/Critic/Policy/Freenode/Prototypes.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| condition | 15 | 19 | 78.9 |
| line | !l | l&&!r | l&&r | condition |
|---|---|---|---|---|
| 35 | 4 | 0 | 1 | $include->pragma eq 'feature' and $include =~ /\bsignatures\b/ |
| 36 | 3 | 0 | 1 | $include->pragma eq 'experimental' and $include =~ /\bsignatures\b/ |
| 37 | 2 | 0 | 1 | $include->module eq 'Mojo::Base' and $include =~ /-signatures\b/ |
| 38 | 1 | 0 | 1 | $include->module eq 'Mojolicious::Lite' and $include =~ /-signatures\b/ |
| line | l | !l | condition |
|---|---|---|---|
| 32 | 5 | 4 | $elem->find('PPI::Statement::Include') || [] |
| 42 | 3 | 1 | $elem->find('PPI::Token::Prototype') || [] |
| line | l | !l&&r | !l&&!r | condition |
|---|---|---|---|---|
| 46 | 1 | 1 | 1 | $prototype->prototype eq '' or $prototype->prototype =~ /&/ |