您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符
Stas Vilchik 235812b9c7 Fix qualify flaws 9 年前
plugins SONAR-5827 Execute CodeColorizer on batch side to feed highlighting 9 年前
server Fix qualify flaws 9 年前
sonar-application SONAR-5828 Fix default value of property sonar.jdbc.maxActive 9 年前
sonar-batch SONAR-5867 Add symbol references data into file_sources table 9 年前
sonar-batch-maven-compat SONAR-5705 Drop support of Maven 2 9 年前
sonar-batch-protocol SONAR-5815 Store last update time on source data 9 年前
sonar-check-api Fix quality flaws 9 年前
sonar-colorizer Add missing @Override annotations 9 年前
sonar-core Fix memory leaks in server medium tests 9 年前
sonar-deprecated Automatic merge from branch-4.5 9 年前
sonar-duplications Add missing @Override annotations 9 年前
sonar-graph Fix some quality flaws 9 年前
sonar-home Remove JFreeChart from batch classpath 9 年前
sonar-java-api Remove JFreeChart from batch classpath 9 年前
sonar-markdown Merge remote-tracking branch 'remotes/origin/branch-4.5' 9 年前
sonar-plugin-api SONAR-5867 Add symbol references data into file_sources table 9 年前
sonar-testing-harness Add missing @Override annotations 9 年前
.gitattributes Tests should be independent from EOL in resources 13 年前
.gitignore SONAR-5665 Stop support of GWT pages 9 年前
.mailmap .mailmap file to resolve wrong author names 12 年前
COPYING Fix crlf 13 年前
KEYS Change Olivier Gaudin's key 10 年前
README.md Remove old web dev mode 10 年前
build.sh SONAR-4898 fix zip size in enforcer rule 10 年前
copyright.txt Update copyright headers (replace 2013 by 2014) 10 年前
debug-server.sh SONAR-5709 Add properties sonar.search.javaAdditionalOpts and sonar.web.javaAdditionalOpts 9 年前
format-headers.sh Add format-headers.sh, just to remind "mvn license:format" 10 年前
jacoco-build.sh Rename tool scripts 9 年前
pom.xml Re-enable random execution of tests 9 年前
quick-build.sh SONAR-4898 improve default settings 10 年前
run.sh SONAR-4898 - Renamed sonar.es.* properties to sonar.search.* 10 年前
start.sh start-mac.sh and stop-mac.sh are renamed start/stop.sh as they support linux 10 年前
stop.sh Fix stop.sh on Linux 9 年前
third-party-licenses.sh Add third-party-licenses.sh 10 年前

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