Condition Coverage

blib/lib/FFI/C/Def.pm
Criterion Covered Total %
condition 25 45 55.5


and 3 conditions

line !l l&&!r l&&r condition
24 36 0 22 XXX && $_[0]->isa('FFI::Platypus')
114 9 0 3 @_ == 2 and not XXX
130 6 0 5 @_ == 1 and XXX
149 11 0 113 @_ == 2 and not XXX
162 120 0 4 @_ == 1 and XXX
184 0 121 19 $self->{'ptr'} and not $self->{'owner'}
208 25 0 86 @_ == 2 and not XXX
231 107 3 1 @_ == 1 and XXX
258 8 0 0 not defined $_[0] and $nullable
259 0 0 8 XXX and $_[0]->isa($class)
277 13 0 1 not defined $_[0] and $nullable
281 0 0 13 XXX and ref $_[0] eq $cdef
0 0 13 XXX and ref $_[0] eq $cdef and $_[0]{'def'}{'name'} eq $name

or 3 conditions

line l !l&&r !l&&!r condition
251 38 0 0 $args{'def'} || Carp::croak('no def defined')
252 38 0 0 $args{'cdef'} || Carp::croak('no cdef defined')