blib/lib/WWW/HTMLTagAttributeCounter.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 15 | 22 | 68.1 |
line | true | false | branch |
---|---|---|---|
39 | 2 | 2 | unless ref $what eq 'ARRAY' |
42 | 3 | 1 | unless defined $type |
46 | 4 | 0 | if (ref $where eq 'SCALAR') { } |
50 | 0 | 0 | unless $where =~ m[^https?://] |
55 | 0 | 0 | unless $response->is_success |
72 | 0 | 3 | if @out == 1 |
85 | 36 | 16 | unless $t->is_start_tag |
87 | 12 | 4 | if ($type eq 'tag') { } |
4 | 0 | elsif ($type eq 'attr') { } | |
89 | 9 | 19 | if $t->is_start_tag($_) |
95 | 3 | 1 | if defined $t->get_attr($_) |