inc/Mock/HTTP/Tiny.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 8 | 16 | 50.0 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
80 | 0 | 4 | 26 | $status >= 200 && $status < 300 |
line | l | !l | condition |
---|---|---|---|
63 | 7 | 0 | $resp || 404 |
74 | 0 | 15 | $resp->{'headers'} ||= {} |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
38 | 0 | 36 | 0 | ref $class || $class |
50 | 0 | 24 | 0 | ref $self || $self |
61 | 5 | 10 | 0 | $self->{'status'} ||= Storable::retrieve($self->{'fn'}) |