Condition Coverage

blib/lib/Perl/Critic/Policy/Community/DollarAB.pm
Criterion Covered Total %
condition 14 15 93.3


and 3 conditions

line !l l&&!r l&&r condition
51 96 0 35 $function->isa("PPI::Token::Word") and $function =~ /([^:]+)\z/
96 8 27 $function->isa("PPI::Token::Word") and $function =~ /([^:]+)\z/ and exists $sorters->{$1}

or 3 conditions

line l !l&&r !l&&!r condition
32 16 15 6 $elem->symbol eq "\$a" or $elem->symbol eq "\$b"
45 4 29 37 not $outer or $outer->isa("PPI::Structure::Block")
51 2 88 43 not $function or $function->isa("PPI::Token::Word") and $function =~ /([^:]+)\z/ and exists $sorters->{$1}