Condition Coverage

blib/lib/FFI/Platypus/TypeParser/Version1.pm
Criterion Covered Total %
condition 22 28 78.5


and 3 conditions

line !l l&&!r l&&r condition
105 2 5 5 $3 eq "string" and $self->_version > 1

or 2 conditions

line l !l condition
84 304 2358 $opt ||= {}
271 22 4 $12 || 'opaque'

or 3 conditions

line l !l&&r !l&&!r condition
43 2 2 225 defined $self->type_map->{$alias} or $self->types->{$alias}
2 2 223 defined $self->type_map->{$alias} or $self->types->{$alias} or $self->global_types->{'basic'}{$alias}
105 2 0 12 $opt->{'member'} or $3 eq "string" and $self->_version > 1
134 11 4 0 $class->can('ffi_record_size') || $class->can('_ffi_record_size') || croak("$class has no ffi_record_size or _ffi_record_size method")
178 46 41 0 $self->global_types->{'array'}{$unit_name} ||= $self->create_type_array($self->global_types->{'basic'}{$unit_name}->type_code, 0)
263 4 3 0 $self->global_types->{'v2'}{'string_rw'} ||= $self->create_type_string(1)
266 0 2 0 $self->types->{$name} || croak("unknown type: $unit_name")