Condition Coverage

blib/lib/Data/Dumper/Compact.pm
Criterion Covered Total %
condition 15 39 38.4


and 3 conditions

line !l l&&!r l&&r condition
71 10 0 0 ref $self and $opts
10 0 0 ref $self and $opts and local(@{$self;}{keys %$opts}) = values %$opts, 1
0 0 0 ref $self and $opts and local(@{$self;}{keys %$opts}) = values %$opts, 1 and $opts->{'indent_by'}
91 101 1 0 &blessed($data) and my $ret = $self->_expand_blessed($data)
192 0 681 0 not $self->{'vertical'} and $self->width <= 0
249 10 4 1 @$payload == 2 and $payload->[0][0] eq 'key'
285 0 0 8 $spare > 0 and $f =~ s/^(.{0,$spare})\n//ms
333 0 16 4 not $oneline =~ /\n/ and length $oneline <= $self->width

or 2 conditions

line l !l condition
14 0 0 $ddc || ''
16 0 0 $opts || {}
72 0 10 $opts || {}

or 3 conditions

line l !l&&r !l&&!r condition
165 0 0 0 $tf->{$type} || $tf->{'_'}
207 0 0 0 $self->{'oneline'} or length $try <= $self->width
242 98 2 18 $self->{'oneline'} or length $try <= $self->width