Branch Coverage

blib/lib/HTTP/Body/Builder/MultiPart.pm
Criterion Covered Total %
branch 13 20 65.0


line true false branch
13 0 6 @_ == 1 ? :
21 1 5 if ($content)
23 0 1 ref $content->{$key} ? :
28 1 5 if ($files)
69 0 5 unless (open my $fh, '<:raw', $row->[1])
76 0 10 if (not defined $r) { }
5 5 elsif ($r == 0) { }
95 0 5 unless $self->_gen(sub { $buf .= $_[0]; } )
105 0 1 unless (open my $fh, '>:raw', $filename)
110 0 1 unless $self->_gen(sub { print {$fh;} $_[0]; } )