Condition Coverage

blib/lib/Types/Core.pm
Criterion Covered Total %
condition 7 50 14.0


and 3 conditions

line !l l&&!r l&&r condition
158 2 0 18 ref $var && 1 + index($var, $type . '(')
165 0 6 4 $ref_arg && !$type_lens{$ref_arg}
401 8 2 10 defined $field and defined $argp
414 0 0 0 $field =~ /^[-\d]+$/ and exists $argp->[$field]
442 0 0 0 defined $field and defined $argp
0 0 0 defined $field and defined $argp and ($c = &blessed($argp)) && $argp->can($field) || ($h = &HASH($argp)) && exists $argp->{$field} || &ARRAY($argp) && $field =~ /^[-\d]+$/ && exists $argp->[$field]
574 0 0 0 defined $a and defined $b
577 0 0 0 defined $ra and defined $rb
579 0 0 0 $dta and $dtb
589 0 0 0 &isnum($a) && &isnum($b)
600 0 0 0 $dta and $dtb
605 0 0 0 $dra and $drb
0 0 0 $dra and $drb and $ra ne $rb

or 2 conditions

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

or 3 conditions

line l !l&&r !l&&!r condition
442 0 0 0 ($c = &blessed($argp)) && $argp->can($field) || ($h = &HASH($argp)) && exists $argp->{$field} || &ARRAY($argp) && $field =~ /^[-\d]+$/ && exists $argp->[$field]
470 0 0 0 ref $_[0] || $_[0] eq 'Types::Core'
587 0 0 0 $ta or $tb