| blib/lib/Doit/Locale.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| condition | 3 | 28 | 10.7 |
| line | !l | l&&!r | l&&r | condition |
|---|---|---|---|---|
| 66 | 0 | 0 | 0 | -x "/usr/sbin/locale-gen" and not -e "/etc/locale.gen" |
| 73 | 0 | 0 | 0 | -x "/usr/bin/localedef" and -e "/etc/redhat-release" |
| 78 | 0 | 0 | 0 | $osr->{'ID'} eq "fedora" and $osr->{'VERSION_ID'} >= 28 |
| 0 | 0 | 0 | $osr->{'ID'} eq "centos" and $osr->{'VERSION_ID'} >= 8 | |
| 0 | 0 | 0 | $osr->{'ID'} eq "rocky" and $osr->{'VERSION_ID'} >= 8 |
| line | l | !l | condition |
|---|---|---|---|
| 29 | 1 | 0 | $osr->{'ID'} || '' |
| 1 | 0 | $osr->{'ID_LIKE'} || '' |
| line | l | !l&&r | !l&&!r | condition |
|---|---|---|---|---|
| 29 | 0 | 0 | 1 | ($osr->{'ID'} || '') eq "fedora" or ($osr->{'ID_LIKE'} || '') =~ /\bfedora\b/ |
| 78 | 0 | 0 | 0 | $osr->{'ID'} eq "fedora" and $osr->{'VERSION_ID'} >= 28 or $osr->{'ID'} eq "centos" and $osr->{'VERSION_ID'} >= 8 |
| 0 | 0 | 0 | $osr->{'ID'} eq "fedora" and $osr->{'VERSION_ID'} >= 28 or $osr->{'ID'} eq "centos" and $osr->{'VERSION_ID'} >= 8 or $osr->{'ID'} eq "rocky" and $osr->{'VERSION_ID'} >= 8 |