Condition Coverage

blib/lib/Util/SelfDestruct.pm
Criterion Covered Total %
condition 6 51 11.7


and 3 conditions

line !l l&&!r l&&r condition
82 0 0 0 exists $$PARAM{'before'} || exists $$PARAM{'after'} and exists $$PARAM{'now'}
114 0 0 1 open FH, $mode, '/root/.selfdestruct' and flock FH, 2
123 1 0 0 $action eq 'write' and not $matchInFile
126 0 0 1 flock FH, 8 and close FH
146 0 0 0 exists $$param{'after'} and exists $$param{'before'}
0 0 0 exists $$param{'after'} and exists $$param{'before'} and $now > $$param{'after'}
0 0 0 exists $$param{'after'} and exists $$param{'before'} and $now > $$param{'after'} and $now < $$param{'before'}
0 0 0 exists $$param{'after'} and not exists $$param{'before'}
0 0 0 exists $$param{'after'} and not exists $$param{'before'} and $now > $$param{'after'}
0 0 0 exists $$param{'before'} and not exists $$param{'after'}
0 0 0 exists $$param{'before'} and not exists $$param{'after'} and $now < $$param{'before'}
179 0 0 0 length($str) - length($isodate) < 10 and my($year, $mon, $mday, $hour, $min, $sec) = $isodate =~ /^\s*(19\d{2}|2\d{3})(0[1-9]|1[12])(0[1-9]|[12][0-9]|3[01]) (?:([01][0-9]|2[0-3])([0-5][0-9])([0-5][0-9]))?\s*$/x

or 2 conditions

line l !l condition
108 1 0 shift() || 'read'
175 0 0 shift() || ''
176 0 0 shift() || '000000'

or 3 conditions

line l !l&&r !l&&!r condition
82 0 0 0 exists $$PARAM{'before'} || exists $$PARAM{'after'}
146 0 0 1 exists $$param{'after'} || exists $$param{'before'}
194 1 0 0 shift() || time