| blib/lib/OPM/Repository.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 15 | 22 | 68.1 |
| line | true | false | branch |
|---|---|---|---|
| 37 | 0 | 9 | unless $self->_objects |
| 39 | 4 | 8 | if $found |
| 50 | 0 | 4 | unless $self->_objects |
| 57 | 2 | 2 | if ($params{'details'}) { } |
| 58 | 0 | 16 | unless $OPM::Repository::a->{'name'} cmp $OPM::Repository::b->{'name'} |
| 70 | 0 | 4 | if @args % 2 |
| 74 | 0 | 4 | unless $param{'sources'} |
| 82 | 5 | 0 | ref $ALLOWED_SCHEME ? : |
| 90 | 5 | 5 | lc $scheme eq 'http' ? : |
| 92 | 5 | 5 | if ($_[0] =~ /\A$regex\z/) |
| 98 | 0 | 5 | unless $matches |