Branch Coverage

blib/lib/FFI/Build/File/Base.pm
Criterion Covered Total %
branch 13 22 59.0


line true false branch
30 1 74 if (not defined $content) { }
37 37 elsif (ref $content eq 'ARRAY') { }
7 30 elsif (ref $content eq 'SCALAR') { }
30 0 elsif (ref $content eq '') { }
42 0 7 if $dir
59 0 74 if ($self->platform->osname eq 'MSWin32')
86 0 2 $self->platform->osname eq 'MSWin32' ? :
94 0 4 unless open $fh, '<', $self->path
119 0 0 unless -f $self->path
124 0 0 if $source_time > $target_time
139 6 31 if ($self->{'temp'})