Condition Coverage

blib/lib/Dump/Krumo.pm
Criterion Covered Total %
condition 48 78 61.5


and 3 conditions

line !l l&&!r l&&r condition
132 5 30 2 not $type and is_bool_val($x)
5 14 16 not $type and is_integer($x)
5 13 1 not $type and is_float($x)
5 2 11 not $type and is_string($x)
5 0 2 not $type and is_undef($x)
213 0 0 0 $promote_bool and $class eq "JSON::PP::Boolean"
278 8 0 1 not $printable and length $x < 20
477 25 0 0 is_bool_val($x) and $x
591 9 3 0 length $str == 1 and ord $str >= 127
596 0 2 10 defined $str and $str =~ /^[[:print:]\n\r\t]*$/u
641 2 0 11 defined $value && !is_numeric($value)
647 2 12 16 defined $value && $value =~ /^-?\d+$/u
654 2 11 1 defined $value && $value =~ /^-?\d+\.\d+(e[+-]\d+)?$/u
669 1 0 1 $value == 1 and $value eq 1
670 0 0 1 $value == 0 and $value eq ""
716 0 0 0 defined $fc and int $fc > 255

or 2 conditions

line l !l condition
128 3 53 builtin::blessed($x) || ''
509 5 8 $extra_len //= 0
702 87 36 $txt // ""
720 0 0 $cmd // 0
771 123 0 $_[0] || ''
773 123 0 $Dump::Krumo::COLORS->{$str} // 251

or 3 conditions

line l !l&&r !l&&!r condition
73 2 1 33 $cnt > 1 or $cnt == 0
95 2 1 33 $cnt > 1 or $cnt == 0
700 1 0 0 !$use_color || -t STDOUT == 0
706 0 0 0 not length $str or $str eq "reset"
710 0 0 0 $color_map{$1} // $1
733 0 2 0 not $ENV{'TERM'} or -t STDOUT == 0