blib/lib/HTML/Form/FileInput.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 7 | 11 | 63.6 |
line | l | !l | condition |
---|---|---|---|
32 | 0 | 13 | $self->{'headers'} || [] |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
39 | 0 | 1 | 13 | $form->method ne "POST" or $form->enctype ne "multipart/form-data" |
52 | 2 | 0 | 11 | defined $content or grep /^Content$/i, keys %headers |
0 | 1 | 10 | not defined $file or length $file == 0 |