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+
- PostgreSQL 8.3+ (8.2 since Sonar 1.12) or 9.x (since Sonar 2.6)
- MS SQLServer 2005 since Sonar 2.0
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, 2Go 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 350 Ko of data space. Nemo is currently running on a Amazon EC2 small instance.
Sonar works with most modern browsers:
- Firefox 2.x and 3.x
- Internet Explorer 7.x and 8.x
- Safari (latest version)
- Opera (latest version)
- Chrome (latest version)