Condition Coverage

blib/lib/Data/JavaScript.pm
Criterion Covered Total %
condition 7 12 58.3


and 3 conditions

line !l l&&!r l&&r condition
120 3 25 4 $opt{'JS'} >= $JSCOMPAT_DEFAULT_VERSION and &Encode::is_utf8($input)

or 3 conditions

line l !l&&r !l&&!r condition
44 0 9 0 $opt{'UNDEF'} ||= $opt{'JS'} > $JSCOMPAT_UNDEFINED_MISSING ? 'undefined' : q['']
183 6 0 4 $ref eq 'ARRAY' or &reftype($elem) eq 'ARRAY'
4 0 0 $ref eq 'HASH' or &reftype($elem) eq 'HASH'