Branch Coverage

lib/FFI/Build/File/Base.pm
Criterion Covered Total %
branch 17 24 70.8


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