blib/lib/Metabrik/Client/Www.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 0 | 57 | 0.0 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
137 | 0 | 0 | 0 | $self->brik_has_module('WWW::Mechanize::PhantomJS') and $self->brik_has_binary('phantomjs') |
145 | 0 | 0 | 0 | not $self->do_redirects and $mechanize eq 'WWW::Mechanize::PhantomJS' |
182 | 0 | 0 | 0 | defined $username and defined $password |
239 | 0 | 0 | 0 | $method ne 'get' and ref $client eq 'WWW::Mechanize::PhantomJS' |
596 | 0 | 0 | 0 | $this->{'code'} != 302 and $this->{'code'} != 301 |
615 | 0 | 0 | 0 | $self->brik_has_module('WWW::Mechanize::PhantomJS') and $self->brik_has_binary('phantomjs') |
649 | 0 | 0 | 0 | $self->brik_has_module('WWW::Mechanize::PhantomJS') and $self->brik_has_binary('phantomjs') |
line | l | !l | condition |
---|---|---|---|
458 | 0 | 0 | $headers->{$header} || 'undef' |
540 | 0 | 0 | $form->{'attr'}{'name'} || 'undef' |
542 | 0 | 0 | $form->{'method'} || 'undef' |
550 | 0 | 0 | $input->{'type'} || '' |
551 | 0 | 0 | $input->{'name'} || '' |
552 | 0 | 0 | $input->{'value'} || '' |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
112 | 0 | 0 | 0 | $uri ||= $self->uri |
208 | 0 | 0 | 0 | $uri ||= $self->uri |
242 | 0 | 0 | 0 | $method eq 'post' or $method eq 'put' |
0 | 0 | 0 | $method eq 'options' or $method eq 'patch' | |
568 | 0 | 0 | 0 | $uri ||= $self->uri |
665 | 0 | 0 | 0 | $uri ||= $self->uri |
739 | 0 | 0 | 0 | $datadir ||= $self->datadir |
753 | 0 | 0 | 0 | $url =~ m[^https?://] or $url =~ m[^ftp://] |