Skip to content
This repository was archived by the owner on Jan 10, 2023. It is now read-only.
This repository was archived by the owner on Jan 10, 2023. It is now read-only.

Partial lines #168

@spmeesseman

Description

@spmeesseman

Hello

First off thank for all the great work, I am fascinated with the tool now that I have learned it a bit, even though Ive been using it for a year+ now.

Yesterday, afet making changes to improve coverage, my iniital changes got me an 89% coverage rate. However, since then, all runs are producing coverage 10-15% less.

I am having some issues but maybe I just am missing something. I have a Typescript project, VSCode Extension (vscode-taskexplorer).

From what I can see, for some reason there are a lot of lines being marked in yellow now as partial. Simple "if" statements with one parameter are being marked in yellow (some of them).

Here is an example comparing the same code in two different report uploads. Why would they be different? The "if" statements in the first report are considered covered, but those same lines in the 2nd link are not?

https://codecov.io/gh/spmeesseman/vscode-taskexplorer/src/431b456ed89ebc29f635699909a9ccb9441066dd/src/taskProviderScript.ts

https://codecov.io/gh/spmeesseman/vscode-taskexplorer/src/fddeac37ad2be1c7b8da63e4d4d9f89e1baf0ece/src/taskProviderScript.ts

The two large screenshots show the same function, but as you can see one has a covered if statement, the other is marked as partial, not sure how an if with one param becomes partial?

What might be happening, or is there something I dont understand?

Thanks for any help in advance!!!
1
3
4

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions