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.
Julien HENRY 92dfaad539 Add comment on test пре 10 година
plugins SONAR-5440 Remove the default "Hotspots" project dashboard пре 10 година
server SONAR-4898 - Removed default ES debug пре 10 година
sonar-application SONAR-5455 Add "useConfigs=maxPerformance" to default MySQL URL пре 10 година
sonar-batch Add comment on test пре 10 година
sonar-batch-maven-compat Remove deployment of sonar-batch-maven-compat to Nexus пре 10 година
sonar-check-api Upgrade to 4.5-SNAPSHOT пре 10 година
sonar-colorizer Upgrade to 4.5-SNAPSHOT пре 10 година
sonar-core Fix UT on MySQL 5.6 пре 10 година
sonar-deprecated SONAR-5432 Remove RCI and Weighted issues metrics пре 10 година
sonar-duplications Upgrade to 4.5-SNAPSHOT пре 10 година
sonar-graph Upgrade to 4.5-SNAPSHOT пре 10 година
sonar-home Upgrade to 4.5-SNAPSHOT пре 10 година
sonar-java-api Upgrade to 4.5-SNAPSHOT пре 10 година
sonar-markdown Merge commit '46a655cc343aba370396d8af5fbc34d5da668a0a' into HEAD пре 10 година
sonar-maven-plugin Upgrade to 4.5-SNAPSHOT пре 10 година
sonar-maven3-plugin Upgrade to 4.5-SNAPSHOT пре 10 година
sonar-plugin-api SONAR-5321 Deprecate NavigationSection.RESOURCE_TAB пре 10 година
sonar-server/src/main/webapp/stylesheets Update karma tests пре 10 година
sonar-start SONAR-4898 - Removed default ES debug пре 10 година
sonar-testing-harness Merge commit '46a655cc343aba370396d8af5fbc34d5da668a0a' into HEAD пре 10 година
.gitattributes Tests should be independent from EOL in resources пре 13 година
.gitignore SONAR-5408 extract sonar-web from sonar-server пре 10 година
.mailmap .mailmap file to resolve wrong author names пре 12 година
COPYING Fix crlf пре 13 година
KEYS Add Eric Hartmann's key пре 12 година
README.md Update README.md пре 10 година
build.sh Revert -> goal "clean" is back in build/quick-build scripts пре 10 година
copyright.txt Update copyright headers (replace 2013 by 2014) пре 10 година
format-headers.sh Add format-headers.sh, just to remind "mvn license:format" пре 10 година
pom.xml Disable sonar-start module пре 10 година
push.sh Little Goody for OS X users ;) пре 10 година
quick-build.sh SONAR-5216 Rename new metric profiles -> quality_profiles пре 10 година
run.sh Added test with JSON assertion in RuleWS пре 10 година
start.sh start-mac.sh and stop-mac.sh are renamed start/stop.sh as they support linux пре 10 година
stop.sh start-mac.sh and stop-mac.sh are renamed start/stop.sh as they support linux пре 10 година
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/

Edit Ruby Code

The development mode is used to edit Ruby on Rails code. The application is automatically reloaded when Ruby files are saved. It avoids restarting the server. Changes are reloaded on the fly. Execute one of the following commands from the sonar-server/ directory to start server:

# for embedded database
server/sonar-web/h2-start.sh

# or for other dbs
server/sonar-web/mysql-start.sh
server/sonar-web/postgresql-start.sh

Then Ruby code can be directly edited from sonar-server/src/main/webapp/WEB-INF/app.

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