File: | Dpkg/Substvars.pm |
Coverage: | 76.5% |
line | % | coverage | condition | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
74 | 33 |
| ref $this || $this | ||||||||||||
106 | 100 |
| $attr //= 0 | ||||||||||||
107 | 100 |
| length $value and $value =~ /\$/ | ||||||||||||
192 | 100 |
| /^\s*\#/ or not /\S/ | ||||||||||||
227 | 67 |
| $binaryversion //= $sourceversion | ||||||||||||
332 | 67 |
| $opts{'msg_prefix'} //= $self->{'msg_prefix'} | ||||||||||||
333 | 50 |
| $opts{'no_warn'} //= 0 | ||||||||||||
347 | 100 |
| exists $seen{$vn} and $seen{$vn} >= $maxsubsts | ||||||||||||
375 | 67 |
| $opts{'msg_prefix'} //= $self->{'msg_prefix'} | ||||||||||||
420 | 67 |
| $opts{'remove'} // sub { 0; } | ||||||||||||
421 | 67 |
| $opts{'keep'} // sub { 1; } | ||||||||||||
424 | 100 |
| &$remove($vn) or not &$keep($vn) |