Condition Coverage

blib/lib/Coat/Types.pm
Criterion Covered Total %
condition 12 21 57.1


and 3 conditions

line !l l&&!r l&&r condition
152 150 29 6 $$attr{'required'} and not defined $value
193 0 0 6 defined $base_type and defined $type_parameter

or 3 conditions

line l !l&&r !l&&!r condition
149 0 185 0 $type_name ||= $$attr{'isa'}
156 176 0 3 defined $value or $$attr{'required'}
184 8 6 0 $$REGISTRY{$type_name} ||= &create_parameterized_type_constraint($type_name)
200 4 0 2 &_base_type_is_arrayref($base_type) or &_base_type_is_hashref($base_type)
224 4 0 0 $_ || $_[0]