Branch Coverage

blib/lib/RFID/Reader.pm
Criterion Covered Total %
branch 15 32 46.8


line true false branch
68 0 1 if ($ENV{'RFID_DEBUG'})
114 1 1 if ($k eq 'UniqueTags') { }
0 1 elsif ($k eq 'Debug') { }
159 2 1 if ($var eq 'UniqueTags') { }
0 1 elsif ($var eq 'Debug') { }
168 0 3 if (wantarray) { }
274 0 0 unless defined $curval
287 0 0 unless my $prev = pop @{$$self{'_option_stack'};}
298 1 1 if ($$self{'_unique_tags'} or $$self{'_combine_antennas'})
306 0 1 if ($$self{'_combine_antennas'})
311 0 0 if (defined $lasttag and $tags[$i]->id eq $lasttag)
332 0 1 unless my $last = shift @list
337 1 2 unless sortcmp($cmpsub, $_, $last) == 0
347 8 0 unless $_[0]{'_debug'}
350 0 0 if ($_[0] =~ /^\d+$/)
352 0 0 unless $$self{'_debug'} >= $_[0]