Branch Coverage

blib/lib/DBIx/Class/Helpers/Util.pm
Criterion Covered Total %
branch 28 34 82.3


line true false branch
21 562 0 if ($package =~ /(^[\w:]+::Result)::([\w:]+)$/) { }
35 7 0 if $namespace =~ /^([\w:]+)::[\w]+$/
43 2 1 unless is_load_namespaces($ns1) and is_load_namespaces($ns2) or is_not_load_namespaces($ns1) and is_not_load_namespaces($ns2)
57 1 3 if (my $v_ref = ref $v) { }
58 1 0 if ($v_ref eq 'ARRAY') { }
74 3 1 if (my $top_ref = ref $order) { }
75 1 2 if ($top_ref eq 'HASH') { }
2 0 elsif ($top_ref eq 'ARRAY') { }
80 3 2 if (my $ref = ref $_) { }
81 3 0 if ($ref eq 'HASH') { }
100 65 2 if (not ref $_[0]) { }
2 0 elsif (ref $_[0] eq 'CODE') { }
115 2 1 exists $_[3] && ref $_[3] ? :
1 2 exists $_[4] && ref $_[4] ? :
3 1 exists $_[2] ? :
4 61 exists $_[1] ? :
131 1 1 exists $_[1] && ref $_[1] ? :