Branch Coverage

blib/lib/Metabrik/System/Freebsd/Iocage.pm
Criterion Covered Total %
branch 0 84 0.0


line true false branch
73 0 0 unless $self->sudo_system($cmd)
84 0 0 unless my $lines = $self->capture($cmd)
89 0 0 unless ($header)
94 0 0 if (/non iocage jails currently active/)
148 0 0 unless $self->brik_help_run_undef_arg('create', $tag)
152 0 0 if (defined $interface and defined $ipv4_address)
156 0 0 if (defined $interface and defined $ipv6_address)
167 0 0 unless $self->brik_help_run_undef_arg('start', $tag)
178 0 0 unless $self->brik_help_run_undef_arg('stop', $tag)
189 0 0 unless $self->brik_help_run_undef_arg('restart', $tag)
200 0 0 unless $self->brik_help_run_undef_arg('destroy', $tag)
217 0 0 unless $self->brik_help_run_undef_arg('execute', $tag)
218 0 0 unless $self->brik_help_run_undef_arg('execute', $command)
242 0 0 unless $self->brik_help_run_undef_arg('set_template', $tag)
253 0 0 unless $self->brik_help_run_undef_arg('unset_template', $tag)
264 0 0 unless $self->brik_help_run_undef_arg('clone', $template)
265 0 0 unless $self->brik_help_run_undef_arg('clone', $tag)
266 0 0 unless $self->brik_help_run_undef_arg('clone', $interface)
267 0 0 unless $self->brik_help_run_undef_arg('clone', $ipv4_address)
271 0 0 if (defined $ipv6_address)
282 0 0 unless $self->brik_help_run_undef_arg('get_all_properties', $tag)
285 0 0 unless my $r = $self->sudo_capture($cmd)
294 0 0 unless $self->brik_help_run_undef_arg('get_property', $tag)
295 0 0 unless $self->brik_help_run_undef_arg('get_property', $property)
298 0 0 unless my $r = $self->sudo_capture($cmd)
308 0 0 unless $self->brik_help_run_undef_arg('set_property', $tag)
309 0 0 unless $self->brik_help_run_undef_arg('set_property', $property)
310 0 0 unless $self->brik_help_run_undef_arg('set_property', $value)
321 0 0 unless $self->brik_help_run_undef_arg('backup', $tag)
322 0 0 unless my $ref = $self->brik_help_run_invalid_arg('backup', $tag, 'ARRAY', 'SCALAR')
325 0 0 if ($ref eq 'ARRAY')
342 0 0 unless $self->brik_help_run_undef_arg('restore', $tag)
353 0 0 unless $self->brik_help_run_undef_arg('tag_to_uuid', $tag)
355 0 0 unless my $list = $self->list
357 0 0 if ($this->{'tag'} eq $tag)
371 0 0 if (not defined $tag) { }
372 0 0 unless my $list = $self->list
384 0 0 unless my $lines = $self->sudo_capture($cmd)
391 0 0 unless ($header)
396 0 0 if (/^(ioc\-\S+)\s+(\S+\s+\S+\s+\S+\s+\S+\s+\S+)\s+(\S+)\s+(\S+)$/)
422 0 0 unless $self->brik_help_run_undef_arg('delete_snapshot', $tag)
423 0 0 unless $self->brik_help_run_undef_arg('delete_snapshot', $snapshot)