Condition Coverage

blib/lib/FFI/Platypus/TypeParser/Version0.pm
Criterion Covered Total %
condition 21 32 65.6


and 3 conditions

line !l l&&!r l&&r condition
81 0 60 7 defined $1 && $1 =~ /rw/

or 2 conditions

line l !l condition
126 183 24 $2 || ''

or 3 conditions

line l !l&&r !l&&!r condition
25 0 0 197 defined $self->type_map->{$alias} or $self->types->{$alias}
44 41 39 1300 $name =~ /-\>/ or $name =~ /^record\s*\([0-9A-Z:a-z_]+\)$/
80 22 1278 $name =~ /-\>/ or $name =~ /^record\s*\([0-9A-Z:a-z_]+\)$/ or $name =~ /^string(_rw|_ro|\s+rw|\s+ro|\s*\([0-9]+\))$/
98 2 31 0 $classname->can("ffi_record_size") or $classname->can("_ffi_record_size")
116 21 12 0 $self->global_types->{'record'}{$classname} ||= $self->create_type_record(0, $size, $classname)
127 207 0 0 $self->global_types->{'basic'}{$1} || croak("unknown ffi/platypus type $name [$size]")
137 2 22 0 $self->global_types->{'array'}{$name} ||= $self->create_type_array($basic->type_code, 0)
147 81 0 0 $self->global_types->{'ptr'}{$name} || croak("unknown ffi/platypus type $name *")
151 779 6 0 $self->global_types->{'basic'}{$name} || croak("unknown ffi/platypus type $name")