Branch Coverage

lib/Device/ParallelPort/drv.pm
Criterion Covered Total %
branch 11 26 42.3


line true false branch
84 2 0 if $this->can('init')
94 0 6 unless ($this->INFO->{'type'} eq 'byte')
103 7 7 (ord $byte & 1 << $bit) == 1 << $bit ? :
108 0 6 unless ($this->INFO->{'type'} eq 'bit')
112 7 41 if ($this->get_bit($bit))
131 0 3 unless ($this->INFO->{'type'} eq 'byte')
135 3 0 if (defined $current) { }
140 3 0 if ($val) { }
150 0 1 unless ($this->INFO->{'type'} eq 'bit')
223 0 0 if ($address * 1 == $address) { }
0 0 elsif ($address =~ /^lpt(\d)$/) { }
234 0 0 if ($num == 0) { }
0 0 elsif ($num == 1) { }