| blib/lib/Device/BusPirate.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 7 | 12 | 58.3 |
| line | true | false | branch |
|---|---|---|---|
| 115 | 0 | 0 | unless my $fh = 'IO::Termios'->open($serial, "$baud,8,n,1", 2304) |
| 152 | 0 | 120 | if wantarray |
| 173 | 0 | 86 | unless substr($buf, 0, 1, '') eq "\cA" |
| 185 | 1 | 122 | unless $n |
| 194 | 9 | 113 | unless defined $name |
| 281 | 0 | 5 | unless my $modeclass = $MODEMAP{$modename} |