checks/java.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 8 | 52 | 15.3 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
116 | 0 | 0 | 0 | $manifest and $manifest->{'Main-Class'} |
157 | 0 | 0 | 0 | $need_cp and &any(sub { m[^META-INF/maven/plugin.xml$]io; } , keys %$files) |
167 | 0 | 0 | 0 | not $p =~ m[^(?:file://)?/]o and $p =~ m[/]o |
175 | 0 | 0 | 0 | $target =~ m[^usr/share/java/[^/]+.jar$]o and @java_lib_depends |
182 | 0 | 0 | 0 | defined $tinfo and $tinfo->is_symlink || $tinfo->is_file |
197 | 0 | 0 | 0 | $has_public_jars and $pkg =~ /^lib.*maven.*plugin.*/ |
0 | 0 | 0 | $has_public_jars and $pkg =~ /^lib.*maven.*plugin.*/ and not $jar_file =~ m[^usr/share/maven-repo/.*\.jar] | |
234 | 5543 | 0 | 0 | $has_jars and $need_cp |
5543 | 0 | 0 | $has_jars and $need_cp and $pkg =~ /^lib[^\s,]+-java$/ | |
244 | 23 | 5493 | 27 | not $has_public_jars || $is_transitional and $pkg =~ /^lib[^\s,]+-java$/ |
250 | 27 | 0 | 0 | $java_dir and &any(sub { $_->name =~ m[^[^/]+\.jar$]o; } , $java_dir->children) |
line | l | !l | condition |
---|---|---|---|
126 | 0 | 0 | $manifest->{'Class-Path'} // '' |
127 | 0 | 0 | $manifest->{'Bundle-SymbolicName'} // '' |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
88 | 0 | 0 | 0 | $mver <= $MAX_BYTECODE->value('min-bytecode-version') - 1 or $mver > $MAX_BYTECODE->value('max-bytecode-existing-version') |
136 | 0 | 0 | 0 | $bsname =~ /\.source$/o || $jar_file =~ m[^usr/share/maven-repo/.*-javadoc\.jar] || $jar_file =~ m[\.doc(?:\.(?:user|isv))?_[^/]+.jar] || $jar_file =~ m[\.source_[^/]+.jar] |
0 | 0 | 0 | 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 | |
182 | 0 | 0 | 0 | $tinfo->is_symlink || $tinfo->is_file |
244 | 0 | 23 | 5520 | $has_public_jars || $is_transitional |