Branch Coverage

blib/lib/Catmandu/FileBag.pm
Criterion Covered Total %
branch 11 22 50.0


line true false branch
49 17 0 if (exists $file->{'size'}) { }
59 0 17 if (not defined $file) { }
17 0 elsif (is_hash_ref($file)) { }
78 0 9 unless defined $out
81 0 9 unless $out->can('syswrite')
88 0 9 if (not defined $n_read) { }
0 9 elsif ($n_read == 0) { }
106 0 9 if ($!{'EINTR'} or $!{'EWOULDBLOCK'} or $!{'EAGAIN'}) { }
0 9 elsif ($!) { }
0 9 elsif (not defined $n_write or $n_write == 0) { }
0 9 elsif ($n_read < $n_write) { }