Branch Coverage

blib/lib/Electronics/PSU/DPSxxxx.pm
Criterion Covered Total %
branch 9 14 64.2


line true false branch
91 427 493 if ($crc & 1) { }
119 0 10 if ($got_crc != (my $want_crc = _calc_crc($response)))
125 0 10 unless $got_addr == $_addr
126 0 10 unless $got_func == $func
280 0 6 unless my $m = $READINGS{$_}
282 5 1 if not defined $minreg or $reg < $minreg
283 6 0 if not defined $maxreg or $reg > $maxreg