blib/lib/JSON/MaybeXS.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 11 | 21 | 52.3 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
71 | 1 | 0 | 0 | @_ == 2 and ref $_[1] eq 'HASH' |
82 | 1 | 0 | 1 | @_ > 2 and $_[0] =~ /^JSON/ |
90 | 1 | 0 | 0 | @_ == 2 and ref $_[1] eq 'HASH' |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
56 | 4 | 0 | 2 | $_[0]->isa('JSON::XS::Boolean') or $_[0]->isa('Cpanel::JSON::XS::Boolean') |
4 | 2 | 0 | $_[0]->isa('JSON::XS::Boolean') or $_[0]->isa('Cpanel::JSON::XS::Boolean') or $_[0]->isa('JSON::PP::Boolean') | |
66 | 0 | 1 | 1 | ref($_[0]) =~ /^JSON/ or $_[0] =~ /^JSON/ |
82 | 0 | 0 | 2 | ref($_[0]) =~ /^JSON/ or @_ > 2 and $_[0] =~ /^JSON/ |