Condition Coverage

blib/lib/Data/Dump/IfSmall.pm
Criterion Covered Total %
condition 0 93 0.0


and 3 conditions

line !l l&&!r l&&r condition
85 0 0 0 length $out > $MAX_SIZE and @_ == 1 && ref $_[0] || @_ > 1
134 0 0 0 $] < "5.008" and $type eq "SCALAR"
176 0 0 0 defined $out and not @bless
187 0 0 0 $ref && $type eq 'SCALAR'
193 0 0 0 @$idx and $idx->[-1] eq "\$"
209 0 0 0 $class and $class eq "Regexp"
253 0 0 0 $class and not @$idx
278 0 0 0 $k eq "SCALAR" and not defined $$gval
381 0 0 0 $nl and $klen_pad > length $key
398 0 0 0 $class and $ref
429 0 0 0 $ref and @i
0 0 0 $ref and @i and $i[0] eq "\$"
433 0 0 0 @i and $i[0] eq "\$"
489 0 0 0 @_ > $indent_lim and length $tmp > 60 || $tmp =~ /\n/
548 0 0 0 length $_ < 16384 and /^(.{2,5}?)\1*\z/s
558 0 0 0 length $_ > 40 and not /\\x\{/
0 0 0 length $_ > 40 and not /\\x\{/ and length $_ > length($_[0]) * 2
564 0 0 0 $Data::Dump::IfSmall::TRY_BASE64 and length $_[0] > $Data::Dump::IfSmall::TRY_BASE64
0 0 0 defined &utf8::is_utf8 and not utf8::is_utf8($_[0])
0 0 0 $Data::Dump::IfSmall::TRY_BASE64 and length $_[0] > $Data::Dump::IfSmall::TRY_BASE64 and (defined &utf8::is_utf8 and not utf8::is_utf8($_[0]))
0 0 0 $Data::Dump::IfSmall::TRY_BASE64 and length $_[0] > $Data::Dump::IfSmall::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
79 0 0 0 %Data::Dump::IfSmall::refcnt or %Data::Dump::IfSmall::require
85 0 0 0 @_ == 1 && ref $_[0] || @_ > 1
204 0 0 0 $type eq "SCALAR" or $type eq "REF"
0 0 0 $type eq "SCALAR" or $type eq "REF" or $type eq "REGEXP"
349 0 0 0 length $tmp > 60 or $tmp =~ /\n/
0 0 0 length $tmp > 60 or $tmp =~ /\n/ or $tied
440 0 0 0 $i eq "*" or $i eq "\$"
468 0 0 0 $v eq 0 or $v =~ /^-?[1-9]\d{0,9}\z/
489 0 0 0 length $tmp > 60 || $tmp =~ /\n/
0 0 0 $comment or @_ > $indent_lim and length $tmp > 60 || $tmp =~ /\n/