Skip to content

Conversation

nutjob4life
Copy link
Member

@nutjob4life nutjob4life commented Oct 4, 2025

🗒️ Summary

Merge to add coverage testing and reporting to SonarQube Cloud

⚙️ Test Data and/or Report

A little soupçon from coverage.xml:

<coverage version="7.10.7" timestamp="1759584440782" lines-valid="899" lines-covered="676" line-rate="0.7519" branches-covered="0" branches-valid="0" branch-rate="0" complexity="0">
        <!-- Generated by coverage.py: https://coverage.readthedocs.io/en/7.10.7 -->
        <!-- Based on https://raw.githubusercontent.com/cobertura/web/master/htdocs/xml/coverage-04.dtd -->
        <sources>
                <source>/Users/kelly/Documents/Clients/JPL/PDS/Development/nasa-pds/data-upload-manager/src</source>
        </sources>
        <packages>
                <package name="pds.ingress.service" line-rate="0.7019" branch-rate="0" complexity="0">
                        <classes>
…

♻️ Related Issues

@nutjob4life nutjob4life changed the title Add coverage testing and reporting to SonarQube Cloud #31 Add coverage testing and reporting to SonarQube Cloud Oct 4, 2025
Copy link
Contributor

@collinss-jpl collinss-jpl left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, one question though: do I take line-rate="0.7519" from the XML to be the the determined coverage percentage (75% coverage by the unit tests?)

@collinss-jpl collinss-jpl merged commit 91af32f into main Oct 6, 2025
2 checks passed
@collinss-jpl collinss-jpl deleted the coverage branch October 6, 2025 17:17
@nutjob4life
Copy link
Member Author

@collinss-jpl thanks! And yes, 75%. The line-rate = covered-lines ÷ total executable lines.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants