Condition Coverage

blib/lib/Perl/Critic/Policy/RegularExpressions/ProhibitUselessTopic.pm
Criterion Covered Total %
condition 10 12 83.3


and 3 conditions

line !l l&&!r l&&r condition
29 0 1 31 $op_node and $op_node->isa("PPI::Token::Operator")
34 0 13 17 $target_node and $target_node->isa('PPI::Token::Regexp') || $target_node->isa('PPI::Token::QuoteLike::Regexp')

or 3 conditions

line l !l&&r !l&&!r condition
32 22 8 1 $op eq "=~" or $op eq "!~"
34 23 2 5 $target_node->isa('PPI::Token::Regexp') || $target_node->isa('PPI::Token::QuoteLike::Regexp')