Condition Coverage

blib/lib/Data/Dumper/Compact.pm
Criterion Covered Total %
condition 16 39 41.0


and 3 conditions

line !l l&&!r l&&r condition
71 39 0 0 ref $self and $opts
39 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'}
104 241 3 0 &blessed($data) and my $ret = $self->_expand_blessed($data)
206 0 1086 0 not $self->{'vertical'} and $self->width <= 0
263 22 10 3 @$payload == 2 and $payload->[0][0] eq "key"
299 0 0 18 $spare > 0 and $f =~ s/^(.{0,$spare})\n//ms
348 2 27 7 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 39 $opts || {}

or 3 conditions

line l !l&&r !l&&!r condition
179 0 0 0 $tf->{$type} || $tf->{'_'}
221 0 0 0 $self->{'oneline'} or length $try <= $self->width
256 121 4 42 $self->{'oneline'} or length $try <= $self->width