OW2 MRL issueshttps://gitlab.ow2.org/ow2/mrl/-/issues2021-08-10T14:33:47Zhttps://gitlab.ow2.org/ow2/mrl/-/issues/107Setup SonarQube for GLPI2021-08-10T14:33:47ZAntoine MottierSetup SonarQube for GLPIWe need to configure the CI to run Sonar Scanner on GLPI.
Some information can be found in [CONTRIBUTING.md](https://github.com/glpi-project/glpi/blob/9.5/bugfixes/CONTRIBUTING.md), [tests README.md](https://github.com/glpi-project/glpi...We need to configure the CI to run Sonar Scanner on GLPI.
Some information can be found in [CONTRIBUTING.md](https://github.com/glpi-project/glpi/blob/9.5/bugfixes/CONTRIBUTING.md), [tests README.md](https://github.com/glpi-project/glpi/blob/9.5/bugfixes/tests/README.md) and in [run_tests.sh](https://github.com/glpi-project/glpi/blob/9.5/bugfixes/tests/run_tests.sh).
Running the tests require to use [atoum](http://atoum.org/) an alternative or addition to PHPUnit. Explanation why GLPI moved from PHPUnit to atoum can be found in a [blog post](https://glpi-project.org/glpi-now-uses-atoum-for-its-unit-tests-2/).
atoum has an [extension](http://extensions.atoum.org/extensions/reports) to produce Sonar coverage reports.https://gitlab.ow2.org/ow2/mrl/-/issues/62Fix coverage == 0 for Knowage2021-05-31T09:17:37ZAntoine MottierFix coverage == 0 for KnowageOn [Knowage SnoarQube](https://sonarcloud.io/dashboard?id=it.eng.knowage%3Aknowage-core) (actually a SonarCloud) code coverage is at 0.
The [CI](https://github.com/KnowageLabs/Knowage-Server/blob/master/.travis.yml) (Travis) run Maven p...On [Knowage SnoarQube](https://sonarcloud.io/dashboard?id=it.eng.knowage%3Aknowage-core) (actually a SonarCloud) code coverage is at 0.
The [CI](https://github.com/KnowageLabs/Knowage-Server/blob/master/.travis.yml) (Travis) run Maven phases: `clean`, `compile` and Maven goal `sonar` but not phase `test`. Probably a good lead.
Need to check core pom.xml: https://github.com/KnowageLabs/Knowage-Server/blob/master/knowage-core/pom.xml
and also parent pom.xml: https://github.com/KnowageLabs/Knowage-Server/blob/master/knowage-ce-parent/pom.xml
Probably need to:
- Add missing JaCoCo plugin.
- Push change on a fork.
- Update GitLab Oscar CI for Knowage.
- Test with OW2 SonarQube instance.
- Open a pull request at Knowage.
Extra references:
- https://community.sonarsource.com/t/coverage-missing-on-sonarqube-coverage-is-not-showing-multimodule-maven-project/23169
- https://stackoverflow.com/questions/13031219/how-to-configure-multi-module-maven-sonar-jacoco-to-give-merged-coverage-repAntoine MottierAntoine Mottier2021-06-30https://gitlab.ow2.org/ow2/mrl/-/issues/13Remove outliers when computing average values2021-04-26T13:59:20ZPierre-Yves GibelloRemove outliers when computing average valuesSome computed values are averages: for example, BugOpenTime is the average issue open time.
In this case, a few values may be far above or below the standard deviation: they should be removed, considering them as outliers.Some computed values are averages: for example, BugOpenTime is the average issue open time.
In this case, a few values may be far above or below the standard deviation: they should be removed, considering them as outliers.Pierre-Yves GibelloPierre-Yves Gibello