blib/lib/App/scrape.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 22 | 24 | 91.6 |
line | true | false | branch |
---|---|---|---|
67 | 4 | 2 | unless (ref $options->{'tree'}) |
88 | 4 | 2 | if (ref $selectors eq 'ARRAY') { } |
99 | 3 | 3 | if ($selector =~ s[/?\@(\w+)$][]) |
102 | 5 | 1 | unless ($selector =~ m[^\.?/]) |
106 | 5 | 1 | unless $selector =~ /^\./ |
108 | 3 | 3 | if (not defined $attr) { } |
114 | 3 | 3 | if ($make_uri{$rowidx}) |
117 | 5 | 1 | if ($found_max < @nodes) |
133 | 2 | 4 | if (ref $selectors eq 'HASH') { } |
142 | 0 | 4 | if $options->{'url_field'} |
146 | 0 | 4 | if ($options->{'url_field'}) |
153 | 4 | 2 | if $delete_tree |