Condition Coverage

blib/lib/System/Info/Darwin.pm
Criterion Covered Total %
condition 14 25 56.0


or 2 conditions

line l !l condition
39 3 1 $system_profiler->{'number of cpus'} || 1
58 0 4 do { local $^W = 0; `sw_vers -productVersion 2>/dev/null` } || ''
115 3 1 $system_profiler{'cpu speed'} ||= 0
118 4 0 $system_profiler{'cpu type'} ||= "Unknown"
122 4 0 $system_profiler{'arch'} ||= "Unknown"

or 3 conditions

line l !l&&r !l&&!r condition
46 1 3 0 $system_profiler->{'chip'} || $system_profiler->{'cpu type'}
55 0 0 4 $scl->{'hw.logicalcpu'} || $scl->{'hw.ncpu'}
56 0 0 4 $scl->{'hw.physicalcpu'} || $scl->{'hw.ncpu'}
114 3 1 0 $system_profiler{'cpu type'} ||= `uname -m`
121 0 4 0 $system_profiler{'arch'} ||= `uname -m`