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
143 0 0 0 $self->brik_has_module("WWW::Mechanize::PhantomJS") and $self->brik_has_binary("phantomjs")
151 0 0 0 not $self->do_redirects and $mechanize eq "WWW::Mechanize::PhantomJS"
188 0 0 0 defined $username and defined $password
245 0 0 0 $method ne "get" and ref $client eq "WWW::Mechanize::PhantomJS"
602 0 0 0 $this->{'code'} != 302 and $this->{'code'} != 301
621 0 0 0 $self->brik_has_module("WWW::Mechanize::PhantomJS") and $self->brik_has_binary("phantomjs")
655 0 0 0 $self->brik_has_module("WWW::Mechanize::PhantomJS") and $self->brik_has_binary("phantomjs")

or 2 conditions

line l !l condition
464 0 0 $headers->{$header} || 'undef'
546 0 0 $form->{'attr'}{'name'} || 'undef'
548 0 0 $form->{'method'} || 'undef'
556 0 0 $input->{'type'} || ''
557 0 0 $input->{'name'} || ''
558 0 0 $input->{'value'} || ''

or 3 conditions

line l !l&&r !l&&!r condition
118 0 0 0 $uri ||= $self->uri
214 0 0 0 $uri ||= $self->uri
248 0 0 0 $method eq "post" or $method eq "put"
0 0 0 $method eq "options" or $method eq "patch"
574 0 0 0 $uri ||= $self->uri
671 0 0 0 $uri ||= $self->uri
745 0 0 0 $datadir ||= $self->datadir
759 0 0 0 $url =~ m[^https?://] or $url =~ m[^ftp://]