I was just analyzing our (1 main/ 3 sub) project and wanted to analyze the code with my local Sonar server by typing mvn sonar:sonar (after cleaning and packaging the project(s)).
It successfully analyzes the EJB project but in the phase Execute decorators … it takes forever to complete (around half an hour). This makes the analysis of the project very slow. What is going on in that phase and how can I improve the speed?
Best regards,
Sebastian
Versions used:
- Maven 3.0.3
- Sonar 2.10
According to this, it could be linked to using Derby, the only proposed solution is using a stronger db instead.
Following comments from sinbadblue here are links to discussions with answers from sonar team members which suggest 2 known reasons for execute decorator to be slow :
Here are the links
The database is not always the issue but these 2 should definitely be checked before further investigation.