Branch Coverage

blib/lib/Metabrik/System/Freebsd/Ezjail.pm
Criterion Covered Total %
branch 0 62 0.0


line true false branch
44 0 0 unless $self->brik_help_run_undef_arg("name_to_id", $jail_name)
46 0 0 unless my $out = $self->capture("ezjail-admin list")
54 0 0 if (defined $t[1] and $t[1] =~ /^\d+$/ and defined $t[3] and $t[3] =~ /^$jail_name$/)
66 0 0 unless $self->brik_help_run_undef_arg("execute", $jail_name)
67 0 0 unless $self->brik_help_run_undef_arg("execute", $command)
71 0 0 if (ref $jail_name eq 'ARRAY') { }
73 0 0 unless my $id = $self->name_to_id($jail)
76 0 0 if ($self->capture_mode)
82 0 0 unless my $id = $self->name_to_id($jail_name)
85 0 0 if ($self->capture_mode)
90 0 0 if ($self->capture_mode)
109 0 0 unless $self->brik_help_run_undef_arg("stop", $jail_name)
110 0 0 unless my $ref = $self->brik_help_run_invalid_arg("stop", $jail_name, "ARRAY", "SCALAR")
113 0 0 if ($ref eq "ARRAY")
130 0 0 unless $self->brik_help_run_undef_arg("start", $jail_name)
131 0 0 unless my $ref = $self->brik_help_run_invalid_arg("start", $jail_name, "ARRAY", "SCALAR")
134 0 0 if ($ref eq "ARRAY")
151 0 0 unless $self->brik_help_run_undef_arg("restart", $jail_name)
152 0 0 unless my $ref = $self->brik_help_run_invalid_arg("restart", $jail_name, "ARRAY", "SCALAR")
155 0 0 if (ref $jail_name eq "ARRAY")
172 0 0 unless $self->brik_help_run_undef_arg("create", $jail_name)
173 0 0 unless $self->brik_help_run_undef_arg("create", $ip_address)
184 0 0 unless $self->brik_help_run_undef_arg("backup", $jail_name)
185 0 0 unless my $ref = $self->brik_help_run_invalid_arg("backup", $jail_name, "ARRAY", "SCALAR")
188 0 0 if ($ref eq "ARRAY")
205 0 0 unless $self->brik_help_run_undef_arg("restore", $jail_name)
206 0 0 unless $self->brik_help_run_undef_arg("restore", $ip_address)
207 0 0 unless $self->brik_help_run_undef_arg("restore", $archive_tar_gz)
218 0 0 unless $self->brik_help_run_undef_arg("delete", $jail_name)
219 0 0 unless my $ref = $self->brik_help_run_invalid_arg("delete", $jail_name, "ARRAY", "SCALAR")
222 0 0 if (ref $jail_name eq "ARRAY")