Condition Coverage

blib/lib/FFI/Platypus/Record.pm
Criterion Covered Total %
condition 11 18 61.1


and 3 conditions

line !l l&&!r l&&r condition
19 0 1 1 defined $_[0] and ref $_[0] eq "ARRAY"
0 0 1 defined $_[0] and eval { do { $_[0]->isa("FFI::Platypus") } }
121 54 4 8 $meta->{'type'} eq "string" and $meta->{'access'} eq "rw"

or 3 conditions

line l !l&&r !l&&!r condition
60 9 15 0 $ffi ||= "FFI::Platypus"->new
69 0 0 24 $caller->can("_ffi_record_size") or $caller->can("ffi_record_size")
85 67 25 0 $name =~ /^[A-Za-z_][A-Za-z_0-9]*$/ or $name eq ":"