Examples of FindbugsParser


Examples of hudson.plugins.findbugs.parser.FindBugsParser

            final PluginLogger logger) throws InterruptedException, IOException {
        List<String> sources = new ArrayList<String>(pom.getCompileSourceRoots());
        sources.addAll(pom.getTestCompileSourceRoots());

        FilesParser findBugsCollector = new FilesParser(PLUGIN_NAME, determineFileName(mojo),
                new FindBugsParser(sources, isRankActivated, getExcludePattern(), getIncludePattern()), getModuleName(pom));

        return getOutputPath(mojo, pom).act(findBugsCollector);
    }
View Full Code Here

Examples of hudson.plugins.findbugs.parser.FindBugsParser

    public BuildResult perform(final AbstractBuild<?, ?> build, final PluginLogger logger) throws InterruptedException, IOException {
        logger.log("Collecting findbugs analysis files...");

        String defaultPattern = isMavenBuild(build) ? MAVEN_DEFAULT_PATTERN : ANT_DEFAULT_PATTERN;
        FilesParser collector = new FilesParser(PLUGIN_NAME, StringUtils.defaultIfEmpty(getPattern(), defaultPattern),
                new FindBugsParser(isRankActivated, getExcludePattern(), getIncludePattern()), shouldDetectModules(), isMavenBuild(build));
        ParserResult project = build.getWorkspace().act(collector);
        logger.logLines(project.getLogMessages());
        FindBugsResult result = new FindBugsResult(build, getDefaultEncoding(), project, useOnlyStableBuildsAsReference());

        build.getActions().add(new FindBugsResultAction(build, this, result));
View Full Code Here

Examples of parsers.FindbugsParser

    this.idVersion = idVersion;
  }
 
  public void run() {
   
    FindbugsParser findbugsParser = new FindbugsParser();
   
    try {
      findbugsParser.readResults(findbugsPath);
      findbugsParser.saveResults(idVersion);
    } catch (ParserConfigurationException  e) {
      e.printStackTrace();
    } catch (Exception e) {
      e.printStackTrace();
    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.