lib/WWW/Crawler/Mojo/Job.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 20 | 26 | 76.9 |
line | true | false | branch |
---|---|---|---|
23 | 0 | 30 | if (@_) |
25 | 0 | 0 | if ref $_[0] and ref $_[0] eq 'Mojo::DOM' |
27 | 30 | 0 | if (my $c = $self->_context) |
28 | 29 | 1 | if $self->_dom |
35 | 15 | 87 | if $args{'url'} |
36 | 97 | 5 | if $args{'_url'} |
38 | 0 | 102 | if $args{'context'} |
39 | 72 | 30 | if ref $args{'_context'} and ref $args{'_context'} eq 'Mojo::DOM' |
40 | 73 | 29 | if $args{'_context'} |
47 | 14 | 96 | if @_ |
54 | 8 | 52 | if (not ref $job or ref $job ne 'WWW::Crawler::Mojo::Job') |
80 | 3 | 61 | if $self->tx_params |
95 | 1 | 0 | scalar @histry ? : |