Branch Coverage

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


line true false branch
67 0 39 if (exists $opts{'load'})
140 39 0 if (exists $opts{'type'})
142 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) { }
163 0 0 if ($opts{'unique_tuple_key'} // $self->{'unique_tuple_key'}) { }
173 0 0 if ($opts{'unique_tuple_key'} // $self->{'unique_tuple_key'}) { }
225 507 0 unless (exists $self->{'items'}{$key})
278 15 0 if exists $self->{'items'}{$key}
296 0 0 if (ref $crit{$s_crit} eq 'Regexp') { }
0 0 elsif (ref $crit{$s_crit} eq 'CODE') { }
299 0 0 if exists $self->{'items'}{$_}{$s_crit}
308 0 0 if exists $self->{'items'}{$_}{$s_crit}
350 0 0 if defined wantarray
370 0 0 $opts{'keep_keys'} ? :
384 0 0 if (defined $func) { }
410 0 15 if (defined $fh)
413 15 0 if (defined wantarray)