Details
Description
For large projects and/or projects with bad separation of concerns between packages, the "Package design analysis" phase can take ages and totally prevent using Sonar.
An option should be added to skip this phase or at least skip the quadratic analysis behind it.
JIRA opened from discussion at http://old.nabble.com/%22Package-design-analysis%22-is-too-slow-%28been-running-for-4-days-already...%29-td30833804.html.
Issue Links
- relates to
-
SONAR-2487
Do not analyse bytecode, when property "sonar.skipDesign" set to "true"
-
Here is a patch suggestion: when adding <sonar.skipPackageDesignAnalysis>true</sonar.skipPackageDesignAnalysis> in the <properties> element of the pom,xml, one can skip the "Package design analysis" phase.
Internally, this just skips the execution of org.sonar.plugins.squid.bridges.DesignBridge.
All comments regarding this patch are very welcome, as I don't know anything at all of Sonar's internals!