| lib/Mac/OSVersion/Lite.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 11 | 14 | 78.5 |
| line | true | false | branch |
|---|---|---|---|
| 36 | 0 | 10 | if @_ == 0 |
| 37 | 10 | 0 | if @_ == 1 |
| 38 | 0 | 10 | if @_ >= 2 |
| 48 | 1 | 1 | if $? != 0 |
| 56 | 11 | 15 | if (defined {el_capitan => '10.11', high_sierra => '10.13', leopard => '10.5', lion => '10.7', mavericks => '10.9', mojave => '10.14', mountain_lion => '10.8', sierra => '10.12', snow_leopard => '10.6', tiger => '10.4', yosemite => '10.10'}->{$string}) |
| 60 | 1 | 25 | unless $string =~ qr/^@{[\undef];}$/ |
| 87 | 2 | 2 | if $self->{'major'} != $other->{'major'} |