Branch Coverage

blib/lib/Nokia/File/NFB.pm
Criterion Covered Total %
branch 14 20 70.0


line true false branch
40 0 0 if exists $$self{'_fh'} and $$self{'_fh'} and ref $$self{'_fh'} eq 'FileHandle'
50 3 5 if $_[0]
61 3 5 if $_[0]
72 2 5 if $_[0]
83 2 2 if ($_[0])
85 0 2 unless ref $elements eq 'ARRAY'
106 0 2 unless defined $fh
144 2 2 if ($filetype == 1) { }
2 0 elsif ($filetype == 2) { }
206 0 1 unless defined $fh