Branch Coverage

blib/lib/Hades/Macro/Dolos.pm
Criterion Covered Total %
branch 172 272 63.2


line true false branch
8 30 3 scalar @_ == 1 ? :
46 1 30 defined $args{$accessor} ? :
49 0 31 $accessors{$accessor}{'builder'} ? :
51 0 31 unless (not $accessors{$accessor}{'required'} or defined $value)
60 67 3 if (defined $value)
61 4 63 if ((ref $value || '') ne 'ARRAY')
71 2 2 if ((ref $mg || '') =~ /^(|HASH|ARRAY|SCALAR|CODE|GLOB)$/)
72 2 0 defined $mg ? :
76 2 0 if (not defined $cb or ref $cb)
77 2 0 defined $cb ? :
92 2 2 if ((ref $mg || '') =~ /^(|HASH|ARRAY|SCALAR|CODE|GLOB)$/)
93 2 0 defined $mg ? :
96 2 0 defined $variable ? :
97 2 0 if (not defined $variable or ref $variable)
98 2 0 defined $variable ? :
109 2 4 if ((ref $mg || '') =~ /^(|HASH|ARRAY|SCALAR|CODE|GLOB)$/)
110 2 0 defined $mg ? :
114 2 2 if (not defined $variable or ref $variable)
115 2 0 defined $variable ? :
119 2 0 if (not defined $hash or ref $hash)
120 2 0 defined $hash ? :
132 2 0 if ((ref $mg || '') =~ /^(|HASH|ARRAY|SCALAR|CODE|GLOB)$/)
133 2 0 defined $mg ? :
145 2 2 if ((ref $mg || '') =~ /^(|HASH|ARRAY|SCALAR|CODE|GLOB)$/)
146 2 0 defined $mg ? :
150 2 0 if (not defined $my or ref $my)
151 2 0 defined $my ? :
163 2 10 if ((ref $mg || '') =~ /^(|HASH|ARRAY|SCALAR|CODE|GLOB)$/)
164 2 0 defined $mg ? :
167 2 8 if (not defined $hash or ref $hash)
168 2 0 defined $hash ? :
171 2 6 if (not defined $key or ref $key)
172 2 0 defined $key ? :
175 2 4 if (defined $variable)
176 2 0 if (ref $variable)
181 2 2 if (defined $or)
182 2 0 if (ref $or)
187 2 0 if (defined $list)
189 0 0 $ref ? :
2 0 if (($ref || 'SCALAR') ne 'SCALAR' or not +($ref ? $$list : $list) =~ /^(1|0)$/)
195 0 0 $ref ? :
0 0 !!($ref ? $$list : $list) ? :
199 0 0 if $variable
201 0 0 if $or
202 0 0 $list ? :
209 2 4 if ((ref $mg || '') =~ /^(|HASH|ARRAY|SCALAR|CODE|GLOB)$/)
210 2 0 defined $mg ? :
214 2 2 if (not defined $hash or ref $hash)
215 2 0 defined $hash ? :
219 2 0 defined $error ? :
220 2 0 if (not defined $error or ref $error)
221 2 0 defined $error ? :
232 2 1 if ((ref $mg || '') =~ /^(|HASH|ARRAY|SCALAR|CODE|GLOB)$/)
233 2 0 defined $mg ? :
244 2 3 if ((ref $mg || '') =~ /^(|HASH|ARRAY|SCALAR|CODE|GLOB)$/)
245 2 0 defined $mg ? :
248 2 1 if (not defined $condition or ref $condition)
249 2 0 defined $condition ? :
261 2 8 if ((ref $mg || '') =~ /^(|HASH|ARRAY|SCALAR|CODE|GLOB)$/)
262 2 0 defined $mg ? :
265 2 6 if (not defined $method or ref $method)
266 2 0 defined $method ? :
270 2 4 if (not defined $code or ref $code)
271 2 0 defined $code ? :
274 4 0 defined $no_warnings ? :
275 2 2 if (not defined $no_warnings or ref $no_warnings or not $no_warnings =~ /^[-+\d]\d*$/)
279 2 0 defined $no_warnings ? :
283 2 0 defined $caller ? :
284 2 0 if (not defined $caller or ref $caller)
285 2 0 defined $caller ? :
290 0 0 $no_warnings ? :
302 2 2 if ((ref $mg || '') =~ /^(|HASH|ARRAY|SCALAR|CODE|GLOB)$/)
303 2 0 defined $mg ? :
306 2 0 if (not defined $condition or ref $condition)
307 2 0 defined $condition ? :
319 2 2 if ((ref $mg || '') =~ /^(|HASH|ARRAY|SCALAR|CODE|GLOB)$/)
320 2 0 defined $mg ? :
323 2 0 if (not defined $condition or ref $condition)
324 2 0 defined $condition ? :
336 2 4 if ((ref $mg || '') =~ /^(|HASH|ARRAY|SCALAR|CODE|GLOB)$/)
337 2 0 defined $mg ? :
341 2 2 if (not defined $hash or ref $hash)
342 2 0 defined $hash ? :
346 2 0 defined $key ? :
347 2 0 if (not defined $key or ref $key)
348 2 0 defined $key ? :
360 2 4 if ((ref $mg || '') =~ /^(|HASH|ARRAY|SCALAR|CODE|GLOB)$/)
361 2 0 defined $mg ? :
365 2 2 if (not defined $hash or ref $hash)
366 2 0 defined $hash ? :
370 2 0 if (not defined $for or ref $for)
371 2 0 defined $for ? :
383 2 2 if ((ref $mg || '') =~ /^(|HASH|ARRAY|SCALAR|CODE|GLOB)$/)
384 2 0 defined $mg ? :
387 2 0 if (not defined $condition or ref $condition)
388 2 0 defined $condition ? :
400 2 4 if ((ref $mg || '') =~ /^(|HASH|ARRAY|SCALAR|CODE|GLOB)$/)
401 2 0 defined $mg ? :
405 2 2 if (not defined $condition or ref $condition)
406 2 0 defined $condition ? :
410 2 0 if (not defined $grep_code or ref $grep_code)
411 2 0 defined $grep_code ? :
423 2 4 if ((ref $mg || '') =~ /^(|HASH|ARRAY|SCALAR|CODE|GLOB)$/)
424 2 0 defined $mg ? :
427 2 2 if (not defined $condition or ref $condition)
428 2 0 defined $condition ? :
440 2 2 if ((ref $mg || '') =~ /^(|HASH|ARRAY|SCALAR|CODE|GLOB)$/)
441 2 0 defined $mg ? :
444 2 0 if (not defined $condition or ref $condition)
445 2 0 defined $condition ? :
457 2 4 if ((ref $mg || '') =~ /^(|HASH|ARRAY|SCALAR|CODE|GLOB)$/)
458 2 0 defined $mg ? :
462 2 2 if (not defined $condition or ref $condition)
463 2 0 defined $condition ? :
467 2 0 if (not defined $grep_code or ref $grep_code)
468 2 0 defined $grep_code ? :
480 2 4 if ((ref $mg || '') =~ /^(|HASH|ARRAY|SCALAR|CODE|GLOB)$/)
481 2 0 defined $mg ? :
484 2 2 if (not defined $key or ref $key)
485 2 0 defined $key ? :
488 2 0 if (not defined $variable or ref $variable)
489 2 0 defined $variable ? :
500 2 2 if ((ref $mg || '') =~ /^(|HASH|ARRAY|SCALAR|CODE|GLOB)$/)
501 2 0 defined $mg ? :
514 2 2 if ((ref $mg || '') =~ /^(|HASH|ARRAY|SCALAR|CODE|GLOB)$/)
515 2 0 defined $mg ? :
518 2 0 if (not defined $variable or ref $variable)
519 2 0 defined $variable ? :
530 2 2 if ((ref $mg || '') =~ /^(|HASH|ARRAY|SCALAR|CODE|GLOB)$/)
531 2 0 defined $mg ? :
534 2 0 if (not defined $condition or ref $condition)
535 2 0 defined $condition ? :
547 2 2 if ((ref $mg || '') =~ /^(|HASH|ARRAY|SCALAR|CODE|GLOB)$/)
548 2 0 defined $mg ? :
551 2 0 if (not defined $condition or ref $condition)
552 2 0 defined $condition ? :