blib/lib/MVC/Neaf/Upload.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 12 | 22 | 54.5 |
line | true | false | branch |
---|---|---|---|
56 | 0 | 7 | if @extra |
59 | 0 | 7 | unless defined $args{'id'} |
62 | 0 | 7 | if ($args{'tempfile'}) { } |
7 | 0 | elsif ($args{'handle'}) { } | |
64 | 0 | 0 | unless open $self, "<", $args{'tempfile'} |
67 | 0 | 7 | unless open $self, "<&", $args{'handle'} |
72 | 2 | 5 | if ($args{'utf8'}) |
104 | 0 | 2 | unless defined *$self->{'filename'} |
123 | 0 | 1 | unless $stat[7] |
153 | 5 | 2 | unless (defined *$self->{'content'}) |
159 | 0 | 4 | unless (defined $content) |