UI glitch when codecov fails to get complexity information

Please check the troubleshooting guide before creating a ticket.
All fields below are required.

Description

UI shows coverage information under complexity column when it fails to retrieve complexity from the coverage XML.
See below screenshot.

When you traverse into the files, it shows complexity as 0 and the relevant coverage information.

Commit SHAs

N/A

Repository

N/A

CI/CD or Build URL

Github CICD

Uploader

Github actions

Codecov Output

N/A

Expected Results

Need to see the complexity as 0 and coverage as it is.

Actual Results

Please see above screenshot.

Additional Information

N/A

@Dilhasha can you please provide a link to this screenshot and a commit SHA?

This is the link
https://app.codecov.io/gh/ballerina-platform/module-ballerina-graphql

Commit SHA
40b77c53a2f2b2dc2219d04de081ae843cab22bf

@Dilhasha I’m a little confused here. What are you expecting the complexity section to look like?

it needs to have the value as zero. But if you visit Codecov and scroll down to see the overview, the coverage percentage is shown in the complexity section and the coverage section is empty.
But when you click and traverse the project structure, you can see the correct values.

See below screenshot.

@Dilhasha oh got it, that makes sense. I’ll let the product team know.

1 Like