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 1 9 $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 27 19 14 @_ > 1 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 29 4 0 $object{$called}{'has'}{$name}{'is'} eq 'rw' || [split(/::/, [caller 1]->[3], 0)]->[-1] =~ /^new|build|set_defaults|auto_build$/
237 9 64 0 $object{$called}{'has'}{$a}{'build_order'} || $LAST
7 66 0 $object{$called}{'has'}{$b}{'build_order'} || $LAST
248 6 5 0 $object{$called}{'has'}{$a}{'build_order'} || $LAST
4 7 0 $object{$called}{'has'}{$b}{'build_order'} || $LAST
255 0 0 5 ref $object{$called}{'has'}{$_}{$type} || !($object{$called}{'has'}{$_}{$type} =~ /^1$/)
258 4 0 0 $object{$called}{'has'}{$a}{'build_order'} || $LAST
4 0 0 $object{$called}{'has'}{$b}{'build_order'} || $LAST
287 0 0 12 ref $value or not $value =~ /^\d+$/
298 0 0 0 ref $value or not $value =~ /^\d+\.\d+$/
369 0 0 0 not ref $value or ref !($value =~ /SCALAR|ARRAY|HASH|GLOB/)