npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

coverage-blamer

v0.1.9

Published

coverage-blamer is tool for get information about authors of uncovered code

Downloads

53

Readme

Coverage Blamer

Coverage Blamer helps found author, date and files of uncovered code. Coverage Blamer use coverage report in json format generated by istanbul or jscoverage and information about date and author from git or svn.

##Status

Dependency Status Build Status Coverage Status

NPM

##Installation

npm install -g coverage-blamer

##Usage

$ coverage-blamer --help

  Usage: coverage-blamer [options]

  Options:

    -h, --help                  output usage information
    -V, --version               output the version number
    -c, --coverage <path>       Path to coverage report
    -v, --vcs [type]            Version control system
    -s, --source <path>         Path to source folder
    -o, --output <path>         Path to output folder
    -r, --disableRow <boolean>  Disable row coverage in report

##Example

Coverage Blamer CLI report generated for moment.js:

$ coverage-blamer --coverage .nyc_output/6155.json --source ./
┌──────────────────────────────────────────────────┬───────────────┬───────────────┬───────────────┐
│ Author                                           │ Lines         │ Uncovered Li… │ Coverage      │
├──────────────────────────────────────────────────┼───────────────┼───────────────┼───────────────┤
│ Alexander Jeng                                   │ 2             │ 1             │ 50%           │
├──────────────────────────────────────────────────┼───────────────┼───────────────┼───────────────┤
│ Tim Wood                                         │ 203           │ 80            │ 60.591133004… │
├──────────────────────────────────────────────────┼───────────────┼───────────────┼───────────────┤
│ Brian Wyant                                      │ 39            │ 13            │ 66.666666666… │
├──────────────────────────────────────────────────┼───────────────┼───────────────┼───────────────┤
│ Isaac Cambron                                    │ 25            │ 5             │ 80%           │
├──────────────────────────────────────────────────┼───────────────┼───────────────┼───────────────┤
│ Iskren Chernev                                   │ 550           │ 59            │ 89.272727272… │
├──────────────────────────────────────────────────┼───────────────┼───────────────┼───────────────┤
│ paladox                                          │ 27            │ 0             │ 100%          │
├──────────────────────────────────────────────────┼───────────────┼───────────────┼───────────────┤
│ Igor Lima                                        │ 14            │ 0             │ 100%          │
├──────────────────────────────────────────────────┼───────────────┼───────────────┼───────────────┤
│ Dan Dascalescu                                   │ 25            │ 0             │ 100%          │
├──────────────────────────────────────────────────┼───────────────┼───────────────┼───────────────┤
│ Mehul Patel                                      │ 1             │ 0             │ 100%          │
├──────────────────────────────────────────────────┼───────────────┼───────────────┼───────────────┤
│ Lachèze Alexandre                                │ 39            │ 0             │ 100%          │
├──────────────────────────────────────────────────┼───────────────┼───────────────┼───────────────┤
│ Dennis                                           │ 9             │ 0             │ 100%          │
└──────────────────────────────────────────────────┴───────────────┴───────────────┴───────────────┘
┌──────────────────────────────────────────────────┬───────────────┬───────────────┬───────────────┐
│ File                                             │ Lines         │ Uncovered Li… │ Coverage      │
├──────────────────────────────────────────────────┼───────────────┼───────────────┼───────────────┤
│ ./tasks/history.js                               │ 123           │ 56            │ 54.471544715… │
├──────────────────────────────────────────────────┼───────────────┼───────────────┼───────────────┤
│ ./tasks/size.js                                  │ 59            │ 24            │ 59.322033898… │
├──────────────────────────────────────────────────┼───────────────┼───────────────┼───────────────┤
│ ./tasks/component.js                             │ 10            │ 4             │ 60%           │
├──────────────────────────────────────────────────┼───────────────┼───────────────┼───────────────┤
│ ./tasks/embed_locales.js                         │ 47            │ 17            │ 63.829787234… │
├──────────────────────────────────────────────────┼───────────────┼───────────────┼───────────────┤
│ ./tasks/zones.js                                 │ 70            │ 24            │ 65.714285714… │
├──────────────────────────────────────────────────┼───────────────┼───────────────┼───────────────┤
│ ./tasks/check_sauce_creds.js                     │ 13            │ 4             │ 69.230769230… │
├──────────────────────────────────────────────────┼───────────────┼───────────────┼───────────────┤
│ ./tasks/bump_version.js                          │ 65            │ 7             │ 89.230769230… │
├──────────────────────────────────────────────────┼───────────────┼───────────────┼───────────────┤
│ ./tasks/transpile.js                             │ 288           │ 22            │ 92.361111111… │
└──────────────────────────────────────────────────┴───────────────┴───────────────┴───────────────┘
┌──────────────────────────────────────────────────┬───────────────┬───────────────┬───────────────┐
│ Date                                             │ Lines         │ Uncovered Li… │ Coverage      │
├──────────────────────────────────────────────────┼───────────────┼───────────────┼───────────────┤
│ Mon Aug 20 2012                                  │ 178           │ 77            │ 56.497175141… │
├──────────────────────────────────────────────────┼───────────────┼───────────────┼───────────────┤
│ Tue Aug 21 2012                                  │ 6             │ 2             │ 60%           │
├──────────────────────────────────────────────────┼───────────────┼───────────────┼───────────────┤
│ Fri Aug 31 2012                                  │ 9             │ 0             │ 100%          │
├──────────────────────────────────────────────────┼───────────────┼───────────────┼───────────────┤
│ Wed Oct 03 2012                                  │ 1             │ 1             │ 0%            │
├──────────────────────────────────────────────────┼───────────────┼───────────────┼───────────────┤

##TODO TODO

##License

The MIT License