Condition Coverage

blib/lib/Perl/Critic/Policy/Community/Prototypes.pm
Criterion Covered Total %
condition 15 19 78.9


and 3 conditions

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/

or 2 conditions

line l !l condition
32 5 4 $elem->find('PPI::Statement::Include') || []
42 3 1 $elem->find('PPI::Token::Prototype') || []

or 3 conditions

line l !l&&r !l&&!r condition
46 1 1 1 $prototype->prototype eq "" or $prototype->prototype =~ /&/