Branch Coverage

_build/lib/Module/Build/Custom.pm
Criterion Covered Total %
branch 0 50 0.0


line true false branch
14 0 0 if /osgish-(core|bundle).*\.jar/
18 0 0 unless @agents
20 0 0 if $agent =~ m[/(osgish-(core|bundle))]
21 0 0 unless File::Copy::copy($agent, $self->dist_dir . "/$file")
27 0 0 unless $self->do_system('mvn', '-f', 'agent/pom.xml', 'clean')
42 0 0 if ($@)
53 0 0 if ($res->is_success) { }
54 0 0 unless open F, ">$file"
66 0 0 if ($@)
71 0 0 if ($res->is_success) { }
76 0 0 if ($r_sha1 ne $sha1->hexdigest) { }
97 0 0 unless $version
100 0 0 if ($_ eq 'pom.xml')
113 0 0 unless $self->do_system('mvn', '-f', 'agent/pom.xml', 'clean', 'install')
119 0 0 unless open F, "$version_perl"
122 0 0 if $v =~ /^\s+\$VERSION\s+=\s+"([^"]+)"/m
131 0 0 if $version =~ /^(\d+)\.(\d+)(?:\.(\d+))?(?:_(\d+))?$/
132 0 0 unless $pa
134 0 0 if ($dev)
139 0 0 unless open F, "$file"
144 0 0 unless (-w $file)
147 0 0 unless chmod $perm | 128, $file
149 0 0 unless open F, ">$file"
152 0 0 if ($changed_perm)
154 0 0 unless chmod $perm & 383, $file