Condition Coverage

blib/lib/Apache/Log/Parser.pm
Criterion Covered Total %
condition 17 33 51.5


and 3 conditions

line !l l&&!r l&&r condition
52 0 0 3 length $formats[$i][0] > 0 and scalar reduce(sub { $a += scalar grep({$_ eq $b;} @REQUIRED_FIELDS); } , 0, @{$formats[$i][1];}) == scalar @REQUIRED_FIELDS
67 3 0 2 ref $args{'fast'} and scalar @{$args{'fast'};} > 0
118 5 0 33 defined $$pairs{'status'} and $$pairs{'status'} ne ''
5 0 33 defined $$pairs{'status'} and $$pairs{'status'} ne '' and defined $$pairs{'request'}
0 0 33 defined $$pairs{'status'} and $$pairs{'status'} ne '' and defined $$pairs{'request'} and $$pairs{'request'} ne ''
0 0 33 defined $$pairs{'status'} and $$pairs{'status'} ne '' and defined $$pairs{'request'} and $$pairs{'request'} ne '' and defined $$pairs{'datetime'}
0 0 33 defined $$pairs{'status'} and $$pairs{'status'} ne '' and defined $$pairs{'request'} and $$pairs{'request'} ne '' and defined $$pairs{'datetime'} and $$pairs{'datetime'} ne ''
154 5 0 15 $c eq '\\' and $backslash_count += 1
247 15 26 49 defined $$rule[2] and not $$rule[2]($pairs)

or 2 conditions

line l !l condition
216 0 0 shift() || 0

xor 4 conditions

line l&&r l&&!r !l&&r !l&&!r condition
31 0 5 5 0 $args{'strict'} xor $args{'fast'}