| blib/lib/OTRS/OPM/Installer/Utils/OTRS.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 20 | 24 | 83.3 |
| line | true | false | branch |
|---|---|---|---|
| 29 | 0 | 8 | unless $self->db |
| 44 | 2 | 6 | unless %info |
| 46 | 0 | 6 | unless $param{'version'} |
| 53 | 4 | 2 | if $is_installed |
| 63 | 12 | 6 | $i_parts[$_] && $i_parts[$_] =~ /\A[0-9]+\z/ ? : |
| 64 | 12 | 6 | $r_parts[$_] && $r_parts[$_] =~ /\A[0-9]+\z/ ? : |
| 66 | 4 | 2 | if $installed >= $requested |
| 113 | 0 | 3 | if (@_ % 2 != 0) |
| 118 | 1 | 2 | unless (exists $args{'path'}) |
| 122 | 0 | 1 | if defined $cfg->{'otrs_path'} |
| 132 | 1 | 1 | if ($major <= 3) { } |
| 141 | 2 | 1 | if ($ENV{'OTRSOPMINSTALLERTEST'}) { } |