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
91 0 0 0 $re->modifier_asserted("g") and not _check_if_in_while_condition_or_block($elem)
135 0 0 0 &none(sub {
182 0 0 0 1 == @args and $args[0]->isa("PPI::Statement::Expression")
228 0 0 0 $psib and $psib->isa("PPI::Token::Cast")
245 0 0 0 $psib and $psib->content eq "=~"
302 0 0 0 &none(sub {
327 0 0 0 $prior_token->isa('PPI::Token::Operator') && '!~' eq $prior_token->content
334 0 0 0 $parent and not $parent->isa("PPI::Statement::Sub")
414 0 0 0 $parent and not &$parent()
428 0 0 0 $elem->isa("PPI::Token::Structure") and ";" eq $elem->content
469 0 0 0 $prev->isa('PPI::Token::Word') && $SPLIT eq $prev->content
496 0 0 0 $arg->{'negated'} and _is_condition_of_if_statement($elem)
497 0 0 0 $nsib and not $nsib->isa("PPI::Structure::Block")
524 0 0 0 $elem and $elem->isa("PPI::Structure::Condition")
666 0 0 0 $capture_ref->{$name} and $content =~ / \G ( [{] [^}]+ [}] | [[] [^]] []] ) /cgmsx
670 0 0 0 0 < $num and $num <= @{$captures;}
731 0 0 0 $num >= 0 and $ZERO_BASED_CAPTURE_REFERENCE{$variable_name}
752 0 0 0 $re and $number < 0

or 2 conditions

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

or 3 conditions

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