Branch Coverage

blib/lib/HiPi/Interface/Common/MCP23X17.pm
Criterion Covered Total %
branch 0 56 0.0


line true false branch
27 0 0 if ($bank == 1) { }
77 0 0 $params{'bank'} ? :
84 0 0 unless exists $_r_addr_map{$register}
96 0 0 $byte & $checkbits ? :
110 0 0 if ($registername eq 'IOCON')
111 0 0 $vals[0] & 128 ? :
121 0 0 if ($bitcount % 8)
142 0 0 if ($registername eq 'IOCON')
143 0 0 $bytes[0] & 128 ? :
159 0 0 unless $bit =~ /^[0-7]$/
162 0 0 $val ? :
170 0 0 unless $bit =~ /^[0-7]$/
173 0 0 $byte & $mask ? :
178 0 0 if (defined $val) { }
188 0 0 if (defined $val) { }
198 0 0 if (defined $val) { }
208 0 0 if (defined $val) { }
218 0 0 if (defined $val) { }
228 0 0 if (defined $val) { }
238 0 0 if (defined $val) { }
248 0 0 unless $port =~ /^[a-b]$/i
256 0 0 unless $port =~ /^[a-b]$/i
265 0 0 if ($port and defined $pin) { }
275 0 0 if (defined $val) { }
295 0 0 $byte & $mask ? :
297 0 0 if (defined $val)
298 0 0 $val ? :
299 0 0 if ($val != $returnval)