Condition Coverage

blib/lib/Perl/Critic/Policy/ValuesAndExpressions/RequireNumericVersion.pm
Criterion Covered Total %
condition 20 26 76.9


and 3 conditions

line !l l&&!r l&&r condition
96 5 2 2 defined $got_perl and $got_perl >= $perl_510

or 2 conditions

line l !l condition
46 32 4 _symbol_is_mod_VERSION($elem) || (return)
49 27 5 $elem->snext_sibling || (return)
53 27 0 $assign->snext_sibling || (return)
142 53 1 Perl::Critic::Pulp::Utils::elem_package($elem) || (return undef)
159 19 0 $document->find('PPI::Token::Symbol') || (return 0)
161 27 0 _symbol_is_mod_VERSION($elem) || (next)
164 24 1 $elem->snext_sibling || (next)
167 24 0 $assign->snext_sibling || (next)
171 4 0 $value->snext_sibling || (next)
173 3 0 _symbol_is_mod_VERSION($value) || (next)

or 3 conditions

line l !l&&r !l&&!r condition
66 13 3 3 $value->isa('PPI::Token::Quote::Double') or $value->isa('PPI::Token::Quote::Interpolate')