| blib/lib/FormValidator/Lite/Upload.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 10 | 16 | 62.5 |
| line | true | false | branch |
|---|---|---|---|
| 11 | 3 | 8 | unless ($cache{$pkg}++) |
| 13 | 0 | 3 | if $@ |
| 22 | 0 | 12 | unless $name |
| 23 | 0 | 12 | unless blessed $q |
| 26 | 11 | 1 | if ($q->isa('CGI')) { } |
| 0 | 1 | elsif ($q->isa('HTTP::Engine::Request')) { } | |
| 0 | 1 | elsif ($q->isa('Plack::Request')) { } | |
| 33 | 1 | 0 | if ($q->can('upload')) { } |