Branch Coverage

blib/lib/FFI/C/ArrayDef.pm
Criterion Covered Total %
branch 26 36 72.2


line true false branch
28 0 11 unless delete $args{'members'}
29 4 7 if (@members == 1) { }
7 0 elsif (@members == 2) { }
42 4 7 if (my $def = $self->ffi->def("FFI::C::Def", $member))
47 1 10 if &refaddr($member) == &refaddr($self)
49 0 10 unless defined $member and XXX and $member->isa("FFI::C::Def")
52 0 10 if defined $count and not $count =~ /^[1-9]*[0-9]$/
62 5 5 if ($self->class)
71 0 5 if $member->{'nest'} and not $member->{'nest'}{'class'}
81 4 57 if $index < 0
82 4 53 if $self->{'count'} and $index >= $self->{'count'}
109 0 7 if $self->class
113 3 4 if (@_ == 1)
115 0 3 if (not XXX) { }
3 0 elsif (XXX) { }
123 3 0 if ($count)
129 7 0 if (@_ == 2 and not XXX or $self->size)
133 3 4 if @_ == 1 and XXX