Branch Coverage

blib/lib/Data/Range/Compare/Stream/Iterator/File.pm
Criterion Covered Total %
branch 15 20 75.0


line true false branch
21 88 36 if (defined $args{'fh'}) { }
34 2 elsif (defined $args{'filename'}) { }
26 0 88 unless $fh->can('getline')
34 34 0 if ($fh) { }
54 0 1 if defined $$self{'size'}
72 2 16 if defined $$self{'msg'}
85 0 61516 unless $self->has_next
101 0 124 unless defined $self
102 2 122 unless defined $$self{'fh'}
103 88 34 unless $$self{'created_fh'}