Branch Coverage

blib/lib/RFID/Reader/Serial.pm
Criterion Covered Total %
branch 0 16 0.0


line true false branch
78 0 0 unless $$self{'com'} = $p{'Port'}
101 0 0 if ($$self{'baudrate'} > 115200 and ref $$self{'com'} eq 'Win32::SerialPort') { }
111 0 0 unless $$self{'com'}->write_settings
122 0 0 if (ref_tainted(\$data))
126 0 0 if (time - $start > $$self{'timeout'})
130 0 0 unless my $wb = $$self{'com'}->write($data)
153 0 0 if (time - $start > $$self{'timeout'})
180 0 0 if (time - $started >= $$self{'timeout'})