| blib/lib/Test/Mock/LWP/Dispatch.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| condition | 10 | 19 | 52.6 |
| line | !l | l&&!r | l&&r | condition |
|---|---|---|---|---|
| 34 | 0 | 0 | 30 | $DEFAULT_REQUEST_HEADERS and $mo->can('prepare_request') |
| 45 | 0 | 0 | 4 | $DEFAULT_REQUEST_HEADERS and $mo->can('prepare_request') |
| 81 | 2 | 18 | 0 | defined $req and defined $resp |
| 100 | 0 | 2 | 0 | defined $index and $index =~ /^\d+$/ |
| line | l | !l | condition |
|---|---|---|---|
| 37 | 7 | 23 | $$mock_ua{'_maps'} || [] |
| 38 | 29 | 1 | $$mo{'_maps'} || [] |
| line | l | !l&&r | !l&&!r | condition |
|---|---|---|---|---|
| 105 | 0 | 0 | 2 | $index < 0 or $index > scalar(@{$$mo{'_maps'};}) - 1 |