Branch Coverage

blib/lib/Hades/Macro/FH.pm
Criterion Covered Total %
branch 80 110 72.7


line true false branch
8 11 3 scalar @_ == 1 ? :
20 1 11 defined $args{$accessor} ? :
23 0 12 $accessors{$accessor}{'builder'} ? :
25 0 12 unless (not $accessors{$accessor}{'required'} or defined $value)
34 29 3 if (defined $value)
35 4 25 if ((ref $value || '') ne 'ARRAY')
45 2 6 if ((ref $mg || '') =~ /^(|HASH|ARRAY|SCALAR|CODE|GLOB)$/)
46 2 0 defined $mg ? :
50 2 4 if (not defined $file or ref $file)
51 2 0 defined $file ? :
55 4 0 defined $variable ? :
56 2 2 if (not defined $variable or ref $variable)
57 2 0 defined $variable ? :
61 2 0 defined $error ? :
62 2 0 if (not defined $error or ref $error)
63 2 0 defined $error ? :
74 2 6 if ((ref $mg || '') =~ /^(|HASH|ARRAY|SCALAR|CODE|GLOB)$/)
75 2 0 defined $mg ? :
79 2 4 if (not defined $file or ref $file)
80 2 0 defined $file ? :
84 4 0 defined $variable ? :
85 2 2 if (not defined $variable or ref $variable)
86 2 0 defined $variable ? :
90 2 0 defined $error ? :
91 2 0 if (not defined $error or ref $error)
92 2 0 defined $error ? :
103 2 4 if ((ref $mg || '') =~ /^(|HASH|ARRAY|SCALAR|CODE|GLOB)$/)
104 2 0 defined $mg ? :
108 2 2 if (not defined $file or ref $file)
109 2 0 defined $file ? :
113 2 0 defined $variable ? :
114 2 0 if (not defined $variable or ref $variable)
115 2 0 defined $variable ? :
126 2 7 if ((ref $mg || '') =~ /^(|HASH|ARRAY|SCALAR|CODE|GLOB)$/)
127 2 0 defined $mg ? :
131 2 5 if (not defined $file or ref $file)
132 2 0 defined $file ? :
136 4 1 defined $variable ? :
137 2 3 if (not defined $variable or ref $variable)
138 2 0 defined $variable ? :
142 2 1 defined $error ? :
143 2 1 if (not defined $error or ref $error)
144 2 0 defined $error ? :
158 2 9 if ((ref $mg || '') =~ /^(|HASH|ARRAY|SCALAR|CODE|GLOB)$/)
159 2 0 defined $mg ? :
163 2 7 if (not defined $file or ref $file)
164 2 0 defined $file ? :
168 2 5 if (not defined $content or ref $content)
169 2 0 defined $content ? :
173 4 1 defined $variable ? :
174 2 3 if (not defined $variable or ref $variable)
175 2 0 defined $variable ? :
179 2 1 defined $error ? :
180 2 1 if (not defined $error or ref $error)
181 2 0 defined $error ? :