Coder Social home page Coder Social logo

Comments (7)

ryanluker avatar ryanluker commented on June 16, 2024 1

Need to cover some edge cases and create unit tests but I think I have a workable first version:
new-coverage-styles

from vscode-coverage-gutters.

MeirionHughes avatar MeirionHughes commented on June 16, 2024

Some lines / code-branches can be partially covered too.

from vscode-coverage-gutters.

ryanluker avatar ryanluker commented on June 16, 2024

Thanks for the feedback! Oddly enough I am working on enhanced coverage currently (adding partial coverage support at the moment #36 ). I don't see a reason why I couldn't add another indicator for the lack of coverage you outlined above @Raynos 😄 . I will link some further details here once I get a working version sussed out.

from vscode-coverage-gutters.

Raynos avatar Raynos commented on June 16, 2024

Partially covered means a single line statement contains multiple branches ( aka 1 line ternary ) and only some of the branches are covered ?

That sounds quite a bit harder then lack of coverage :)

from vscode-coverage-gutters.

ryanluker avatar ryanluker commented on June 16, 2024

Yah you are correct about how "partial" coverage will look, and that it is more difficult then just adding lack of coverage based on the hit === 0. The PR I mentioned before has a few critical pieces that allow multiple coverage types to work nicely together, if partial proves to be taking a while I can always split it off and add the uncovered coverage first instead.

from vscode-coverage-gutters.

Raynos avatar Raynos commented on June 16, 2024

Sweet, that's great, thanks @ryanluker

from vscode-coverage-gutters.

ryanluker avatar ryanluker commented on June 16, 2024

@Raynos just released 0.3.0 to the marketplace, let me know what you think of the uncovered lines 😄 . Going to close this issue in the meantime.

from vscode-coverage-gutters.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.