Branch Coverage

blib/lib/FFI/C/Util.pm
Criterion Covered Total %
branch 31 42 73.8


line true false branch
21 10 63 if (XXX and $inst->isa('FFI::C::Array')) { }
63 0 elsif (XXX) { }
23 0 10 unless XXX
29 0 63 unless XXX
47 0 30 unless XXX
48 4 26 if ($inst->isa('FFI::C::Array')) { }
4 22 elsif ($inst->isa('FFI::C::Struct')) { }
59 0 12 if $key =~ /^:/
61 2 10 if XXX
62 2 10 if XXX
74 44 61 if $key =~ /^(new|DESTROY)$/
78 1 60 unless $file eq $df
82 10 50 if XXX
83 2 58 if XXX
102 0 1 unless XXX
103 0 1 if $inst->{'owner'}
105 0 1 unless $ptr
113 0 1 unless XXX
115 0 1 unless $ptr
123 0 2 unless XXX and $inst->isa("FFI::C::Array")
126 1 1 if $inst->{'count'}