Condition Coverage

blib/lib/Linux/Cpuinfo.pm
Criterion Covered Total %
condition 13 20 65.0


and 3 conditions

line !l l&&!r l&&r condition
113 2 13 1 $file and ref $file
15 0 1 $file and ref $file and ref $file eq 'HASH'
121 0 0 16 -e $file and -f $file
148 142 1170 208 $value and $value =~ /^(no|not available|yes)$/

or 2 conditions

line l !l condition
119 13 3 $file ||= '/proc/cpuinfo'

or 3 conditions

line l !l&&r !l&&!r condition
109 0 16 0 ref $proto || $proto
415 0 66 0 ref $proto || $proto