lib/Mac/OSVersion/Lite.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 11 | 14 | 78.5 |
line | true | false | branch |
---|---|---|---|
37 | 0 | 10 | if @_ == 0 |
38 | 10 | 0 | if @_ == 1 |
39 | 0 | 10 | if @_ >= 2 |
49 | 1 | 1 | if $? != 0 |
57 | 11 | 15 | if (defined {catalina => '10.15', 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}) |
61 | 1 | 25 | unless $string =~ qr/^@{[\undef];}$/ |
88 | 2 | 2 | if $self->{'major'} != $other->{'major'} |