lib/UR/Role/Param.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 23 | 26 | 88.4 |
line | true | false | branch |
---|---|---|---|
16 | 0 | 8 | unless exists $params{$param_name} |
41 | 2 | 4 | unless ($role_instance) |
62 | 2 | 28 | unless $caller[3] |
64 | 4 | 24 | unless $function_package |
68 | 10 | 14 | unless $invocant_class |
71 | 4 | 10 | if $role_instance |
105 | 1 | 1 | unless (tied $$role_param_ref) |
124 | 232 | 197 | unless my $reftype = ref $struct |
125 | 120 | 77 | if ($reftype eq 'HASH') { } |
75 | 2 | elsif ($reftype eq 'ARRAY') { } | |
0 | 2 | elsif ($reftype eq 'SCALAR') { } | |
127 | 2 | 245 | if (_is_unbound_param($val)) { } |
136 | 0 | 148 | if (_is_unbound_param($val)) { } |