Sonar is a web application and a runner (Maven, Ant or Java standalone runner) 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 :
- Java Development Kit v1.5 or later
Sonar requires a relational database for storage of measures data. Sonar supports :
- MySQL 5.x+
- Oracle 10g+ (with ojdbc5.jar or ojdbc6.jar JDBC drivers, ojdbc14.jar must not be used anymore)
- PostgreSQL 8.3+ (8.2 since Sonar 1.12) or 9.x (since Sonar 2.6)
- MS SQLServer 2005 since Sonar 2.0. MS SQLServer 2008 has been successfully tested by users.
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.
In terms of data space and as an indication, on Nemo the public instance of Sonar, 4Go of data space are used to analyze more than 6 million LOC with an history of 2 years. For every 1'000 LOC to analyze the database stores 600 Ko of data space. Nemo is currently running on a Amazon EC2 small instance.
Sonar works with most modern browsers:
- Internet Explorer 7.x and 8.x
- Safari (latest version)
- Opera (latest version)
- Chrome (latest version)