Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

coverify-lcov

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

coverify-lcov

Minimallistic translation of coverify output to lcov.info format

  • 0.0.3
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
0
decreased by-100%
Maintainers
1
Weekly downloads
 
Created
Source

node-coverify-lcov

coverify-lcov

Known Vulnerabilities

This module converts the output of the excellent coverify module into something similar to the lcov.info files that some tools require.

Note: it may not work for most purposes as it uses only the line coverage.

The assumption behind this module is that the only relevant metric is the line coverage. If the line coverage is 100% then the function coverage is also 100%. If the line coverage is not 100% then it doesn't matter whether the function coverage is 100% or not.

Because test coverage is like the speed of light: 99% is better than 98%, but even 99.999% is nothing compared to 100%.

Installation

Install to use in your Node project, updating the development dependencies in package.json:

npm install browserify coverify coverify-lcov --save-dev

Usage

Run coverify with browserify and filter with coverify-lcov:

./node_modules/browserify/bin/cmd.js -t coverify test.js \
| node | ./node_modules/coverify-lcov/bin/cmd.js

Issues

For any bug reports or feature requests please post an issue on GitHub.

Author

Rafał Pocztarski - https://github.com/rsp

License

MIT License (Expat). See LICENSE.md for details.

Keywords

FAQs

Package last updated on 03 Oct 2016

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc