![JAR search and dependency download from the Maven repository](/logo.png)
hudson.plugins.findbugs.tokens.FixedFindBugsWarningsTokenMacro Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of findbugs Show documentation
Show all versions of findbugs Show documentation
This plug-in generates the trend report for FindBugs,
an open source program which uses static analysis to look for bugs
in Java code.
package hudson.plugins.findbugs.tokens;
import hudson.Extension;
import hudson.plugins.analysis.tokens.AbstractFixedAnnotationsTokenMacro;
import hudson.plugins.findbugs.FindBugsMavenResultAction;
import hudson.plugins.findbugs.FindBugsResultAction;
/**
* Provides a token that evaluates to the number of fixed FindBugs warnings.
*
* @author Ulli Hafner
*/
@Extension(optional = true)
public class FixedFindBugsWarningsTokenMacro extends AbstractFixedAnnotationsTokenMacro {
/**
* Creates a new instance of {@link FixedFindBugsWarningsTokenMacro}.
*/
@SuppressWarnings("unchecked")
public FixedFindBugsWarningsTokenMacro() {
super("FINDBUGS_FIXED", FindBugsResultAction.class, FindBugsMavenResultAction.class);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy