To help you get started with Sonar, many project examples are available on github.
A zip file containing all the examples can be downloaded here.
Those projects cover different use cases:
- Analyzing a project with the Sonar Runner or the Ant Task
- Analyzing a specific language
- Dealing with unit tests and integration tests code coverage
- Coding your own rules or plugins