Condition Coverage

blib/lib/Data/Dmp.pm
Criterion Covered Total %
condition 17 21 80.9


and 3 conditions

line !l l&&!r l&&r condition
110 7 1 18 &looks_like_number($val) and not $OPT_STRINGIFY_NUMBERS
8 2 16 &looks_like_number($val) and not $OPT_STRINGIFY_NUMBERS and $val eq $val + 0
3 1 15 &looks_like_number($val) and not $OPT_STRINGIFY_NUMBERS and $val eq $val + 0 and not $val =~ /\A-?(?:inf(?:inity)?|nan)\z/i

or 3 conditions

line l !l&&r !l&&!r condition
101 4 1 4 $_[0] =~ /\A-?[A-Za-z_][A-Za-z0-9_]*\z/ || $_[0] =~ /\A-?[1-9][0-9]{0,8}\z/
128 3 1 18 $_subscripts{$refaddr} //= $subscript
138 1 0 18 $ref eq "Regexp" or $ref eq "REGEXP"
211 0 0 0 wantarray || @_ > 1