Branch Coverage

blib/lib/Hades/Realm/Compiled/Params.pm
Criterion Covered Total %
branch 50 64 78.1


line true false branch
8 13 2 scalar @_ == 1 ? :
16 11 4 defined $args{$accessor} ? :
17 0 13 unless (not $accessors{$accessor}{'required'} or defined $value)
26 18 4 if (defined $value)
27 4 14 if ((ref $value || '') ne 'ARRAY')
37 2 15 if (not defined $key or ref $key)
38 2 0 defined $key ? :
41 2 13 if (not defined $value or ref $value)
42 2 0 defined $value ? :
52 9 2 if $params[2]{$params[1]}{'type'}[0]
56 0 11 wantarray ? :
61 2 6 unless (ref $mg)
62 2 0 defined $mg ? :
65 2 4 if (not defined $name or ref $name)
66 2 0 defined $name ? :
70 2 2 if ((ref $meta || '') ne 'HASH')
71 2 0 defined $meta ? :
77 0 2 if $meta->{$name}{'private'}
78 2 0 if ($meta->{$name}{'param'})
80 0 2 if $params_explanation
84 0 2 $types ? :
101 2 17 if (not defined $name or ref $name)
102 2 0 defined $name ? :
106 13 4 if (defined $type)
107 2 11 if (ref $type)
112 4 11 if (defined $value)
113 2 2 if (ref $value)
119 11 2 if ($type)
120 2 9 $value ? :
130 2 2 if ((ref $mg || '') =~ /^(|HASH|ARRAY|SCALAR|CODE|GLOB)$/)
131 2 0 defined $mg ? :
141 0 2 if ($class{'CURRENT'}{'BEGIN'}) { }