Sonar is a web application and a maven plugin using both a database. This means that most Sonar users interact with Sonar through web browsers from any computer.
Sonar runs on any operating system that support Java and Maven. Those two pieces of software need to be installed first :
Sonar requires a relational database for storage of measures data. Sonar supports :
Sonar ships pre-configured with the Derby embedded database, which is suitable for evaluation purposes. Although using the Derby database gives access to a fully functional version, we do not test any version migration on it. Therefore, before deploying to a production environment, we strongly recommend that you connect Sonar to an enterprise database.
The Sonar web server requires 500Mo of RAM to run efficiently.
For every 1'000 LOC to analyze the database will store 350 Ko of data space. For example, on Nemo, the public instance of Sonar, 2Go of data space are used to analyze more than 6 million LOC. Nemo is currently running on a Amazon EC2 small instance .
Sonar works with most modern browsers:
- Firefox 2.x and 3.x
- Internet Explorer 6.x, 7.x and 8.x
- Safari (latest version)
- Opera (latest version)