Branch Coverage

lib/Rex/Pkg/Gentoo.pm
Criterion Covered Total %
branch 0 56 0.0


line true false branch
58 0 0 if ($slot_idx != -1) { }
0 0 elsif ($version) { }
59 0 0 if $version and index($version, ":") != -1
67 0 0 if ($slot_idx != -1)
74 0 0 $version ? :
0 0 $slot ? :
80 0 0 if defined $version
82 0 0 unless (@pkg_info)
88 0 0 if defined $version
92 0 0 unless (@pkg_info)
93 0 0 $version ? :
0 0 $slot ? :
103 0 0 if (defined $slot) { }
114 0 0 if ($slot eq $slot_installed)
121 0 0 unless ($slot_ok)
122 0 0 $version ? :
0 0 $slot ? :
139 0 0 unless $line =~ /\s*\[ebuild[^]]+\]\s+$pkg_info[0]{'name'}/u
141 0 0 $version ? :
0 0 $slot ? :
148 0 0 $version ? :
0 0 $slot ? :
159 0 0 if ($self->{'short'}) { }
197 0 0 if (can_run('layman')) { }
201 0 0 if ($? == 0) { }
202 0 0 if ($readd) { }
214 0 0 if defined $op
225 0 0 if (can_run('layman')) { }