Branch Coverage

checks/java.pm
Criterion Covered Total %
branch 7 78 8.9


line true false branch
50 0 5543 if @java_lib_depends
64 0 0 if (exists $java_info->{$jar_file}{'error'})
70 0 0 if $jar_file =~ m[usr/lib/jvm(?:-exports)?/[^/]++/]o
72 0 0 if $jar_file =~ m[usr/lib/xul(?:-ext|runner[^/]*+)/]o
78 0 0 if ($jar_file =~ m[^usr/share/java/[^/]+\.jar$]o)
85 0 0 if $class =~ /\.clj$/
87 0 0 if $mver eq '-'
88 0 0 if ($mver <= $MAX_BYTECODE->value('min-bytecode-version') - 1 or $mver > $MAX_BYTECODE->value('max-bytecode-existing-version'))
102 0 0 if ($jmajlow eq '-') { }
106 0 0 if $mver < $jmajlow
111 0 0 if &none(sub { /\.(?:xml|properties|x?html|xhp)$/io; } , keys %$files)
113 0 0 if ($operm & 73) { }
0 0 elsif (not $jar_file =~ m[^usr/share/]) { }
116 0 0 unless $manifest and $manifest->{'Main-Class'}
120 0 0 unless $info->relation('strong')->implies('jarwrapper')
126 0 0 if $manifest
127 0 0 if $manifest
129 0 0 if ($manifest) { }
0 0 elsif ($classes) { }
130 0 0 unless ($classes)
136 0 0 if (not $bsname =~ /\.source$/o || $jar_file =~ m[^usr/share/maven-repo/.*-javadoc\.jar] || $jar_file =~ m[\.doc(?:\.(?:user|isv))?_[^/]+.jar] || $jar_file =~ m[\.source_[^/]+.jar] or $cp)
151 0 0 if (not $cp) { }
153 0 0 if $bsname
157 0 0 if $need_cp and &any(sub { m[^META-INF/maven/plugin.xml$]io; } , keys %$files)
164 0 0 if ($p)
167 0 0 if (not $p =~ m[^(?:file://)?/]o and $p =~ m[/]o)
171 0 0 unless defined $target
175 0 0 if $target =~ m[^usr/share/java/[^/]+.jar$]o and @java_lib_depends
182 0 0 if defined $tinfo and $tinfo->is_symlink || $tinfo->is_file
192 0 0 if @relative
197 0 0 if ($has_public_jars and $pkg =~ /^lib.*maven.*plugin.*/ and not $jar_file =~ m[^usr/share/maven-repo/.*\.jar])
207 0 5543 if $missing_jarwrapper
209 0 5543 if ($jmajlow ne '-')
219 0 0 if $jmajlow > $MAX_BYTECODE->value('max-bytecode-version')
226 0 0 if ($bad)
234 0 0 if ($has_jars and $need_cp and $pkg =~ /^lib[^\s,]+-java$/)
244 27 5516 if (not $has_public_jars || $is_transitional and $pkg =~ /^lib[^\s,]+-java$/)
250 0 27 if $java_dir and &any(sub { $_->name =~ m[^[^/]+\.jar$]o; } , $java_dir->children)
251 27 0 unless $has_jars