Skip to content

Coveralls reporting different coverage % than Code Climate #261

Open
@efueger

Description

@efueger

User wrote into Support with:

I have noticed that all my code coverages do not really score for partial lines, i.e: missed if statements.

  • I am generating lcov.info through nyc on node.js.

Is there anything I can do in order to get those partial lines reported correctly as in Coveralls?


Specific example:

  • I am currently getting a 63% score on coveralls with partial lines, etc.
  • But 71% under Code Climate.

utils/filetype.js is a good reference:

  • Coveralls shows (88.89%), with partial for lines 4 and 7
  • Code Climate shows all lines covered (100%)

image

image

image

Additional References

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions