Branch Coverage

lib/Illumos/Zones.pm
Criterion Covered Total %
branch 0 84 0.0


line true false branch
393 0 0 unless open my $zones, '-|', @cmd
411 0 0 if $self->{'debug'}
412 0 0 unless open my $zones, '-|', @cmd
439 0 0 $zone ? :
451 0 0 $_[0] ? :
473 0 0 if $self->{'debug'}
474 0 0 if system @cmd
483 0 0 if $self->{'debug'}
484 0 0 if system @cmd
492 0 0 $img ? :
508 0 0 if $zone->{'zonename'} eq $zoneName
519 0 0 unless $self->zoneExists($zoneName)
523 0 0 if $self->{'debug'}
524 0 0 unless open my $props, '-|', @cmd
532 0 0 unless $property
534 0 0 if (defined $isres and length $isres > 0) { }
536 0 0 if $resName eq 'net'
539 0 0 unless grep {$_ eq $property;} keys %{$$SCHEMA{$resName}{'members'};}
540 0 0 if ($self->$resIsArray($resName)) { }
549 0 0 unless grep {$_ eq $property;} keys %$SCHEMA
551 0 0 if (grep {$_ eq $property;} @{&$RESOURCES();})
553 0 0 if ($self->$resIsArray($property))
573 0 0 unless $self->zoneExists($zoneName)
579 0 0 if $state eq 'configured'
585 0 0 if (ref $props->{$prop} eq 'ARRAY') { }
0 0 elsif (grep {$_ eq $prop;} @{&$RESOURCES();}) { }
594 0 0 if $oldProps->{$prop} and $oldProps->{$prop} eq $props->{$prop}
595 0 0 if ($props->{$prop}) { }
614 0 0 if $self->{'debug'}
615 0 0 unless open my $res, '-|', @cmd
620 0 0 $property && $value ? :
633 0 0 if (grep {$_ eq $property;} @LXNETPROPS) { }
643 0 0 if $self->{'debug'}
644 0 0 if system @cmd
654 0 0 unless $self->resourceExists($zoneName, $resource, $property, $value)
657 0 0 if ($property and $value) { }
664 0 0 if $self->{'debug'}
665 0 0 if system @cmd
685 0 0 if $self->{'debug'}
686 0 0 if system @cmd
696 0 0 if $self->{'debug'}
697 0 0 if system @cmd