Condition Coverage

lib/Petal/Cache/Disk.pm
Criterion Covered Total %
condition 5 21 23.8


and 2 conditions

line l !l condition
64 0 0 Carp::cluck("Cannot write-open $tmp/$key ($!)") and return
68 0 0 Carp::cluck("Cannot write-open $tmp/$key ($!)") and return
161 0 0 Carp::cluck("Cannot read-open $tmp/$key ($!)") and return
165 0 0 Carp::cluck("Cannot read-open $tmp/$key ($!)") and return

or 2 conditions

line l !l condition
43 4 0 shift() || ''
58 4 0 shift() || ''
84 4 0 shift() || ''
106 12 0 shift() || ''
122 0 0 shift() || ''

or 3 conditions

line l !l&&r !l&&!r condition
182 8 0 0 $TMP_DIR ||= 'File::Spec'->tmpdir