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 72 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) ? :
508 4293 2 ref $_[0] eq 'ARRAY' ? :
510 0 4295 if (not @$arr) { }
1787 2508 elsif (@$arr == 1) { }
1 2507 elsif (ref $arr->[0] eq 'HASH') { }
2507 0 elsif (not ref $arr->[0] and scalar(@$arr) % 2 == 0) { }
515 0 1787 unless ref $args eq 'HASH'
551 2 103 unless defined $ref
593 0 13 unless $prec > 0
601 4 9 if ($num < 0) { }