Branch Coverage

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


line true false branch
38 0 0 unless $self->repositories
41 0 0 if '/otrs.xml' ne substr($repo_url, -9)
63 2 10 if ($self->_is_url($package)) { }
1 9 elsif (-f $package) { }
72 0 9 unless $self->repositories
75 8 1 if '/otrs.xml' ne substr($repo, -9)
78 0 9 if $self->verbose
92 0 9 if $self->verbose
94 3 6 unless $url
108 0 0 unless $repositories
115 19 0 ref $ALLOWED_SCHEME ? :
123 19 15 lc $scheme eq 'http' ? :
125 7 27 if ($package =~ /\A$regex\z/)
131 12 7 unless $matches
143 0 8 unless $response->{'success'}