Generate code coverage using Jacoco with Sonarqube | [Latest 2024]

Generate code coverage using Jacoco with Sonarqube | [Latest 2024]

Engineerhoon

2 года назад

32,498 Просмотров

#sonarqube #jacoco #codecoverage

0:00 Introduction and topics to be covered
0:43 Code base and Sonarqube dashboard overview
1:55 Enable Jacoco plugin to generate code coverage report
3:40 Add Sonar properties for Jacoco
4:50 Generate code coverage report for Sonarqube dashboard
6:28 Analyse test coverage report on browser
7:48 Share if you any suggestions
8:00 My YouTube channel glimpse

Sonarqube playlist 2021: https://youtube.com/playlist?list=PLF5kUO89mjNp42MdwMnExXVDNQ7Xv-0ao

Sonarqube setup and code analysis : https://youtu.be/zM2DOalHxHY

This video is about generating code coverage on Sonarqube dashboard using Jacoco plugin. I have shown how one can enable Jacoco for a gradle project and generate code coverage report for a code base.


Instagram: https://www.instagram.com/engineerhooon/
LinkedIn: https://www.linkedin.com/in/sunny-shaw/
Medium: https://medium.com/@sunnyshaw_12357
GitHub: https://github.com/sunny-shaw

Тэги:

#code_coverage #jacoco #sonarqube #analyse_code_quality_using_SonarQube #sonarqube_tutorial #analyse_code_quality_sonarqube #code_quality_analyser #test_coverage_using_sonarqube #code_quality #static_code_analysis #java_code_coverage #jacoco_code_coverage_tutorial #code_coverage_testing #code_coverage_using_jacoco #code_coverage_in_sonarqube #jacoco_test_reports #enable_jacoco_for_gradle_project #jacoco_plugin #jacoco_configuration #sonarqube_setup #sonarqube_property_jacoco
Ссылки и html тэги не поддерживаются


Комментарии:

@ItsmeRajivS
@ItsmeRajivS - 21.11.2023 12:05

for sonar cloud, and for node js and type script project, how to get code coverage

Ответить
@nxshaan1290
@nxshaan1290 - 18.09.2023 11:09

Hello Sir,
I am not getting the mail from sonarqube (i have setup email conf and also recived test mail) but not reciving the mail relatedto project , please help sir

Ответить
@ashokkumar-cx6of
@ashokkumar-cx6of - 05.09.2023 14:59

Good explanation @Enginner 😊

Ответить
@kevinlopez5238
@kevinlopez5238 - 12.08.2023 09:55

Can you do it now with maven? Please

Ответить
@naglaaly2143
@naglaaly2143 - 24.07.2022 03:43

hello, can you plz generate code coverage with php project. thanks in advance :)

Ответить
@VIKASKUMAR-cb2pv
@VIKASKUMAR-cb2pv - 29.06.2022 12:02

hello @Engineer, I saw your sonarqube setup video and that was very helpful and now I am trying to add jacoco and it is telling me that "Could not find method jacocoTestReport()" and also it's not showing me the number of test cases. Could you please help me with this?

Ответить
@vaibhavsrivastav4090
@vaibhavsrivastav4090 - 31.03.2022 22:00

please add a video with maven (pom.xml file)

Ответить
@papys44
@papys44 - 02.03.2022 16:28

You need to update your tutorial.
sonar.jacoco.reportPath is no longer supported.

Ответить
@rubenabrahamparedesjimenez5148
@rubenabrahamparedesjimenez5148 - 21.09.2021 21:18

1781 suscriptor

Ответить
@deepikasrinivasan8933
@deepikasrinivasan8933 - 20.09.2021 19:53

Hi. Can you please add a video that how can we work with sonarqube for a simple MERN Stack project ( without docker or anything)

Ответить