Condition Coverage

blib/lib/Data/JavaScript.pm
Criterion Covered Total %
condition 9 15 60.0


and 3 conditions

line !l l&&!r l&&r condition
120 3 24 4 $opt{'JS'} >= $JSCOMPAT_DEFAULT_VERSION and &Encode::is_utf8($input)
163 0 21 13 $elem ne "." and $elem =~ /^[+-]?(?:(?=\d|[.])\d*(?:[.]\d{0,})?)(?:[eE][+-]?\d+)?$/msux

or 3 conditions

line l !l&&r !l&&!r condition
45 0 9 0 $opt{'UNDEF'} ||= $opt{'JS'} > $JSCOMPAT_UNDEFINED_MISSING ? "undefined" : "''"
181 6 0 4 $ref eq "ARRAY" or builtin::reftype($elem) eq "ARRAY"
4 0 0 $ref eq "HASH" or builtin::reftype($elem) eq "HASH"