Branch Coverage

blib/lib/FFI/Build/File/VMod.pm
Criterion Covered Total %
branch 9 30 30.0


line true false branch
36 1 3 /name:\s*'(.*)'/u ? :
37 0 1 unless defined $name
39 1 0 if ($self->build) { }
53 0 1 if ($self->_have_v_compiler) { }
55 0 0 if -f $lib->path and not $lib->needs_rebuild($self->_deps($vmod->parent))
63 0 0 if $?
64 0 0 unless -f $lib_path
70 0 1 unless -f $c_source
71 0 1 if -f $lib->path and not $lib->needs_rebuild($c_source->stringify)
75 1 0 if ($self->build) { }
108 0 0 if -l $path
109 0 0 if -d $path
110 0 0 if $path->basename =~ /^(.*\.(v|c|h)|v\.mod)\z/u
116 1 0 if $ENV{'FFI_PLATYPUS_LANG_VMOD_SKIP_V'}
117 0 0 if which("v")