Branch Coverage

blib/lib/OPM/Installer/Utils/File.pm
Criterion Covered Total %
branch 19 30 63.3


line true false branch
39 0 0 unless $self->repositories
42 0 0 if ".xml" ne substr($repo_url, -4)
64 2 10 if ($self->_is_url($package)) { }
1 9 elsif (-f $package) { }
73 0 9 unless $self->repositories
76 8 1 if ".xml" ne substr($repo, -4)
79 0 9 if $self->verbose
93 0 9 if $self->verbose
95 3 6 unless $url
109 0 0 unless $repositories
116 19 0 ref $ALLOWED_SCHEME ? :
124 19 15 lc $scheme eq 'http' ? :
126 7 27 if ($package =~ /\A$regex\z/)
132 12 7 unless $matches
144 0 8 unless $response->{'success'}