blib/lib/Data/Dmp/Prune.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 8 | 23 | 34.7 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
106 | 0 | 0 | 9 | &looks_like_number($val) and not $OPT_STRINGIFY_NUMBERS |
0 | 0 | 9 | &looks_like_number($val) and not $OPT_STRINGIFY_NUMBERS and $val eq $val + 0 | |
0 | 0 | 9 | &looks_like_number($val) and not $OPT_STRINGIFY_NUMBERS and $val eq $val + 0 and not $val =~ /\A-?(?:inf(?:inity)?|nan)\z/i |
line | l | !l | condition |
---|---|---|---|
191 | 3 | 0 | $OPT_PRUNE // [] |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
97 | 3 | 0 | 0 | $_[0] =~ /\A-?[A-Za-z_][A-Za-z0-9_]*\z/ || $_[0] =~ /\A-?[1-9][0-9]{0,8}\z/ |
124 | 0 | 1 | 3 | $_subscripts{$refaddr} //= $subscript |
133 | 0 | 0 | 4 | $ref eq 'Regexp' or $ref eq 'REGEXP' |
210 | 0 | 0 | 0 | wantarray || @_ > 1 |