Branch Coverage

blib/lib/CXC/Exporter/Util.pm
Criterion Covered Total %
branch 36 46 78.2


line true false branch
135 7 13 (builtin::reftype($_[0]) // '') eq 'HASH' ? :
136 3 17 (builtin::reftype($_[-1]) // '') eq 'HASH' ? :
145 0 20 if @_
151 4 16 if (defined(my $hooks = delete $REGISTRY{'HOOK'}{$package}{'pre'}))
157 7 13 if (defined $export_tags)
159 1 6 if (delete $options{'overwrite'}) { }
171 3 17 if (defined(my $hooks = delete $REGISTRY{'HOOK'}{$package}{'post'}))
177 18 2 if $install_all eq "auto"
180 7 13 if ($install_all)
256 0 8 !defined(builtin::reftype($_[-1])) ? :
261 6 5 if ('HASH' eq $type) { }
5 0 elsif ('ARRAY' eq $type) { }
267 0 5 unless 0 == $idx % 2
480 5 6 'ARRAY' eq (builtin::reftype($id) // '') ? :
489 5 6 if (builtin::reftype($constants) eq 'HASH') { }
6 0 elsif (builtin::reftype($constants) eq 'ARRAY') { }
509 0 9 if exists &{$fqdn;}
519 0 9 if exists &{$fqdn;}
639 7 4 if exists $REGISTRY{'UI'}{$target}{$tag}{$pfx}
643 0 4 unless my $sub = $target->can($names)
658 0 31 unless my $coderef = $target->can($name)
663 13 18 if defined $pfx and length $pfx
684 3 0 if ($name eq "ui_helpers" or $name eq "all")