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
102 7 1 17 &looks_like_number($val) and not $OPT_STRINGIFY_NUMBERS
8 2 15 &looks_like_number($val) and not $OPT_STRINGIFY_NUMBERS and $val eq $val + 0
3 1 14 &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
93 4 1 4 $_[0] =~ /\A-?[A-Za-z_][A-Za-z0-9_]*\z/ || $_[0] =~ /\A-?[1-9][0-9]{0,8}\z/
120 3 1 17 $_subscripts{$refaddr} //= $subscript
129 1 0 17 $ref eq 'Regexp' or $ref eq 'REGEXP'
198 0 0 0 wantarray || @_ > 1