| lib/Biblio/RFID/Reader/Serial.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 3 | 12 | 25.0 |
| line | true | false | branch |
|---|---|---|---|
| 26 | 0 | 1 | if $self->port |
| 45 | 0 | 2 | if defined $$self{'port'} |
| 48 | 0 | 1 | $ENV{'RFID_DEVICE'} ? : |
| 53 | 0 | 0 | if $$serial_device{$device} |
| 55 | 0 | 0 | if (my $port = 'Device::SerialPort'->new($device)) |
| 64 | 0 | 0 | if ($self->init) { } |