Condition Coverage

blib/lib/Log/Rolling.pm
Criterion Covered Total %
condition 4 36 11.1


and 3 conditions

line !l l&&!r l&&r condition
105 0 0 0 $key eq 'max_size' and $val =~ /^\d+$/
0 0 0 $key eq 'wait_attempts' and $val =~ /^\d+$/
0 0 0 $key eq 'wait_interval' and $val =~ /^\d+$/
0 0 0 $key eq 'pid' and $val =~ /^(?:0|1)$/
0 0 0 $key eq 'mode' and $val =~ /^\d{4}$/
163 0 1 0 defined $$self{'max_size'} and not $$self{'max_size'} =~ /^\d+$/
179 0 0 0 defined $$self{'wait_attempts'} and not $$self{'wait_attempts'} =~ /^\d+$/
195 0 0 0 defined $$self{'wait_interval'} and not $$self{'wait_interval'} =~ /^\d+$/
212 0 0 0 defined $$self{'mode'} and not $$self{'mode'} =~ /^\d{4}$/
273 2 0 0 $fres != 1 and $track_waits < $$self{'wait_attempts'}
281 0 0 2 defined $$self{'max_size'} and $$self{'max_size'} =~ /^\d+$/
0 0 2 defined $$self{'max_size'} and $$self{'max_size'} =~ /^\d+$/ and $$self{'max_size'} > 0