blib/lib/Device/Chip/MAX11200.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 10 | 18 | 55.5 |
line | true | false | branch |
---|---|---|---|
289 | 0 | 2 | unless defined(my $rateidx = &first(sub { ; } , 0 .. $#RATES)) |
331 | 0 | 1 | if ($config->{'UB'} eq 'UNIPOLAR') { } |
336 | 1 | 0 | if ($config->{'FORMAT'} eq 'TWOS_COMP') { } |
338 | 0 | 1 | if $value >= 8388608 |
436 | 0 | 1 | unless $pname eq "GPIO" |
457 | 6 | 2 | unless defined(my $v = $$values{"GPIO$n"}) |
470 | 0 | 1 | unless $pin =~ /^GPIO(\d)/u and $1 >= 1 and $1 <= 4 |
477 | 0 | 1 | if ($newdir ne $_dir) |
491 | 1 | 0 | if $pin =~ /^GPIO(\d)/u |