| line |
true |
false |
branch |
|
22
|
0 |
58 |
if XXX |
|
24
|
22 |
36 |
XXX && $_[0]->isa('FFI::Platypus') ? : |
|
27
|
0 |
58 |
unless $ffi->api >= 1 |
|
28
|
1 |
57 |
if $class eq "FFI::C::Def" |
|
41
|
38 |
19 |
if ($self->name) |
|
72
|
0 |
44 |
if $self->class->can($method) |
|
77
|
0 |
47 |
if $name =~ /^:/ |
|
79
|
0 |
47 |
if $self->class->can($name) |
|
85
|
5 |
17 |
if ($self->isa('FFI::C::ArrayDef')) { } |
|
98
|
7 |
5 |
if (@_ == 1) |
|
100
|
2 |
5 |
if (not XXX) { } |
|
|
5 |
0 |
elsif (XXX) { } |
|
108
|
7 |
0 |
if ($count) |
|
114
|
3 |
9 |
if (@_ == 2 and not XXX) { } |
|
120
|
1 |
8 |
unless $size |
|
130
|
5 |
6 |
if @_ == 1 and XXX |
|
144
|
0 |
17 |
unless $size > 0 |
|
149
|
113 |
11 |
if (@_ == 2 and not XXX) { } |
|
162
|
4 |
120 |
if @_ == 1 and XXX |
|
184
|
19 |
121 |
if ($self->{'ptr'} and not $self->{'owner'}) |
|
203
|
1 |
111 |
if $self->class |
|
208
|
86 |
25 |
if (@_ == 2 and not XXX) { } |
|
218
|
18 |
7 |
$self->size ? : |
|
231
|
1 |
110 |
if @_ == 1 and XXX |
|
255
|
17 |
21 |
if ($class) { } |
|
|
21 |
0 |
elsif ($name) { } |
|
258
|
0 |
8 |
if not defined $_[0] and $nullable |
|
259
|
0 |
8 |
unless XXX and $_[0]->isa($class) |
|
263
|
0 |
8 |
unless defined $ptr |
|
268
|
5 |
0 |
defined $_[0] ? : |
|
277
|
1 |
13 |
if not defined $_[0] and $nullable |
|
281
|
0 |
13 |
unless XXX and ref $_[0] eq $cdef and $_[0]{'def'}{'name'} eq $name |
|
283
|
0 |
13 |
unless defined $ptr |
|
288
|
5 |
0 |
defined $_[0] ? : |