Condition Coverage

lib/JSON.pm
Criterion Covered Total %
condition 3 39 7.6


and 3 conditions

line !l l&&!r l&&r condition
13 1 0 0 defined $opt and $opt & $_INSTALL_ONLY
0 0 1 defined $opt and $opt & $_INSTALL_DONT_DIE
0 0 0 defined $opt and $opt & $_INSTALL_ONLY
0 0 0 exists $INC{'JSON/XS.pm'} and $boolean eq 'JSON::XS::Boolean'
0 0 0 exists $INC{'JSON/PP.pm'} and $boolean eq 'JSON::PP::Boolean'
1 0 0 'JSON'->is_xs and 'JSON'->backend->VERSION < 3
0 0 0 @_ == 2 and ref $_[1] eq 'HASH'
0 0 0 defined $_[0] and UNIVERSAL::isa($_[0], 'JSON')
0 0 0 defined $_[0] and UNIVERSAL::isa($_[0], 'JSON')
0 0 0 @_ > 2 and $_[0] eq 'JSON'
0 0 0 @_ == 2 and ref $_[1] eq 'HASH'

or 3 conditions

line l !l&&r !l&&!r condition
13 0 0 0 ref $_[0] eq 'JSON' or $_[0] eq 'JSON'
0 0 0 ref $_[0] eq 'JSON' or @_ > 2 and $_[0] eq 'JSON'