Analysis Collector Plugin

Skip to end of metadata
Go to start of metadata

Plugin Information

Plugin ID analysis-collector Changes In Latest Release
Since Latest Release
Latest Release
Latest Release Date
Required Core
1.46 (archives)
Nov 28, 2015
pmd (version:3.42, optional)
warnings (version:4.49, optional)
tasks (version:4.46, optional)
matrix-project (version:1.2.1)
maven-plugin (version:2.9)
analysis-core (version:1.75)
token-macro (version:1.10, optional)
findbugs (version:4.62, optional)
checkstyle (version:3.43, optional)
dashboard-view (version:2.9.4, optional)
dry (version:2.42, optional)
Source Code
Issue Tracking
Pull Requests
Open Issues
Pull Requests
Ulli Hafner (id: drulli)
Usage Installations 2014-Nov 8217
2014-Dec 8184
2015-Jan 8501
2015-Feb 8504
2015-Mar 8868
2015-Apr 8838
2015-May 8726
2015-Jun 8859
2015-Jul 9129
2015-Aug 9059
2015-Sep 9376
2015-Oct 9421

This plug-in is an add-on for the plug-ins Checkstyle, Dry, FindBugs, PMD, Task Scanner, and Warnings: the plug-in collects the different analysis results and shows the results in a combined trend graph. Additionally, the plug-in provides health reporting and build stability based on these combined results.

Installation Requirements
This plug-in requires the utility plug-in "analysis-core" (called "Static Analysis Utilities" in the update manager). Please ensure that the latest version of this plug-in is also installed.


With the Analysis Collector plug-in you can combine the analysis results of Checkstyle, Dry, FindBugs, PMD, Task Scanner, and Warnings. The plug-in itself does not compute analysis results, it just works on the results of the other plug-ins. I.e., you need to install at least two of the analysis plug-ins in order to gain some additional functionality. Besides that, the plug-in works in the same way as the other plug-ins. If you activate the plug-in in the job configuration page, then you get:

  • Build summary showing the new and fixed warnings of a build
  • Several trend reports showing the number of warnings per build
  • Overview of the found warnings per module, package, category, or type
  • Detail reports of the found warnings optionally filtered by severity (or new and fixed)
  • Colored HTML display of the corresponding source file and warning lines:
    • Direct link to the warning line
    • Highlighting of single lines as well as line ranges
    • Highlighting of multiple line ranges per warning (different color for primary range)
    • Tool tip describing the warning message
  • Failure threshold to mark a build as unstable
  • Configurable project health support
  • Works with the freestyle and native m2 build option
  • Remote API to export the build quality and found warnings
  • Several tokens to simplify post processing of the results
  • Localization available for: DE (Please help to localize the analysis collector for your locale!)

The total number of warnings in a job can be visualized in every view by adding a new column "Number of warnings".

The plug-in also contains a new trend graph type that shows the total number of warnings of each participating plug-in. If you don't need the trend graphs of the other plug-ins anymore then you can set the corresponding check box in the configuration screen to disable these other trend reports.



Additionally, this plug-in provides some portlets for the Dashboard View:





For each project, a summary is shown that shows the total number of warnings for each plug-in:

The current release is available in the download section. You can also download a snapshot of the plug-in containing the latest changes from BuildHive. This plug-in is developed and maintained by Ullrich Hafner. Please use the mailing lists or issue tracker to ask questions, create feature request or bug reports, since I don't read the comment section on this page regularly.


You can support the development of this open source plug-in by buying my Android game Inca Trails in Google Play!

Release 1.46

  • Make maven plug-in mandatory since otherwise class loading exceptions will sometimes destroy the build configuration (JENKINS-21268, JENKINS-14727)

Release 1.45

  • Fixed critical regression in Workflow integration. (JENKINS-30390)

Release 1.44

Release 1.43

Release 1.42

  • Reverted XML escaping of messages (JENKINS-25511, JENKINS-17309)
  • Added option to use previous build as reference build when calculating new and fixed warnings (JENKINS-13458, thanks to Tom Saunders for the pull request)

Release 1.41

  • Fixed class loading bug if not all optional plug-ins are installed (JENKINS-21769)

Release 1.39

  • Added a new summary on the project page that shows the total number of warnings for each plug-in

Release 1.38

  • Improved view column that shows the number of warnings in a job

Release 1.37

  • Added a view column that shows the number of warnings in a project
  • Make dependency to ant optional

Release 1.36

  • Fixed broken calculation of compiler warnings in warnings table portlet
  • Added some more fields that are exposed via the REST API (JENKINS-17767, thanks to Mihail Menev, Johann Vierthaler for the patch!)
  • Added Traditional Chinese translations (thanks to Pei-Tang Huang!)
  • Added system configuration option to disable console logging of all static analysis plug-ins (JENKINS-15246, thanks to Sebastian Seidl for the patch!)
  • Added system configuration option to fail a build when one of the static analysis plug-ins fails parsing its input (JENKINS-17663, thanks to Mihail Menev and Johann Vierthaler for the patch)
  • Fixed broken encoding handling in maven jobs (JENKINS-17657, thanks to André Lehmann!)

Release 1.35

  • Show more details in the fixed warnings view (JENKINS-15959)
  • Aggregate the maven parent module results in failed builds when the failure is caused by a threshold being hit (JENKINS-15324, JENKINS-12342)
  • Optimized http requests for static resources in the analysis plugins (JENKINS-16571)
  • Fixed missing build overview in maven jobs (JENKINS-16518)
  • Always use Xerces when parsing XML files (JENKINS-15613)
  • Read pom.xml to obtain path of output files in maven jobs (JENKINS-16250)
  • Show error message as file content if the source files could not be transferred to the master (JENKINS-16222)
  • Fixed storing of default graph configuration (JENKINS-14840)

