| blib/lib/POE/Component/Server/SimpleContent.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| condition | 21 | 54 | 38.8 |
| line | !l | l&&!r | l&&r | condition |
|---|---|---|---|---|
| 29 | 0 | 0 | 7 | $params{'root_dir'} and -d $params{'root_dir'} |
| 44 | 7 | 0 | 0 | defined $$self{'auto_index'} and $$self{'auto_index'} == 0 |
| 66 | 7 | 0 | 0 | defined $options && ref $options eq 'HASH' |
| 106 | 0 | 0 | 30 | $response and $response->isa('HTTP::Response') |
| 108 | 0 | 0 | 30 | $request and $request->isa('HTTP::Request') |
| 126 | 12 | 0 | 0 | $$self{'auto_index'} and not $$self{'vdir'}->test('e', $realpath . $$self{'index_file'}) |
| 383 | 0 | 0 | 3 | ref $handler and ref $handler eq 'HASH' |
| line | l | !l | condition |
|---|---|---|---|
| 220 | 9 | 0 | shift() || (return) |
| 225 | 9 | 0 | shift() || (return) |
| 235 | 6 | 0 | shift() || (return) |
| 240 | 6 | 0 | shift() || (return) |
| 250 | 6 | 0 | shift() || (return) |
| 251 | 6 | 0 | shift() || (return) |
| 256 | 6 | 0 | shift() || (return) |
| 257 | 6 | 0 | shift() || (return) |
| 268 | 0 | 0 | shift() || (return) |
| 269 | 0 | 0 | shift() || (return undef) |
| 326 | 6 | 0 | shift() || (return) |
| 327 | 6 | 0 | shift() || (return) |
| 328 | 6 | 0 | shift() || (return) |
| 382 | 3 | 0 | shift() || (return) |
| 405 | 3 | 0 | shift() || (return) |
| line | l | !l&&r | !l&&!r | condition |
|---|---|---|---|---|
| 337 | 0 | 0 | 6 | $^O eq 'MSWin32' or $$self{'blocking'} |