| inc/Test/HTTPTinyFile.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 11 | 28 | 39.2 |
| line | true | false | branch |
|---|---|---|---|
| 22 | 12 | 0 | if ($uri->scheme eq 'file') { } |
| 26 | 0 | 12 | if $^O eq 'MSWin32' |
| 30 | 12 | 0 | if ($method =~ /(GET|HEAD)/) { } |
| 0 | 0 | elsif ($method eq 'POST') { } | |
| 0 | 0 | elsif ($method eq 'PUT') { } | |
| 0 | 0 | elsif ($method eq 'DELETE') { } | |
| 32 | 0 | 12 | if (-d $path) { } |
| 12 | 0 | elsif (-r $path) { } | |
| 0 | 0 | elsif (-e $path) { } | |
| 38 | 12 | 0 | if ($method eq 'GET') |
| 45 | 12 | 0 | if $method eq 'GET' |
| 48 | 0 | 12 | if ($@) |
| 55 | 12 | 0 | unless (defined $result->{'success'}) |
| 93 | 2 | 10 | if ($args->{'data_callback'}) { } |