Branch Coverage

lib/Biblio/RFID/Reader.pm
Criterion Covered Total %
branch 3 24 12.5


line true false branch
60 0 0 unless (exists $$self{'_tags'}{$tag})
68 0 0 if ($@)
74 0 0 if $$triggers{'enter'}
82 0 0 if $$triggers{'leave'}
103 0 0 unless $_[0]{'_tags'}{$_[1]}{'blocks'}
104 0 0 unless $_[0]{'_tags'}{$_[1]}{'afi'}
135 1 0 unless defined $filter
142 0 1 if $filter and not $reader =~ /$filter/i
145 1 0 if $@
146 0 0 if (my $rfid = $module->new) { }
154 0 0 unless @rfid
180 0 0 if $command =~ /write/