Condition Coverage

blib/lib/RFID/Matrics/Reader.pm
Criterion Covered Total %
condition 22 99 22.2


and 3 conditions

line !l l&&!r l&&r condition
137 0 0 3 $$self{'default_node'} and not $p{'noinit'}
173 0 24 12 defined $$p{'antenna'} and $$p{'antenna'} < 10
287 2 0 0 $g =~ /^(\w+)_Antenna(\d+)$/ and $paramblock_rename{$1}
446 8 0 0 $k =~ /^(\w+)_Antenna(\d+)$/ and $paramblock_rename{$1}
852 0 0 0 $$self{'_constant_read'} and $self->_connected

or 2 conditions

line l !l condition
184 10 5 $p{'data'} ||= ''
564 0 2 $p{'protocol_speed'} || 0
0 2 $p{'filter_type'} || 0
0 2 $p{'tagtype'} || 0
2 0 $p{'filter_bits'} || "\000\000\000\000\000\000\000\000"
699 0 0 $p{'antenna1'} || $p{'antenna'} || 0
0 0 $p{'antenna2'} || 0
0 0 $p{'antenna3'} || 0
0 0 $p{'antenna4'} || 0
0 0 $p{'antenna1_power'} || 255
0 0 $p{'dwell_time'} || 150
0 0 $p{'channel'} || 8
0 0 $p{'maskbits'} || 0
0 0 $p{'masktype'} || 0
0 0 $p{'mask'} || "\000\000\000\000\000\000\000\000"
876 2 0 $$p{'antenna'} or 160
1004 0 0 $p{'environment'} || 0
0 0 $p{'protocol_speeed'} || 0
0 0 $p{'filter_type'} || 0
0 0 $p{'reserved1_bits'} || "\000\000\000"
0 0 $p{'filter_bits'} || "\000\000\000\000\000\000\000\000"
0 0 $p{'reserved2_bits'} || "\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000"
1046 0 0 $p{'oldnode'} || 255
1075 0 0 $p{'oldnode'} || 255

or 3 conditions

line l !l&&r !l&&!r condition
107 1 2 0 $p{'Node'} || $p{'node'}
108 0 0 3 $p{'timeout'} || $p{'Timeout'}
121 1 2 0 $p{'Antenna'} || $p{'antenna'}
206 0 0 17 ($dat{'status'} & 128) == 128 or ($dat{'status'} & 192) == 192
287 4 0 2 $paramblock_rename{$g} or $g =~ /^(\w+)_Antenna(\d+)$/ and $paramblock_rename{$1}
446 4 0 8 $paramblock_rename{$k} or $k =~ /^(\w+)_Antenna(\d+)$/ and $paramblock_rename{$1}
699 0 0 0 $p{'antenna2_power'} || $p{'antenna2'}
0 0 0 $p{'antenna3_power'} || $p{'antenna3'}
0 0 0 $p{'antenna4_power'} || $p{'antenna4'}
1047 0 0 0 $p{'oldnode'} == 255 or not $p{'oldnode'}
1073 0 0 0 $p{'newnode'} or $p{'node'}
1075 0 0 0 $p{'newnode'} || $p{'node'}