Branch Coverage

blib/lib/NetApp/Snapshot.pm
Criterion Covered Total %
branch 0 62 0.0


line true false branch
69 0 0 if ($self->get_parent->isa('NetApp::Aggregate'))
84 0 0 if ($line =~ /Approximately (\d+)/)
115 0 0 if ($args{'type'} eq 'file' and not $args{'from_path'})
122 0 0 if ($args{'type'} eq 'vol' and $args{'to_path'})
131 0 0 if ($self->get_parent->isa('NetApp::Aggregate'))
135 0 0 if ($args{'to_path'})
144 0 0 if ($args{'type'} eq 'vol') { }
168 0 0 if ($self->get_parent->isa('NetApp::Aggregate'))
201 0 0 if ($parent->isa('NetApp::Aggregate'))
217 0 0 if $line =~ /^(Volume|Aggregate)/
218 0 0 if $line =~ /^working/
219 0 0 if $line =~ /^\s*$/
221 0 0 if $line =~ /No snapshots exist/
223 0 0 if $line =~ m[^\s*%/used]
224 0 0 if $line =~ /^-+/
252 0 0 if ($parent->isa('NetApp::Aggregate'))
277 0 0 if ($parent->isa('NetApp::Aggregate'))
306 0 0 if ($parent->isa('NetApp::Aggregate'))
314 0 0 if ($args{'hourlist'})
338 0 0 if ($parent->isa('NetApp::Aggregate'))
374 0 0 if ($parent->isa('NetApp::Aggregate'))
399 0 0 if ($parent->isa('NetApp::Aggregate'))
413 0 0 if ($line =~ /reserve is (\d+)%/) { }
441 0 0 if ($parent->isa('NetApp::Aggregate'))
447 0 0 if ($args{'from'})
451 0 0 if ($args{'to'})
467 0 0 if $line =~ /^\s*$/
468 0 0 if $line =~ /^(Volume|Aggregate|working|From)/
469 0 0 if $line =~ /^[-\s]+$/
471 0 0 if $line =~ /No snapshots exist/
473 0 0 if ($line =~ /^Summary/)