Branch Coverage

blib/lib/Net/vFile.pm
Criterion Covered Total %
branch 33 58 56.9


line true false branch
75 4 0 unless ref $self
79 5 0 if (open $fh, $fn) { }
96 0 4 if (scalar values %$self == 0)
100 4 0 if (scalar values %$self == 1) { }
128 0 9 ref $_[0] ? :
146 10 0 if (ref $_[0]) { }
157 5 5 if ref $parent
165 4 6 if (/^\000/)
168 0 10 if (/^[^\000]\000/)
178 5 76 if ($line =~ /^BEGIN:(.+)/)
181 0 5 if $@
186 10 66 if $line =~ /^END:$thing/
202 27 39 if ($line =~ /^([\w\-]+):(.*)/ and exists $$varHandler{$1})
209 24 15 if ($line =~ /^([\w\-]+);([^:]*):(.*)/ and exists $$varHandler{$1})
223 15 0 if ($line =~ /^(X-[\w\-]+);?([^:]*):(.*)/)
308 3 19 if $_[2]
320 0 1 if ($_[2])
338 0 0 if ($@)
341 0 0 if $_[2]
357 0 0 if ($@)
361 0 0 if $_[2]
378 0 3 if $_[2]
400 0 28 unless scalar keys %type
403 25 3 if ($type{'pref'})
409 28 0 @types ? :
413 25 3 if $pref
414 0 28 if exists $_[0]{$_[1]}{'_alias'} and $_[0]{$_[1]}{'_alias'}{$actual}
415 0 0 unless exists $_[0]{$_[1]}{$_}
417 28 0 if $_[2]