Branch Coverage

blib/lib/XAO/Utils.pm
Criterion Covered Total %
branch 28 36 77.7


line true false branch
134 1 99999 unless ($generate_key_alpha)
173 0 1 unless length $key == 8
206 3 1 if ($XAO::Utils::logprint_handler) { }
239 36 2 unless $XAO::Utils::debug_flag
240 4 0 defined $_ ? :
256 2 0 defined $_ ? :
279 1 1 if ($newh) { }
280 1 0 if (ref $newh eq 'CODE') { }
383 1 7 &Encode::is_utf8($text) ? :
505 2516 2 ref $_[0] eq 'ARRAY' ? :
507 0 2518 if (not @$arr) { }
899 1619 elsif (@$arr == 1) { }
1 1618 elsif (ref $arr->[0] eq 'HASH') { }
1618 0 elsif (not ref $arr->[0] and scalar(@$arr) % 2 == 0) { }
512 0 899 unless ref $args eq 'HASH'
548 1 80 unless defined $ref
590 0 13 unless $prec > 0
598 4 9 if ($num < 0) { }