Branch Coverage

blib/lib/Data/JavaScript/LiteObject.pm
Criterion Covered Total %
branch 23 26 88.4


line true false branch
17 0 16 unless ($opts{'protoName'} and $opts{'dataRef'})
21 4 12 $opts{'explode'} ? :
23 8 8 if (ref $opts{'dataRef'} eq 'ARRAY')
28 16 0 if (ref $opts{'dataRef'} eq 'HASH') { }
29 12 4 if (ref $opts{'attributes'} eq 'ARRAY') { }
53 0 16 if (defined $opts{'listObjects'})
58 8 8 if (defined $opts{'lineIN'})
62 40 124 unless (++$. - $opts{'lineIN'}) % 5
75 48 240 if (ref $_ eq 'ARRAY') { }
160 80 elsif ($val = $_, !($val =~ /^-?(?:\d+(?:\.\d*)?|\.\d+)$/)) { }
85 24 24 /^-?(?:\d+(?:\.\d*)?|\.\d+)$/ ? :
24 24 /^-?(?:\d+(?:\.\d*)?|\.\d+)$/ ? :
24 24 $Data::JavaScript::LiteObject::JSVER >= 1.2 ? :