blib/lib/Module/Patch.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 13 | 34 | 38.2 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
98 | 0 | 0 | 0 | $load and $warn |
229 | 0 | 0 | 0 | not $_ =~ ~@s and $_ =~ /$sub_name/ |
238 | 0 | 0 | 5 | defined $target_version and length $target_version |
line | l | !l | condition |
---|---|---|---|
47 | 0 | 6 | $load //= 1 |
53 | 1 | 5 | $force //= 0 |
59 | 0 | 6 | $warn //= 1 |
70 | 6 | 0 | $pdata->{'v'} // 1 |
79 | 0 | 0 | ${"${self}::VERSION";} // '?' |
0 | 0 | $VERSION // '?' | |
121 | 3 | 3 | $pdata->{'config'} // {} |
188 | 5 | 0 | $opts //= {} |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
72 | 0 | 0 | 6 | $v == 1 or $v == 2 |
148 | 0 | 5 | 0 | ref $self || $self |
236 | 2 | 0 | 5 | not defined $pspec->{'mod_version'} or $pspec->{'mod_version'} eq ':all' |