Condition Coverage

blib/lib/HiPi/RaspberryPi.pm
Criterion Covered Total %
condition 1 20 5.0


and 3 conditions

line !l l&&!r l&&r condition
375 5 0 0 $_cpuinfostash{'Hardware'} && $_cpuinfostash{'Hardware'} =~ /^BCM2708|BCM2709|BCM2710|BCM2835$/

or 2 conditions

line l !l condition
403 0 0 $_revinfostash{'extended_release'}{$rev} || $_revinfostash{'release'}{$schemetype} || 'Q1 2015'
406 0 0 $_revinfostash{'memsize'}{$schemesize} || 256
407 0 0 $_revinfostash{'manufacturer'}{$schememanu} || 'Sony'
409 0 0 $_revinfostash{'processor'}{$schemeproc} || 'BCM2835'

or 3 conditions

line l !l&&r !l&&!r condition
404 0 0 0 $_revinfostash{'type'}{$schemetype} || "Unknown Raspberry Pi Type : $schemetype"
408 0 0 0 $_revinfostash{'board_type'}{$schemetype} || $board_type
414 0 0 0 $schemetype == 8 || $schemetype == 10 || $schemetype == 13 || $schemetype == 14 || $schemetype == 16