Branch Coverage

lib/Illumos/SMF.pm
Criterion Covered Total %
branch 3 106 2.8


line true false branch
21 1 1 if ($self->{'zonesupport'})
25 0 1 if ($@)
78 0 0 if $zcmd->{'zpath'}
82 0 0 if $self->{'debug'}
83 0 0 if system @cmd
97 0 0 if $zcmd->{'zpath'}
106 0 0 if $self->{'debug'}
107 0 0 unless open my $fmris, '-|', @cmd1
112 0 0 unless $opts->{'instancesonly'}
116 0 0 unless open my $instances, '-|', @cmd2
121 0 0 if /:properties/
146 0 0 $opts->{'zonename'} ? :
148 0 0 if $self->{'debug'}
149 0 0 unless open my $fmris, '-|', @cmd
191 0 0 if $zcmd->{'zpath'}
198 0 0 if $self->{'debug'}
199 0 0 if system @cmd
210 0 0 if $zcmd->{'zpath'}
213 0 0 if $self->{'debug'}
214 0 0 if system @cmd
226 0 0 if $zcmd->{'zpath'}
229 0 0 if $self->{'debug'}
230 0 0 if system @cmd
235 0 0 $opts->{'enabled'} ? :
246 0 0 if $zcmd->{'zpath'}
251 0 0 if $self->{'debug'}
252 0 0 unless open my $props, '-|', @cmd
295 0 0 if $zcmd->{'zpath'}
300 0 0 if $self->propertyGroupExists($fmri, $pg, $opts)
303 0 0 if $self->{'debug'}
304 0 0 if system @cmd
316 0 0 if $zcmd->{'zpath'}
319 0 0 if $self->{'debug'}
320 0 0 if system @cmd
334 0 0 if $zcmd->{'zpath'}
337 0 0 unless ($type)
341 0 0 if (/^\d+$/)
346 0 0 if (/^(?:true|false)$/i)
357 0 0 $self->propertyExists($fmri, $property, $opts) ? :
358 0 0 if $self->{'debug'}
359 0 0 if system @cmd
382 0 0 if $zcmd->{'zpath'}
388 0 0 if $self->{'debug'}
389 0 0 unless open my $props, '-|', @cmd
395 0 0 if $name eq $pg
411 0 0 unless $self->fmriExists($fmri, $opts)
413 0 0 $properties->{$_}{'members'} ? :
442 0 0 if $zcmd->{'zpath'}
448 0 0 if $self->{'debug'}
449 0 0 unless open my $props, '-|', @cmd
455 0 0 unless $prop and $type
457 0 0 if $value
458 0 0 if ($pg) { }