Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use Sonarqube to analyse issues in this project #10

Open
arobirosa opened this issue May 28, 2020 · 1 comment · May be fixed by #25
Open

Use Sonarqube to analyse issues in this project #10

arobirosa opened this issue May 28, 2020 · 1 comment · May be fixed by #25
Assignees
Labels
good first issue Good for newcomers in-progress In progress priorityLow No reduction of the functionality of the extension task Non-developement task

Comments

@arobirosa
Copy link
Owner

Current situation:
The QA analysis is done using SpotBugs, PMD und Checkstyle locally and the number of checked rules is low.

Future situation:
Use a QA analysis tool like Sonarqube to analyse the code if there are advantages over the current approach

Further information

  • Ant qa currently breaks the build if there is an issue, this feature must stay
  • https://sonarcloud.io/ is free for open-source projects
@arobirosa arobirosa added good first issue Good for newcomers task Non-developement task priorityLow No reduction of the functionality of the extension labels May 28, 2020
@arobirosa
Copy link
Owner Author

Required properties on local.properties:

######################################
## Sonarqube ##
######################################

sonar.projectName = Hybris
sonar.projectKey = Hybris
sonar.projectVersion = 1.0
sonar.extensions = <EXTENSION>
sonar.host.url = https://sonarqube.<URL>.de
sonar.login = <TOKEN>
sonar.coverage.exclusions = de.hybris.*
sonar.coverage.jacoco.xmlReportPaths = ${HYBRIS_LOG_DIR}/jacoco/jacoco.xml
sonar.junit.reportPaths = ${HYBRIS_LOG_DIR}/log/junit/
sonar.junit.reportPath = ${HYBRIS_LOG_DIR}/log/junit/
sonar.java.source=1.11

@arobirosa arobirosa self-assigned this Feb 10, 2023
@arobirosa arobirosa added the in-progress In progress label Feb 10, 2023
@arobirosa arobirosa linked a pull request Feb 10, 2023 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers in-progress In progress priorityLow No reduction of the functionality of the extension task Non-developement task
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant