| blib/lib/WWW/Crawl4AI/Result.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 16 | 24 | 66.6 |
| line | true | false | branch |
|---|---|---|---|
| 85 | 0 | 14 | unless $_[0]->links->{'internal'} |
| 88 | 0 | 14 | unless $_[0]->links->{'external'} |
| 96 | 22 | 0 | ref $link eq 'HASH' ? : |
| 97 | 0 | 22 | unless defined $href and length $href |
| 98 | 2 | 20 | if $href =~ /\A(?:javascript|mailto|tel|data):/i |
| 99 | 1 | 19 | if $href =~ /\A#/ |
| 100 | 19 | 0 | $base ? : |
| 101 | 0 | 19 | unless $abs =~ m[\Ahttps?://]i |
| 102 | 1 | 18 | if $seen{$abs}++ |
| 126 | 2 | 0 | $self->ok ? : |
| 0 | 2 | defined $self->error ? : | |
| 142 | 28 | 1 | unless ref $h eq "HASH" |