Branch Coverage

blib/lib/HTML/FormHandler/Field/Upload.pm
Criterion Covered Total %
branch 0 22 0.0


line true false branch
34 0 0 if (&blessed($upload) and $upload->can('size')) { }
0 0 elsif (is_real_fh($upload)) { }
43 0 0 unless $size > 0
46 0 0 if (defined $self->min_size and $size < $self->min_size)
50 0 0 if (defined $self->max_size and $size > $self->max_size)
60 0 0 unless my $reftype = &Scalar::Util::reftype($fh)
61 0 0 if ($reftype eq 'IO' or $reftype eq 'GLOB' and *{$fh;}{'IO'}) { }
64 0 0 unless defined $m_fileno
65 0 0 unless $m_fileno >= 0
67 0 0 unless defined $f_fileno
68 0 0 unless $f_fileno >= 0