Condition Coverage

blib/lib/Data/Dump/Ruby.pm
Criterion Covered Total %
condition 32 66 48.4


and 3 conditions

line !l l&&!r l&&r condition
92 0 0 1 !$paren && $_ == @dump - 1
142 79 0 0 $] < 5.008 and $type eq 'SCALAR'
151 0 1 0 $ref && $type eq 'SCALAR'
157 0 1 0 @$idx and $$idx[-1] eq '$'
167 0 0 8 $class and $class eq 'Regexp'
215 61 0 0 $class and not @$idx
242 0 0 0 $k eq 'SCALAR' and not defined $$gval
348 78 0 0 $class and $ref
375 2 0 0 $ref and @i
2 0 0 $ref and @i and $i[0] eq '$'
379 1 1 0 @i and $i[0] eq '$'
408 34 3 0 @_ > $indent_lim and length $tmp > 60 || $tmp =~ /\n/
432 0 3 2 length $_ < 16384 and /^(.{2,5}?)\1*\z/s

or 3 conditions

line l !l&&r !l&&!r condition
98 1 0 35 %Data::Dump::Ruby::refcnt or %Data::Dump::Ruby::require
165 61 0 17 $type eq 'SCALAR' or $type eq 'REF'
61 8 9 $type eq 'SCALAR' or $type eq 'REF' or $type eq 'REGEXP'
206 38 2 19 $$rval =~ /^-?[1-9]\d{0,9}\z/ or $$rval eq '0'
303 3 0 5 length $tmp > 60 or $tmp =~ /\n/
3 0 5 length $tmp > 60 or $tmp =~ /\n/ or $tied
386 0 0 1 $i eq '*' or $i eq '$'
408 0 0 3 length $tmp > 60 || $tmp =~ /\n/
0 0 37 $comment or @_ > $indent_lim and length $tmp > 60 || $tmp =~ /\n/