| blib/lib/ORLite/Mirror.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| condition | 20 | 43 | 46.5 |
| line | !l | l&&!r | l&&r | condition |
|---|---|---|---|---|
| 35 | 9 | 0 | 0 | defined &Params::Util::_STRING($_[-1]) and $_[-1] eq '-DEBUG' |
| 56 | 9 | 0 | 0 | $params{'create'} and ref $params{'create'} |
| 140 | 5 | 0 | 3 | $update eq 'connect' and $stub |
| 157 | 1 | 0 | 0 | $old && $online |
| 3 | 6 | 0 | not $STUBBED and -f $path ? $old && $online : 1 | |
| 178 | 2 | 0 | 0 | $response->code == 304 and -f $path |
| 187 | 1 | 0 | 0 | $response->code == 304 and -f $path |
| 198 | 2 | 2 | 1 | $refreshed and $params{'index'} |
| line | l | !l | condition |
|---|---|---|---|
| 64 | 9 | 0 | $params{'package'}->VERSION || 0 |
| 155 | 2 | 7 | (stat $path)[9] || 0 |
| line | l | !l&&r | !l&&!r | condition |
|---|---|---|---|---|
| 31 | 0 | 0 | 9 | ref $_[0] || $_[0] |
| 131 | 9 | 0 | 0 | $url =~ /^file:/ || LWP::Online::online() |
| 132 | 9 | 0 | 0 | $online or -f $path |
| 9 | 0 | 0 | $online or -f $path or $stub | |
| 171 | 5 | 0 | 0 | $response->is_success or $response->code == 304 |