Branch Coverage

blib/lib/Metabrik/System/Centos/Package.pm
Criterion Covered Total %
branch 0 38 0.0


line true false branch
46 0 0 unless $self->brik_help_run_undef_arg('search', $package)
56 0 0 unless $self->brik_help_run_undef_arg('install', $package)
57 0 0 unless my $ref = $self->brik_help_run_invalid_arg('install', $package, 'ARRAY', 'SCALAR')
61 0 0 $ref eq 'ARRAY' ? :
64 0 0 if ($r != 1)
75 0 0 unless $self->brik_help_run_undef_arg('remove', $package)
76 0 0 unless my $ref = $self->brik_help_run_invalid_arg('remove', $package, 'ARRAY', 'SCALAR')
80 0 0 $ref eq 'ARRAY' ? :
111 0 0 unless $self->brik_help_run_undef_arg('is_installed', $package)
112 0 0 unless my $ref = $self->brik_help_run_invalid_arg('is_installed', $package, 'ARRAY', 'SCALAR')
115 0 0 if ($ref eq 'ARRAY') { }
119 0 0 unless defined $r
125 0 0 unless my $r = $self->search($package)
128 0 0 if ($toks[1] eq $package and $toks[0] =~ /^i/)
141 0 0 unless $self->brik_help_run_undef_arg('which', $file)
142 0 0 unless $self->brik_help_run_file_not_found('which', $file)
150 0 0 unless my $lines = $self->capture($cmd)
154 0 0 if (defined $toks[0] and defined $toks[1])
155 0 0 if ($toks[0] ne 'Repo' and $toks[0] ne 'Matched from' and $toks[0] ne 'Filename')