Condition Coverage

blib/lib/YAOO.pm
Criterion Covered Total %
condition 27 49 55.1


and 3 conditions

line !l l&&!r l&&r condition
64 2 3 7 $value and $object{$extend}{'has'}{$name}{'is'} eq 'rw' || [split(/::/, [caller 1]->[3], 0)]->[-1] =~ /^new|build|set_defaults|auto_build$/
144 0 31 0 not $attribute_extend and $object{$called}{'has'}{$name}
186 24 22 10 defined $value and $object{$called}{'has'}{$name}{'is'} eq 'rw' || [split(/::/, [caller 1]->[3], 0)]->[-1] =~ /^new|build|set_defaults|auto_build$/

or 2 conditions

line l !l condition
32 2 2 $value[0] || 1
131 2 29 ref $name || 'STRING'

or 3 conditions

line l !l&&r !l&&!r condition
64 7 3 0 $object{$extend}{'has'}{$name}{'is'} eq 'rw' || [split(/::/, [caller 1]->[3], 0)]->[-1] =~ /^new|build|set_defaults|auto_build$/
186 28 4 0 $object{$called}{'has'}{$name}{'is'} eq 'rw' || [split(/::/, [caller 1]->[3], 0)]->[-1] =~ /^new|build|set_defaults|auto_build$/
233 10 63 0 $object{$called}{'has'}{$a}{'build_order'} || $LAST
6 67 0 $object{$called}{'has'}{$b}{'build_order'} || $LAST
244 5 6 0 $object{$called}{'has'}{$a}{'build_order'} || $LAST
5 6 0 $object{$called}{'has'}{$b}{'build_order'} || $LAST
251 0 0 5 ref $object{$called}{'has'}{$_}{$type} || !($object{$called}{'has'}{$_}{$type} =~ /^1$/)
254 4 0 0 $object{$called}{'has'}{$a}{'build_order'} || $LAST
4 0 0 $object{$called}{'has'}{$b}{'build_order'} || $LAST
283 0 0 12 ref $value or not $value =~ /^\d+$/
294 0 0 0 ref $value or not $value =~ /^\d+\.\d+$/
365 0 0 0 not ref $value or ref !($value =~ /SCALAR|ARRAY|HASH|GLOB/)