Condition Coverage

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


and 3 conditions

line !l l&&!r l&&r condition
91 4 5 8 $value and $object{$extend}{'has'}{$name}{'is'} eq 'rw' || [split(/::/, [caller 1]->[3], 0)]->[-1] =~ /^new|build|set_defaults|auto_build$/
171 0 32 0 not $attribute_extend and $object{$called}{'has'}{$name}
213 29 22 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
33 2 2 $value[0] || 1
158 2 30 ref $name || 'STRING'

or 3 conditions

line l !l&&r !l&&!r condition
91 10 3 0 $object{$extend}{'has'}{$name}{'is'} eq 'rw' || [split(/::/, [caller 1]->[3], 0)]->[-1] =~ /^new|build|set_defaults|auto_build$/
213 32 4 0 $object{$called}{'has'}{$name}{'is'} eq 'rw' || [split(/::/, [caller 1]->[3], 0)]->[-1] =~ /^new|build|set_defaults|auto_build$/
264 6 68 0 $object{$called}{'has'}{$a}{'build_order'} || $LAST
8 66 0 $object{$called}{'has'}{$b}{'build_order'} || $LAST
275 7 4 0 $object{$called}{'has'}{$a}{'build_order'} || $LAST
3 8 0 $object{$called}{'has'}{$b}{'build_order'} || $LAST
282 0 0 5 ref $object{$called}{'has'}{$_}{$type} || !($object{$called}{'has'}{$_}{$type} =~ /^1$/)
285 4 0 0 $object{$called}{'has'}{$a}{'build_order'} || $LAST
4 0 0 $object{$called}{'has'}{$b}{'build_order'} || $LAST
314 0 0 12 ref $value or not $value =~ /^\d+$/
325 0 0 0 ref $value or not $value =~ /^\d+\.\d+$/
436 0 0 0 not ref $value or ref !($value =~ /SCALAR|ARRAY|HASH|GLOB/)