Condition Coverage

blib/lib/Perl/Critic/Policy/RegularExpressions/ProhibitUnusedCapture.pm
Criterion Covered Total %
condition 0 71 0.0


and 3 conditions

line !l l&&!r l&&r condition
86 0 0 0 $re->modifier_asserted("g") and not _check_if_in_while_condition_or_block($elem)
92 0 0 0 _enough_assignments($elem, \@captures) and not %named_captures
93 0 0 0 _is_in_slurpy_array_context($elem) and not %named_captures
128 0 0 0 &none(sub {
175 0 0 0 1 == @args and $args[0]->isa("PPI::Statement::Expression")
221 0 0 0 $psib and $psib->isa("PPI::Token::Cast")
238 0 0 0 $psib and $psib->content eq "=~"
295 0 0 0 &none(sub {
320 0 0 0 $prior_token->isa('PPI::Token::Operator') && '!~' eq $prior_token->content
327 0 0 0 $parent and not $parent->isa("PPI::Statement::Sub")
407 0 0 0 $parent and not &$parent()
421 0 0 0 $elem->isa("PPI::Token::Structure") and ";" eq $elem->content
462 0 0 0 $prev->isa('PPI::Token::Word') && $SPLIT eq $prev->content
489 0 0 0 $arg->{'negated'} and _is_condition_of_if_statement($elem)
490 0 0 0 $nsib and not $nsib->isa("PPI::Structure::Block")
517 0 0 0 $elem and $elem->isa("PPI::Structure::Condition")
653 0 0 0 $capture_ref->{$name} and $content =~ / \G ( [{] [^}]+ [}] | [[] [^]] []] ) /cgmsx
657 0 0 0 0 < $num and $num <= @{$captures;}
718 0 0 0 $num >= 0 and $ZERO_BASED_CAPTURE_REFERENCE{$variable_name}
739 0 0 0 $re and $number < 0

or 2 conditions

line l !l condition
80 0 0 $named_captures{$struct->name} ||= []

or 3 conditions

line l !l&&r !l&&!r condition
184 0 0 0 $var->isa("PPI::Token::Symbol") or $var->isa("PPI::Token::Cast")
227 0 0 0 '@' eq $sigil || '%' eq $sigil
594 0 0 0 $elem->isa("PPI::Token::Magic") or $capture_ref->{$content}