Branch Coverage

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


line true false branch
51 0 0 unless my $os = $self->my_os
55 0 0 if ($os eq 'ubuntu') { }
0 0 elsif ($os eq 'debian') { }
0 0 elsif ($os eq 'kali') { }
0 0 elsif ($os eq 'freebsd') { }
0 0 elsif ($os eq 'centos') { }
56 0 0 unless $sp = "Metabrik::System::Ubuntu::Package"->new_from_brik_init($self)
59 0 0 unless $sp = "Metabrik::System::Debian::Package"->new_from_brik_init($self)
62 0 0 unless $sp = "Metabrik::System::Kali::Package"->new_from_brik_init($self)
65 0 0 unless $sp = "Metabrik::System::Freebsd::Package"->new_from_brik_init($self)
68 0 0 unless $sp = "Metabrik::System::Centos::Package"->new_from_brik_init($self)
83 0 0 unless $self->brik_help_run_undef_arg("search", $package)
85 0 0 unless my $sp = $self->get_system_package
94 0 0 unless my $sp = $self->get_system_package
96 0 0 if (defined $package) { }
0 0 elsif (not exists $self->brik_properties->{'need_packages'}) { }
105 0 0 if (exists $self->brik_properties->{'need_packages'}{$os}) { }
121 0 0 unless $self->brik_help_run_undef_arg("remove", $package)
123 0 0 unless my $sp = $self->get_system_package
131 0 0 unless my $sp = $self->get_system_package
139 0 0 unless my $sp = $self->get_system_package
147 0 0 unless my $sp = $self->get_system_package
155 0 0 unless my $sp = $self->get_system_package
163 0 0 unless my $sp = $self->get_system_package
172 0 0 unless $self->brik_help_run_undef_arg("is_os", $os)
174 0 0 unless my $so = "Metabrik::System::Os"->new_from_brik_init($self)
212 0 0 unless $self->brik_help_run_undef_arg("is_installed", $package)
213 0 0 unless my $ref = $self->brik_help_run_invalid_arg("is_installed", $package, "ARRAY", "SCALAR")
216 0 0 unless my $sp = $self->get_system_package
224 0 0 unless my $so = "Metabrik::System::Os"->new_from_brik_init($self)
232 0 0 unless $self->brik_help_run_undef_arg("which", $file)
234 0 0 unless my $sp = $self->get_system_package