Release 1.34

  • Added option to consider only stable builds when calculating new warnings (Thanks to David Pärsson for the patch, JENKINS-15037)
  • Fixed NPE when comparing warnings (JENKINS-15414, JENKINS-15250)

Release 1.33

Release 1.32

Release 1.30

Release 1.29

  • Reduce memory footprint of plug-in (thanks to Kohsuke for the patches)
  • Upgrade to YUI 2.9 (support for new bread crumbs and context menus: JENKINS-13532, thanks to OHTAKE Tomohiro for the patch)

Release 1.28

  • Show all values of difference graph
  • Fixed broken FindBugs icon

Release 1.27

  • Added hyperlinks to build summary if threshold is exceeded (JENKINS-12424)

Release 1.26

  • Added option to filter projects with zero warnings in the warnings dashboard portlet (JENKINS-12984)
  • Center the affected source line in source view (JENKINS-13491)
  • Fixed incompatibility of detail tabs with new bread crumb view (JENKINS-13532)

Release 1.25

  • Added a new portlet that shows the warning totals as a line graph
  • Don't use dashboard classes in abstract base (JENKINS-13101)

Release 1.24

Release 1.22

  • Fixed visibilty of tasks column in warnings table portlet (JENKINS-12186)

Release 1.20

Release 1.18

  • Fixed NPE while configuring a graph with no builds yet (JENKINS-12045)
  • Group warnings by relative path if the associated language has no package or namespace concept (JENKINS-11846)
  • Allow skipping of calculating "new" issues (JENKINS-11761)
  • Fixed display of 'Use delta for new warnings' option (JENKINS-11758)
  • Ignore 'new warnings' threshold in the first build (JENKINS-11718)

Release 1.17

  • Ignore failed builds when evaluating the build history in trend graphs and new warnings calculation (JENKINS-10682)
  • Added OSGi bundle detection when grouping warnings by module (JENKINS-10681)
  • Use the path as a replacement for the package grouping for all warnings that are not from Java or C# files (issue 2)
  • Added option to skip the plug-in if the build failed

Release 1.16

  • Added new tokens for token macro plug-in (JENKINS-10027): now tokens ANALYSIS_NEW, ANALYSIS_FIXED, ANALYSIS_COUNT and ANALYSIS_RESULT are available.

Release 1.15

  • Added new trend graph that shows the total number of warnings with auto-scaled range axis (JENKINS-9745)
  • Added configuration of participating plug-ins in threshold evaluation and portlet (JENKINS-8470)
  • Fixed broken result images in build summary (JENKINS-9997)

Release 1.14

  • Fixed broken detail views when using a reverse proxy (JENKINS-3410, thanks to Benjamin Cabé for the fix)
  • Show the reference build that is used to compute new and fixed warnings (when build thresholds are set)

Release 1.13

  • Added configuration option to enable automatic project and module name detection by reading all Ant project.xml and Maven pom.xml files (JENKINS-8915, JENKINS-9090)
  • Added preliminary support for the Token Macro Plugin: ANALYSIS_COUNT expands to the number of Analysis warnings and ANALYSIS_RESULT expands to the plug-in build result (stable, unstable, failed)

Release 1.12

  • Fixed missing dependency to Hudson/Jenkins 1.395 (JENKINS-8509)

Release 1.11

  • Jenkins update to links and documentation
  • Show progress text while dashboard portlet graphs are created

Release 1.9

  • Fixed sorting of date labels of dashboard trend graphs (JENKINS-8476)
  • Fixed evaluation of builds that will be considered in the dashboard trend graph (JENKINS-8283)

Release 1.8

  • Added build status thresholds for each warning priority (JENKINS-3561)
  • Improved performance of plug-in initialization (JENKINS-7370)

Release 1.7

  • Fixed description of plug-in in update manager (JENKINS-6966)
  • Fixed computation of module names for maven projects (JENKINS-6768)
  • Don't report an error message if a maven module does not contain a report file (JENKINS-6895)
  • Fixed ant links (JENKINS-6862)

Release 1.6

Release 1.5

  • Fixed broken links to project page and overview image (JENKINS-6417)

Release 1.4

  • Added trend graph portlets for the dashboard view
  • Added 'enlarge' link for trend graphs that shows a detail page with the graph
  • Fixed ordering of warnings in detail views (JENKINS-6132)
  • Fixed warning distribution graph in files detail view (JENKINS-6139)

Release 1.3

Release 1.1

  • Added a portlet for the dashboard view (JENKINS-4832)
  • New warnings computation is now based on the current build and the reference build (i.e., the last successful build, see JENKINS-5147)
  • Visualized plug-in build status (based on the healthiness thresholds)
  • Added high scores for successful builds
  • Don't show project action if there are no warnings (JENKINS-5473)
  • Don't show trend graph configuration on job creation (JENKINS-5294)
  • Improved remote API, now the warning keys are also exposed (JENKINS-5195)

Release 1.0

  • Initial release


plugin-maven plugin-maven Delete
plugin-report plugin-report Delete
supports-dashboard-view supports-dashboard-view Delete
token-producer token-producer Delete
Enter labels to add to this page:
Please wait 
Looking for a label? Just start typing.

Add Comment