Branch Coverage

blib/lib/Dpkg/Index.pm
Criterion Covered Total %
branch 14 54 25.9


line true false branch
68 0 39 if (exists $opts{'load'})
143 39 0 if (exists $opts{'type'})
145 0 39 if ($t == 2) { }
0 39 elsif ($t == 1) { }
36 3 elsif ($t == 512) { }
0 3 elsif ($t == 2048) { }
0 3 elsif ($t == 4096) { }
0 3 elsif ($t == 8192) { }
3 0 elsif ($t == 16384) { }
0 0 elsif ($t == 4 or $t == 16) { }
0 0 elsif ($t == 8 or $t == 32) { }
0 0 elsif ($t == 64) { }
0 0 elsif ($t == 128) { }
0 0 elsif ($t == 256) { }
166 0 0 if ($opts{'unique_tuple_key'} // $self->{'unique_tuple_key'}) { }
176 0 0 if ($opts{'unique_tuple_key'} // $self->{'unique_tuple_key'}) { }
228 507 0 unless (exists $self->{'items'}{$key})
281 15 0 if exists $self->{'items'}{$key}
299 0 0 if (ref $crit{$s_crit} eq 'Regexp') { }
0 0 elsif (ref $crit{$s_crit} eq 'CODE') { }
302 0 0 if exists $self->{'items'}{$_}{$s_crit}
311 0 0 if exists $self->{'items'}{$_}{$s_crit}
353 0 0 if defined wantarray
373 0 0 $opts{'keep_keys'} ? :
387 0 0 if (defined $func) { }
413 0 15 if (defined $fh)
416 15 0 if (defined wantarray)