ch.acanda.maven.coan.Inspection Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of code-analysis-maven-plugin Show documentation
Show all versions of code-analysis-maven-plugin Show documentation
The Code Analysis Maven Plugin runs several static analysis tools to check
your code for bugs, design and formatting problems.
package ch.acanda.maven.coan;
import org.apache.maven.project.MavenProject;
import java.util.List;
public interface Inspection {
String toolName();
default boolean foundIssues() {
return !issues().isEmpty();
}
@SuppressWarnings("java:S1452")
List extends Issue> issues();
default int getNumberOfIssues() {
return issues().size();
}
MavenProject project();
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy