Branch Coverage

lib/Illumos/Zones.pm
Criterion Covered Total %
branch 0 86 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
531 0 0 if s/^(\s*)\[/$1/
534 0 0 unless $property
536 0 0 if (defined $isres and length $isres > 0) { }
538 0 0 if $resName eq 'net'
541 0 0 unless grep {$_ eq $property;} keys %{$$SCHEMA{$resName}{'members'};}
542 0 0 if ($self->$resIsArray($resName)) { }
551 0 0 unless grep {$_ eq $property;} keys %$SCHEMA
553 0 0 if (grep {$_ eq $property;} @{&$RESOURCES();})
555 0 0 if ($self->$resIsArray($property))
575 0 0 unless $self->zoneExists($zoneName)
581 0 0 if $state eq 'configured'
587 0 0 if (ref $props->{$prop} eq 'ARRAY') { }
0 0 elsif (grep {$_ eq $prop;} @{&$RESOURCES();}) { }
596 0 0 if $oldProps->{$prop} and $oldProps->{$prop} eq $props->{$prop}
597 0 0 if ($props->{$prop}) { }
616 0 0 if $self->{'debug'}
617 0 0 unless open my $res, '-|', @cmd
622 0 0 $property && $value ? :
635 0 0 if (grep {$_ eq $property;} @LXNETPROPS) { }
645 0 0 if $self->{'debug'}
646 0 0 if system @cmd
656 0 0 unless $self->resourceExists($zoneName, $resource, $property, $value)
659 0 0 if ($property and $value) { }
666 0 0 if $self->{'debug'}
667 0 0 if system @cmd
687 0 0 if $self->{'debug'}
688 0 0 if system @cmd
698 0 0 if $self->{'debug'}
699 0 0 if system @cmd