Condition Coverage

blib/lib/JSON/ON.pm
Criterion Covered Total %
condition 5 14 35.7


or 2 conditions

line l !l condition
98 0 3 $$m{$_[0][1]} ||= 0

or 3 conditions

line l !l&&r !l&&!r condition
53 2 0 0 eval { do { require JSON::XS; 'JSON::XS' } } || do { require JSON; 'JSON' }
101 0 1 0 $$self{'j'} ||= 'JSON::XS'->new->convert_blessed(1)->filter_json_single_key_object("i = sqrt(-1); \cH\cH\cH\cH\cH\cH\cH\cH\cH\cH\cH\cH\cH\cH# object =>;#<", sub { if (my $m = $$self{'_modules'}) { ++($$m{$_[0][1]} ||= 0); } ; return bless($_[0][2] eq 'SCALAR' ? \$_[0][0] : $_[0][0], $_[0][1]); } )
187 0 1 0 $$self{'_encoder'} ||= $self->encoder
200 0 1 0 $$self{'_decoder'} ||= $self->decoder