Condition Coverage

blib/lib/Alien/Base/ModuleBuild/Repository/HTTP.pm
Criterion Covered Total %
condition 22 34 64.7


and 3 conditions

line !l l&&!r l&&r condition
23 10 1 1 defined $self->{'exact_filename'} and $self->{'exact_filename'} =~ /^https:/
79 7 0 0 $self->is_secure_fetch and not $uri =~ /^https:/
86 3 0 4 defined $disposition and $disposition =~ /filename="([^"]+)"/ || $disposition =~ /filename=([^\s]+)/
103 1 0 0 $self->is_secure_fetch and not $uri =~ /^https:/
185 11 0 0 &blessed($res) and $res->isa("HTTP::Response")
195 1 1 1 $res->{'status'} == 599 and $reason =~ /https support/

or 2 conditions

line l !l condition
23 3 8 $self->{'protocol'} || 'http'
34 2 7 $self->{'protocol_class'} ||= "HTTP::Tiny"
45 7 1 $Alien::Base::ModuleBuild::VERSION || 'dev'
51 0 0 $Alien::Base::ModuleBuild::VERSION || 'dev'
171 9 5 $protocol || 'http'

or 3 conditions

line l !l&&r !l&&!r condition
70 7 0 0 shift() || croak('Must specify file to download')
86 2 2 0 $disposition =~ /filename="([^"]+)"/ || $disposition =~ /filename=([^\s]+)/