[READ-ONLY] Mirror of https://github.com/vitest-dev/vitest. Next generation testing framework powered by Vite. vitest.dev
test testing-tools vite
12

Configure Feed

Select the types of activity you want to include in your feed.

feat!: remove `@vitest/coverage-c8` package (#3614)

authored by

Ari Perkkiö and committed by
GitHub
(Jul 11, 2023, 11:46 AM +0200) a90d64fe 0b893ae8

+43 -4956
-1
package.json
··· 44 44 "@types/node": "^18.16.19", 45 45 "@types/ws": "^8.5.5", 46 46 "@vitest/browser": "workspace:*", 47 - "@vitest/coverage-c8": "workspace:*", 48 47 "@vitest/coverage-istanbul": "workspace:*", 49 48 "@vitest/coverage-v8": "workspace:*", 50 49 "@vitest/ui": "workspace:*",
+4 -63
pnpm-lock.yaml
··· 45 45 '@vitest/browser': 46 46 specifier: workspace:* 47 47 version: link:packages/browser 48 - '@vitest/coverage-c8': 49 - specifier: workspace:* 50 - version: link:packages/coverage-c8 51 48 '@vitest/coverage-istanbul': 52 49 specifier: workspace:* 53 50 version: link:packages/coverage-istanbul ··· 619 616 '@vitejs/plugin-react': 620 617 specifier: latest 621 618 version: 4.0.3(vite@4.3.9) 622 - '@vitest/coverage-c8': 623 - specifier: ^0.24.5 624 - version: 0.24.5 619 + '@vitest/coverage-v8': 620 + specifier: latest 621 + version: link:../../packages/coverage-v8 625 622 '@vitest/ui': 626 623 specifier: latest 627 624 version: link:../../packages/ui ··· 925 922 rollup: 926 923 specifier: ^3.26.0 927 924 version: 3.26.0 928 - vitest: 929 - specifier: workspace:* 930 - version: link:../vitest 931 - 932 - packages/coverage-c8: 933 - dependencies: 934 - '@ampproject/remapping': 935 - specifier: ^2.2.1 936 - version: 2.2.1 937 - c8: 938 - specifier: ^7.14.0 939 - version: 7.14.0 940 - magic-string: 941 - specifier: ^0.30.1 942 - version: 0.30.1 943 - picocolors: 944 - specifier: ^1.0.0 945 - version: 1.0.0 946 - std-env: 947 - specifier: ^3.3.3 948 - version: 3.3.3 949 - devDependencies: 950 - pathe: 951 - specifier: ^1.1.1 952 - version: 1.1.1 953 - vite-node: 954 - specifier: workspace:* 955 - version: link:../vite-node 956 925 vitest: 957 926 specifier: workspace:* 958 927 version: link:../vitest ··· 1622 1591 '@vitest/browser': 1623 1592 specifier: workspace:* 1624 1593 version: link:../../packages/browser 1625 - '@vitest/coverage-c8': 1626 - specifier: workspace:* 1627 - version: link:../../packages/coverage-c8 1628 1594 '@vitest/coverage-istanbul': 1629 1595 specifier: workspace:* 1630 1596 version: link:../../packages/coverage-istanbul ··· 9573 9539 vue: 3.3.4 9574 9540 dev: true 9575 9541 9576 - /@vitest/coverage-c8@0.24.5: 9577 - resolution: {integrity: sha512-955yK/SdSBZPYrSXgXB0F+0JnOX5EY9kSL7ywJ4rNajmkFUhwLjuKm13Xb6YKSyIY/g5WvbBnyowqfNRxBJ3ww==} 9578 - dependencies: 9579 - c8: 7.12.0 9580 - vitest: link:packages/vitest 9581 - dev: true 9582 - 9583 9542 /@volar/code-gen@0.40.13: 9584 9543 resolution: {integrity: sha512-4gShBWuMce868OVvgyA1cU5WxHbjfEme18Tw6uVMfweZCF5fB2KECG0iPrA9D54vHk3FeHarODNwgIaaFfUBlA==} 9585 9544 dependencies: ··· 11651 11610 - supports-color 11652 11611 dev: true 11653 11612 11654 - /c8@7.12.0: 11655 - resolution: {integrity: sha512-CtgQrHOkyxr5koX1wEUmN/5cfDa2ckbHRA4Gy5LAL0zaCFtVWJS5++n+w4/sr2GWGerBxgTjpKeDclk/Qk6W/A==} 11656 - engines: {node: '>=10.12.0'} 11657 - hasBin: true 11658 - dependencies: 11659 - '@bcoe/v8-coverage': 0.2.3 11660 - '@istanbuljs/schema': 0.1.3 11661 - find-up: 5.0.0 11662 - foreground-child: 2.0.0 11663 - istanbul-lib-coverage: 3.2.0 11664 - istanbul-lib-report: 3.0.0 11665 - istanbul-reports: 3.1.5 11666 - rimraf: 3.0.2 11667 - test-exclude: 6.0.0 11668 - v8-to-istanbul: 9.1.0 11669 - yargs: 16.2.0 11670 - yargs-parser: 20.2.9 11671 - dev: true 11672 - 11673 11613 /c8@7.14.0: 11674 11614 resolution: {integrity: sha512-i04rtkkcNcCf7zsQcSv/T9EbUn4RXQ6mropeMcjFOsQXQ0iGLAr/xT6TImQg4+U9hmNpN9XdvPkjUL1IzbgxJw==} 11675 11615 engines: {node: '>=10.12.0'} ··· 11687 11627 v8-to-istanbul: 9.1.0 11688 11628 yargs: 16.2.0 11689 11629 yargs-parser: 20.2.9 11630 + dev: true 11690 11631 11691 11632 /cac@6.7.14: 11692 11633 resolution: {integrity: sha512-b6Ilus+c3RrdDk+JhLKUAQfzzgLEPy6wcXqS7f/xe1EETvsDP6GORG7SFuOs6cID5YkqchW/LXZbX5bc8j7ZcQ==}
-55
bench/pnpm-lock.yaml
··· 109 109 specifier: workspace:* 110 110 version: link:../vitest 111 111 112 - ../packages/coverage-c8: 113 - dependencies: 114 - '@ampproject/remapping': 115 - specifier: ^2.2.1 116 - version: 2.2.1 117 - c8: 118 - specifier: ^7.14.0 119 - version: 7.14.0 120 - magic-string: 121 - specifier: ^0.30.1 122 - version: 0.30.1 123 - picocolors: 124 - specifier: ^1.0.0 125 - version: 1.0.0 126 - std-env: 127 - specifier: ^3.3.3 128 - version: 3.3.3 129 - devDependencies: 130 - pathe: 131 - specifier: ^1.1.1 132 - version: 1.1.1 133 - vite-node: 134 - specifier: workspace:* 135 - version: link:../vite-node 136 - vitest: 137 - specifier: workspace:* 138 - version: link:../vitest 139 - 140 112 ../packages/coverage-istanbul: 141 113 dependencies: 142 114 istanbul-lib-coverage: ··· 6000 5972 ieee754: 1.2.1 6001 5973 dev: true 6002 5974 6003 - /c8@7.14.0: 6004 - resolution: {integrity: sha512-i04rtkkcNcCf7zsQcSv/T9EbUn4RXQ6mropeMcjFOsQXQ0iGLAr/xT6TImQg4+U9hmNpN9XdvPkjUL1IzbgxJw==} 6005 - engines: {node: '>=10.12.0'} 6006 - hasBin: true 6007 - dependencies: 6008 - '@bcoe/v8-coverage': 0.2.3 6009 - '@istanbuljs/schema': 0.1.3 6010 - find-up: 5.0.0 6011 - foreground-child: 2.0.0 6012 - istanbul-lib-coverage: 3.2.0 6013 - istanbul-lib-report: 3.0.0 6014 - istanbul-reports: 3.1.5 6015 - rimraf: 3.0.2 6016 - test-exclude: 6.0.0 6017 - v8-to-istanbul: 9.1.0 6018 - yargs: 16.2.0 6019 - yargs-parser: 20.2.9 6020 - dev: false 6021 - 6022 5975 /cac@6.7.14: 6023 5976 resolution: {integrity: sha512-b6Ilus+c3RrdDk+JhLKUAQfzzgLEPy6wcXqS7f/xe1EETvsDP6GORG7SFuOs6cID5YkqchW/LXZbX5bc8j7ZcQ==} 6024 5977 engines: {node: '>=8'} ··· 7639 7592 dependencies: 7640 7593 is-callable: 1.2.4 7641 7594 dev: true 7642 - 7643 - /foreground-child@2.0.0: 7644 - resolution: {integrity: sha512-dCIq9FpEcyQyXKCkyzmlPTFNgrCzPudOe+mhvJU5zAtlBnGVy2yKxtfsxK2tQBThwq225jcvBjpw1Gr40uzZCA==} 7645 - engines: {node: '>=8.0.0'} 7646 - dependencies: 7647 - cross-spawn: 7.0.3 7648 - signal-exit: 3.0.7 7649 - dev: false 7650 7595 7651 7596 /foreground-child@3.1.1: 7652 7597 resolution: {integrity: sha512-TMKDUnIte6bfb5nWv7V/caI169OHgvwjb7V4WkeUvbQQdjr5rWKqHFiKWb/fcOwB+CzBT+qbWjvj+DVwRskpIg==}
+1 -1
docs/.vitepress/config.ts
··· 37 37 ['link', { rel: 'icon', href: '/favicon.ico', sizes: 'any' }], 38 38 ['link', { rel: 'icon', href: '/logo.svg', type: 'image/svg+xml' }], 39 39 ['meta', { name: 'author', content: `${teamMembers.map(c => c.name).join(', ')} and ${vitestName} contributors` }], 40 - ['meta', { name: 'keywords', content: 'vitest, vite, test, coverage, snapshot, react, vue, preact, svelte, solid, lit, ruby, cypress, puppeteer, jsdom, happy-dom, test-runner, jest, typescript, esm, tinypool, tinyspy, c8, node' }], 40 + ['meta', { name: 'keywords', content: 'vitest, vite, test, coverage, snapshot, react, vue, preact, svelte, solid, lit, ruby, cypress, puppeteer, jsdom, happy-dom, test-runner, jest, typescript, esm, tinypool, tinyspy, node' }], 41 41 ['meta', { property: 'og:title', content: vitestName }], 42 42 ['meta', { property: 'og:description', content: vitestDescription }], 43 43 ['meta', { property: 'og:url', content: ogUrl }],
+20 -51
docs/config/index.md
··· 667 667 668 668 You can use [`v8`](https://v8.dev/blog/javascript-code-coverage), [`istanbul`](https://istanbul.js.org/) or [a custom coverage solution](/guide/coverage#custom-coverage-provider) for coverage collection. 669 669 670 - ::: info 671 - The `c8` provider is being replaced by the `v8` provider. It will be deprecated in the next major version. 672 - ::: 673 - 674 670 You can provide coverage options to CLI with dot notation: 675 671 676 672 ```sh ··· 683 679 684 680 #### coverage.provider 685 681 686 - - **Type:** `'c8' | 'v8' | 'istanbul' | 'custom'` 682 + - **Type:** `'v8' | 'istanbul' | 'custom'` 687 683 - **Default:** `'v8'` 688 684 - **CLI:** `--coverage.provider=<provider>` 689 685 ··· 693 689 694 690 - **Type:** `boolean` 695 691 - **Default:** `false` 696 - - **Available for providers:** `'c8' | 'v8' | 'istanbul'` 692 + - **Available for providers:** `'v8' | 'istanbul'` 697 693 - **CLI:** `--coverage.enabled`, `--coverage.enabled=false` 698 694 699 695 Enables coverage collection. Can be overridden using `--coverage` CLI option. ··· 702 698 703 699 - **Type:** `string[]` 704 700 - **Default:** `['**']` 705 - - **Available for providers:** `'c8' | 'v8' | 'istanbul'` 701 + - **Available for providers:** `'v8' | 'istanbul'` 706 702 - **CLI:** `--coverage.include=<path>`, `--coverage.include=<path1> --coverage.include=<path2>` 707 703 708 704 List of files included in coverage as glob patterns ··· 711 707 712 708 - **Type:** `string | string[]` 713 709 - **Default:** `['.js', '.cjs', '.mjs', '.ts', '.mts', '.cts', '.tsx', '.jsx', '.vue', '.svelte']` 714 - - **Available for providers:** `'c8' | 'v8' | 'istanbul'` 710 + - **Available for providers:** `'v8' | 'istanbul'` 715 711 - **CLI:** `--coverage.extension=<extension>`, `--coverage.extension=<extension1> --coverage.extension=<extension2>` 716 712 717 713 #### coverage.exclude ··· 733 729 '**/.{eslint,mocha,prettier}rc.{?(c|m)js,yml}', 734 730 ] 735 731 ``` 736 - - **Available for providers:** `'c8' | 'v8' | 'istanbul'` 732 + - **Available for providers:** `'v8' | 'istanbul'` 737 733 - **CLI:** `--coverage.exclude=<path>`, `--coverage.exclude=<path1> --coverage.exclude=<path2>` 738 734 739 735 List of files excluded from coverage as glob patterns. ··· 742 738 743 739 - **Type:** `boolean` 744 740 - **Default:** `false` 745 - - **Available for providers:** `'c8' | 'v8' | 'istanbul'` 741 + - **Available for providers:** `'v8' | 'istanbul'` 746 742 - **CLI:** `--coverage.all`, `--coverage.all=false` 747 743 748 744 Whether to include all files, including the untested ones into report. ··· 751 747 752 748 - **Type:** `boolean` 753 749 - **Default:** `true` 754 - - **Available for providers:** `'c8' | 'v8' | 'istanbul'` 750 + - **Available for providers:** `'v8' | 'istanbul'` 755 751 - **CLI:** `--coverage.clean`, `--coverage.clean=false` 756 752 757 753 Clean coverage results before running tests ··· 760 756 761 757 - **Type:** `boolean` 762 758 - **Default:** `true` 763 - - **Available for providers:** `'c8' | 'v8' | 'istanbul'` 759 + - **Available for providers:** `'v8' | 'istanbul'` 764 760 - **CLI:** `--coverage.cleanOnRerun`, `--coverage.cleanOnRerun=false` 765 761 766 762 Clean coverage report on watch rerun ··· 769 765 770 766 - **Type:** `string` 771 767 - **Default:** `'./coverage'` 772 - - **Available for providers:** `'c8' | 'v8' | 'istanbul'` 768 + - **Available for providers:** `'v8' | 'istanbul'` 773 769 - **CLI:** `--coverage.reportsDirectory=<path>` 774 770 775 771 Directory to write coverage report to. ··· 778 774 779 775 - **Type:** `string | string[] | [string, {}][]` 780 776 - **Default:** `['text', 'html', 'clover', 'json']` 781 - - **Available for providers:** `'c8' | 'v8' | 'istanbul'` 777 + - **Available for providers:** `'v8' | 'istanbul'` 782 778 - **CLI:** `--coverage.reporter=<reporter>`, `--coverage.reporter=<reporter1> --coverage.reporter=<reporter2>` 783 779 784 780 Coverage reporters to use. See [istanbul documentation](https://istanbul.js.org/docs/advanced/alternative-reporters/) for detailed list of all reporters. See [`@types/istanbul-reporter`](https://github.com/DefinitelyTyped/DefinitelyTyped/blob/276d95e4304b3670eaf6e8e5a7ea9e265a14e338/types/istanbul-reports/index.d.ts) for details about reporter specific options. ··· 805 801 806 802 - **Type:** `boolean` 807 803 - **Default:** `false` (since Vitest `0.34.0`) 808 - - **Available for providers:** `'c8' | 'v8' | 'istanbul'` 804 + - **Available for providers:** `'v8' | 'istanbul'` 809 805 - **CLI:** `--coverage.reportOnFailure`, `--coverage.reportOnFailure=false` 810 806 - **Version:** Since Vitest 0.31.2 811 807 ··· 815 811 816 812 - **Type:** `boolean` 817 813 - **Default:** `false` 818 - - **Available for providers:** `'c8' | 'v8' | 'istanbul'` 814 + - **Available for providers:** `'v8' | 'istanbul'` 819 815 - **CLI:** `--coverage.skipFull`, `--coverage.skipFull=false` 820 816 821 817 Do not show files with 100% statement, branch, and function coverage. ··· 824 820 825 821 - **Type:** `boolean` 826 822 - **Default:** `false` 827 - - **Available for providers:** `'c8' | 'v8' | 'istanbul'` 823 + - **Available for providers:** `'v8' | 'istanbul'` 828 824 - **CLI:** `--coverage.perFile`, `--coverage.perFile=false` 829 825 830 826 Check thresholds per file. ··· 834 830 835 831 - **Type:** `boolean` 836 832 - **Default:** `false` 837 - - **Available for providers:** `'c8' | 'v8' | 'istanbul'` 833 + - **Available for providers:** `'v8' | 'istanbul'` 838 834 - **CLI:** `--coverage.thresholdAutoUpdate=<boolean>` 839 835 840 836 Update threshold values `lines`, `functions`, `branches` and `statements` to configuration file when current coverage is above the configured thresholds. ··· 843 839 #### coverage.lines 844 840 845 841 - **Type:** `number` 846 - - **Available for providers:** `'c8' | 'v8' | 'istanbul'` 842 + - **Available for providers:** `'v8' | 'istanbul'` 847 843 - **CLI:** `--coverage.lines=<number>` 848 844 849 845 Threshold for lines. ··· 852 848 #### coverage.functions 853 849 854 850 - **Type:** `number` 855 - - **Available for providers:** `'c8' | 'v8' | 'istanbul'` 851 + - **Available for providers:** `'v8' | 'istanbul'` 856 852 - **CLI:** `--coverage.functions=<number>` 857 853 858 854 Threshold for functions. ··· 861 857 #### coverage.branches 862 858 863 859 - **Type:** `number` 864 - - **Available for providers:** `'c8' | 'v8' | 'istanbul'` 860 + - **Available for providers:** `'v8' | 'istanbul'` 865 861 - **CLI:** `--coverage.branches=<number>` 866 862 867 863 Threshold for branches. ··· 870 866 #### coverage.statements 871 867 872 868 - **Type:** `number` 873 - - **Available for providers:** `'c8' | 'v8' | 'istanbul'` 869 + - **Available for providers:** `'v8' | 'istanbul'` 874 870 - **CLI:** `--coverage.statements=<number>` 875 871 876 872 Threshold for statements. 877 873 See [istanbul documentation](https://github.com/istanbuljs/nyc#coverage-thresholds) for more information. 878 874 879 - #### coverage.allowExternal 880 - 881 - - **Type:** `boolean` 882 - - **Default:** `false` 883 - - **Available for providers:** `'c8'` 884 - - **CLI:** `--coverage.allowExternal`, `--coverage.allowExternal=false` 885 - 886 - Allow files from outside of your cwd. 887 - 888 - #### coverage.excludeNodeModules 889 - 890 - - **Type:** `boolean` 891 - - **Default:** `true` 892 - - **Available for providers:** `'c8'` 893 - - **CLI:** `--coverage.excludeNodeModules`, `--coverage.excludeNodeModules=false` 894 - 895 - Exclude coverage under `/node_modules/`. 896 - 897 - #### coverage.src 898 - 899 - - **Type:** `string[]` 900 - - **Default:** `process.cwd()` 901 - - **Available for providers:** `'c8'` 902 - - **CLI:** `--coverage.src=<path>` 903 - 904 - Specifies the directories that are used when `--all` is enabled. 905 - 906 875 #### coverage.100 907 876 908 877 - **Type:** `boolean` 909 878 - **Default:** `false` 910 - - **Available for providers:** `'c8' | 'v8'` 879 + - **Available for providers:** `'v8'` 911 880 - **CLI:** `--coverage.100`, `--coverage.100=false` 912 881 913 882 Shortcut for `--check-coverage --lines 100 --functions 100 --branches 100 --statements 100`. ··· 946 915 } 947 916 ``` 948 917 949 - - **Available for providers:** `'c8' | 'v8' | 'istanbul'` 918 + - **Available for providers:** `'v8' | 'istanbul'` 950 919 951 920 Watermarks for statements, lines, branches and functions. See [istanbul documentation](https://github.com/istanbuljs/nyc#high-and-low-watermarks) for more information. 952 921
-4
docs/guide/coverage.md
··· 6 6 7 7 Vitest supports Native code coverage via [`v8`](https://v8.dev/blog/javascript-code-coverage) and instrumented code coverage via [`istanbul`](https://istanbul.js.org/). 8 8 9 - :::info 10 - The `c8` provider is being replaced by the [`v8`](https://v8.dev/blog/javascript-code-coverage) provider. It will be deprecated in the next major version. 11 - ::: 12 - 13 9 ## Coverage Providers 14 10 15 11 :::tip
+1 -1
examples/react-testing-lib/package.json
··· 20 20 "@types/react": "^18.0.24", 21 21 "@types/react-dom": "^18.0.8", 22 22 "@vitejs/plugin-react": "latest", 23 - "@vitest/coverage-c8": "^0.24.5", 23 + "@vitest/coverage-v8": "latest", 24 24 "@vitest/ui": "latest", 25 25 "jsdom": "latest", 26 26 "typescript": "^4.8.4",
-59
packages/coverage-c8/package.json
··· 1 - { 2 - "name": "@vitest/coverage-c8", 3 - "type": "module", 4 - "version": "0.33.0", 5 - "description": "C8 coverage provider for Vitest", 6 - "author": "Anthony Fu <anthonyfu117@hotmail.com>", 7 - "license": "MIT", 8 - "funding": "https://opencollective.com/vitest", 9 - "homepage": "https://github.com/vitest-dev/vitest/tree/main/packages/coverage-c8#readme", 10 - "repository": { 11 - "type": "git", 12 - "url": "git+https://github.com/vitest-dev/vitest.git", 13 - "directory": "packages/coverage-c8" 14 - }, 15 - "bugs": { 16 - "url": "https://github.com/vitest-dev/vitest/issues" 17 - }, 18 - "keywords": [ 19 - "vite", 20 - "vitest", 21 - "test", 22 - "coverage", 23 - "c8" 24 - ], 25 - "sideEffects": false, 26 - "exports": { 27 - ".": { 28 - "types": "./dist/index.d.ts", 29 - "import": "./dist/index.js" 30 - }, 31 - "./*": "./*" 32 - }, 33 - "main": "./dist/index.js", 34 - "module": "./dist/index.js", 35 - "types": "./dist/index.d.ts", 36 - "files": [ 37 - "dist" 38 - ], 39 - "scripts": { 40 - "build": "rimraf dist && rollup -c", 41 - "dev": "rollup -c --watch --watch.include 'src/**'", 42 - "prepublishOnly": "pnpm build" 43 - }, 44 - "peerDependencies": { 45 - "vitest": ">=0.30.0 <1" 46 - }, 47 - "dependencies": { 48 - "@ampproject/remapping": "^2.2.1", 49 - "c8": "^7.14.0", 50 - "magic-string": "^0.30.1", 51 - "picocolors": "^1.0.0", 52 - "std-env": "^3.3.3" 53 - }, 54 - "devDependencies": { 55 - "pathe": "^1.1.1", 56 - "vite-node": "workspace:*", 57 - "vitest": "workspace:*" 58 - } 59 - }
-65
packages/coverage-c8/rollup.config.js
··· 1 - import { builtinModules } from 'node:module' 2 - import esbuild from 'rollup-plugin-esbuild' 3 - import dts from 'rollup-plugin-dts' 4 - import commonjs from '@rollup/plugin-commonjs' 5 - import json from '@rollup/plugin-json' 6 - import alias from '@rollup/plugin-alias' 7 - import nodeResolve from '@rollup/plugin-node-resolve' 8 - import { join } from 'pathe' 9 - import pkg from './package.json' assert { type: 'json' } 10 - 11 - const entries = { 12 - index: 'src/index.ts', 13 - provider: 'src/provider.ts', 14 - } 15 - 16 - const external = [ 17 - ...builtinModules, 18 - ...Object.keys(pkg.dependencies || {}), 19 - ...Object.keys(pkg.peerDependencies || {}), 20 - 'node:inspector', 21 - 'c8/lib/report.js', 22 - 'c8/lib/commands/check-coverage.js', 23 - 'vitest', 24 - 'vitest/node', 25 - 'vitest/config', 26 - 'vitest/coverage', 27 - ] 28 - 29 - const plugins = [ 30 - alias({ 31 - entries: [ 32 - { find: /^node:(.+)$/, replacement: '$1' }, 33 - ], 34 - }), 35 - nodeResolve(), 36 - json(), 37 - commonjs(), 38 - esbuild({ 39 - target: 'node14', 40 - }), 41 - ] 42 - 43 - export default () => [ 44 - { 45 - input: entries, 46 - output: { 47 - dir: 'dist', 48 - format: 'esm', 49 - }, 50 - external, 51 - plugins, 52 - }, 53 - { 54 - input: entries, 55 - output: { 56 - dir: join(process.cwd(), 'dist'), 57 - entryFileNames: '[name].d.ts', 58 - format: 'esm', 59 - }, 60 - external, 61 - plugins: [ 62 - dts({ respectExternal: true }), 63 - ], 64 - }, 65 - ]
+1 -3
test/coverage-test/package.json
··· 2 2 "name": "@vitest/test-coverage", 3 3 "private": true, 4 4 "scripts": { 5 - "test": "pnpm test:c8 && pnpm test:v8 && pnpm test:istanbul && pnpm test:custom && pnpm test:browser && pnpm test:types", 6 - "test:c8": "node ./testing.mjs --provider c8", 5 + "test": "pnpm test:v8 && pnpm test:istanbul && pnpm test:custom && pnpm test:browser && pnpm test:types", 7 6 "test:v8": "node ./testing.mjs --provider v8", 8 7 "test:custom": "node ./testing.mjs --provider custom", 9 8 "test:istanbul": "node ./testing.mjs --provider istanbul", ··· 14 13 "@types/istanbul-lib-coverage": "^2.0.4", 15 14 "@vitejs/plugin-vue": "latest", 16 15 "@vitest/browser": "workspace:*", 17 - "@vitest/coverage-c8": "workspace:*", 18 16 "@vitest/coverage-istanbul": "workspace:*", 19 17 "@vitest/coverage-v8": "workspace:*", 20 18 "@vue/test-utils": "latest",
+1 -1
test/coverage-test/testing.mjs
··· 33 33 // Run tests for checking coverage report contents. 34 34 ['coverage-report-tests', { 35 35 include: [ 36 - ['c8', 'v8', 'istanbul'].includes(provider) && './coverage-report-tests/generic.report.test.ts', 36 + ['v8', 'istanbul'].includes(provider) && './coverage-report-tests/generic.report.test.ts', 37 37 `./coverage-report-tests/${provider}.report.test.ts`, 38 38 ].filter(Boolean), 39 39 coverage: { enabled: false, clean: false },
-11
packages/coverage-c8/src/index.ts
··· 1 - import * as coverage from './takeCoverage' 2 - 3 - export default { 4 - ...coverage, 5 - async getProvider() { 6 - // to not bundle the provider 7 - const name = './provider.js' 8 - const { C8CoverageProvider } = await import(name) as typeof import('./provider') 9 - return new C8CoverageProvider() 10 - }, 11 - }
-238
packages/coverage-c8/src/provider.ts
··· 1 - import { existsSync, promises as fs } from 'node:fs' 2 - import _url from 'node:url' 3 - import type { Profiler } from 'node:inspector' 4 - import MagicString from 'magic-string' 5 - import remapping from '@ampproject/remapping' 6 - import { extname, resolve } from 'pathe' 7 - import c from 'picocolors' 8 - import { provider } from 'std-env' 9 - import type { EncodedSourceMap } from 'vite-node' 10 - import { coverageConfigDefaults } from 'vitest/config' 11 - import { BaseCoverageProvider } from 'vitest/coverage' 12 - import type { AfterSuiteRunMeta, CoverageC8Options, CoverageProvider, ReportContext, ResolvedCoverageOptions } from 'vitest' 13 - import type { Vitest } from 'vitest/node' 14 - import type { Report } from 'c8' 15 - 16 - // @ts-expect-error missing types 17 - import createReport from 'c8/lib/report.js' 18 - 19 - // @ts-expect-error missing types 20 - import { checkCoverages } from 'c8/lib/commands/check-coverage.js' 21 - 22 - type Options = ResolvedCoverageOptions<'c8'> 23 - 24 - // Note that this needs to match the line ending as well 25 - const VITE_EXPORTS_LINE_PATTERN = /Object\.defineProperty\(__vite_ssr_exports__.*\n/g 26 - 27 - export class C8CoverageProvider extends BaseCoverageProvider implements CoverageProvider { 28 - name = 'c8' 29 - 30 - ctx!: Vitest 31 - options!: Options 32 - coverages: Profiler.TakePreciseCoverageReturnType[] = [] 33 - 34 - initialize(ctx: Vitest) { 35 - const config: CoverageC8Options = ctx.config.coverage 36 - 37 - this.ctx = ctx 38 - this.options = { 39 - ...coverageConfigDefaults, 40 - 41 - // Provider specific defaults 42 - excludeNodeModules: true, 43 - allowExternal: false, 44 - 45 - // User's options 46 - ...config, 47 - 48 - // Resolved fields 49 - provider: 'c8', 50 - reporter: this.resolveReporters(config.reporter || coverageConfigDefaults.reporter), 51 - reportsDirectory: resolve(ctx.config.root, config.reportsDirectory || coverageConfigDefaults.reportsDirectory), 52 - lines: config['100'] ? 100 : config.lines, 53 - functions: config['100'] ? 100 : config.functions, 54 - branches: config['100'] ? 100 : config.branches, 55 - statements: config['100'] ? 100 : config.statements, 56 - } 57 - 58 - const banner = ' DEPRECATION ' 59 - this.ctx.logger.log( 60 - c.bgYellow(c.black((banner))), 61 - c.yellow('@vitest/coverage-c8 is being replaced by @vitest/coverage-v8.'), 62 - c.yellow(`\n${' '.repeat(banner.length)} See`), 63 - c.blue(c.underline('https://github.com/vitest-dev/vitest/pull/3339')), 64 - c.yellow('for more information.'), 65 - ) 66 - } 67 - 68 - resolveOptions() { 69 - return this.options 70 - } 71 - 72 - async clean(clean = true) { 73 - if (clean && existsSync(this.options.reportsDirectory)) 74 - await fs.rm(this.options.reportsDirectory, { recursive: true, force: true, maxRetries: 10 }) 75 - 76 - this.coverages = [] 77 - } 78 - 79 - onAfterSuiteRun({ coverage }: AfterSuiteRunMeta) { 80 - this.coverages.push(coverage as Profiler.TakePreciseCoverageReturnType) 81 - } 82 - 83 - async reportCoverage({ allTestsRun }: ReportContext = {}) { 84 - if (provider === 'stackblitz') 85 - this.ctx.logger.log(c.blue(' % ') + c.yellow('@vitest/coverage-c8 does not work on Stackblitz. Report will be empty.')) 86 - 87 - const options: ConstructorParameters<typeof Report>[0] = { 88 - ...this.options, 89 - all: this.options.all && allTestsRun, 90 - reporter: this.options.reporter.map(([reporterName]) => reporterName), 91 - reporterOptions: this.options.reporter.reduce((all, [name, options]) => ({ 92 - ...all, 93 - [name]: { 94 - skipFull: this.options.skipFull, 95 - projectRoot: this.ctx.config.root, 96 - ...options, 97 - }, 98 - }), {}), 99 - } 100 - 101 - const report = createReport(options) 102 - 103 - // Overwrite C8's loader as results are in memory instead of file system 104 - report._loadReports = () => this.coverages 105 - 106 - interface MapAndSource { map: EncodedSourceMap; source: string | undefined } 107 - type SourceMapMeta = { url: string; filepath: string } & MapAndSource 108 - 109 - // add source maps 110 - const sourceMapMeta: Record<SourceMapMeta['url'], MapAndSource> = {} 111 - const extensions = Array.isArray(this.options.extension) ? this.options.extension : [this.options.extension] 112 - 113 - const fetchCache = this.ctx.projects.map(project => 114 - Array.from(project.vitenode.fetchCache.entries()), 115 - ).flat() 116 - 117 - const entries = Array 118 - .from(fetchCache) 119 - .filter(entry => report._shouldInstrument(entry[0])) 120 - .map(([file, { result }]) => { 121 - if (!result.map) 122 - return null 123 - 124 - const filepath = file.split('?')[0] 125 - const url = _url.pathToFileURL(filepath).href 126 - const extension = extname(file) || extname(url) 127 - 128 - return { 129 - filepath, 130 - url, 131 - extension, 132 - map: result.map, 133 - source: result.code, 134 - } 135 - }) 136 - .filter((entry) => { 137 - if (!entry) 138 - return false 139 - 140 - if (!extensions.includes(entry.extension)) 141 - return false 142 - 143 - // Mappings and sourcesContent are needed for C8 to work 144 - return ( 145 - entry.map.mappings.length > 0 146 - && entry.map.sourcesContent 147 - && entry.map.sourcesContent.length > 0 148 - && entry.map.sourcesContent[0] 149 - && entry.map.sourcesContent[0].length > 0 150 - ) 151 - }) as SourceMapMeta[] 152 - 153 - await Promise.all(entries.map(async ({ url, source, map, filepath }) => { 154 - if (url in sourceMapMeta) 155 - return 156 - 157 - let code: string | undefined 158 - try { 159 - code = (await fs.readFile(filepath)).toString() 160 - } 161 - catch { } 162 - 163 - // Vite does not report full path in sourcemap sources 164 - // so use an actual file path 165 - const sources = [url] 166 - 167 - sourceMapMeta[url] = { 168 - source, 169 - map: { 170 - sourcesContent: code ? [code] : undefined, 171 - ...map, 172 - sources, 173 - }, 174 - } 175 - })) 176 - 177 - // This is a magic number. It corresponds to the amount of code 178 - // that we add in packages/vite-node/src/client.ts:114 (vm.runInThisContext) 179 - // TODO: Include our transformations in sourcemaps 180 - const offset = 185 181 - 182 - report._getSourceMap = (coverage: Profiler.ScriptCoverage) => { 183 - const path = _url.pathToFileURL(coverage.url.split('?')[0]).href 184 - const data = sourceMapMeta[path] 185 - 186 - if (!data) 187 - return {} 188 - 189 - return { 190 - sourceMap: { 191 - sourcemap: removeViteHelpersFromSourceMaps(data.source, data.map), 192 - }, 193 - source: Array(offset).fill('.').join('') + data.source, 194 - } 195 - } 196 - 197 - await report.run() 198 - await checkCoverages(options, report) 199 - 200 - if (this.options.thresholdAutoUpdate && allTestsRun) { 201 - this.updateThresholds({ 202 - coverageMap: await report.getCoverageMapFromAllCoverageFiles(), 203 - thresholds: { 204 - branches: this.options.branches, 205 - functions: this.options.functions, 206 - lines: this.options.lines, 207 - statements: this.options.statements, 208 - }, 209 - perFile: this.options.perFile, 210 - configurationFile: this.ctx.server.config.configFile, 211 - }) 212 - } 213 - } 214 - } 215 - 216 - /** 217 - * Remove generated code from the source maps: 218 - * - Vite's export helpers: e.g. `Object.defineProperty(__vite_ssr_exports__, "sum", { enumerable: true, configurable: true, get(){ return sum }});` 219 - */ 220 - function removeViteHelpersFromSourceMaps(source: string | undefined, map: EncodedSourceMap) { 221 - if (!source || !source.match(VITE_EXPORTS_LINE_PATTERN)) 222 - return map 223 - 224 - const sourceWithoutHelpers = new MagicString(source) 225 - sourceWithoutHelpers.replaceAll(VITE_EXPORTS_LINE_PATTERN, '\n') 226 - 227 - const mapWithoutHelpers = sourceWithoutHelpers.generateMap({ 228 - hires: true, 229 - }) 230 - 231 - // A merged source map where the first one excludes helpers 232 - const combinedMap = remapping( 233 - [{ ...mapWithoutHelpers, version: 3 }, map], 234 - () => null, 235 - ) 236 - 237 - return combinedMap 238 - }
-51
packages/coverage-c8/src/takeCoverage.ts
··· 1 - /* 2 - * For details about the Profiler.* messages see https://chromedevtools.github.io/devtools-protocol/v8/Profiler/ 3 - */ 4 - 5 - import inspector from 'node:inspector' 6 - import type { Profiler } from 'node:inspector' 7 - import { provider } from 'std-env' 8 - 9 - const session = new inspector.Session() 10 - 11 - export function startCoverage() { 12 - session.connect() 13 - session.post('Profiler.enable') 14 - session.post('Profiler.startPreciseCoverage', { 15 - callCount: true, 16 - detailed: true, 17 - }) 18 - } 19 - 20 - export async function takeCoverage() { 21 - return new Promise((resolve, reject) => { 22 - session.post('Profiler.takePreciseCoverage', async (error, coverage) => { 23 - if (error) 24 - return reject(error) 25 - 26 - // Reduce amount of data sent over rpc by doing some early result filtering 27 - const result = coverage.result.filter(filterResult) 28 - 29 - resolve({ result }) 30 - }) 31 - 32 - if (provider === 'stackblitz') 33 - resolve({ result: [] }) 34 - }) 35 - } 36 - 37 - export function stopCoverage() { 38 - session.post('Profiler.stopPreciseCoverage') 39 - session.post('Profiler.disable') 40 - session.disconnect() 41 - } 42 - 43 - function filterResult(coverage: Profiler.ScriptCoverage): boolean { 44 - if (!coverage.url.startsWith('file://')) 45 - return false 46 - 47 - if (coverage.url.includes('/node_modules/')) 48 - return false 49 - 50 - return true 51 - }
+1 -1
packages/vite-node/src/client.ts
··· 384 384 // Be careful when changing this 385 385 // changing context will change amount of code added on line :114 (vm.runInThisContext) 386 386 // this messes up sourcemaps for coverage 387 - // adjust `offset` variable in packages/coverage-c8/src/provider.ts#86 if you do change this 387 + // adjust `WRAPPER_LENGTH` variable in packages/coverage-v8/src/provider.ts if you do change this 388 388 const context = this.prepareContext({ 389 389 // esm transformed by Vite 390 390 __vite_ssr_import__: request,
-2
packages/vitest/src/defaults.ts
··· 34 34 exclude: defaultCoverageExcludes, 35 35 reportOnFailure: false, 36 36 reporter: [['text', {}], ['html', {}], ['clover', {}], ['json', {}]], 37 - // default extensions used by c8, plus '.vue' and '.svelte' 38 - // see https://github.com/istanbuljs/schema/blob/master/default-extension.js 39 37 extension: ['.js', '.cjs', '.mjs', '.ts', '.mts', '.cts', '.tsx', '.jsx', '.vue', '.svelte'], 40 38 } 41 39
+4 -3
test/config/test/failures.test.ts
··· 48 48 expect(stderr).toMatch('Error: You cannot use --inspect-brk without "threads: false" or "singleThread: true"') 49 49 }) 50 50 51 - test('c8 coverage provider cannot be used with browser', async () => { 52 - const { stderr } = await runVitest({ coverage: { enabled: true, provider: 'c8' }, browser: { enabled: true, name: 'chrome' } }) 51 + test('c8 coverage provider is not supported', async () => { 52 + // @ts-expect-error -- check for removed API option 53 + const { stderr } = await runVitest({ coverage: { enabled: true, provider: 'c8' } }) 53 54 54 - expect(stderr).toMatch('Error: @vitest/coverage-c8 does not work with --browser. Use @vitest/coverage-istanbul instead') 55 + expect(stderr).toMatch('Error: "coverage.provider: c8" is not supported anymore. Use "coverage.provider: v8" instead') 55 56 }) 56 57 57 58 test('v8 coverage provider cannot be used with browser', async () => {
-31
test/coverage-test/coverage-report-tests/c8.report.test.ts
··· 1 - /* 2 - * C8 coverage provider specific test cases 3 - */ 4 - 5 - import { expect, test } from 'vitest' 6 - import { readCoverageJson } from './utils' 7 - 8 - test('c8 json report', async () => { 9 - const jsonReport = await readCoverageJson() 10 - 11 - // If this fails, you can use "npx live-server@1.2.1 ./coverage" to see coverage report 12 - expect(jsonReport).toMatchSnapshot() 13 - }) 14 - 15 - test('ignored code is marked as covered in the report', async () => { 16 - const functionName = 'ignoredFunction' 17 - const filename = '<process-cwd>/src/utils.ts' 18 - 19 - const coverageMap = await readCoverageJson() 20 - const fileCoverage = coverageMap[filename] 21 - 22 - const [functionKey] = Object.entries(fileCoverage.fnMap).find(([, fn]) => fn.name === functionName)! 23 - const functionCallCount = fileCoverage.f[functionKey] 24 - 25 - // C8 marks excluded lines as covered, instead of removing them from report completely 26 - expect(functionCallCount).toBe(1) 27 - 28 - // Function should still be found from the actual sources 29 - const utils = await import('../src/utils') 30 - expect(utils[functionName]).toBeTypeOf('function') 31 - })
-27
test/coverage-test/test/configuration-options.test-d.ts
··· 7 7 type Coverage = NonNullable<Configuration['coverage']> 8 8 9 9 test('providers, built-in', () => { 10 - assertType<Coverage>({ provider: 'c8' }) 11 10 assertType<Coverage>({ provider: 'v8' }) 12 11 assertType<Coverage>({ provider: 'istanbul' }) 13 12 ··· 23 22 }) 24 23 25 24 test('provider options, generic', () => { 26 - assertType<Coverage>({ 27 - provider: 'c8', 28 - enabled: true, 29 - include: ['string'], 30 - watermarks: { 31 - functions: [80, 95], 32 - lines: [80, 95], 33 - }, 34 - }) 35 - 36 25 assertType<Coverage>({ 37 26 provider: 'v8', 38 27 enabled: true, ··· 50 39 watermarks: { 51 40 statements: [80, 95], 52 41 }, 53 - }) 54 - }) 55 - 56 - test('provider specific options, c8', () => { 57 - assertType<Coverage>({ 58 - provider: 'c8', 59 - src: ['string'], 60 - 100: true, 61 - excludeNodeModules: false, 62 - allowExternal: true, 63 - }) 64 - 65 - assertType<Coverage>({ 66 - provider: 'c8', 67 - // @ts-expect-error -- Istanbul-only option is not allowed 68 - ignoreClassMethods: ['string'], 69 42 }) 70 43 }) 71 44
+1 -2
packages/vitest/src/integrations/coverage.ts
··· 5 5 } 6 6 7 7 export const CoverageProviderMap: Record<string, string> = { 8 - c8: '@vitest/coverage-c8', 9 8 v8: '@vitest/coverage-v8', 10 9 istanbul: '@vitest/coverage-istanbul', 11 10 } ··· 16 15 17 16 const provider = options.provider 18 17 19 - if (provider === 'c8' || provider === 'v8' || provider === 'istanbul') { 18 + if (provider === 'v8' || provider === 'istanbul') { 20 19 const { default: coverageModule } = await loader.executeId(CoverageProviderMap[provider]) 21 20 22 21 if (!coverageModule)
+1 -11
packages/vitest/src/node/cli-api.ts
··· 63 63 const requiredPackages = CoverageProviderMap[provider] 64 64 65 65 if (requiredPackages) { 66 - // Remove this message once support for @vitest/coverage-c8 has been removed completely 67 - const defaultProviderInfo = 'Default coverage provider has changed from "c8" to "v8". ' 68 - + 'New package is required to be installed. ' 69 - + 'To use the old deprecated coverage provider use "--coverage.provider c8" option.\n' 70 - + 'See https://github.com/vitest-dev/vitest/pull/3339 for more information.\n\n' 71 - 72 - const isUsingDefaultProvider 73 - = ctx.server.config.test?.coverage?.provider === undefined 74 - && options.coverage?.provider === undefined 75 - 76 - if (!await ensurePackageInstalled(requiredPackages, root, isUsingDefaultProvider ? defaultProviderInfo : undefined)) { 66 + if (!await ensurePackageInstalled(requiredPackages, root)) { 77 67 process.exitCode = 1 78 68 return ctx 79 69 }
+1 -4
packages/vitest/src/node/cli.ts
··· 3 3 import c from 'picocolors' 4 4 import { version } from '../../package.json' 5 5 import { toArray } from '../utils' 6 - import type { BaseCoverageOptions, CoverageC8Options, CoverageIstanbulOptions, Vitest, VitestRunMode } from '../types' 6 + import type { BaseCoverageOptions, CoverageIstanbulOptions, Vitest, VitestRunMode } from '../types' 7 7 import type { CliOptions } from './cli-api' 8 8 import { startVitest } from './cli-api' 9 9 import { divider } from './reporters/renderers/utils' ··· 159 159 160 160 if ((coverage as CoverageIstanbulOptions).ignoreClassMethods) 161 161 (coverage as CoverageIstanbulOptions).ignoreClassMethods = toArray((coverage as CoverageIstanbulOptions).ignoreClassMethods) 162 - 163 - if ((coverage as CoverageC8Options).src) 164 - (coverage as CoverageC8Options).src = toArray((coverage as CoverageC8Options).src) 165 162 } 166 163 return argv 167 164 }
+3 -2
packages/vitest/src/node/config.ts
··· 117 117 } 118 118 } 119 119 120 - if (resolved.coverage.provider === 'c8' && resolved.coverage.enabled && isBrowserEnabled(resolved)) 121 - throw new Error('@vitest/coverage-c8 does not work with --browser. Use @vitest/coverage-istanbul instead') 120 + // @ts-expect-error -- check for removed API option 121 + if (resolved.coverage.provider === 'c8') 122 + throw new Error('"coverage.provider: c8" is not supported anymore. Use "coverage.provider: v8" instead') 122 123 123 124 if (resolved.coverage.provider === 'v8' && resolved.coverage.enabled && isBrowserEnabled(resolved)) 124 125 throw new Error('@vitest/coverage-v8 does not work with --browser. Use @vitest/coverage-istanbul instead')
-4
packages/vitest/src/node/pkg.ts
··· 9 9 export async function ensurePackageInstalled( 10 10 dependency: string, 11 11 root: string, 12 - errorMessage?: string, 13 12 ) { 14 13 if (isPackageExists(dependency, { paths: [root, __dirname] })) 15 14 return true 16 15 17 16 const promptInstall = !isCI && process.stdout.isTTY 18 - 19 - if (errorMessage) 20 - process.stderr.write(c.red(errorMessage)) 21 17 22 18 process.stderr.write(c.red(`${c.inverse(c.red(' MISSING DEP '))} Can not find dependency '${dependency}'\n\n`)) 23 19
+4 -35
packages/vitest/src/types/coverage.ts
··· 61 61 : [ReporterName, Partial<ReportOptions[ReporterName]>] 62 62 : never 63 63 64 - type Provider = 'c8' | 'v8' | 'istanbul' | 'custom' | undefined 64 + type Provider = 'v8' | 'istanbul' | 'custom' | undefined 65 65 66 66 export type CoverageOptions<T extends Provider = Provider> = 67 67 T extends 'istanbul' ? ({ provider: T } & CoverageIstanbulOptions) : 68 - T extends 'c8' ? ({ provider: T } & CoverageC8Options) : 69 - T extends 'v8' ? ({ provider: T } & CoverageV8Options) : 70 - T extends 'custom' ? ({ provider: T } & CustomProviderOptions) : 71 - ({ provider?: T } & (CoverageC8Options)) 68 + T extends 'v8' ? ({ provider: T } & CoverageV8Options) : 69 + T extends 'custom' ? ({ provider: T } & CustomProviderOptions) : 70 + ({ provider?: T } & (CoverageV8Options)) 72 71 73 72 /** Fields that have default values. Internally these will always be defined. */ 74 73 type FieldsWithDefaultValues = ··· 226 225 * @default [] 227 226 */ 228 227 ignoreClassMethods?: string[] 229 - } 230 - 231 - export interface CoverageC8Options extends BaseCoverageOptions { 232 - /** 233 - * Allow files from outside of your cwd. 234 - * 235 - * @default false 236 - */ 237 - allowExternal?: boolean 238 - 239 - /** 240 - * Exclude coverage under `/node_modules/` 241 - * 242 - * @default true 243 - */ 244 - excludeNodeModules?: boolean 245 - 246 - /** 247 - * Specifies the directories that are used when `--all` is enabled. 248 - * 249 - * @default cwd 250 - */ 251 - src?: string[] 252 - 253 - /** 254 - * Shortcut for `--check-coverage --lines 100 --functions 100 --branches 100 --statements 100` 255 - * 256 - * @default false 257 - */ 258 - 100?: boolean 259 228 } 260 229 261 230 export interface CoverageV8Options extends BaseCoverageOptions {
-4230
test/coverage-test/coverage-report-tests/__snapshots__/c8.report.test.ts.snap
··· 1 - // Vitest Snapshot v1, https://vitest.dev/guide/snapshot.html 2 - 3 - exports[`c8 json report 1`] = ` 4 - { 5 - "<process-cwd>/src/Counter/Counter.component.ts": { 6 - "all": false, 7 - "b": { 8 - "0": [ 9 - 1, 10 - ], 11 - "1": [ 12 - 2, 13 - ], 14 - }, 15 - "branchMap": { 16 - "0": { 17 - "line": 6, 18 - "loc": { 19 - "end": { 20 - "column": 4, 21 - "line": 9, 22 - }, 23 - "start": { 24 - "column": 2, 25 - "line": 6, 26 - }, 27 - }, 28 - "locations": [ 29 - { 30 - "end": { 31 - "column": 4, 32 - "line": 9, 33 - }, 34 - "start": { 35 - "column": 2, 36 - "line": 6, 37 - }, 38 - }, 39 - ], 40 - "type": "branch", 41 - }, 42 - "1": { 43 - "line": 16, 44 - "loc": { 45 - "end": { 46 - "column": 6, 47 - "line": 18, 48 - }, 49 - "start": { 50 - "column": 4, 51 - "line": 16, 52 - }, 53 - }, 54 - "locations": [ 55 - { 56 - "end": { 57 - "column": 6, 58 - "line": 18, 59 - }, 60 - "start": { 61 - "column": 4, 62 - "line": 16, 63 - }, 64 - }, 65 - ], 66 - "type": "branch", 67 - }, 68 - }, 69 - "f": { 70 - "0": 1, 71 - "1": 0, 72 - "2": 2, 73 - "3": 0, 74 - }, 75 - "fnMap": { 76 - "0": { 77 - "decl": { 78 - "end": { 79 - "column": 4, 80 - "line": 9, 81 - }, 82 - "start": { 83 - "column": 2, 84 - "line": 6, 85 - }, 86 - }, 87 - "line": 6, 88 - "loc": { 89 - "end": { 90 - "column": 4, 91 - "line": 9, 92 - }, 93 - "start": { 94 - "column": 2, 95 - "line": 6, 96 - }, 97 - }, 98 - "name": "setup", 99 - }, 100 - "1": { 101 - "decl": { 102 - "end": { 103 - "column": 6, 104 - "line": 14, 105 - }, 106 - "start": { 107 - "column": 4, 108 - "line": 12, 109 - }, 110 - }, 111 - "line": 12, 112 - "loc": { 113 - "end": { 114 - "column": 6, 115 - "line": 14, 116 - }, 117 - "start": { 118 - "column": 4, 119 - "line": 12, 120 - }, 121 - }, 122 - "name": "uncoveredMethod", 123 - }, 124 - "2": { 125 - "decl": { 126 - "end": { 127 - "column": 6, 128 - "line": 18, 129 - }, 130 - "start": { 131 - "column": 4, 132 - "line": 16, 133 - }, 134 - }, 135 - "line": 16, 136 - "loc": { 137 - "end": { 138 - "column": 6, 139 - "line": 18, 140 - }, 141 - "start": { 142 - "column": 4, 143 - "line": 16, 144 - }, 145 - }, 146 - "name": "coveredMethod", 147 - }, 148 - "3": { 149 - "decl": { 150 - "end": { 151 - "column": 6, 152 - "line": 22, 153 - }, 154 - "start": { 155 - "column": 4, 156 - "line": 20, 157 - }, 158 - }, 159 - "line": 20, 160 - "loc": { 161 - "end": { 162 - "column": 6, 163 - "line": 22, 164 - }, 165 - "start": { 166 - "column": 4, 167 - "line": 20, 168 - }, 169 - }, 170 - "name": "uncoveredMethodUsingImportMeta", 171 - }, 172 - }, 173 - "path": "<process-cwd>/src/Counter/Counter.component.ts", 174 - "s": { 175 - "0": 1, 176 - "1": 1, 177 - "10": 1, 178 - "11": 1, 179 - "12": 0, 180 - "13": 0, 181 - "14": 1, 182 - "15": 1, 183 - "16": 2, 184 - "17": 2, 185 - "18": 1, 186 - "19": 1, 187 - "2": 1, 188 - "20": 0, 189 - "21": 0, 190 - "22": 1, 191 - "23": 1, 192 - "3": 1, 193 - "4": 1, 194 - "5": 1, 195 - "6": 1, 196 - "7": 1, 197 - "8": 1, 198 - "9": 1, 199 - }, 200 - "statementMap": { 201 - "0": { 202 - "end": { 203 - "column": 42, 204 - "line": 1, 205 - }, 206 - "start": { 207 - "column": 0, 208 - "line": 1, 209 - }, 210 - }, 211 - "1": { 212 - "end": { 213 - "column": 0, 214 - "line": 2, 215 - }, 216 - "start": { 217 - "column": 0, 218 - "line": 2, 219 - }, 220 - }, 221 - "10": { 222 - "end": { 223 - "column": 12, 224 - "line": 11, 225 - }, 226 - "start": { 227 - "column": 0, 228 - "line": 11, 229 - }, 230 - }, 231 - "11": { 232 - "end": { 233 - "column": 23, 234 - "line": 12, 235 - }, 236 - "start": { 237 - "column": 0, 238 - "line": 12, 239 - }, 240 - }, 241 - "12": { 242 - "end": { 243 - "column": 46, 244 - "line": 13, 245 - }, 246 - "start": { 247 - "column": 0, 248 - "line": 13, 249 - }, 250 - }, 251 - "13": { 252 - "end": { 253 - "column": 6, 254 - "line": 14, 255 - }, 256 - "start": { 257 - "column": 0, 258 - "line": 14, 259 - }, 260 - }, 261 - "14": { 262 - "end": { 263 - "column": 0, 264 - "line": 15, 265 - }, 266 - "start": { 267 - "column": 0, 268 - "line": 15, 269 - }, 270 - }, 271 - "15": { 272 - "end": { 273 - "column": 21, 274 - "line": 16, 275 - }, 276 - "start": { 277 - "column": 0, 278 - "line": 16, 279 - }, 280 - }, 281 - "16": { 282 - "end": { 283 - "column": 42, 284 - "line": 17, 285 - }, 286 - "start": { 287 - "column": 0, 288 - "line": 17, 289 - }, 290 - }, 291 - "17": { 292 - "end": { 293 - "column": 6, 294 - "line": 18, 295 - }, 296 - "start": { 297 - "column": 0, 298 - "line": 18, 299 - }, 300 - }, 301 - "18": { 302 - "end": { 303 - "column": 0, 304 - "line": 19, 305 - }, 306 - "start": { 307 - "column": 0, 308 - "line": 19, 309 - }, 310 - }, 311 - "19": { 312 - "end": { 313 - "column": 38, 314 - "line": 20, 315 - }, 316 - "start": { 317 - "column": 0, 318 - "line": 20, 319 - }, 320 - }, 321 - "2": { 322 - "end": { 323 - "column": 32, 324 - "line": 3, 325 - }, 326 - "start": { 327 - "column": 0, 328 - "line": 3, 329 - }, 330 - }, 331 - "20": { 332 - "end": { 333 - "column": 94, 334 - "line": 21, 335 - }, 336 - "start": { 337 - "column": 0, 338 - "line": 21, 339 - }, 340 - }, 341 - "21": { 342 - "end": { 343 - "column": 6, 344 - "line": 22, 345 - }, 346 - "start": { 347 - "column": 0, 348 - "line": 22, 349 - }, 350 - }, 351 - "22": { 352 - "end": { 353 - "column": 4, 354 - "line": 23, 355 - }, 356 - "start": { 357 - "column": 0, 358 - "line": 23, 359 - }, 360 - }, 361 - "23": { 362 - "end": { 363 - "column": 2, 364 - "line": 24, 365 - }, 366 - "start": { 367 - "column": 0, 368 - "line": 24, 369 - }, 370 - }, 371 - "3": { 372 - "end": { 373 - "column": 18, 374 - "line": 4, 375 - }, 376 - "start": { 377 - "column": 0, 378 - "line": 4, 379 - }, 380 - }, 381 - "4": { 382 - "end": { 383 - "column": 0, 384 - "line": 5, 385 - }, 386 - "start": { 387 - "column": 0, 388 - "line": 5, 389 - }, 390 - }, 391 - "5": { 392 - "end": { 393 - "column": 11, 394 - "line": 6, 395 - }, 396 - "start": { 397 - "column": 0, 398 - "line": 6, 399 - }, 400 - }, 401 - "6": { 402 - "end": { 403 - "column": 24, 404 - "line": 7, 405 - }, 406 - "start": { 407 - "column": 0, 408 - "line": 7, 409 - }, 410 - }, 411 - "7": { 412 - "end": { 413 - "column": 20, 414 - "line": 8, 415 - }, 416 - "start": { 417 - "column": 0, 418 - "line": 8, 419 - }, 420 - }, 421 - "8": { 422 - "end": { 423 - "column": 4, 424 - "line": 9, 425 - }, 426 - "start": { 427 - "column": 0, 428 - "line": 9, 429 - }, 430 - }, 431 - "9": { 432 - "end": { 433 - "column": 0, 434 - "line": 10, 435 - }, 436 - "start": { 437 - "column": 0, 438 - "line": 10, 439 - }, 440 - }, 441 - }, 442 - }, 443 - "<process-cwd>/src/Counter/Counter.vue": { 444 - "all": false, 445 - "b": { 446 - "0": [ 447 - 1, 448 - ], 449 - "1": [ 450 - 1, 451 - ], 452 - }, 453 - "branchMap": { 454 - "0": { 455 - "line": 8, 456 - "loc": { 457 - "end": { 458 - "column": 25, 459 - "line": 8, 460 - }, 461 - "start": { 462 - "column": 18, 463 - "line": 8, 464 - }, 465 - }, 466 - "locations": [ 467 - { 468 - "end": { 469 - "column": 25, 470 - "line": 8, 471 - }, 472 - "start": { 473 - "column": 18, 474 - "line": 8, 475 - }, 476 - }, 477 - ], 478 - "type": "branch", 479 - }, 480 - "1": { 481 - "line": 8, 482 - "loc": { 483 - "end": { 484 - "column": 25, 485 - "line": 8, 486 - }, 487 - "start": { 488 - "column": 18, 489 - "line": 8, 490 - }, 491 - }, 492 - "locations": [ 493 - { 494 - "end": { 495 - "column": 25, 496 - "line": 8, 497 - }, 498 - "start": { 499 - "column": 18, 500 - "line": 8, 501 - }, 502 - }, 503 - ], 504 - "type": "branch", 505 - }, 506 - }, 507 - "f": { 508 - "0": 1, 509 - }, 510 - "fnMap": { 511 - "0": { 512 - "decl": { 513 - "end": { 514 - "column": 25, 515 - "line": 8, 516 - }, 517 - "start": { 518 - "column": 18, 519 - "line": 8, 520 - }, 521 - }, 522 - "line": 8, 523 - "loc": { 524 - "end": { 525 - "column": 25, 526 - "line": 8, 527 - }, 528 - "start": { 529 - "column": 18, 530 - "line": 8, 531 - }, 532 - }, 533 - "name": "__vite_ssr_import_1__.createElementBlock.__vite_ssr_import_1__.createElementVNode.onClick._cache.<computed>._cache.<computed>", 534 - }, 535 - }, 536 - "path": "<process-cwd>/src/Counter/Counter.vue", 537 - "s": { 538 - "0": 1, 539 - "1": 1, 540 - "10": 1, 541 - "11": 1, 542 - "12": 1, 543 - "13": 1, 544 - "2": 1, 545 - "3": 1, 546 - "4": 1, 547 - "5": 1, 548 - "6": 1, 549 - "7": 1, 550 - "8": 1, 551 - "9": 1, 552 - }, 553 - "statementMap": { 554 - "0": { 555 - "end": { 556 - "column": 56, 557 - "line": 1, 558 - }, 559 - "start": { 560 - "column": 0, 561 - "line": 1, 562 - }, 563 - }, 564 - "1": { 565 - "end": { 566 - "column": 0, 567 - "line": 2, 568 - }, 569 - "start": { 570 - "column": 0, 571 - "line": 2, 572 - }, 573 - }, 574 - "10": { 575 - "end": { 576 - "column": 14, 577 - "line": 11, 578 - }, 579 - "start": { 580 - "column": 0, 581 - "line": 11, 582 - }, 583 - }, 584 - "11": { 585 - "end": { 586 - "column": 25, 587 - "line": 12, 588 - }, 589 - "start": { 590 - "column": 0, 591 - "line": 12, 592 - }, 593 - }, 594 - "12": { 595 - "end": { 596 - "column": 8, 597 - "line": 13, 598 - }, 599 - "start": { 600 - "column": 0, 601 - "line": 13, 602 - }, 603 - }, 604 - "13": { 605 - "end": { 606 - "column": 11, 607 - "line": 14, 608 - }, 609 - "start": { 610 - "column": 0, 611 - "line": 14, 612 - }, 613 - }, 614 - "2": { 615 - "end": { 616 - "column": 10, 617 - "line": 3, 618 - }, 619 - "start": { 620 - "column": 0, 621 - "line": 3, 622 - }, 623 - }, 624 - "3": { 625 - "end": { 626 - "column": 27, 627 - "line": 4, 628 - }, 629 - "start": { 630 - "column": 0, 631 - "line": 4, 632 - }, 633 - }, 634 - "4": { 635 - "end": { 636 - "column": 15, 637 - "line": 5, 638 - }, 639 - "start": { 640 - "column": 0, 641 - "line": 5, 642 - }, 643 - }, 644 - "5": { 645 - "end": { 646 - "column": 11, 647 - "line": 6, 648 - }, 649 - "start": { 650 - "column": 0, 651 - "line": 6, 652 - }, 653 - }, 654 - "6": { 655 - "end": { 656 - "column": 0, 657 - "line": 7, 658 - }, 659 - "start": { 660 - "column": 0, 661 - "line": 7, 662 - }, 663 - }, 664 - "7": { 665 - "end": { 666 - "column": 25, 667 - "line": 8, 668 - }, 669 - "start": { 670 - "column": 0, 671 - "line": 8, 672 - }, 673 - }, 674 - "8": { 675 - "end": { 676 - "column": 27, 677 - "line": 9, 678 - }, 679 - "start": { 680 - "column": 0, 681 - "line": 9, 682 - }, 683 - }, 684 - "9": { 685 - "end": { 686 - "column": 8, 687 - "line": 10, 688 - }, 689 - "start": { 690 - "column": 0, 691 - "line": 10, 692 - }, 693 - }, 694 - }, 695 - }, 696 - "<process-cwd>/src/Counter/index.ts": { 697 - "all": false, 698 - "b": {}, 699 - "branchMap": {}, 700 - "f": {}, 701 - "fnMap": {}, 702 - "path": "<process-cwd>/src/Counter/index.ts", 703 - "s": { 704 - "0": 1, 705 - "1": 1, 706 - "2": 1, 707 - "3": 1, 708 - }, 709 - "statementMap": { 710 - "0": { 711 - "end": { 712 - "column": 50, 713 - "line": 1, 714 - }, 715 - "start": { 716 - "column": 0, 717 - "line": 1, 718 - }, 719 - }, 720 - "1": { 721 - "end": { 722 - "column": 38, 723 - "line": 2, 724 - }, 725 - "start": { 726 - "column": 0, 727 - "line": 2, 728 - }, 729 - }, 730 - "2": { 731 - "end": { 732 - "column": 0, 733 - "line": 3, 734 - }, 735 - "start": { 736 - "column": 0, 737 - "line": 3, 738 - }, 739 - }, 740 - "3": { 741 - "end": { 742 - "column": 39, 743 - "line": 4, 744 - }, 745 - "start": { 746 - "column": 0, 747 - "line": 4, 748 - }, 749 - }, 750 - }, 751 - }, 752 - "<process-cwd>/src/Defined.vue": { 753 - "all": false, 754 - "b": { 755 - "0": [ 756 - 0, 757 - ], 758 - }, 759 - "branchMap": { 760 - "0": { 761 - "line": 6, 762 - "loc": { 763 - "end": { 764 - "column": 36, 765 - "line": 8, 766 - }, 767 - "start": { 768 - "column": 33, 769 - "line": 6, 770 - }, 771 - }, 772 - "locations": [ 773 - { 774 - "end": { 775 - "column": 36, 776 - "line": 8, 777 - }, 778 - "start": { 779 - "column": 33, 780 - "line": 6, 781 - }, 782 - }, 783 - ], 784 - "type": "branch", 785 - }, 786 - }, 787 - "f": {}, 788 - "fnMap": {}, 789 - "path": "<process-cwd>/src/Defined.vue", 790 - "s": { 791 - "0": 1, 792 - "1": 1, 793 - "10": 1, 794 - "11": 1, 795 - "12": 1, 796 - "13": 1, 797 - "14": 1, 798 - "15": 1, 799 - "16": 1, 800 - "17": 1, 801 - "18": 1, 802 - "19": 1, 803 - "2": 1, 804 - "3": 1, 805 - "4": 1, 806 - "5": 1, 807 - "6": 0, 808 - "7": 0, 809 - "8": 1, 810 - "9": 1, 811 - }, 812 - "statementMap": { 813 - "0": { 814 - "end": { 815 - "column": 24, 816 - "line": 1, 817 - }, 818 - "start": { 819 - "column": 0, 820 - "line": 1, 821 - }, 822 - }, 823 - "1": { 824 - "end": { 825 - "column": 27, 826 - "line": 2, 827 - }, 828 - "start": { 829 - "column": 0, 830 - "line": 2, 831 - }, 832 - }, 833 - "10": { 834 - "end": { 835 - "column": 10, 836 - "line": 11, 837 - }, 838 - "start": { 839 - "column": 0, 840 - "line": 11, 841 - }, 842 - }, 843 - "11": { 844 - "end": { 845 - "column": 15, 846 - "line": 12, 847 - }, 848 - "start": { 849 - "column": 0, 850 - "line": 12, 851 - }, 852 - }, 853 - "12": { 854 - "end": { 855 - "column": 11, 856 - "line": 13, 857 - }, 858 - "start": { 859 - "column": 0, 860 - "line": 13, 861 - }, 862 - }, 863 - "13": { 864 - "end": { 865 - "column": 0, 866 - "line": 14, 867 - }, 868 - "start": { 869 - "column": 0, 870 - "line": 14, 871 - }, 872 - }, 873 - "14": { 874 - "end": { 875 - "column": 90, 876 - "line": 15, 877 - }, 878 - "start": { 879 - "column": 0, 880 - "line": 15, 881 - }, 882 - }, 883 - "15": { 884 - "end": { 885 - "column": 25, 886 - "line": 16, 887 - }, 888 - "start": { 889 - "column": 0, 890 - "line": 16, 891 - }, 892 - }, 893 - "16": { 894 - "end": { 895 - "column": 6, 896 - "line": 17, 897 - }, 898 - "start": { 899 - "column": 0, 900 - "line": 17, 901 - }, 902 - }, 903 - "17": { 904 - "end": { 905 - "column": 25, 906 - "line": 18, 907 - }, 908 - "start": { 909 - "column": 0, 910 - "line": 18, 911 - }, 912 - }, 913 - "18": { 914 - "end": { 915 - "column": 1, 916 - "line": 19, 917 - }, 918 - "start": { 919 - "column": 0, 920 - "line": 19, 921 - }, 922 - }, 923 - "19": { 924 - "end": { 925 - "column": 8, 926 - "line": 20, 927 - }, 928 - "start": { 929 - "column": 0, 930 - "line": 20, 931 - }, 932 - }, 933 - "2": { 934 - "end": { 935 - "column": 0, 936 - "line": 3, 937 - }, 938 - "start": { 939 - "column": 0, 940 - "line": 3, 941 - }, 942 - }, 943 - "3": { 944 - "end": { 945 - "column": 31, 946 - "line": 4, 947 - }, 948 - "start": { 949 - "column": 0, 950 - "line": 4, 951 - }, 952 - }, 953 - "4": { 954 - "end": { 955 - "column": 12, 956 - "line": 5, 957 - }, 958 - "start": { 959 - "column": 0, 960 - "line": 5, 961 - }, 962 - }, 963 - "5": { 964 - "end": { 965 - "column": 34, 966 - "line": 6, 967 - }, 968 - "start": { 969 - "column": 0, 970 - "line": 6, 971 - }, 972 - }, 973 - "6": { 974 - "end": { 975 - "column": 4, 976 - "line": 7, 977 - }, 978 - "start": { 979 - "column": 0, 980 - "line": 7, 981 - }, 982 - }, 983 - "7": { 984 - "end": { 985 - "column": 36, 986 - "line": 8, 987 - }, 988 - "start": { 989 - "column": 0, 990 - "line": 8, 991 - }, 992 - }, 993 - "8": { 994 - "end": { 995 - "column": 9, 996 - "line": 9, 997 - }, 998 - "start": { 999 - "column": 0, 1000 - "line": 9, 1001 - }, 1002 - }, 1003 - "9": { 1004 - "end": { 1005 - "column": 0, 1006 - "line": 10, 1007 - }, 1008 - "start": { 1009 - "column": 0, 1010 - "line": 10, 1011 - }, 1012 - }, 1013 - }, 1014 - }, 1015 - "<process-cwd>/src/Hello.vue": { 1016 - "all": false, 1017 - "b": { 1018 - "0": [ 1019 - 3, 1020 - ], 1021 - }, 1022 - "branchMap": { 1023 - "0": { 1024 - "line": 7, 1025 - "loc": { 1026 - "end": { 1027 - "column": 55, 1028 - "line": 7, 1029 - }, 1030 - "start": { 1031 - "column": 24, 1032 - "line": 7, 1033 - }, 1034 - }, 1035 - "locations": [ 1036 - { 1037 - "end": { 1038 - "column": 55, 1039 - "line": 7, 1040 - }, 1041 - "start": { 1042 - "column": 24, 1043 - "line": 7, 1044 - }, 1045 - }, 1046 - ], 1047 - "type": "branch", 1048 - }, 1049 - }, 1050 - "f": {}, 1051 - "fnMap": {}, 1052 - "path": "<process-cwd>/src/Hello.vue", 1053 - "s": { 1054 - "0": 1, 1055 - "1": 1, 1056 - "10": 1, 1057 - "11": 1, 1058 - "12": 1, 1059 - "13": 1, 1060 - "14": 1, 1061 - "15": 1, 1062 - "16": 1, 1063 - "2": 1, 1064 - "3": 1, 1065 - "4": 1, 1066 - "5": 1, 1067 - "6": 1, 1068 - "7": 1, 1069 - "8": 1, 1070 - "9": 1, 1071 - }, 1072 - "statementMap": { 1073 - "0": { 1074 - "end": { 1075 - "column": 24, 1076 - "line": 1, 1077 - }, 1078 - "start": { 1079 - "column": 0, 1080 - "line": 1, 1081 - }, 1082 - }, 1083 - "1": { 1084 - "end": { 1085 - "column": 35, 1086 - "line": 2, 1087 - }, 1088 - "start": { 1089 - "column": 0, 1090 - "line": 2, 1091 - }, 1092 - }, 1093 - "10": { 1094 - "end": { 1095 - "column": 0, 1096 - "line": 11, 1097 - }, 1098 - "start": { 1099 - "column": 0, 1100 - "line": 11, 1101 - }, 1102 - }, 1103 - "11": { 1104 - "end": { 1105 - "column": 10, 1106 - "line": 12, 1107 - }, 1108 - "start": { 1109 - "column": 0, 1110 - "line": 12, 1111 - }, 1112 - }, 1113 - "12": { 1114 - "end": { 1115 - "column": 53, 1116 - "line": 13, 1117 - }, 1118 - "start": { 1119 - "column": 0, 1120 - "line": 13, 1121 - }, 1122 - }, 1123 - "13": { 1124 - "end": { 1125 - "column": 30, 1126 - "line": 14, 1127 - }, 1128 - "start": { 1129 - "column": 0, 1130 - "line": 14, 1131 - }, 1132 - }, 1133 - "14": { 1134 - "end": { 1135 - "column": 6, 1136 - "line": 15, 1137 - }, 1138 - "start": { 1139 - "column": 0, 1140 - "line": 15, 1141 - }, 1142 - }, 1143 - "15": { 1144 - "end": { 1145 - "column": 11, 1146 - "line": 16, 1147 - }, 1148 - "start": { 1149 - "column": 0, 1150 - "line": 16, 1151 - }, 1152 - }, 1153 - "16": { 1154 - "end": { 1155 - "column": 11, 1156 - "line": 17, 1157 - }, 1158 - "start": { 1159 - "column": 0, 1160 - "line": 17, 1161 - }, 1162 - }, 1163 - "2": { 1164 - "end": { 1165 - "column": 0, 1166 - "line": 3, 1167 - }, 1168 - "start": { 1169 - "column": 0, 1170 - "line": 3, 1171 - }, 1172 - }, 1173 - "3": { 1174 - "end": { 1175 - "column": 46, 1176 - "line": 4, 1177 - }, 1178 - "start": { 1179 - "column": 0, 1180 - "line": 4, 1181 - }, 1182 - }, 1183 - "4": { 1184 - "end": { 1185 - "column": 0, 1186 - "line": 5, 1187 - }, 1188 - "start": { 1189 - "column": 0, 1190 - "line": 5, 1191 - }, 1192 - }, 1193 - "5": { 1194 - "end": { 1195 - "column": 20, 1196 - "line": 6, 1197 - }, 1198 - "start": { 1199 - "column": 0, 1200 - "line": 6, 1201 - }, 1202 - }, 1203 - "6": { 1204 - "end": { 1205 - "column": 56, 1206 - "line": 7, 1207 - }, 1208 - "start": { 1209 - "column": 0, 1210 - "line": 7, 1211 - }, 1212 - }, 1213 - "7": { 1214 - "end": { 1215 - "column": 0, 1216 - "line": 8, 1217 - }, 1218 - "start": { 1219 - "column": 0, 1220 - "line": 8, 1221 - }, 1222 - }, 1223 - "8": { 1224 - "end": { 1225 - "column": 19, 1226 - "line": 9, 1227 - }, 1228 - "start": { 1229 - "column": 0, 1230 - "line": 9, 1231 - }, 1232 - }, 1233 - "9": { 1234 - "end": { 1235 - "column": 9, 1236 - "line": 10, 1237 - }, 1238 - "start": { 1239 - "column": 0, 1240 - "line": 10, 1241 - }, 1242 - }, 1243 - }, 1244 - }, 1245 - "<process-cwd>/src/dynamic-file-esm.ignore.mjs": { 1246 - "all": false, 1247 - "b": { 1248 - "0": [ 1249 - 1, 1250 - ], 1251 - }, 1252 - "branchMap": { 1253 - "0": { 1254 - "line": 2, 1255 - "loc": { 1256 - "end": { 1257 - "column": 1, 1258 - "line": 4, 1259 - }, 1260 - "start": { 1261 - "column": 7, 1262 - "line": 2, 1263 - }, 1264 - }, 1265 - "locations": [ 1266 - { 1267 - "end": { 1268 - "column": 1, 1269 - "line": 4, 1270 - }, 1271 - "start": { 1272 - "column": 7, 1273 - "line": 2, 1274 - }, 1275 - }, 1276 - ], 1277 - "type": "branch", 1278 - }, 1279 - }, 1280 - "f": { 1281 - "0": 1, 1282 - "1": 0, 1283 - }, 1284 - "fnMap": { 1285 - "0": { 1286 - "decl": { 1287 - "end": { 1288 - "column": 1, 1289 - "line": 4, 1290 - }, 1291 - "start": { 1292 - "column": 7, 1293 - "line": 2, 1294 - }, 1295 - }, 1296 - "line": 2, 1297 - "loc": { 1298 - "end": { 1299 - "column": 1, 1300 - "line": 4, 1301 - }, 1302 - "start": { 1303 - "column": 7, 1304 - "line": 2, 1305 - }, 1306 - }, 1307 - "name": "run", 1308 - }, 1309 - "1": { 1310 - "decl": { 1311 - "end": { 1312 - "column": 23, 1313 - "line": 5, 1314 - }, 1315 - "start": { 1316 - "column": 0, 1317 - "line": 5, 1318 - }, 1319 - }, 1320 - "line": 5, 1321 - "loc": { 1322 - "end": { 1323 - "column": 23, 1324 - "line": 5, 1325 - }, 1326 - "start": { 1327 - "column": 0, 1328 - "line": 5, 1329 - }, 1330 - }, 1331 - "name": "uncovered", 1332 - }, 1333 - }, 1334 - "path": "<process-cwd>/src/dynamic-file-esm.ignore.mjs", 1335 - "s": { 1336 - "0": 1, 1337 - "1": 1, 1338 - "2": 1, 1339 - "3": 1, 1340 - "4": 0, 1341 - }, 1342 - "statementMap": { 1343 - "0": { 1344 - "end": { 1345 - "column": 53, 1346 - "line": 1, 1347 - }, 1348 - "start": { 1349 - "column": 0, 1350 - "line": 1, 1351 - }, 1352 - }, 1353 - "1": { 1354 - "end": { 1355 - "column": 23, 1356 - "line": 2, 1357 - }, 1358 - "start": { 1359 - "column": 0, 1360 - "line": 2, 1361 - }, 1362 - }, 1363 - "2": { 1364 - "end": { 1365 - "column": 23, 1366 - "line": 3, 1367 - }, 1368 - "start": { 1369 - "column": 0, 1370 - "line": 3, 1371 - }, 1372 - }, 1373 - "3": { 1374 - "end": { 1375 - "column": 1, 1376 - "line": 4, 1377 - }, 1378 - "start": { 1379 - "column": 0, 1380 - "line": 4, 1381 - }, 1382 - }, 1383 - "4": { 1384 - "end": { 1385 - "column": 23, 1386 - "line": 5, 1387 - }, 1388 - "start": { 1389 - "column": 0, 1390 - "line": 5, 1391 - }, 1392 - }, 1393 - }, 1394 - }, 1395 - "<process-cwd>/src/dynamic-files.ts": { 1396 - "all": false, 1397 - "b": { 1398 - "0": [ 1399 - 1, 1400 - ], 1401 - "1": [ 1402 - 0, 1403 - ], 1404 - "2": [ 1405 - 0, 1406 - ], 1407 - "3": [ 1408 - 1, 1409 - ], 1410 - "4": [ 1411 - 0, 1412 - ], 1413 - "5": [ 1414 - 0, 1415 - ], 1416 - }, 1417 - "branchMap": { 1418 - "0": { 1419 - "line": 5, 1420 - "loc": { 1421 - "end": { 1422 - "column": 1, 1423 - "line": 25, 1424 - }, 1425 - "start": { 1426 - "column": 0, 1427 - "line": 5, 1428 - }, 1429 - }, 1430 - "locations": [ 1431 - { 1432 - "end": { 1433 - "column": 1, 1434 - "line": 25, 1435 - }, 1436 - "start": { 1437 - "column": 0, 1438 - "line": 5, 1439 - }, 1440 - }, 1441 - ], 1442 - "type": "branch", 1443 - }, 1444 - "1": { 1445 - "line": 9, 1446 - "loc": { 1447 - "end": { 1448 - "column": 20, 1449 - "line": 9, 1450 - }, 1451 - "start": { 1452 - "column": 4, 1453 - "line": 9, 1454 - }, 1455 - }, 1456 - "locations": [ 1457 - { 1458 - "end": { 1459 - "column": 20, 1460 - "line": 9, 1461 - }, 1462 - "start": { 1463 - "column": 4, 1464 - "line": 9, 1465 - }, 1466 - }, 1467 - ], 1468 - "type": "branch", 1469 - }, 1470 - "2": { 1471 - "line": 22, 1472 - "loc": { 1473 - "end": { 1474 - "column": 48, 1475 - "line": 22, 1476 - }, 1477 - "start": { 1478 - "column": 4, 1479 - "line": 22, 1480 - }, 1481 - }, 1482 - "locations": [ 1483 - { 1484 - "end": { 1485 - "column": 48, 1486 - "line": 22, 1487 - }, 1488 - "start": { 1489 - "column": 4, 1490 - "line": 22, 1491 - }, 1492 - }, 1493 - ], 1494 - "type": "branch", 1495 - }, 1496 - "3": { 1497 - "line": 27, 1498 - "loc": { 1499 - "end": { 1500 - "column": 1, 1501 - "line": 47, 1502 - }, 1503 - "start": { 1504 - "column": 0, 1505 - "line": 27, 1506 - }, 1507 - }, 1508 - "locations": [ 1509 - { 1510 - "end": { 1511 - "column": 1, 1512 - "line": 47, 1513 - }, 1514 - "start": { 1515 - "column": 0, 1516 - "line": 27, 1517 - }, 1518 - }, 1519 - ], 1520 - "type": "branch", 1521 - }, 1522 - "4": { 1523 - "line": 31, 1524 - "loc": { 1525 - "end": { 1526 - "column": 20, 1527 - "line": 31, 1528 - }, 1529 - "start": { 1530 - "column": 4, 1531 - "line": 31, 1532 - }, 1533 - }, 1534 - "locations": [ 1535 - { 1536 - "end": { 1537 - "column": 20, 1538 - "line": 31, 1539 - }, 1540 - "start": { 1541 - "column": 4, 1542 - "line": 31, 1543 - }, 1544 - }, 1545 - ], 1546 - "type": "branch", 1547 - }, 1548 - "5": { 1549 - "line": 44, 1550 - "loc": { 1551 - "end": { 1552 - "column": 48, 1553 - "line": 44, 1554 - }, 1555 - "start": { 1556 - "column": 4, 1557 - "line": 44, 1558 - }, 1559 - }, 1560 - "locations": [ 1561 - { 1562 - "end": { 1563 - "column": 48, 1564 - "line": 44, 1565 - }, 1566 - "start": { 1567 - "column": 4, 1568 - "line": 44, 1569 - }, 1570 - }, 1571 - ], 1572 - "type": "branch", 1573 - }, 1574 - }, 1575 - "f": { 1576 - "0": 1, 1577 - "1": 1, 1578 - }, 1579 - "fnMap": { 1580 - "0": { 1581 - "decl": { 1582 - "end": { 1583 - "column": 1, 1584 - "line": 25, 1585 - }, 1586 - "start": { 1587 - "column": 0, 1588 - "line": 5, 1589 - }, 1590 - }, 1591 - "line": 5, 1592 - "loc": { 1593 - "end": { 1594 - "column": 1, 1595 - "line": 25, 1596 - }, 1597 - "start": { 1598 - "column": 0, 1599 - "line": 5, 1600 - }, 1601 - }, 1602 - "name": "runDynamicFileESM", 1603 - }, 1604 - "1": { 1605 - "decl": { 1606 - "end": { 1607 - "column": 1, 1608 - "line": 47, 1609 - }, 1610 - "start": { 1611 - "column": 0, 1612 - "line": 27, 1613 - }, 1614 - }, 1615 - "line": 27, 1616 - "loc": { 1617 - "end": { 1618 - "column": 1, 1619 - "line": 47, 1620 - }, 1621 - "start": { 1622 - "column": 0, 1623 - "line": 27, 1624 - }, 1625 - }, 1626 - "name": "runDynamicFileCJS", 1627 - }, 1628 - }, 1629 - "path": "<process-cwd>/src/dynamic-files.ts", 1630 - "s": { 1631 - "0": 1, 1632 - "1": 1, 1633 - "10": 1, 1634 - "11": 1, 1635 - "12": 1, 1636 - "13": 1, 1637 - "14": 1, 1638 - "15": 1, 1639 - "16": 1, 1640 - "17": 1, 1641 - "18": 1, 1642 - "19": 1, 1643 - "2": 1, 1644 - "20": 1, 1645 - "21": 1, 1646 - "22": 1, 1647 - "23": 1, 1648 - "24": 1, 1649 - "25": 1, 1650 - "26": 1, 1651 - "27": 1, 1652 - "28": 1, 1653 - "29": 1, 1654 - "3": 1, 1655 - "30": 1, 1656 - "31": 1, 1657 - "32": 1, 1658 - "33": 1, 1659 - "34": 1, 1660 - "35": 1, 1661 - "36": 1, 1662 - "37": 1, 1663 - "38": 1, 1664 - "39": 1, 1665 - "4": 1, 1666 - "40": 1, 1667 - "41": 1, 1668 - "42": 1, 1669 - "43": 1, 1670 - "44": 1, 1671 - "45": 1, 1672 - "46": 1, 1673 - "5": 1, 1674 - "6": 1, 1675 - "7": 1, 1676 - "8": 1, 1677 - "9": 1, 1678 - }, 1679 - "statementMap": { 1680 - "0": { 1681 - "end": { 1682 - "column": 59, 1683 - "line": 1, 1684 - }, 1685 - "start": { 1686 - "column": 0, 1687 - "line": 1, 1688 - }, 1689 - }, 1690 - "1": { 1691 - "end": { 1692 - "column": 43, 1693 - "line": 2, 1694 - }, 1695 - "start": { 1696 - "column": 0, 1697 - "line": 2, 1698 - }, 1699 - }, 1700 - "10": { 1701 - "end": { 1702 - "column": 27, 1703 - "line": 11, 1704 - }, 1705 - "start": { 1706 - "column": 0, 1707 - "line": 11, 1708 - }, 1709 - }, 1710 - "11": { 1711 - "end": { 1712 - "column": 53, 1713 - "line": 12, 1714 - }, 1715 - "start": { 1716 - "column": 0, 1717 - "line": 12, 1718 - }, 1719 - }, 1720 - "12": { 1721 - "end": { 1722 - "column": 23, 1723 - "line": 13, 1724 - }, 1725 - "start": { 1726 - "column": 0, 1727 - "line": 13, 1728 - }, 1729 - }, 1730 - "13": { 1731 - "end": { 1732 - "column": 23, 1733 - "line": 14, 1734 - }, 1735 - "start": { 1736 - "column": 0, 1737 - "line": 14, 1738 - }, 1739 - }, 1740 - "14": { 1741 - "end": { 1742 - "column": 1, 1743 - "line": 15, 1744 - }, 1745 - "start": { 1746 - "column": 0, 1747 - "line": 15, 1748 - }, 1749 - }, 1750 - "15": { 1751 - "end": { 1752 - "column": 23, 1753 - "line": 16, 1754 - }, 1755 - "start": { 1756 - "column": 0, 1757 - "line": 16, 1758 - }, 1759 - }, 1760 - "16": { 1761 - "end": { 1762 - "column": 20, 1763 - "line": 17, 1764 - }, 1765 - "start": { 1766 - "column": 0, 1767 - "line": 17, 1768 - }, 1769 - }, 1770 - "17": { 1771 - "end": { 1772 - "column": 0, 1773 - "line": 18, 1774 - }, 1775 - "start": { 1776 - "column": 0, 1777 - "line": 18, 1778 - }, 1779 - }, 1780 - "18": { 1781 - "end": { 1782 - "column": 40, 1783 - "line": 19, 1784 - }, 1785 - "start": { 1786 - "column": 0, 1787 - "line": 19, 1788 - }, 1789 - }, 1790 - "19": { 1791 - "end": { 1792 - "column": 0, 1793 - "line": 20, 1794 - }, 1795 - "start": { 1796 - "column": 0, 1797 - "line": 20, 1798 - }, 1799 - }, 1800 - "2": { 1801 - "end": { 1802 - "column": 40, 1803 - "line": 3, 1804 - }, 1805 - "start": { 1806 - "column": 0, 1807 - "line": 3, 1808 - }, 1809 - }, 1810 - "20": { 1811 - "end": { 1812 - "column": 31, 1813 - "line": 21, 1814 - }, 1815 - "start": { 1816 - "column": 0, 1817 - "line": 21, 1818 - }, 1819 - }, 1820 - "21": { 1821 - "end": { 1822 - "column": 48, 1823 - "line": 22, 1824 - }, 1825 - "start": { 1826 - "column": 0, 1827 - "line": 22, 1828 - }, 1829 - }, 1830 - "22": { 1831 - "end": { 1832 - "column": 0, 1833 - "line": 23, 1834 - }, 1835 - "start": { 1836 - "column": 0, 1837 - "line": 23, 1838 - }, 1839 - }, 1840 - "23": { 1841 - "end": { 1842 - "column": 18, 1843 - "line": 24, 1844 - }, 1845 - "start": { 1846 - "column": 0, 1847 - "line": 24, 1848 - }, 1849 - }, 1850 - "24": { 1851 - "end": { 1852 - "column": 1, 1853 - "line": 25, 1854 - }, 1855 - "start": { 1856 - "column": 0, 1857 - "line": 25, 1858 - }, 1859 - }, 1860 - "25": { 1861 - "end": { 1862 - "column": 0, 1863 - "line": 26, 1864 - }, 1865 - "start": { 1866 - "column": 0, 1867 - "line": 26, 1868 - }, 1869 - }, 1870 - "26": { 1871 - "end": { 1872 - "column": 43, 1873 - "line": 27, 1874 - }, 1875 - "start": { 1876 - "column": 0, 1877 - "line": 27, 1878 - }, 1879 - }, 1880 - "27": { 1881 - "end": { 1882 - "column": 90, 1883 - "line": 28, 1884 - }, 1885 - "start": { 1886 - "column": 0, 1887 - "line": 28, 1888 - }, 1889 - }, 1890 - "28": { 1891 - "end": { 1892 - "column": 0, 1893 - "line": 29, 1894 - }, 1895 - "start": { 1896 - "column": 0, 1897 - "line": 29, 1898 - }, 1899 - }, 1900 - "29": { 1901 - "end": { 1902 - "column": 27, 1903 - "line": 30, 1904 - }, 1905 - "start": { 1906 - "column": 0, 1907 - "line": 30, 1908 - }, 1909 - }, 1910 - "3": { 1911 - "end": { 1912 - "column": 0, 1913 - "line": 4, 1914 - }, 1915 - "start": { 1916 - "column": 0, 1917 - "line": 4, 1918 - }, 1919 - }, 1920 - "30": { 1921 - "end": { 1922 - "column": 20, 1923 - "line": 31, 1924 - }, 1925 - "start": { 1926 - "column": 0, 1927 - "line": 31, 1928 - }, 1929 - }, 1930 - "31": { 1931 - "end": { 1932 - "column": 0, 1933 - "line": 32, 1934 - }, 1935 - "start": { 1936 - "column": 0, 1937 - "line": 32, 1938 - }, 1939 - }, 1940 - "32": { 1941 - "end": { 1942 - "column": 27, 1943 - "line": 33, 1944 - }, 1945 - "start": { 1946 - "column": 0, 1947 - "line": 33, 1948 - }, 1949 - }, 1950 - "33": { 1951 - "end": { 1952 - "column": 53, 1953 - "line": 34, 1954 - }, 1955 - "start": { 1956 - "column": 0, 1957 - "line": 34, 1958 - }, 1959 - }, 1960 - "34": { 1961 - "end": { 1962 - "column": 37, 1963 - "line": 35, 1964 - }, 1965 - "start": { 1966 - "column": 0, 1967 - "line": 35, 1968 - }, 1969 - }, 1970 - "35": { 1971 - "end": { 1972 - "column": 23, 1973 - "line": 36, 1974 - }, 1975 - "start": { 1976 - "column": 0, 1977 - "line": 36, 1978 - }, 1979 - }, 1980 - "36": { 1981 - "end": { 1982 - "column": 1, 1983 - "line": 37, 1984 - }, 1985 - "start": { 1986 - "column": 0, 1987 - "line": 37, 1988 - }, 1989 - }, 1990 - "37": { 1991 - "end": { 1992 - "column": 23, 1993 - "line": 38, 1994 - }, 1995 - "start": { 1996 - "column": 0, 1997 - "line": 38, 1998 - }, 1999 - }, 2000 - "38": { 2001 - "end": { 2002 - "column": 20, 2003 - "line": 39, 2004 - }, 2005 - "start": { 2006 - "column": 0, 2007 - "line": 39, 2008 - }, 2009 - }, 2010 - "39": { 2011 - "end": { 2012 - "column": 0, 2013 - "line": 40, 2014 - }, 2015 - "start": { 2016 - "column": 0, 2017 - "line": 40, 2018 - }, 2019 - }, 2020 - "4": { 2021 - "end": { 2022 - "column": 43, 2023 - "line": 5, 2024 - }, 2025 - "start": { 2026 - "column": 0, 2027 - "line": 5, 2028 - }, 2029 - }, 2030 - "40": { 2031 - "end": { 2032 - "column": 58, 2033 - "line": 41, 2034 - }, 2035 - "start": { 2036 - "column": 0, 2037 - "line": 41, 2038 - }, 2039 - }, 2040 - "41": { 2041 - "end": { 2042 - "column": 0, 2043 - "line": 42, 2044 - }, 2045 - "start": { 2046 - "column": 0, 2047 - "line": 42, 2048 - }, 2049 - }, 2050 - "42": { 2051 - "end": { 2052 - "column": 31, 2053 - "line": 43, 2054 - }, 2055 - "start": { 2056 - "column": 0, 2057 - "line": 43, 2058 - }, 2059 - }, 2060 - "43": { 2061 - "end": { 2062 - "column": 48, 2063 - "line": 44, 2064 - }, 2065 - "start": { 2066 - "column": 0, 2067 - "line": 44, 2068 - }, 2069 - }, 2070 - "44": { 2071 - "end": { 2072 - "column": 0, 2073 - "line": 45, 2074 - }, 2075 - "start": { 2076 - "column": 0, 2077 - "line": 45, 2078 - }, 2079 - }, 2080 - "45": { 2081 - "end": { 2082 - "column": 18, 2083 - "line": 46, 2084 - }, 2085 - "start": { 2086 - "column": 0, 2087 - "line": 46, 2088 - }, 2089 - }, 2090 - "46": { 2091 - "end": { 2092 - "column": 1, 2093 - "line": 47, 2094 - }, 2095 - "start": { 2096 - "column": 0, 2097 - "line": 47, 2098 - }, 2099 - }, 2100 - "5": { 2101 - "end": { 2102 - "column": 91, 2103 - "line": 6, 2104 - }, 2105 - "start": { 2106 - "column": 0, 2107 - "line": 6, 2108 - }, 2109 - }, 2110 - "6": { 2111 - "end": { 2112 - "column": 0, 2113 - "line": 7, 2114 - }, 2115 - "start": { 2116 - "column": 0, 2117 - "line": 7, 2118 - }, 2119 - }, 2120 - "7": { 2121 - "end": { 2122 - "column": 27, 2123 - "line": 8, 2124 - }, 2125 - "start": { 2126 - "column": 0, 2127 - "line": 8, 2128 - }, 2129 - }, 2130 - "8": { 2131 - "end": { 2132 - "column": 20, 2133 - "line": 9, 2134 - }, 2135 - "start": { 2136 - "column": 0, 2137 - "line": 9, 2138 - }, 2139 - }, 2140 - "9": { 2141 - "end": { 2142 - "column": 0, 2143 - "line": 10, 2144 - }, 2145 - "start": { 2146 - "column": 0, 2147 - "line": 10, 2148 - }, 2149 - }, 2150 - }, 2151 - }, 2152 - "<process-cwd>/src/function-count.ts": { 2153 - "all": false, 2154 - "b": { 2155 - "0": [ 2156 - 1, 2157 - ], 2158 - "1": [ 2159 - 1, 2160 - ], 2161 - "2": [ 2162 - 1, 2163 - ], 2164 - }, 2165 - "branchMap": { 2166 - "0": { 2167 - "line": 11, 2168 - "loc": { 2169 - "end": { 2170 - "column": 1, 2171 - "line": 13, 2172 - }, 2173 - "start": { 2174 - "column": 17, 2175 - "line": 11, 2176 - }, 2177 - }, 2178 - "locations": [ 2179 - { 2180 - "end": { 2181 - "column": 1, 2182 - "line": 13, 2183 - }, 2184 - "start": { 2185 - "column": 17, 2186 - "line": 11, 2187 - }, 2188 - }, 2189 - ], 2190 - "type": "branch", 2191 - }, 2192 - "1": { 2193 - "line": 18, 2194 - "loc": { 2195 - "end": { 2196 - "column": 1, 2197 - "line": 21, 2198 - }, 2199 - "start": { 2200 - "column": 7, 2201 - "line": 18, 2202 - }, 2203 - }, 2204 - "locations": [ 2205 - { 2206 - "end": { 2207 - "column": 1, 2208 - "line": 21, 2209 - }, 2210 - "start": { 2211 - "column": 7, 2212 - "line": 18, 2213 - }, 2214 - }, 2215 - ], 2216 - "type": "branch", 2217 - }, 2218 - "2": { 2219 - "line": 34, 2220 - "loc": { 2221 - "end": { 2222 - "column": 1, 2223 - "line": 36, 2224 - }, 2225 - "start": { 2226 - "column": 0, 2227 - "line": 34, 2228 - }, 2229 - }, 2230 - "locations": [ 2231 - { 2232 - "end": { 2233 - "column": 1, 2234 - "line": 36, 2235 - }, 2236 - "start": { 2237 - "column": 0, 2238 - "line": 34, 2239 - }, 2240 - }, 2241 - ], 2242 - "type": "branch", 2243 - }, 2244 - }, 2245 - "f": { 2246 - "0": 1, 2247 - "1": 1, 2248 - "2": 0, 2249 - "3": 0, 2250 - "4": 1, 2251 - }, 2252 - "fnMap": { 2253 - "0": { 2254 - "decl": { 2255 - "end": { 2256 - "column": 1, 2257 - "line": 13, 2258 - }, 2259 - "start": { 2260 - "column": 17, 2261 - "line": 11, 2262 - }, 2263 - }, 2264 - "line": 11, 2265 - "loc": { 2266 - "end": { 2267 - "column": 1, 2268 - "line": 13, 2269 - }, 2270 - "start": { 2271 - "column": 17, 2272 - "line": 11, 2273 - }, 2274 - }, 2275 - "name": "first", 2276 - }, 2277 - "1": { 2278 - "decl": { 2279 - "end": { 2280 - "column": 1, 2281 - "line": 21, 2282 - }, 2283 - "start": { 2284 - "column": 7, 2285 - "line": 18, 2286 - }, 2287 - }, 2288 - "line": 18, 2289 - "loc": { 2290 - "end": { 2291 - "column": 1, 2292 - "line": 21, 2293 - }, 2294 - "start": { 2295 - "column": 7, 2296 - "line": 18, 2297 - }, 2298 - }, 2299 - "name": "second", 2300 - }, 2301 - "2": { 2302 - "decl": { 2303 - "end": { 2304 - "column": 1, 2305 - "line": 26, 2306 - }, 2307 - "start": { 2308 - "column": 7, 2309 - "line": 24, 2310 - }, 2311 - }, 2312 - "line": 24, 2313 - "loc": { 2314 - "end": { 2315 - "column": 1, 2316 - "line": 26, 2317 - }, 2318 - "start": { 2319 - "column": 7, 2320 - "line": 24, 2321 - }, 2322 - }, 2323 - "name": "third", 2324 - }, 2325 - "3": { 2326 - "decl": { 2327 - "end": { 2328 - "column": 1, 2329 - "line": 31, 2330 - }, 2331 - "start": { 2332 - "column": 0, 2333 - "line": 29, 2334 - }, 2335 - }, 2336 - "line": 29, 2337 - "loc": { 2338 - "end": { 2339 - "column": 1, 2340 - "line": 31, 2341 - }, 2342 - "start": { 2343 - "column": 0, 2344 - "line": 29, 2345 - }, 2346 - }, 2347 - "name": "fourth", 2348 - }, 2349 - "4": { 2350 - "decl": { 2351 - "end": { 2352 - "column": 1, 2353 - "line": 36, 2354 - }, 2355 - "start": { 2356 - "column": 0, 2357 - "line": 34, 2358 - }, 2359 - }, 2360 - "line": 34, 2361 - "loc": { 2362 - "end": { 2363 - "column": 1, 2364 - "line": 36, 2365 - }, 2366 - "start": { 2367 - "column": 0, 2368 - "line": 34, 2369 - }, 2370 - }, 2371 - "name": "fifth", 2372 - }, 2373 - }, 2374 - "path": "<process-cwd>/src/function-count.ts", 2375 - "s": { 2376 - "0": 1, 2377 - "1": 1, 2378 - "10": 1, 2379 - "11": 1, 2380 - "12": 1, 2381 - "13": 1, 2382 - "14": 1, 2383 - "15": 1, 2384 - "16": 1, 2385 - "17": 1, 2386 - "18": 1, 2387 - "19": 1, 2388 - "2": 1, 2389 - "20": 1, 2390 - "21": 1, 2391 - "22": 1, 2392 - "23": 1, 2393 - "24": 0, 2394 - "25": 0, 2395 - "26": 1, 2396 - "27": 1, 2397 - "28": 0, 2398 - "29": 0, 2399 - "3": 1, 2400 - "30": 0, 2401 - "31": 1, 2402 - "32": 1, 2403 - "33": 1, 2404 - "34": 1, 2405 - "35": 1, 2406 - "4": 1, 2407 - "5": 1, 2408 - "6": 1, 2409 - "7": 1, 2410 - "8": 1, 2411 - "9": 1, 2412 - }, 2413 - "statementMap": { 2414 - "0": { 2415 - "end": { 2416 - "column": 2, 2417 - "line": 1, 2418 - }, 2419 - "start": { 2420 - "column": 0, 2421 - "line": 1, 2422 - }, 2423 - }, 2424 - "1": { 2425 - "end": { 2426 - "column": 25, 2427 - "line": 2, 2428 - }, 2429 - "start": { 2430 - "column": 0, 2431 - "line": 2, 2432 - }, 2433 - }, 2434 - "10": { 2435 - "end": { 2436 - "column": 18, 2437 - "line": 11, 2438 - }, 2439 - "start": { 2440 - "column": 0, 2441 - "line": 11, 2442 - }, 2443 - }, 2444 - "11": { 2445 - "end": { 2446 - "column": 10, 2447 - "line": 12, 2448 - }, 2449 - "start": { 2450 - "column": 0, 2451 - "line": 12, 2452 - }, 2453 - }, 2454 - "12": { 2455 - "end": { 2456 - "column": 1, 2457 - "line": 13, 2458 - }, 2459 - "start": { 2460 - "column": 0, 2461 - "line": 13, 2462 - }, 2463 - }, 2464 - "13": { 2465 - "end": { 2466 - "column": 0, 2467 - "line": 14, 2468 - }, 2469 - "start": { 2470 - "column": 0, 2471 - "line": 14, 2472 - }, 2473 - }, 2474 - "14": { 2475 - "end": { 2476 - "column": 7, 2477 - "line": 15, 2478 - }, 2479 - "start": { 2480 - "column": 0, 2481 - "line": 15, 2482 - }, 2483 - }, 2484 - "15": { 2485 - "end": { 2486 - "column": 0, 2487 - "line": 16, 2488 - }, 2489 - "start": { 2490 - "column": 0, 2491 - "line": 16, 2492 - }, 2493 - }, 2494 - "16": { 2495 - "end": { 2496 - "column": 27, 2497 - "line": 17, 2498 - }, 2499 - "start": { 2500 - "column": 0, 2501 - "line": 17, 2502 - }, 2503 - }, 2504 - "17": { 2505 - "end": { 2506 - "column": 26, 2507 - "line": 18, 2508 - }, 2509 - "start": { 2510 - "column": 0, 2511 - "line": 18, 2512 - }, 2513 - }, 2514 - "18": { 2515 - "end": { 2516 - "column": 9, 2517 - "line": 19, 2518 - }, 2519 - "start": { 2520 - "column": 0, 2521 - "line": 19, 2522 - }, 2523 - }, 2524 - "19": { 2525 - "end": { 2526 - "column": 10, 2527 - "line": 20, 2528 - }, 2529 - "start": { 2530 - "column": 0, 2531 - "line": 20, 2532 - }, 2533 - }, 2534 - "2": { 2535 - "end": { 2536 - "column": 25, 2537 - "line": 3, 2538 - }, 2539 - "start": { 2540 - "column": 0, 2541 - "line": 3, 2542 - }, 2543 - }, 2544 - "20": { 2545 - "end": { 2546 - "column": 1, 2547 - "line": 21, 2548 - }, 2549 - "start": { 2550 - "column": 0, 2551 - "line": 21, 2552 - }, 2553 - }, 2554 - "21": { 2555 - "end": { 2556 - "column": 0, 2557 - "line": 22, 2558 - }, 2559 - "start": { 2560 - "column": 0, 2561 - "line": 22, 2562 - }, 2563 - }, 2564 - "22": { 2565 - "end": { 2566 - "column": 31, 2567 - "line": 23, 2568 - }, 2569 - "start": { 2570 - "column": 0, 2571 - "line": 23, 2572 - }, 2573 - }, 2574 - "23": { 2575 - "end": { 2576 - "column": 25, 2577 - "line": 24, 2578 - }, 2579 - "start": { 2580 - "column": 0, 2581 - "line": 24, 2582 - }, 2583 - }, 2584 - "24": { 2585 - "end": { 2586 - "column": 46, 2587 - "line": 25, 2588 - }, 2589 - "start": { 2590 - "column": 0, 2591 - "line": 25, 2592 - }, 2593 - }, 2594 - "25": { 2595 - "end": { 2596 - "column": 1, 2597 - "line": 26, 2598 - }, 2599 - "start": { 2600 - "column": 0, 2601 - "line": 26, 2602 - }, 2603 - }, 2604 - "26": { 2605 - "end": { 2606 - "column": 0, 2607 - "line": 27, 2608 - }, 2609 - "start": { 2610 - "column": 0, 2611 - "line": 27, 2612 - }, 2613 - }, 2614 - "27": { 2615 - "end": { 2616 - "column": 31, 2617 - "line": 28, 2618 - }, 2619 - "start": { 2620 - "column": 0, 2621 - "line": 28, 2622 - }, 2623 - }, 2624 - "28": { 2625 - "end": { 2626 - "column": 19, 2627 - "line": 29, 2628 - }, 2629 - "start": { 2630 - "column": 0, 2631 - "line": 29, 2632 - }, 2633 - }, 2634 - "29": { 2635 - "end": { 2636 - "column": 10, 2637 - "line": 30, 2638 - }, 2639 - "start": { 2640 - "column": 0, 2641 - "line": 30, 2642 - }, 2643 - }, 2644 - "3": { 2645 - "end": { 2646 - "column": 24, 2647 - "line": 4, 2648 - }, 2649 - "start": { 2650 - "column": 0, 2651 - "line": 4, 2652 - }, 2653 - }, 2654 - "30": { 2655 - "end": { 2656 - "column": 1, 2657 - "line": 31, 2658 - }, 2659 - "start": { 2660 - "column": 0, 2661 - "line": 31, 2662 - }, 2663 - }, 2664 - "31": { 2665 - "end": { 2666 - "column": 0, 2667 - "line": 32, 2668 - }, 2669 - "start": { 2670 - "column": 0, 2671 - "line": 32, 2672 - }, 2673 - }, 2674 - "32": { 2675 - "end": { 2676 - "column": 27, 2677 - "line": 33, 2678 - }, 2679 - "start": { 2680 - "column": 0, 2681 - "line": 33, 2682 - }, 2683 - }, 2684 - "33": { 2685 - "end": { 2686 - "column": 18, 2687 - "line": 34, 2688 - }, 2689 - "start": { 2690 - "column": 0, 2691 - "line": 34, 2692 - }, 2693 - }, 2694 - "34": { 2695 - "end": { 2696 - "column": 10, 2697 - "line": 35, 2698 - }, 2699 - "start": { 2700 - "column": 0, 2701 - "line": 35, 2702 - }, 2703 - }, 2704 - "35": { 2705 - "end": { 2706 - "column": 1, 2707 - "line": 36, 2708 - }, 2709 - "start": { 2710 - "column": 0, 2711 - "line": 36, 2712 - }, 2713 - }, 2714 - "4": { 2715 - "end": { 2716 - "column": 26, 2717 - "line": 5, 2718 - }, 2719 - "start": { 2720 - "column": 0, 2721 - "line": 5, 2722 - }, 2723 - }, 2724 - "5": { 2725 - "end": { 2726 - "column": 3, 2727 - "line": 6, 2728 - }, 2729 - "start": { 2730 - "column": 0, 2731 - "line": 6, 2732 - }, 2733 - }, 2734 - "6": { 2735 - "end": { 2736 - "column": 0, 2737 - "line": 7, 2738 - }, 2739 - "start": { 2740 - "column": 0, 2741 - "line": 7, 2742 - }, 2743 - }, 2744 - "7": { 2745 - "end": { 2746 - "column": 50, 2747 - "line": 8, 2748 - }, 2749 - "start": { 2750 - "column": 0, 2751 - "line": 8, 2752 - }, 2753 - }, 2754 - "8": { 2755 - "end": { 2756 - "column": 0, 2757 - "line": 9, 2758 - }, 2759 - "start": { 2760 - "column": 0, 2761 - "line": 9, 2762 - }, 2763 - }, 2764 - "9": { 2765 - "end": { 2766 - "column": 27, 2767 - "line": 10, 2768 - }, 2769 - "start": { 2770 - "column": 0, 2771 - "line": 10, 2772 - }, 2773 - }, 2774 - }, 2775 - }, 2776 - "<process-cwd>/src/implicitElse.ts": { 2777 - "all": false, 2778 - "b": { 2779 - "0": [ 2780 - 1, 2781 - ], 2782 - }, 2783 - "branchMap": { 2784 - "0": { 2785 - "line": 1, 2786 - "loc": { 2787 - "end": { 2788 - "column": 1, 2789 - "line": 8, 2790 - }, 2791 - "start": { 2792 - "column": 49, 2793 - "line": 1, 2794 - }, 2795 - }, 2796 - "locations": [ 2797 - { 2798 - "end": { 2799 - "column": 1, 2800 - "line": 8, 2801 - }, 2802 - "start": { 2803 - "column": 49, 2804 - "line": 1, 2805 - }, 2806 - }, 2807 - ], 2808 - "type": "branch", 2809 - }, 2810 - }, 2811 - "f": { 2812 - "0": 1, 2813 - }, 2814 - "fnMap": { 2815 - "0": { 2816 - "decl": { 2817 - "end": { 2818 - "column": 1, 2819 - "line": 8, 2820 - }, 2821 - "start": { 2822 - "column": 49, 2823 - "line": 1, 2824 - }, 2825 - }, 2826 - "line": 1, 2827 - "loc": { 2828 - "end": { 2829 - "column": 1, 2830 - "line": 8, 2831 - }, 2832 - "start": { 2833 - "column": 49, 2834 - "line": 1, 2835 - }, 2836 - }, 2837 - "name": "implicitElse", 2838 - }, 2839 - }, 2840 - "path": "<process-cwd>/src/implicitElse.ts", 2841 - "s": { 2842 - "0": 1, 2843 - "1": 1, 2844 - "2": 1, 2845 - "3": 1, 2846 - "4": 1, 2847 - "5": 1, 2848 - "6": 1, 2849 - "7": 1, 2850 - }, 2851 - "statementMap": { 2852 - "0": { 2853 - "end": { 2854 - "column": 50, 2855 - "line": 1, 2856 - }, 2857 - "start": { 2858 - "column": 0, 2859 - "line": 1, 2860 - }, 2861 - }, 2862 - "1": { 2863 - "end": { 2864 - "column": 11, 2865 - "line": 2, 2866 - }, 2867 - "start": { 2868 - "column": 0, 2869 - "line": 2, 2870 - }, 2871 - }, 2872 - "2": { 2873 - "end": { 2874 - "column": 0, 2875 - "line": 3, 2876 - }, 2877 - "start": { 2878 - "column": 0, 2879 - "line": 3, 2880 - }, 2881 - }, 2882 - "3": { 2883 - "end": { 2884 - "column": 16, 2885 - "line": 4, 2886 - }, 2887 - "start": { 2888 - "column": 0, 2889 - "line": 4, 2890 - }, 2891 - }, 2892 - "4": { 2893 - "end": { 2894 - "column": 9, 2895 - "line": 5, 2896 - }, 2897 - "start": { 2898 - "column": 0, 2899 - "line": 5, 2900 - }, 2901 - }, 2902 - "5": { 2903 - "end": { 2904 - "column": 0, 2905 - "line": 6, 2906 - }, 2907 - "start": { 2908 - "column": 0, 2909 - "line": 6, 2910 - }, 2911 - }, 2912 - "6": { 2913 - "end": { 2914 - "column": 10, 2915 - "line": 7, 2916 - }, 2917 - "start": { 2918 - "column": 0, 2919 - "line": 7, 2920 - }, 2921 - }, 2922 - "7": { 2923 - "end": { 2924 - "column": 1, 2925 - "line": 8, 2926 - }, 2927 - "start": { 2928 - "column": 0, 2929 - "line": 8, 2930 - }, 2931 - }, 2932 - }, 2933 - }, 2934 - "<process-cwd>/src/importEnv.ts": { 2935 - "all": false, 2936 - "b": { 2937 - "0": [ 2938 - 1, 2939 - ], 2940 - }, 2941 - "branchMap": { 2942 - "0": { 2943 - "line": 1, 2944 - "loc": { 2945 - "end": { 2946 - "column": 1, 2947 - "line": 3, 2948 - }, 2949 - "start": { 2950 - "column": 31, 2951 - "line": 1, 2952 - }, 2953 - }, 2954 - "locations": [ 2955 - { 2956 - "end": { 2957 - "column": 1, 2958 - "line": 3, 2959 - }, 2960 - "start": { 2961 - "column": 31, 2962 - "line": 1, 2963 - }, 2964 - }, 2965 - ], 2966 - "type": "branch", 2967 - }, 2968 - }, 2969 - "f": { 2970 - "0": 1, 2971 - }, 2972 - "fnMap": { 2973 - "0": { 2974 - "decl": { 2975 - "end": { 2976 - "column": 1, 2977 - "line": 3, 2978 - }, 2979 - "start": { 2980 - "column": 31, 2981 - "line": 1, 2982 - }, 2983 - }, 2984 - "line": 1, 2985 - "loc": { 2986 - "end": { 2987 - "column": 1, 2988 - "line": 3, 2989 - }, 2990 - "start": { 2991 - "column": 31, 2992 - "line": 1, 2993 - }, 2994 - }, 2995 - "name": "useImportEnv", 2996 - }, 2997 - }, 2998 - "path": "<process-cwd>/src/importEnv.ts", 2999 - "s": { 3000 - "0": 1, 3001 - "1": 1, 3002 - "2": 1, 3003 - }, 3004 - "statementMap": { 3005 - "0": { 3006 - "end": { 3007 - "column": 32, 3008 - "line": 1, 3009 - }, 3010 - "start": { 3011 - "column": 0, 3012 - "line": 1, 3013 - }, 3014 - }, 3015 - "1": { 3016 - "end": { 3017 - "column": 46, 3018 - "line": 2, 3019 - }, 3020 - "start": { 3021 - "column": 0, 3022 - "line": 2, 3023 - }, 3024 - }, 3025 - "2": { 3026 - "end": { 3027 - "column": 1, 3028 - "line": 3, 3029 - }, 3030 - "start": { 3031 - "column": 0, 3032 - "line": 3, 3033 - }, 3034 - }, 3035 - }, 3036 - }, 3037 - "<process-cwd>/src/index.mts": { 3038 - "all": false, 3039 - "b": { 3040 - "0": [ 3041 - 1, 3042 - ], 3043 - }, 3044 - "branchMap": { 3045 - "0": { 3046 - "line": 5, 3047 - "loc": { 3048 - "end": { 3049 - "column": 1, 3050 - "line": 7, 3051 - }, 3052 - "start": { 3053 - "column": 7, 3054 - "line": 5, 3055 - }, 3056 - }, 3057 - "locations": [ 3058 - { 3059 - "end": { 3060 - "column": 1, 3061 - "line": 7, 3062 - }, 3063 - "start": { 3064 - "column": 7, 3065 - "line": 5, 3066 - }, 3067 - }, 3068 - ], 3069 - "type": "branch", 3070 - }, 3071 - }, 3072 - "f": { 3073 - "0": 1, 3074 - }, 3075 - "fnMap": { 3076 - "0": { 3077 - "decl": { 3078 - "end": { 3079 - "column": 1, 3080 - "line": 7, 3081 - }, 3082 - "start": { 3083 - "column": 7, 3084 - "line": 5, 3085 - }, 3086 - }, 3087 - "line": 5, 3088 - "loc": { 3089 - "end": { 3090 - "column": 1, 3091 - "line": 7, 3092 - }, 3093 - "start": { 3094 - "column": 7, 3095 - "line": 5, 3096 - }, 3097 - }, 3098 - "name": "pythagoras", 3099 - }, 3100 - }, 3101 - "path": "<process-cwd>/src/index.mts", 3102 - "s": { 3103 - "0": 1, 3104 - "1": 1, 3105 - "2": 1, 3106 - "3": 1, 3107 - "4": 1, 3108 - "5": 1, 3109 - "6": 1, 3110 - }, 3111 - "statementMap": { 3112 - "0": { 3113 - "end": { 3114 - "column": 45, 3115 - "line": 1, 3116 - }, 3117 - "start": { 3118 - "column": 0, 3119 - "line": 1, 3120 - }, 3121 - }, 3122 - "1": { 3123 - "end": { 3124 - "column": 0, 3125 - "line": 2, 3126 - }, 3127 - "start": { 3128 - "column": 0, 3129 - "line": 2, 3130 - }, 3131 - }, 3132 - "2": { 3133 - "end": { 3134 - "column": 23, 3135 - "line": 3, 3136 - }, 3137 - "start": { 3138 - "column": 0, 3139 - "line": 3, 3140 - }, 3141 - }, 3142 - "3": { 3143 - "end": { 3144 - "column": 0, 3145 - "line": 4, 3146 - }, 3147 - "start": { 3148 - "column": 0, 3149 - "line": 4, 3150 - }, 3151 - }, 3152 - "4": { 3153 - "end": { 3154 - "column": 50, 3155 - "line": 5, 3156 - }, 3157 - "start": { 3158 - "column": 0, 3159 - "line": 5, 3160 - }, 3161 - }, 3162 - "5": { 3163 - "end": { 3164 - "column": 50, 3165 - "line": 6, 3166 - }, 3167 - "start": { 3168 - "column": 0, 3169 - "line": 6, 3170 - }, 3171 - }, 3172 - "6": { 3173 - "end": { 3174 - "column": 1, 3175 - "line": 7, 3176 - }, 3177 - "start": { 3178 - "column": 0, 3179 - "line": 7, 3180 - }, 3181 - }, 3182 - }, 3183 - }, 3184 - "<process-cwd>/src/untested-file.ts": { 3185 - "all": true, 3186 - "b": { 3187 - "0": [ 3188 - 0, 3189 - ], 3190 - }, 3191 - "branchMap": { 3192 - "0": { 3193 - "line": 1, 3194 - "loc": { 3195 - "end": { 3196 - "column": 1, 3197 - "line": 33, 3198 - }, 3199 - "start": { 3200 - "column": 0, 3201 - "line": 1, 3202 - }, 3203 - }, 3204 - "locations": [ 3205 - { 3206 - "end": { 3207 - "column": 1, 3208 - "line": 33, 3209 - }, 3210 - "start": { 3211 - "column": 0, 3212 - "line": 1, 3213 - }, 3214 - }, 3215 - ], 3216 - "type": "branch", 3217 - }, 3218 - }, 3219 - "f": { 3220 - "0": 0, 3221 - }, 3222 - "fnMap": { 3223 - "0": { 3224 - "decl": { 3225 - "end": { 3226 - "column": 1, 3227 - "line": 33, 3228 - }, 3229 - "start": { 3230 - "column": 0, 3231 - "line": 1, 3232 - }, 3233 - }, 3234 - "line": 1, 3235 - "loc": { 3236 - "end": { 3237 - "column": 1, 3238 - "line": 33, 3239 - }, 3240 - "start": { 3241 - "column": 0, 3242 - "line": 1, 3243 - }, 3244 - }, 3245 - "name": "(empty-report)", 3246 - }, 3247 - }, 3248 - "path": "<process-cwd>/src/untested-file.ts", 3249 - "s": { 3250 - "0": 0, 3251 - "1": 0, 3252 - "10": 0, 3253 - "11": 0, 3254 - "12": 0, 3255 - "13": 0, 3256 - "14": 0, 3257 - "15": 0, 3258 - "16": 0, 3259 - "17": 0, 3260 - "18": 0, 3261 - "19": 0, 3262 - "2": 0, 3263 - "20": 0, 3264 - "21": 0, 3265 - "22": 0, 3266 - "23": 0, 3267 - "24": 0, 3268 - "25": 0, 3269 - "26": 0, 3270 - "27": 0, 3271 - "28": 0, 3272 - "29": 0, 3273 - "3": 0, 3274 - "30": 0, 3275 - "31": 0, 3276 - "32": 0, 3277 - "4": 0, 3278 - "5": 0, 3279 - "6": 0, 3280 - "7": 0, 3281 - "8": 0, 3282 - "9": 0, 3283 - }, 3284 - "statementMap": { 3285 - "0": { 3286 - "end": { 3287 - "column": 2, 3288 - "line": 1, 3289 - }, 3290 - "start": { 3291 - "column": 0, 3292 - "line": 1, 3293 - }, 3294 - }, 3295 - "1": { 3296 - "end": { 3297 - "column": 68, 3298 - "line": 2, 3299 - }, 3300 - "start": { 3301 - "column": 0, 3302 - "line": 2, 3303 - }, 3304 - }, 3305 - "10": { 3306 - "end": { 3307 - "column": 36, 3308 - "line": 11, 3309 - }, 3310 - "start": { 3311 - "column": 0, 3312 - "line": 11, 3313 - }, 3314 - }, 3315 - "11": { 3316 - "end": { 3317 - "column": 14, 3318 - "line": 12, 3319 - }, 3320 - "start": { 3321 - "column": 0, 3322 - "line": 12, 3323 - }, 3324 - }, 3325 - "12": { 3326 - "end": { 3327 - "column": 1, 3328 - "line": 13, 3329 - }, 3330 - "start": { 3331 - "column": 0, 3332 - "line": 13, 3333 - }, 3334 - }, 3335 - "13": { 3336 - "end": { 3337 - "column": 0, 3338 - "line": 14, 3339 - }, 3340 - "start": { 3341 - "column": 0, 3342 - "line": 14, 3343 - }, 3344 - }, 3345 - "14": { 3346 - "end": { 3347 - "column": 41, 3348 - "line": 15, 3349 - }, 3350 - "start": { 3351 - "column": 0, 3352 - "line": 15, 3353 - }, 3354 - }, 3355 - "15": { 3356 - "end": { 3357 - "column": 36, 3358 - "line": 16, 3359 - }, 3360 - "start": { 3361 - "column": 0, 3362 - "line": 16, 3363 - }, 3364 - }, 3365 - "16": { 3366 - "end": { 3367 - "column": 14, 3368 - "line": 17, 3369 - }, 3370 - "start": { 3371 - "column": 0, 3372 - "line": 17, 3373 - }, 3374 - }, 3375 - "17": { 3376 - "end": { 3377 - "column": 1, 3378 - "line": 18, 3379 - }, 3380 - "start": { 3381 - "column": 0, 3382 - "line": 18, 3383 - }, 3384 - }, 3385 - "18": { 3386 - "end": { 3387 - "column": 0, 3388 - "line": 19, 3389 - }, 3390 - "start": { 3391 - "column": 0, 3392 - "line": 19, 3393 - }, 3394 - }, 3395 - "19": { 3396 - "end": { 3397 - "column": 65, 3398 - "line": 20, 3399 - }, 3400 - "start": { 3401 - "column": 0, 3402 - "line": 20, 3403 - }, 3404 - }, 3405 - "2": { 3406 - "end": { 3407 - "column": 25, 3408 - "line": 3, 3409 - }, 3410 - "start": { 3411 - "column": 0, 3412 - "line": 3, 3413 - }, 3414 - }, 3415 - "20": { 3416 - "end": { 3417 - "column": 25, 3418 - "line": 21, 3419 - }, 3420 - "start": { 3421 - "column": 0, 3422 - "line": 21, 3423 - }, 3424 - }, 3425 - "21": { 3426 - "end": { 3427 - "column": 38, 3428 - "line": 22, 3429 - }, 3430 - "start": { 3431 - "column": 0, 3432 - "line": 22, 3433 - }, 3434 - }, 3435 - "22": { 3436 - "end": { 3437 - "column": 25, 3438 - "line": 23, 3439 - }, 3440 - "start": { 3441 - "column": 0, 3442 - "line": 23, 3443 - }, 3444 - }, 3445 - "23": { 3446 - "end": { 3447 - "column": 3, 3448 - "line": 24, 3449 - }, 3450 - "start": { 3451 - "column": 0, 3452 - "line": 24, 3453 - }, 3454 - }, 3455 - "24": { 3456 - "end": { 3457 - "column": 0, 3458 - "line": 25, 3459 - }, 3460 - "start": { 3461 - "column": 0, 3462 - "line": 25, 3463 - }, 3464 - }, 3465 - "25": { 3466 - "end": { 3467 - "column": 25, 3468 - "line": 26, 3469 - }, 3470 - "start": { 3471 - "column": 0, 3472 - "line": 26, 3473 - }, 3474 - }, 3475 - "26": { 3476 - "end": { 3477 - "column": 38, 3478 - "line": 27, 3479 - }, 3480 - "start": { 3481 - "column": 0, 3482 - "line": 27, 3483 - }, 3484 - }, 3485 - "27": { 3486 - "end": { 3487 - "column": 20, 3488 - "line": 28, 3489 - }, 3490 - "start": { 3491 - "column": 0, 3492 - "line": 28, 3493 - }, 3494 - }, 3495 - "28": { 3496 - "end": { 3497 - "column": 3, 3498 - "line": 29, 3499 - }, 3500 - "start": { 3501 - "column": 0, 3502 - "line": 29, 3503 - }, 3504 - }, 3505 - "29": { 3506 - "end": { 3507 - "column": 0, 3508 - "line": 30, 3509 - }, 3510 - "start": { 3511 - "column": 0, 3512 - "line": 30, 3513 - }, 3514 - }, 3515 - "3": { 3516 - "end": { 3517 - "column": 2, 3518 - "line": 4, 3519 - }, 3520 - "start": { 3521 - "column": 0, 3522 - "line": 4, 3523 - }, 3524 - }, 3525 - "30": { 3526 - "end": { 3527 - "column": 36, 3528 - "line": 31, 3529 - }, 3530 - "start": { 3531 - "column": 0, 3532 - "line": 31, 3533 - }, 3534 - }, 3535 - "31": { 3536 - "end": { 3537 - "column": 41, 3538 - "line": 32, 3539 - }, 3540 - "start": { 3541 - "column": 0, 3542 - "line": 32, 3543 - }, 3544 - }, 3545 - "32": { 3546 - "end": { 3547 - "column": 1, 3548 - "line": 33, 3549 - }, 3550 - "start": { 3551 - "column": 0, 3552 - "line": 33, 3553 - }, 3554 - }, 3555 - "4": { 3556 - "end": { 3557 - "column": 0, 3558 - "line": 5, 3559 - }, 3560 - "start": { 3561 - "column": 0, 3562 - "line": 5, 3563 - }, 3564 - }, 3565 - "5": { 3566 - "end": { 3567 - "column": 40, 3568 - "line": 6, 3569 - }, 3570 - "start": { 3571 - "column": 0, 3572 - "line": 6, 3573 - }, 3574 - }, 3575 - "6": { 3576 - "end": { 3577 - "column": 72, 3578 - "line": 7, 3579 - }, 3580 - "start": { 3581 - "column": 0, 3582 - "line": 7, 3583 - }, 3584 - }, 3585 - "7": { 3586 - "end": { 3587 - "column": 1, 3588 - "line": 8, 3589 - }, 3590 - "start": { 3591 - "column": 0, 3592 - "line": 8, 3593 - }, 3594 - }, 3595 - "8": { 3596 - "end": { 3597 - "column": 0, 3598 - "line": 9, 3599 - }, 3600 - "start": { 3601 - "column": 0, 3602 - "line": 9, 3603 - }, 3604 - }, 3605 - "9": { 3606 - "end": { 3607 - "column": 36, 3608 - "line": 10, 3609 - }, 3610 - "start": { 3611 - "column": 0, 3612 - "line": 10, 3613 - }, 3614 - }, 3615 - }, 3616 - }, 3617 - "<process-cwd>/src/utils.ts": { 3618 - "all": false, 3619 - "b": { 3620 - "0": [ 3621 - 1, 3622 - ], 3623 - "1": [ 3624 - 2, 3625 - ], 3626 - "2": [ 3627 - 1, 3628 - ], 3629 - "3": [ 3630 - 0, 3631 - ], 3632 - }, 3633 - "branchMap": { 3634 - "0": { 3635 - "line": 1, 3636 - "loc": { 3637 - "end": { 3638 - "column": 1, 3639 - "line": 3, 3640 - }, 3641 - "start": { 3642 - "column": 42, 3643 - "line": 1, 3644 - }, 3645 - }, 3646 - "locations": [ 3647 - { 3648 - "end": { 3649 - "column": 1, 3650 - "line": 3, 3651 - }, 3652 - "start": { 3653 - "column": 42, 3654 - "line": 1, 3655 - }, 3656 - }, 3657 - ], 3658 - "type": "branch", 3659 - }, 3660 - "1": { 3661 - "line": 5, 3662 - "loc": { 3663 - "end": { 3664 - "column": 1, 3665 - "line": 7, 3666 - }, 3667 - "start": { 3668 - "column": 7, 3669 - "line": 5, 3670 - }, 3671 - }, 3672 - "locations": [ 3673 - { 3674 - "end": { 3675 - "column": 1, 3676 - "line": 7, 3677 - }, 3678 - "start": { 3679 - "column": 7, 3680 - "line": 5, 3681 - }, 3682 - }, 3683 - ], 3684 - "type": "branch", 3685 - }, 3686 - "2": { 3687 - "line": 14, 3688 - "loc": { 3689 - "end": { 3690 - "column": 1, 3691 - "line": 19, 3692 - }, 3693 - "start": { 3694 - "column": 7, 3695 - "line": 14, 3696 - }, 3697 - }, 3698 - "locations": [ 3699 - { 3700 - "end": { 3701 - "column": 1, 3702 - "line": 19, 3703 - }, 3704 - "start": { 3705 - "column": 7, 3706 - "line": 14, 3707 - }, 3708 - }, 3709 - ], 3710 - "type": "branch", 3711 - }, 3712 - "3": { 3713 - "line": 16, 3714 - "loc": { 3715 - "end": { 3716 - "column": 51, 3717 - "line": 16, 3718 - }, 3719 - "start": { 3720 - "column": 4, 3721 - "line": 16, 3722 - }, 3723 - }, 3724 - "locations": [ 3725 - { 3726 - "end": { 3727 - "column": 51, 3728 - "line": 16, 3729 - }, 3730 - "start": { 3731 - "column": 4, 3732 - "line": 16, 3733 - }, 3734 - }, 3735 - ], 3736 - "type": "branch", 3737 - }, 3738 - }, 3739 - "f": { 3740 - "0": 1, 3741 - "1": 2, 3742 - "2": 0, 3743 - "3": 1, 3744 - "4": 0, 3745 - "5": 1, 3746 - }, 3747 - "fnMap": { 3748 - "0": { 3749 - "decl": { 3750 - "end": { 3751 - "column": 1, 3752 - "line": 3, 3753 - }, 3754 - "start": { 3755 - "column": 42, 3756 - "line": 1, 3757 - }, 3758 - }, 3759 - "line": 1, 3760 - "loc": { 3761 - "end": { 3762 - "column": 1, 3763 - "line": 3, 3764 - }, 3765 - "start": { 3766 - "column": 42, 3767 - "line": 1, 3768 - }, 3769 - }, 3770 - "name": "add", 3771 - }, 3772 - "1": { 3773 - "decl": { 3774 - "end": { 3775 - "column": 1, 3776 - "line": 7, 3777 - }, 3778 - "start": { 3779 - "column": 7, 3780 - "line": 5, 3781 - }, 3782 - }, 3783 - "line": 5, 3784 - "loc": { 3785 - "end": { 3786 - "column": 1, 3787 - "line": 7, 3788 - }, 3789 - "start": { 3790 - "column": 7, 3791 - "line": 5, 3792 - }, 3793 - }, 3794 - "name": "multiply", 3795 - }, 3796 - "2": { 3797 - "decl": { 3798 - "end": { 3799 - "column": 1, 3800 - "line": 12, 3801 - }, 3802 - "start": { 3803 - "column": 7, 3804 - "line": 9, 3805 - }, 3806 - }, 3807 - "line": 9, 3808 - "loc": { 3809 - "end": { 3810 - "column": 1, 3811 - "line": 12, 3812 - }, 3813 - "start": { 3814 - "column": 7, 3815 - "line": 9, 3816 - }, 3817 - }, 3818 - "name": "divide", 3819 - }, 3820 - "3": { 3821 - "decl": { 3822 - "end": { 3823 - "column": 1, 3824 - "line": 19, 3825 - }, 3826 - "start": { 3827 - "column": 7, 3828 - "line": 14, 3829 - }, 3830 - }, 3831 - "line": 14, 3832 - "loc": { 3833 - "end": { 3834 - "column": 1, 3835 - "line": 19, 3836 - }, 3837 - "start": { 3838 - "column": 7, 3839 - "line": 14, 3840 - }, 3841 - }, 3842 - "name": "sqrt", 3843 - }, 3844 - "4": { 3845 - "decl": { 3846 - "end": { 3847 - "column": 1, 3848 - "line": 24, 3849 - }, 3850 - "start": { 3851 - "column": 7, 3852 - "line": 21, 3853 - }, 3854 - }, 3855 - "line": 21, 3856 - "loc": { 3857 - "end": { 3858 - "column": 1, 3859 - "line": 24, 3860 - }, 3861 - "start": { 3862 - "column": 7, 3863 - "line": 21, 3864 - }, 3865 - }, 3866 - "name": "run", 3867 - }, 3868 - "5": { 3869 - "decl": { 3870 - "end": { 3871 - "column": 1, 3872 - "line": 30, 3873 - }, 3874 - "start": { 3875 - "column": 7, 3876 - "line": 28, 3877 - }, 3878 - }, 3879 - "line": 28, 3880 - "loc": { 3881 - "end": { 3882 - "column": 1, 3883 - "line": 30, 3884 - }, 3885 - "start": { 3886 - "column": 7, 3887 - "line": 28, 3888 - }, 3889 - }, 3890 - "name": "ignoredFunction", 3891 - }, 3892 - }, 3893 - "path": "<process-cwd>/src/utils.ts", 3894 - "s": { 3895 - "0": 1, 3896 - "1": 1, 3897 - "10": 0, 3898 - "11": 0, 3899 - "12": 1, 3900 - "13": 1, 3901 - "14": 1, 3902 - "15": 1, 3903 - "16": 1, 3904 - "17": 1, 3905 - "18": 1, 3906 - "19": 1, 3907 - "2": 1, 3908 - "20": 1, 3909 - "21": 0, 3910 - "22": 0, 3911 - "23": 0, 3912 - "24": 1, 3913 - "25": 1, 3914 - "26": 1, 3915 - "27": 1, 3916 - "28": 1, 3917 - "29": 1, 3918 - "3": 1, 3919 - "4": 1, 3920 - "5": 2, 3921 - "6": 2, 3922 - "7": 1, 3923 - "8": 1, 3924 - "9": 0, 3925 - }, 3926 - "statementMap": { 3927 - "0": { 3928 - "end": { 3929 - "column": 43, 3930 - "line": 1, 3931 - }, 3932 - "start": { 3933 - "column": 0, 3934 - "line": 1, 3935 - }, 3936 - }, 3937 - "1": { 3938 - "end": { 3939 - "column": 14, 3940 - "line": 2, 3941 - }, 3942 - "start": { 3943 - "column": 0, 3944 - "line": 2, 3945 - }, 3946 - }, 3947 - "10": { 3948 - "end": { 3949 - "column": 14, 3950 - "line": 11, 3951 - }, 3952 - "start": { 3953 - "column": 0, 3954 - "line": 11, 3955 - }, 3956 - }, 3957 - "11": { 3958 - "end": { 3959 - "column": 1, 3960 - "line": 12, 3961 - }, 3962 - "start": { 3963 - "column": 0, 3964 - "line": 12, 3965 - }, 3966 - }, 3967 - "12": { 3968 - "end": { 3969 - "column": 0, 3970 - "line": 13, 3971 - }, 3972 - "start": { 3973 - "column": 0, 3974 - "line": 13, 3975 - }, 3976 - }, 3977 - "13": { 3978 - "end": { 3979 - "column": 33, 3980 - "line": 14, 3981 - }, 3982 - "start": { 3983 - "column": 0, 3984 - "line": 14, 3985 - }, 3986 - }, 3987 - "14": { 3988 - "end": { 3989 - "column": 12, 3990 - "line": 15, 3991 - }, 3992 - "start": { 3993 - "column": 0, 3994 - "line": 15, 3995 - }, 3996 - }, 3997 - "15": { 3998 - "end": { 3999 - "column": 51, 4000 - "line": 16, 4001 - }, 4002 - "start": { 4003 - "column": 0, 4004 - "line": 16, 4005 - }, 4006 - }, 4007 - "16": { 4008 - "end": { 4009 - "column": 0, 4010 - "line": 17, 4011 - }, 4012 - "start": { 4013 - "column": 0, 4014 - "line": 17, 4015 - }, 4016 - }, 4017 - "17": { 4018 - "end": { 4019 - "column": 21, 4020 - "line": 18, 4021 - }, 4022 - "start": { 4023 - "column": 0, 4024 - "line": 18, 4025 - }, 4026 - }, 4027 - "18": { 4028 - "end": { 4029 - "column": 1, 4030 - "line": 19, 4031 - }, 4032 - "start": { 4033 - "column": 0, 4034 - "line": 19, 4035 - }, 4036 - }, 4037 - "19": { 4038 - "end": { 4039 - "column": 0, 4040 - "line": 20, 4041 - }, 4042 - "start": { 4043 - "column": 0, 4044 - "line": 20, 4045 - }, 4046 - }, 4047 - "2": { 4048 - "end": { 4049 - "column": 1, 4050 - "line": 3, 4051 - }, 4052 - "start": { 4053 - "column": 0, 4054 - "line": 3, 4055 - }, 4056 - }, 4057 - "20": { 4058 - "end": { 4059 - "column": 23, 4060 - "line": 21, 4061 - }, 4062 - "start": { 4063 - "column": 0, 4064 - "line": 21, 4065 - }, 4066 - }, 4067 - "21": { 4068 - "end": { 4069 - "column": 31, 4070 - "line": 22, 4071 - }, 4072 - "start": { 4073 - "column": 0, 4074 - "line": 22, 4075 - }, 4076 - }, 4077 - "22": { 4078 - "end": { 4079 - "column": 14, 4080 - "line": 23, 4081 - }, 4082 - "start": { 4083 - "column": 0, 4084 - "line": 23, 4085 - }, 4086 - }, 4087 - "23": { 4088 - "end": { 4089 - "column": 1, 4090 - "line": 24, 4091 - }, 4092 - "start": { 4093 - "column": 0, 4094 - "line": 24, 4095 - }, 4096 - }, 4097 - "24": { 4098 - "end": { 4099 - "column": 0, 4100 - "line": 25, 4101 - }, 4102 - "start": { 4103 - "column": 0, 4104 - "line": 25, 4105 - }, 4106 - }, 4107 - "25": { 4108 - "end": { 4109 - "column": 22, 4110 - "line": 26, 4111 - }, 4112 - "start": { 4113 - "column": 0, 4114 - "line": 26, 4115 - }, 4116 - }, 4117 - "26": { 4118 - "end": { 4119 - "column": 39, 4120 - "line": 27, 4121 - }, 4122 - "start": { 4123 - "column": 0, 4124 - "line": 27, 4125 - }, 4126 - }, 4127 - "27": { 4128 - "end": { 4129 - "column": 35, 4130 - "line": 28, 4131 - }, 4132 - "start": { 4133 - "column": 0, 4134 - "line": 28, 4135 - }, 4136 - }, 4137 - "28": { 4138 - "end": { 4139 - "column": 62, 4140 - "line": 29, 4141 - }, 4142 - "start": { 4143 - "column": 0, 4144 - "line": 29, 4145 - }, 4146 - }, 4147 - "29": { 4148 - "end": { 4149 - "column": 1, 4150 - "line": 30, 4151 - }, 4152 - "start": { 4153 - "column": 0, 4154 - "line": 30, 4155 - }, 4156 - }, 4157 - "3": { 4158 - "end": { 4159 - "column": 0, 4160 - "line": 4, 4161 - }, 4162 - "start": { 4163 - "column": 0, 4164 - "line": 4, 4165 - }, 4166 - }, 4167 - "4": { 4168 - "end": { 4169 - "column": 48, 4170 - "line": 5, 4171 - }, 4172 - "start": { 4173 - "column": 0, 4174 - "line": 5, 4175 - }, 4176 - }, 4177 - "5": { 4178 - "end": { 4179 - "column": 14, 4180 - "line": 6, 4181 - }, 4182 - "start": { 4183 - "column": 0, 4184 - "line": 6, 4185 - }, 4186 - }, 4187 - "6": { 4188 - "end": { 4189 - "column": 1, 4190 - "line": 7, 4191 - }, 4192 - "start": { 4193 - "column": 0, 4194 - "line": 7, 4195 - }, 4196 - }, 4197 - "7": { 4198 - "end": { 4199 - "column": 0, 4200 - "line": 8, 4201 - }, 4202 - "start": { 4203 - "column": 0, 4204 - "line": 8, 4205 - }, 4206 - }, 4207 - "8": { 4208 - "end": { 4209 - "column": 46, 4210 - "line": 9, 4211 - }, 4212 - "start": { 4213 - "column": 0, 4214 - "line": 9, 4215 - }, 4216 - }, 4217 - "9": { 4218 - "end": { 4219 - "column": 31, 4220 - "line": 10, 4221 - }, 4222 - "start": { 4223 - "column": 0, 4224 - "line": 10, 4225 - }, 4226 - }, 4227 - }, 4228 - }, 4229 - } 4230 - `;