Condition Coverage

blib/lib/Types/Core.pm
Criterion Covered Total %
condition 19 56 33.9


and 3 conditions

line !l l&&!r l&&r condition
137 2 2 13 ref $var && 1 + index($var, $type . '(')
144 0 6 4 $ref_arg && !$type_lens{$ref_arg}
372 4 1 5 $field and $arg
376 0 5 0 defined $field and ($h = &HASH($arg)) && exists $arg->{$field} || &ARRAY($arg) && $field =~ /^[-\d]+$/ && exists $arg->[$field]
388 4 1 5 $field and $arg
391 0 0 5 defined $arg and &typ($arg) eq 'HASH'
0 2 3 defined $field and exists $arg->{$field}
0 2 3 defined $arg and &typ($arg) eq 'HASH' and (defined $field and exists $arg->{$field})
521 0 0 0 defined $a and defined $b
524 0 0 0 defined $ra and defined $rb
526 0 0 0 $dta and $dtb
536 0 0 0 &isnum($a) && &isnum($b)
547 0 0 0 $dta and $dtb
552 0 0 0 $dra and $drb
0 0 0 $dra and $drb and $ra ne $rb

or 2 conditions

line l !l condition
403 0 0 (@_ ? &LongSub(1 + $_[0]) : &LongSub(1)) || ''

or 3 conditions

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