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) ? :
514 4293 2 ref $_[0] eq 'ARRAY' ? :
516 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) { }
521 0 1787 unless ref $args eq 'HASH'
557 2 103 unless defined $ref
599 0 13 unless $prec > 0
607 4 9 if ($num < 0) { }