Condition Coverage

blib/lib/Metabrik/Client/Www.pm
Criterion Covered Total %
condition 0 57 0.0


and 3 conditions

line !l l&&!r l&&r condition
142 0 0 0 $self->brik_has_module("WWW::Mechanize::PhantomJS") and $self->brik_has_binary("phantomjs")
150 0 0 0 not $self->do_redirects and $mechanize eq "WWW::Mechanize::PhantomJS"
187 0 0 0 defined $username and defined $password
244 0 0 0 $method ne "get" and ref $client eq "WWW::Mechanize::PhantomJS"
601 0 0 0 $this->{'code'} != 302 and $this->{'code'} != 301
620 0 0 0 $self->brik_has_module("WWW::Mechanize::PhantomJS") and $self->brik_has_binary("phantomjs")
654 0 0 0 $self->brik_has_module("WWW::Mechanize::PhantomJS") and $self->brik_has_binary("phantomjs")

or 2 conditions

line l !l condition
463 0 0 $headers->{$header} || 'undef'
545 0 0 $form->{'attr'}{'name'} || 'undef'
547 0 0 $form->{'method'} || 'undef'
555 0 0 $input->{'type'} || ''
556 0 0 $input->{'name'} || ''
557 0 0 $input->{'value'} || ''

or 3 conditions

line l !l&&r !l&&!r condition
117 0 0 0 $uri ||= $self->uri
213 0 0 0 $uri ||= $self->uri
247 0 0 0 $method eq "post" or $method eq "put"
0 0 0 $method eq "options" or $method eq "patch"
573 0 0 0 $uri ||= $self->uri
670 0 0 0 $uri ||= $self->uri
744 0 0 0 $datadir ||= $self->datadir
758 0 0 0 $url =~ m[^https?://] or $url =~ m[^ftp://]