├── .covignore ├── .gitignore ├── .jshintrc ├── .npmignore ├── .travis.yml ├── LICENSE ├── Makefile ├── README.md ├── bin └── jscoverage ├── changelog.md ├── index.js ├── lib ├── instrument.js ├── jscoverage.js └── patch.js ├── logo.png ├── package.json ├── reporter ├── detail.js ├── html.js ├── list.js ├── spec.js ├── tap.js ├── templates │ ├── coverage.ejs │ ├── eachfile.ejs │ ├── overview.ejs │ ├── script.ejs │ └── style.ejs └── util.js └── test ├── abc.js ├── cde.js ├── cli.test.js ├── dir ├── a │ ├── a2 │ └── test.md ├── a1.js ├── error.js ├── shebang.js ├── shebang_withbom.js ├── test.coffee └── test.json ├── example.test.js ├── index.test.js ├── instrument.test.js ├── jscoverage.test.js ├── patch.test.js └── report_util.test.js /.covignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fishbar/jscoverage/HEAD/.covignore -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | /node_modules 2 | /covreporter 3 | -------------------------------------------------------------------------------- /.jshintrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fishbar/jscoverage/HEAD/.jshintrc -------------------------------------------------------------------------------- /.npmignore: -------------------------------------------------------------------------------- 1 | /test/ 2 | /node_modules/ 3 | .jshintrc 4 | .covignore 5 | -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fishbar/jscoverage/HEAD/.travis.yml -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fishbar/jscoverage/HEAD/LICENSE -------------------------------------------------------------------------------- /Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fishbar/jscoverage/HEAD/Makefile -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fishbar/jscoverage/HEAD/README.md -------------------------------------------------------------------------------- /bin/jscoverage: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fishbar/jscoverage/HEAD/bin/jscoverage -------------------------------------------------------------------------------- /changelog.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fishbar/jscoverage/HEAD/changelog.md -------------------------------------------------------------------------------- /index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fishbar/jscoverage/HEAD/index.js -------------------------------------------------------------------------------- /lib/instrument.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fishbar/jscoverage/HEAD/lib/instrument.js -------------------------------------------------------------------------------- /lib/jscoverage.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fishbar/jscoverage/HEAD/lib/jscoverage.js -------------------------------------------------------------------------------- /lib/patch.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fishbar/jscoverage/HEAD/lib/patch.js -------------------------------------------------------------------------------- /logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fishbar/jscoverage/HEAD/logo.png -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fishbar/jscoverage/HEAD/package.json -------------------------------------------------------------------------------- /reporter/detail.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fishbar/jscoverage/HEAD/reporter/detail.js -------------------------------------------------------------------------------- /reporter/html.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fishbar/jscoverage/HEAD/reporter/html.js -------------------------------------------------------------------------------- /reporter/list.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fishbar/jscoverage/HEAD/reporter/list.js -------------------------------------------------------------------------------- /reporter/spec.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fishbar/jscoverage/HEAD/reporter/spec.js -------------------------------------------------------------------------------- /reporter/tap.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fishbar/jscoverage/HEAD/reporter/tap.js -------------------------------------------------------------------------------- /reporter/templates/coverage.ejs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fishbar/jscoverage/HEAD/reporter/templates/coverage.ejs -------------------------------------------------------------------------------- /reporter/templates/eachfile.ejs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fishbar/jscoverage/HEAD/reporter/templates/eachfile.ejs -------------------------------------------------------------------------------- /reporter/templates/overview.ejs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fishbar/jscoverage/HEAD/reporter/templates/overview.ejs -------------------------------------------------------------------------------- /reporter/templates/script.ejs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fishbar/jscoverage/HEAD/reporter/templates/script.ejs -------------------------------------------------------------------------------- /reporter/templates/style.ejs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fishbar/jscoverage/HEAD/reporter/templates/style.ejs -------------------------------------------------------------------------------- /reporter/util.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fishbar/jscoverage/HEAD/reporter/util.js -------------------------------------------------------------------------------- /test/abc.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fishbar/jscoverage/HEAD/test/abc.js -------------------------------------------------------------------------------- /test/cde.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fishbar/jscoverage/HEAD/test/cde.js -------------------------------------------------------------------------------- /test/cli.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fishbar/jscoverage/HEAD/test/cli.test.js -------------------------------------------------------------------------------- /test/dir/a/a2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fishbar/jscoverage/HEAD/test/dir/a/a2 -------------------------------------------------------------------------------- /test/dir/a/test.md: -------------------------------------------------------------------------------- 1 | var str = "this is a test file"; 2 | -------------------------------------------------------------------------------- /test/dir/a1.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fishbar/jscoverage/HEAD/test/dir/a1.js -------------------------------------------------------------------------------- /test/dir/error.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fishbar/jscoverage/HEAD/test/dir/error.js -------------------------------------------------------------------------------- /test/dir/shebang.js: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/dir/shebang_withbom.js: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | var a = 1; 4 | -------------------------------------------------------------------------------- /test/dir/test.coffee: -------------------------------------------------------------------------------- 1 | test = () -> 2 | console.log('hello') 3 | 4 | test() -------------------------------------------------------------------------------- /test/dir/test.json: -------------------------------------------------------------------------------- 1 | { 2 | "test": 1 3 | } -------------------------------------------------------------------------------- /test/example.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fishbar/jscoverage/HEAD/test/example.test.js -------------------------------------------------------------------------------- /test/index.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fishbar/jscoverage/HEAD/test/index.test.js -------------------------------------------------------------------------------- /test/instrument.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fishbar/jscoverage/HEAD/test/instrument.test.js -------------------------------------------------------------------------------- /test/jscoverage.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fishbar/jscoverage/HEAD/test/jscoverage.test.js -------------------------------------------------------------------------------- /test/patch.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fishbar/jscoverage/HEAD/test/patch.test.js -------------------------------------------------------------------------------- /test/report_util.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fishbar/jscoverage/HEAD/test/report_util.test.js --------------------------------------------------------------------------------