Condition Coverage

blib/lib/JSON.pm
Criterion Covered Total %
condition 12 28 42.8


and 3 conditions

line !l l&&!r l&&r condition
138 0 0 0 defined $_[0] and UNIVERSAL::isa($_[0], "JSON")
147 0 0 0 defined $_[0] and UNIVERSAL::isa($_[0], "JSON")
158 7 0 1 @_ > 2 and $_[0] eq "JSON"
166 3 0 4 @_ == 2 and ref $_[1] eq "HASH"
183 4 0 1 @_ == 2 and ref $_[1] eq "HASH"
279 0 0 0 defined $opt and $opt & $_INSTALL_DONT_DIE

or 2 conditions

line l !l condition
272 10 0 $RequiredVersion{$module} || ''
306 5 57 $RequiredVersion{$module} || ''

or 3 conditions

line l !l&&r !l&&!r condition
158 0 1 7 ref $_[0] eq "JSON" or @_ > 2 and $_[0] eq "JSON"
178 0 0 5 ref $_[0] eq "JSON" or $_[0] eq "JSON"