Condition Coverage

lib/Badger/Utils.pm
Criterion Covered Total %
condition 29 54 53.7


and 3 conditions

line !l l&&!r l&&r condition
110 3 3 1 &blessed($_[0]) and overload::Method($_[0], "\"\"")
132 9 6 2 @_ && ref $_[0] eq 'HASH'
141 0 2 1 @_ && ref $_[0] eq 'HASH'
346 0 19 0 @_ == 1 && ref $_[0] eq 'ARRAY'
396 0 0 3 defined $list and length $list
478 6 1 3 $into and ref $into eq "HASH"
7 0 3 $into and ref $into eq "HASH" and ref $value eq "HASH"

or 2 conditions

line l !l condition
85 101 0 $Badger::Utils::DELEGATES->{$symbol} || (return 0)
180 8 37 $2 || 's'
243 0 0 shift() || 0
343 19 0 shift() || 0
365 19 0 shift() || 0
367 0 19 shift() || '%s %s'

or 3 conditions

line l !l&&r !l&&!r condition
84 31 70 0 $DELEGATES ||= _expand_helpers($HELPERS)
120 6 6 10 !$_[0] || $_[0] =~ /^(0|off|no|none|false)$/i
219 4 1 0 shift() || $RANDOM_NAME_LENGTH
242 0 0 0 shift() || $TEXT_WRAP_WIDTH
249 0 0 0 length $words[0] || (shift @words, next)
250 0 0 0 $total + $length > 74 or $words[0] eq "\\n"
369 19 0 0 $n || $z