Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

The library sonar-ws-client is intented to help Java developers to use the Sonar web services.


Add these maven dependencies to your pom :

Using the client

Create the client

If the security is enabled, you have to define the credentials :

Executing requests

For example to the get the code coverage of the project Struts :

The methods find() and findAll() accept queries to get measures, code source, rule violations, configuration, metric definitions and dependencies between resources.

  • No labels