Branch Coverage

blib/lib/Metabrik/File/Read.pm
Criterion Covered Total %
branch 0 140 0.0


line true false branch
66 0 0 unless $self->brik_help_run_undef_arg("open", $input)
71 0 0 if ($encoding eq 'ascii') { }
77 0 0 unless (defined $r)
87 0 0 if (defined $self->fd)
99 0 0 unless $self->brik_help_run_undef_arg("open", $fd)
102 0 0 unless (defined $r)
114 0 0 unless $self->brik_help_run_undef_arg("open", $fd)
115 0 0 unless $self->brik_help_run_undef_arg("seek", $offset)
118 0 0 unless ($r)
129 0 0 unless $self->brik_help_run_undef_arg("open", $fd)
135 0 0 if ($self->as_array) { }
140 0 0 if ($skip_comment)
141 0 0 if $line =~ /^\s*#/
143 0 0 if ($skip_blank_line)
144 0 0 if $line =~ /^\s*$/
146 0 0 if ($strip_crlf)
157 0 0 if ($skip_comment)
158 0 0 if $line =~ /^\s*#/
160 0 0 if ($skip_blank_line)
161 0 0 if $line =~ /^\s*$/
166 0 0 if ($strip_crlf)
179 0 0 unless $self->brik_help_run_undef_arg("open", $fd)
184 0 0 if ($self->as_array) { }
187 0 0 if ($skip_comment)
188 0 0 if $line =~ /^\s*#/
190 0 0 if $line =~ /^\s*$/
191 0 0 if ($strip_crlf)
196 0 0 if (eof $fd)
204 0 0 if ($skip_comment)
205 0 0 if $line =~ /^\s*#/
207 0 0 if $line =~ /^\s*$/
210 0 0 if (eof $fd)
213 0 0 if ($strip_crlf)
226 0 0 unless $self->brik_help_run_undef_arg("open", $fd)
234 0 0 if ($self->as_array) { }
237 0 0 if ($skip_comment)
238 0 0 if $line =~ /^\s*#/
240 0 0 if ($skip_blank_line)
241 0 0 if $line =~ /^\s*$/
243 0 0 if ($strip_crlf)
246 0 0 if ($line =~ /^\s*\[\s*\S+\s*\]\s*$/)
247 0 0 if (not defined $block) { }
257 0 0 unless $offset = $self->offset($fd)
259 0 0 if (eof $fd)
267 0 0 if ($skip_comment)
268 0 0 if $line =~ /^\s*#/
270 0 0 if ($skip_blank_line)
271 0 0 if $line =~ /^\s*$/
273 0 0 if ($line =~ /^\s*\[\s*\S+\s*\]\s*$/)
274 0 0 if (not defined $block) { }
284 0 0 unless $offset = $self->offset($fd)
286 0 0 if (eof $fd)
289 0 0 if ($strip_crlf)
303 0 0 unless $self->brik_help_run_undef_arg("open", $fd)
311 0 0 if ($self->as_array) { }
315 0 0 if ($skip_comment)
316 0 0 if $line =~ /^\s*#/
318 0 0 if ($skip_blank_line)
319 0 0 if $line =~ /^\s*$/
321 0 0 if ($strip_crlf)
325 0 0 if $this == $count
328 0 0 if (eof $fd)
337 0 0 if ($skip_comment)
338 0 0 if $line =~ /^\s*#/
340 0 0 if ($skip_blank_line)
341 0 0 if $line =~ /^\s*$/
343 0 0 if $line =~ /^\s*$/
345 0 0 if $this == $count
348 0 0 if (eof $fd)
351 0 0 if ($strip_crlf)