Condition Coverage

blib/lib/Hades/Macro/YAML.pm
Criterion Covered Total %
condition 108 180 60.0


or 2 conditions

line l !l condition
58 47 2 ref $value || ''
68 7 1 ref $mg || ''
86 2 0 $ref || 'SCALAR'
106 7 1 ref $mg || ''
124 2 0 $ref || 'SCALAR'
143 7 1 ref $mg || ''
161 2 0 $ref || 'SCALAR'
180 7 1 ref $mg || ''
198 2 0 $ref || 'SCALAR'
217 7 1 ref $mg || ''
235 2 0 $ref || 'SCALAR'
255 7 1 ref $mg || ''
273 2 0 $ref || 'SCALAR'
292 7 1 ref $mg || ''
310 2 0 $ref || 'SCALAR'
329 7 1 ref $mg || ''
347 2 0 $ref || 'SCALAR'
366 7 1 ref $mg || ''
384 2 0 $ref || 'SCALAR'
404 7 1 ref $mg || ''
422 2 0 $ref || 'SCALAR'
441 7 1 ref $mg || ''
459 2 0 $ref || 'SCALAR'
478 7 1 ref $mg || ''
496 2 0 $ref || 'SCALAR'
515 9 1 ref $mg || ''
538 2 0 $ref || 'SCALAR'
558 9 1 ref $mg || ''
581 2 0 $ref || 'SCALAR'
600 9 1 ref $mg || ''
623 2 0 $ref || 'SCALAR'
642 9 1 ref $mg || ''
665 2 0 $ref || 'SCALAR'

or 3 conditions

line l !l&&r !l&&!r condition
15 2 0 0 eval {
48 22 0 0 not $accessors{$accessor}{'required'} or defined $value
73 0 2 4 not defined $str or ref $str
86 2 0 0 ($ref || 'SCALAR') ne 'SCALAR' or not +($ref ? $$list : $list) =~ /^(1|0)$/
111 0 2 4 not defined $str or ref $str
124 2 0 0 ($ref || 'SCALAR') ne 'SCALAR' or not +($ref ? $$list : $list) =~ /^(1|0)$/
148 0 2 4 not defined $str or ref $str
161 2 0 0 ($ref || 'SCALAR') ne 'SCALAR' or not +($ref ? $$list : $list) =~ /^(1|0)$/
185 0 2 4 not defined $str or ref $str
198 2 0 0 ($ref || 'SCALAR') ne 'SCALAR' or not +($ref ? $$list : $list) =~ /^(1|0)$/
222 0 2 4 not defined $file or ref $file
235 2 0 0 ($ref || 'SCALAR') ne 'SCALAR' or not +($ref ? $$list : $list) =~ /^(1|0)$/
260 0 2 4 not defined $file or ref $file
273 2 0 0 ($ref || 'SCALAR') ne 'SCALAR' or not +($ref ? $$list : $list) =~ /^(1|0)$/
297 0 2 4 not defined $file or ref $file
310 2 0 0 ($ref || 'SCALAR') ne 'SCALAR' or not +($ref ? $$list : $list) =~ /^(1|0)$/
334 0 2 4 not defined $file or ref $file
347 2 0 0 ($ref || 'SCALAR') ne 'SCALAR' or not +($ref ? $$list : $list) =~ /^(1|0)$/
371 0 2 4 not defined $content or ref $content
384 2 0 0 ($ref || 'SCALAR') ne 'SCALAR' or not +($ref ? $$list : $list) =~ /^(1|0)$/
409 0 2 4 not defined $content or ref $content
422 2 0 0 ($ref || 'SCALAR') ne 'SCALAR' or not +($ref ? $$list : $list) =~ /^(1|0)$/
446 0 2 4 not defined $content or ref $content
459 2 0 0 ($ref || 'SCALAR') ne 'SCALAR' or not +($ref ? $$list : $list) =~ /^(1|0)$/
483 0 2 4 not defined $content or ref $content
496 2 0 0 ($ref || 'SCALAR') ne 'SCALAR' or not +($ref ? $$list : $list) =~ /^(1|0)$/
520 0 2 6 not defined $file or ref $file
525 0 2 4 not defined $content or ref $content
538 2 0 0 ($ref || 'SCALAR') ne 'SCALAR' or not +($ref ? $$list : $list) =~ /^(1|0)$/
563 0 2 6 not defined $file or ref $file
568 0 2 4 not defined $content or ref $content
581 2 0 0 ($ref || 'SCALAR') ne 'SCALAR' or not +($ref ? $$list : $list) =~ /^(1|0)$/
605 0 2 6 not defined $file or ref $file
610 0 2 4 not defined $content or ref $content
623 2 0 0 ($ref || 'SCALAR') ne 'SCALAR' or not +($ref ? $$list : $list) =~ /^(1|0)$/
647 0 2 6 not defined $file or ref $file
652 0 2 4 not defined $content or ref $content
665 2 0 0 ($ref || 'SCALAR') ne 'SCALAR' or not +($ref ? $$list : $list) =~ /^(1|0)$/