Condition Coverage

blib/lib/builtins/compat.pm
Criterion Covered Total %
condition 17 23 73.9


and 3 conditions

line !l l&&!r l&&r condition
142 7 0 6 $value and "$value" eq 1
7 0 6 $value and "$value" eq 1 and $value + 0 == 1
143 0 0 7 not $value and "$value" eq ""
0 0 7 not $value and "$value" eq "" and $value + 0 == 0
155 24 2 16 $flags & 12288 and not $flags & 16384
162 1 5 19 defined $value and not ref $value
6 2 17 defined $value and not ref $value and not &_is_bool($value)

or 2 conditions

line l !l condition
106 7 7 $subs ||= {"true", \&builtins::compat::_true, "false", \&builtins::compat::_false, "is_bool", \&builtins::compat::_is_bool, "weaken", \&Scalar::Util::weaken, "unweaken", \&Scalar::Util::unweaken, "is_weak", \&Scalar::Util::isweak, "blessed", \&Scalar::Util::blessed, "refaddr", \&Scalar::Util::refaddr, "reftype", \&Scalar::Util::reftype, "weaken", \&Scalar::Util::weaken, "created_as_string", \&builtins::compat::_created_as_string, "created_as_number", \&builtins::compat::_created_as_number, "ceil", \&builtins::compat::_ceil, "floor", \&builtins::compat::_floor, "trim", \&builtins::compat::_trim, "indexed", \&builtins::compat::_indexed}