Condition Coverage

blib/lib/builtins/compat.pm
Criterion Covered Total %
condition 12 14 85.7


and 3 conditions

line !l l&&!r l&&r condition
102 0 0 12 ("$value" eq '1' || "$value" eq '') && ($value + 0 == 1 || $value + 0 == 0)
114 24 2 16 $flags & 12288 and not $flags & 16384
121 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
65 4 5 $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}