Condition Coverage

blib/lib/Data/Dump.pm
Criterion Covered Total %
condition 73 87 83.9


and 3 conditions

line !l l&&!r l&&r condition
119 1106 0 0 $] < 5.008 and $type eq 'SCALAR'
161 9 0 2 defined $out and not @bless
172 2 8 9 $ref && $type eq 'SCALAR'
178 0 3 1 @$idx and $$idx[-1] eq '$'
194 19 4 9 $class and $class eq 'Regexp'
238 928 2 1 $class and not @$idx
263 7 5 28 $k eq 'SCALAR' and not defined $$gval
361 45 50 524 $nl and $klen_pad > length $key
378 1069 4 14 $class and $ref
409 32 3 6 $ref and @i
35 4 2 $ref and @i and $i[0] eq '$'
413 13 28 5 @i and $i[0] eq '$'
469 100 24 0 @_ > $indent_lim and length $tmp > 60 || $tmp =~ /\n/
493 0 8 2 length $_ < 16384 and /^(.{2,5}?)\1*\z/s
503 299 1 7 length $_ > 40 and not /\\x\{/
300 4 3 length $_ > 40 and not /\\x\{/ and length $_ > length($_[0]) * 2
509 1 0 2 $Data::Dump::TRY_BASE64 and length $_[0] > $Data::Dump::TRY_BASE64
0 1 1 defined &utf8::is_utf8 and not utf8::is_utf8($_[0])
1 2 0 $Data::Dump::TRY_BASE64 and length $_[0] > $Data::Dump::TRY_BASE64 and (defined &utf8::is_utf8 and not utf8::is_utf8($_[0]))
1 0 1 $Data::Dump::TRY_BASE64 and length $_[0] > $Data::Dump::TRY_BASE64 and (defined &utf8::is_utf8 and not utf8::is_utf8($_[0])) and eval { do { require MIME::Base64 } }

or 3 conditions

line l !l&&r !l&&!r condition
68 10 3 94 %Data::Dump::refcnt or %Data::Dump::require
189 942 12 131 $type eq 'SCALAR' or $type eq 'REF'
954 9 122 $type eq 'SCALAR' or $type eq 'REF' or $type eq 'REGEXP'
329 14 0 40 length $tmp > 60 or $tmp =~ /\n/
14 1 39 length $tmp > 60 or $tmp =~ /\n/ or $tied
420 4 3 28 $i eq '*' or $i eq '$'
448 2 35 279 $v eq '0' or $v =~ /^-?[1-9]\d{0,9}\z/
469 0 0 24 length $tmp > 60 || $tmp =~ /\n/
1 0 124 $comment or @_ > $indent_lim and length $tmp > 60 || $tmp =~ /\n/