Branch Coverage

blib/lib/RPi/I2C.pm
Criterion Covered Total %
branch 0 12 0.0


line true false branch
22 0 0 unless (defined $addr and $addr =~ /^\d+$/)
26 0 0 defined $dev ? :
34 0 0 if (not defined $i2c_conn or $i2c_conn < 0)
35 0 0 unless ($ENV{'I2C_TESTING'})
106 0 0 unless defined $_[0]
110 0 0 if defined $_[0]->fileno