Branch Coverage

blib/lib/FFI/Build/File/Base.pm
Criterion Covered Total %
branch 14 24 58.3


line true false branch
31 1 175 if (not defined $content) { }
79 96 elsif (ref $content eq 'ARRAY') { }
18 78 elsif (ref $content eq 'SCALAR') { }
78 0 elsif (ref $content eq '') { }
43 8 10 if $dir
61 0 175 if ($self->platform->osname eq "MSWin32")
88 0 2 $self->platform->osname eq 'MSWin32' ? :
96 0 4 unless open $fh, "<", $self->path
121 0 0 unless -f $self->path
126 0 0 unless defined $source_time
127 0 0 if $source_time > $target_time
142 9 52 if ($self->{'temp'})