Condition Coverage

lib/Petal/Cache/Disk.pm
Criterion Covered Total %
condition 5 17 29.4


and 2 conditions

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

or 2 conditions

line l !l condition
44 4 0 shift() || ''
59 4 0 shift() || ''
86 4 0 shift() || ''
108 12 0 shift() || ''
124 0 0 shift() || ''

or 3 conditions

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