Sonargraph Integration Access Project
Java Other
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.

Build Status

Sonargraph Integration Access

This project provides a Java API for the XML various XML files generated by Sonargraph version 8.7 and later and is used by the SonarQube and Jenkins plugins.

Currently the following Sonargraph XML files are supported:

  • Sonargraph XML Report
  • Sonargraph Report Metadata
  • Exported XML architecture models

The main purpose of this library is to make it easier to integrate Sonargraph with other tools.

It is licensed under the Apache License, Version 2.0. Best way to get familiar with the code is to take a look at the JUnit tests.

For a general overview about the functionality that Sonargraph offers, take a look at the product's homepage: The variant Sonargraph Explorer is free for Java and C# projects, but only runs a limited number of analysers.

Releases are published on Maven central, so the easiest way to use the plugin is to add a dependency to it in your Maven pom.xml. See /src/test/xproject-metric-aggregation/pom.xml for an example.

Since version 3.0 the functionality exists to generate a delta between two XML reports. More details can be found in the Wiki and the documentation of Sonargraph Architect at

Compatibility Matrix

The following lists the compatibility with Sonargraph releases.

Sonargraph Version Integration Access Version
8.7 1.0
8.8.0 and newer 1.1 and newer
9.1.1 and newer 2.0 and newer
9.4.3 and newer 3.1 and newer
9.4.5 and newer 3.1.2 and newer
9.7 and newer 3.1.5 and newer