Branch Coverage

blib/lib/Dpkg/Control/Info.pm
Criterion Covered Total %
branch 12 20 60.0


line true false branch
68 0 1 if (scalar @args == 0) { }
1 0 elsif (scalar @args == 1) { }
76 1 0 if $opts{'filename'}
106 0 1 unless $cdata->parse($fh, $desc)
108 0 1 unless (exists $cdata->{'Source'})
113 1 3 unless $cdata->parse($fh, $desc)
115 0 3 unless (exists $cdata->{'Package'})
119 0 3 unless (exists $cdata->{'Architecture'})
168 1 2 if $pkg->{'Package'} eq $name
197 3 0 if defined $fh