Branch Coverage

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


line true false branch
52 0 0 unless $self->brik_help_run_undef_arg("search", $package)
54 0 0 if ($self->brik_has_binary("aptitude"))
66 0 0 unless $self->brik_help_run_undef_arg("install", $package)
67 0 0 unless my $ref = $self->brik_help_run_invalid_arg("install", $package, "ARRAY", "SCALAR")
71 0 0 $ref eq 'ARRAY' ? :
74 0 0 if ($r != 1)
85 0 0 unless $self->brik_help_run_undef_arg("remove", $package)
86 0 0 unless my $ref = $self->brik_help_run_invalid_arg("remove", $package, "ARRAY", "SCALAR")
90 0 0 $ref eq 'ARRAY' ? :
121 0 0 unless $self->brik_help_run_undef_arg("is_installed", $package)
122 0 0 unless my $ref = $self->brik_help_run_invalid_arg("is_installed", $package, "ARRAY", "SCALAR")
125 0 0 if ($ref eq 'ARRAY') { }
129 0 0 unless defined $r
135 0 0 unless my $r = $self->search($package)
138 0 0 if ($toks[1] eq $package and $toks[0] =~ /^i/)
151 0 0 unless $self->brik_help_run_undef_arg("which", $file)
152 0 0 unless $self->brik_help_run_file_not_found("which", $file)
155 0 0 unless my $lines = $self->capture($cmd)
158 0 0 if (defined $toks[0] and defined $toks[1] and $toks[1] eq $file)