Condition Coverage

blib/lib/Devel/Bug.pm
Criterion Covered Total %
condition 43 58 74.1


and 3 conditions

line !l l&&!r l&&r condition
74 0 153 58 defined $label && $label
78 152 5 54 defined $label && $label
202 0 9 defined $flags && $flags
98 20 185 0 defined $_ && ($_ = /^(?:on|1)$/iu ? 1 : (/^(?:auto|)$/iu ? '' : (/^off$/iu ? undef : croak("Illegal option value: $opt => '${_}'"))))
186 3 41 9 !$self->{'noterm'} && _isTerm($self->{'out'})
225 62 0 12 $color && $vc
237 2 0 2 $indices && $i++ . ': '
238 9 0 3 $indices && $i++ . ': '
242 3 0 0 $color && $ic
243 49 0 12 $color && $lc
244 5 52 0 defined $delims and $ml || !$color || length $vals == 0
252 46 1 6 $color && !$termW

or 2 conditions

line l !l condition
183 2 51 $indices ||= ""
238 4 57 $ml || ' '

or 3 conditions

line l !l&&r !l&&!r condition
98 602 0 0 $type eq '*' || $optDefs->{$opt}[0] eq ref $_ || croak("Option '${opt}' may not be type '@{[ref $_ || '(SCALAR)'];}'")
186 7 1 1 _sttyWidth() || _tspWidth($self->{'out'})
210 4 49 0 $ppSub ||= do { BEGIN {${^WARNING_BITS} = "\x55\x55\x55\x45\x55\x55\x55\x55\x55\x55\x55\x55\x55\x55\x55\x55\x55\x55\x55\x55\x55\x55"} require Data::Dumper; $Data::Dumper::Indent = 1; \&Data::Dumper::Dumper }
215 2 2 57 $_[1] || $multiline || $indices
244 43 0 9 $ml || !$color || length $vals == 0
4 0 57 $delims or defined $delims and $ml || !$color || length $vals == 0