Branch Coverage

blib/lib/NetApp/Aggregate.pm
Criterion Covered Total %
branch 18 46 39.1


line true false branch
97 0 0 if (exists $options_of{$ident}{$option}) { }
150 0 0 unless (exists $volumes_of{$ident}{$name})
181 0 0 if (ref $args{'source_filer'} and $args{'source_filer'}->isa('NetApp::Filer'))
186 0 0 if (ref $args{'source_volume'} and $args{'source_volume'}->isa('NetApp::Volume'))
191 0 0 if ($args{'source_filer'} and $args{'space'} || $args{'language'})
201 0 0 if ($args{'language'})
205 0 0 if ($args{'space'})
211 0 0 if ($args{'source_filer'})
233 0 0 unless ($volumes_of{$ident}{$args{'name'}})
364 0 0 if ($args{'cifsdelaytime'})
392 0 0 if ($args{'force'})
420 0 0 if ($args{'cifsdelaytime'})
450 1 3 unless my($aggr) = $header =~ /(^\s+Aggr\s+)/
458 1 2 unless my($state) = $header =~ /(State\s+)/
466 1 1 unless my($status) = $header =~ /(Status\s+)/
496 0 2 if ($line =~ m[Volumes: ])
504 6 2 if ($$indices{$column}[1]) { }
515 2 6 if ($column eq 'aggr') { }
516 1 1 if ($value)
522 1 0 if (length $name > length $value)
533 1 6 if ($entry =~ /=/) { }
581 0 1 unless my($name, $state) = $line =~ /Plex\s+(\S+): (.*)/
600 0 1 unless my($name, $state) = $line =~ /RAID group\s+(\S+): (.*)/