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 1 0 if ($@)
76 0 0 if $zcmd->{'zpath'}
80 0 0 if $self->{'debug'}
81 0 0 if system @cmd
95 0 0 if $zcmd->{'zpath'}
104 0 0 if $self->{'debug'}
105 0 0 unless open my $fmris, '-|', @cmd1
110 0 0 unless $opts->{'instancesonly'}
114 0 0 unless open my $instances, '-|', @cmd2
119 0 0 if /:properties/
144 0 0 $opts->{'zonename'} ? :
146 0 0 if $self->{'debug'}
147 0 0 unless open my $fmris, '-|', @cmd
189 0 0 if $zcmd->{'zpath'}
196 0 0 if $self->{'debug'}
197 0 0 if system @cmd
208 0 0 if $zcmd->{'zpath'}
211 0 0 if $self->{'debug'}
212 0 0 if system @cmd
224 0 0 if $zcmd->{'zpath'}
227 0 0 if $self->{'debug'}
228 0 0 if system @cmd
233 0 0 $opts->{'enabled'} ? :
244 0 0 if $zcmd->{'zpath'}
249 0 0 if $self->{'debug'}
250 0 0 unless open my $props, '-|', @cmd
293 0 0 if $zcmd->{'zpath'}
298 0 0 if $self->propertyGroupExists($fmri, $pg, $opts)
301 0 0 if $self->{'debug'}
302 0 0 if system @cmd
314 0 0 if $zcmd->{'zpath'}
317 0 0 if $self->{'debug'}
318 0 0 if system @cmd
332 0 0 if $zcmd->{'zpath'}
335 0 0 unless ($type)
339 0 0 if (/^\d+$/)
344 0 0 if (/^(?:true|false)$/i)
355 0 0 $self->propertyExists($fmri, $property, $opts) ? :
356 0 0 if $self->{'debug'}
357 0 0 if system @cmd
380 0 0 if $zcmd->{'zpath'}
386 0 0 if $self->{'debug'}
387 0 0 unless open my $props, '-|', @cmd
393 0 0 if $name eq $pg
409 0 0 unless $self->fmriExists($fmri, $opts)
411 0 0 $properties->{$_}{'members'} ? :
440 0 0 if $zcmd->{'zpath'}
446 0 0 if $self->{'debug'}
447 0 0 unless open my $props, '-|', @cmd
453 0 0 unless $prop and $type
455 0 0 if $value
456 0 0 if ($pg) { }