| blib/lib/WWW/Link.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| condition | 10 | 24 | 41.6 |
| line | !l | l&&!r | l&&r | condition |
|---|---|---|---|---|
| 185 | 32 | 34 | 50 | defined $$self{'status'} and $$self{'status'} == $status |
| 194 | 32 | 0 | 0 | defined $$self{'check-method'} and $$self{'check-method'} == $status |
| 436 | 0 | 0 | 0 | defined $$self{'last_refresh'} && $time < $$self{'last_refresh'} |
| 505 | 0 | 8 | 0 | defined $redirects and not ref($redirects) =~ /ARRAY/ |
| 548 | 1 | 0 | 0 | $@ and not $@ =~ /Can't locate object method.*header/ |
| line | l | !l&&r | !l&&!r | condition |
|---|---|---|---|---|
| 383 | 0 | 2 | 0 | $self->is_disallowed or $self->is_unsupported |
| 505 | 0 | 0 | 8 | @_ or defined $redirects and not ref($redirects) =~ /ARRAY/ |
| 657 | 0 | 19 | 18 | not defined $$self{'last_fail'} or time - $$self{'last_fail'} > $WWW::Link::inter_test_time |