Branch Coverage

blib/lib/App/RecordStream/InputStream.pm
Criterion Covered Total %
branch 26 38 68.4


line true false branch
101 1 0 if (scalar @$files > 0)
115 0 4 unless (-e $file and -r $file)
136 0 1020 if ($ARGUMENTS->{$key})
137 0 0 unless $value
153 255 510 if ($this->{$arg})
158 0 255 if (scalar keys %$found > 1)
162 0 255 unless (scalar keys %$found == 1)
166 238 17 if ($this->get_string)
171 10 245 if ($file)
172 0 10 unless open my $fh, '<', $file
195 4 1498 if ($this->is_done)
203 245 1253 unless ($line)
225 243 6 unless ($next)
230 0 6 if ($next and $next->is_done)
241 120 245 if (not $this->is_done) { }
2 243 elsif ($this->get_next) { }
242 2 118 if $this->get_file
243 118 0 if $this->get_string
244 0 0 if $this->get_fh