Condition Coverage

blib/lib/Sys/Info/Driver/Linux/Device/CPU.pm
Criterion Covered Total %
condition 5 20 25.0


and 3 conditions

line !l l&&!r l&&r condition
76 26 0 0 $cpu{'Model'} and $cpu{'Revision'}
0 0 0 $cpu{'Model'} and $cpu{'Revision'} and $cpu{'Serial'}
90 26 0 0 not $speed and -e $cpu_freq_file

or 2 conditions

line l !l condition
107 26 0 $name || ''

or 3 conditions

line l !l&&r !l&&!r condition
40 0 0 0 $e->{'model'} ||= $device_model
68 26 0 0 shift() || croak('Parser called without data')
107 26 0 0 $cpu{'cpu cores'} || $up->max_physical