| blib/lib/Dpkg/BuildOptions.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 18 | 22 | 81.8 |
| line | true | false | branch |
|---|---|---|---|
| 92 | 8 | 5 | unless defined $content |
| 95 | 3 | 12 | unless (/^([a-z][a-z0-9_-]*)(?:=(\S*))?$/) |
| 121 | 1 | 18 | if ($key =~ /^(noopt|nostrip|nocheck)$/ and defined $value) { } |
| 4 | 14 | elsif ($key eq 'parallel') { } | |
| 125 | 0 | 4 | unless $value =~ /^\d*$/ |
| 176 | 7 | 0 | if ($feature =~ s/^([+-])//) { } |
| 177 | 4 | 3 | $1 eq '+' ? : |
| 178 | 3 | 4 | if ($feature eq 'all') { } |
| 181 | 4 | 0 | if (exists $use_feature->{$feature}) { } |
| 206 | 2 | 4 | defined $o->{$_} ? : |
| 207 | 0 | 3 | if defined $fh |