You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Stas Vilchik 235812b9c7 Fix qualify flaws 9 years ago
plugins SONAR-5827 Execute CodeColorizer on batch side to feed highlighting 9 years ago
server Fix qualify flaws 9 years ago
sonar-application SONAR-5828 Fix default value of property sonar.jdbc.maxActive 9 years ago
sonar-batch SONAR-5867 Add symbol references data into file_sources table 9 years ago
sonar-batch-maven-compat SONAR-5705 Drop support of Maven 2 9 years ago
sonar-batch-protocol SONAR-5815 Store last update time on source data 9 years ago
sonar-check-api Fix quality flaws 9 years ago
sonar-colorizer Add missing @Override annotations 9 years ago
sonar-core Fix memory leaks in server medium tests 9 years ago
sonar-deprecated Automatic merge from branch-4.5 9 years ago
sonar-duplications Add missing @Override annotations 9 years ago
sonar-graph Fix some quality flaws 9 years ago
sonar-home Remove JFreeChart from batch classpath 9 years ago
sonar-java-api Remove JFreeChart from batch classpath 9 years ago
sonar-markdown Merge remote-tracking branch 'remotes/origin/branch-4.5' 9 years ago
sonar-plugin-api SONAR-5867 Add symbol references data into file_sources table 9 years ago
sonar-testing-harness Add missing @Override annotations 9 years ago
.gitattributes Tests should be independent from EOL in resources 13 years ago
.gitignore SONAR-5665 Stop support of GWT pages 9 years ago
.mailmap .mailmap file to resolve wrong author names 12 years ago
COPYING Fix crlf 13 years ago
KEYS Change Olivier Gaudin's key 10 years ago
README.md Remove old web dev mode 10 years ago
build.sh SONAR-4898 fix zip size in enforcer rule 10 years ago
copyright.txt Update copyright headers (replace 2013 by 2014) 10 years ago
debug-server.sh SONAR-5709 Add properties sonar.search.javaAdditionalOpts and sonar.web.javaAdditionalOpts 9 years ago
format-headers.sh Add format-headers.sh, just to remind "mvn license:format" 10 years ago
jacoco-build.sh Rename tool scripts 9 years ago
pom.xml Re-enable random execution of tests 9 years ago
quick-build.sh SONAR-4898 improve default settings 10 years ago
run.sh SONAR-4898 - Renamed sonar.es.* properties to sonar.search.* 10 years ago
start.sh start-mac.sh and stop-mac.sh are renamed start/stop.sh as they support linux 10 years ago
stop.sh Fix stop.sh on Linux 9 years ago
third-party-licenses.sh Add third-party-licenses.sh 10 years ago

README.md

SonarQube

Put your technical debt under control. For more information please see:

Build

  • Install JDK 6 or greater
  • Install Maven 3.0.5 or greater
  • Execute build.sh. ZIP file of application is generated into sonar-application/target/

Debug Maven Analysis

Debug Maven analysis by executing mvnDebug sonar:sonar. Then attach your IDE to the remote process (the listening port is 8000).

Example in Intellij Idea : Run -> Edit configurations -> Add new configuration -> Remote -> port 8000.

Profile Maven Analysis with JProfiler

Duplicate $MAVEN_HOME/bin/mvnDebug to mvnJProfiler and replace the property MAVEN_DEBUG_OPTS by:

MAVEN_DEBUG_OPTS="-Xint -agentlib:jprofilerti=port=8849 -Xbootclasspath/a:/path/to/jprofiler/bin/agent.jar"

Then start JProfiler -> Connect to an application on a remote computer

License

Copyright 2008-2014 SonarSource.

Licensed under the GNU Lesser General Public License, Version 3.0: http://www.gnu.org/licenses/lgpl.txt