Condition Coverage

blib/lib/Types/Core.pm
Criterion Covered Total %
condition 15 50 30.0


and 3 conditions

line !l l&&!r l&&r condition
369 4 6 0 defined $field and ($h = &HASH($arg)) && exists $arg->{$field} || &ARRAY($arg) && $field =~ /^[-\d]+$/ && exists $arg->[$field]
381 1 0 9 defined $arg and &typ($arg) eq 'HASH'
4 2 3 defined $field and exists $arg->{$field}
1 4 5 defined $arg and &typ($arg) eq 'HASH' and (defined $field and exists $arg->{$field})
528 0 0 0 $dta and $dtb
0 0 0 $dta and $dtb
0 0 0 $dta and $dtb and $ta ne $tb
529 0 0 0 &isnum($a) && &isnum($b)
541 0 0 0 $dra and $drb
0 0 0 $dra and $drb and $ra ne $rb

or 2 conditions

line l !l condition
128 15 4 &_type($_[0]) || ''
19 0 $_[1] || ''
393 0 0 (@_ ? &LongFunc(1 + $_[0]) : &LongFunc(1)) || ''
521 0 0 defined ref $a || ''
0 0 defined ref $b || ''
522 0 0 defined &type($a) || ''
0 0 defined &type($b) || ''

or 3 conditions

line l !l&&r !l&&!r condition
369 3 0 3 ($h = &HASH($arg)) && exists $arg->{$field} || &ARRAY($arg) && $field =~ /^[-\d]+$/ && exists $arg->[$field]
411 0 0 0 ref $_[0] or $_[0] eq 'Types::Core'