Branch Coverage

blib/lib/WARC/Index/Entry.pm
Criterion Covered Total %
branch 36 36 100.0


line true false branch
67 1 697 unless (defined wantarray)
70 1 696 unless scalar @_
72 1 695 if scalar @_ % 2
75 20 675 if (wantarray) { }
98 14 920 unless defined $distance
100 475 445 if ($distance < 0) { }
104 13 660 unless $seen
105 314 346 $match ? :
121 55 905 if UNIVERSAL::isa($sought[0], 'ARRAY')
124 1 959 unless defined $_distance_value_map{$item}
127 16 943 unless defined $actual
132 725 218 if ($mode eq 'exact') { }
124 94 elsif ($mode eq 'numeric') { }
93 1 elsif ($mode eq 'prefix') { }
134 284 474 if $sought eq $actual
139 126 2 if $distance < 0 or $here < $distance
143 41 56 unless $sought eq substr($actual, 0, length $sought)
145 54 2 if $distance < 0 or $here < $distance