MCPcopy Index your code
hub / github.com/nodejs/node / getTapCoverageFixtureReport

Function getTapCoverageFixtureReport

test/parallel/test-runner-coverage.js:24–50  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

22}
23
24function getTapCoverageFixtureReport() {
25
26 const report = [
27 '# start of coverage report',
28 '# --------------------------------------------------------------------------------------------',
29 '# file | line % | branch % | funcs % | uncovered lines',
30 '# --------------------------------------------------------------------------------------------',
31 '# test | | | | ',
32 '# fixtures | | | | ',
33 '# test-runner | | | | ',
34 '# coverage.js | 78.65 | 38.46 | 60.00 | 12-13 16-22 27 39 43-44 61-62 66-67 71-72',
35 '# invalid-tap.js | 100.00 | 100.00 | 100.00 | ',
36 '# v8-coverage | | | | ',
37 '# throw.js | 71.43 | 50.00 | 100.00 | 5-6',
38 '# --------------------------------------------------------------------------------------------',
39 '# all files | 78.35 | 43.75 | 60.00 | ',
40 '# --------------------------------------------------------------------------------------------',
41 '# end of coverage report',
42 ].join('\n');
43
44
45 if (common.isWindows) {
46 return report.replaceAll('/', '\\');
47 }
48
49 return report;
50}
51
52function getSpecCoverageFixtureReport() {
53

Callers 1

Calls 1

joinMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…