@contractkit/plugin-typescript 0.18.0 → 0.19.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.turbo/turbo-build$colon$ci.log +7 -7
- package/.turbo/turbo-test$colon$ci.log +12 -12
- package/CHANGELOG.md +11 -0
- package/coverage/clover.xml +260 -167
- package/coverage/coverage-final.json +1 -1
- package/coverage/index.html +20 -20
- package/coverage/src/codegen-contract.ts.html +1 -1
- package/coverage/src/codegen-operation.ts.html +1 -1
- package/coverage/src/codegen-plain-types.ts.html +1 -1
- package/coverage/src/codegen-sdk.ts.html +1 -1
- package/coverage/src/index.html +20 -20
- package/coverage/src/index.ts.html +1052 -275
- package/coverage/src/path-utils.ts.html +1 -1
- package/coverage/src/ts-render.ts.html +1 -1
- package/coverage/tests/helpers.ts.html +1 -1
- package/coverage/tests/index.html +1 -1
- package/dist/index.d.ts +8 -41
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +446 -149
- package/dist/index.js.map +1 -1
- package/package.json +4 -4
- package/src/index.ts +481 -222
- package/tests/codegen-server.test.ts +3 -1
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
|
|
2
|
-
> @contractkit/plugin-typescript@0.
|
|
2
|
+
> @contractkit/plugin-typescript@0.19.0 build:ci /home/runner/work/ContractKit/ContractKit/packages/plugin-typescript
|
|
3
3
|
> eslint --max-warnings=0 && pnpm run build
|
|
4
4
|
|
|
5
5
|
|
|
6
|
-
> @contractkit/plugin-typescript@0.
|
|
6
|
+
> @contractkit/plugin-typescript@0.19.0 build /home/runner/work/ContractKit/ContractKit/packages/plugin-typescript
|
|
7
7
|
> tsup src/index.ts --format esm --sourcemap --dts && tsc --emitDeclarationOnly --declaration
|
|
8
8
|
|
|
9
9
|
[34mCLI[39m Building entry: src/index.ts
|
|
@@ -11,9 +11,9 @@
|
|
|
11
11
|
[34mCLI[39m tsup v8.5.1
|
|
12
12
|
[34mCLI[39m Target: esnext
|
|
13
13
|
[34mESM[39m Build start
|
|
14
|
-
[32mESM[39m [1mdist/index.js [22m[
|
|
15
|
-
[32mESM[39m [1mdist/index.js.map [22m[
|
|
16
|
-
[32mESM[39m ⚡️ Build success in
|
|
14
|
+
[32mESM[39m [1mdist/index.js [22m[32m145.87 KB[39m
|
|
15
|
+
[32mESM[39m [1mdist/index.js.map [22m[32m317.00 KB[39m
|
|
16
|
+
[32mESM[39m ⚡️ Build success in 449ms
|
|
17
17
|
[34mDTS[39m Build start
|
|
18
|
-
[32mDTS[39m ⚡️ Build success in
|
|
19
|
-
[32mDTS[39m [1mdist/index.d.ts [22m[
|
|
18
|
+
[32mDTS[39m ⚡️ Build success in 6617ms
|
|
19
|
+
[32mDTS[39m [1mdist/index.d.ts [22m[32m1.82 KB[39m
|
|
@@ -1,34 +1,34 @@
|
|
|
1
1
|
|
|
2
|
-
> @contractkit/plugin-typescript@0.
|
|
2
|
+
> @contractkit/plugin-typescript@0.19.0 test:ci /home/runner/work/ContractKit/ContractKit/packages/plugin-typescript
|
|
3
3
|
> vitest run --coverage
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
[1m[30m[46m RUN [49m[39m[22m [36mv4.1.5 [39m[90m/home/runner/work/ContractKit/ContractKit/packages/plugin-typescript[39m
|
|
7
7
|
[2mCoverage enabled with [22m[33mv8[39m
|
|
8
8
|
|
|
9
|
-
[32m✓[39m tests/codegen-
|
|
10
|
-
[32m✓[39m tests/codegen-
|
|
11
|
-
[32m✓[39m tests/codegen-sdk.test.ts [2m([22m[2m131 tests[22m[2m)[22m[32m
|
|
12
|
-
[32m✓[39m tests/codegen-plain-types.test.ts [2m([22m[2m61 tests[22m[2m)[22m[32m
|
|
13
|
-
[32m✓[39m tests/pipeline.test.ts [2m([22m[2m25 tests[22m[2m)[22m[32m
|
|
14
|
-
[32m✓[39m tests/codegen-server.test.ts [2m([22m[2m19 tests[22m[2m)[22m[32m
|
|
9
|
+
[32m✓[39m tests/codegen-contract.test.ts [2m([22m[2m124 tests[22m[2m)[22m[32m 300[2mms[22m[39m
|
|
10
|
+
[32m✓[39m tests/codegen-operation.test.ts [2m([22m[2m88 tests[22m[2m)[22m[32m 264[2mms[22m[39m
|
|
11
|
+
[32m✓[39m tests/codegen-sdk.test.ts [2m([22m[2m131 tests[22m[2m)[22m[32m 201[2mms[22m[39m
|
|
12
|
+
[32m✓[39m tests/codegen-plain-types.test.ts [2m([22m[2m61 tests[22m[2m)[22m[32m 34[2mms[22m[39m
|
|
13
|
+
[32m✓[39m tests/pipeline.test.ts [2m([22m[2m25 tests[22m[2m)[22m[32m 198[2mms[22m[39m
|
|
14
|
+
[32m✓[39m tests/codegen-server.test.ts [2m([22m[2m19 tests[22m[2m)[22m[32m 28[2mms[22m[39m
|
|
15
15
|
|
|
16
16
|
[2m Test Files [22m [1m[32m6 passed[39m[22m[90m (6)[39m
|
|
17
17
|
[2m Tests [22m [1m[32m448 passed[39m[22m[90m (448)[39m
|
|
18
|
-
[2m Start at [22m
|
|
19
|
-
[2m Duration [22m
|
|
18
|
+
[2m Start at [22m 11:09:07
|
|
19
|
+
[2m Duration [22m 7.56s[2m (transform 4.43s, setup 0ms, import 15.37s, tests 1.02s, environment 1ms)[22m
|
|
20
20
|
|
|
21
21
|
[34m % [39m[2mCoverage report from [22m[33mv8[39m
|
|
22
22
|
-------------------|---------|----------|---------|---------|-------------------
|
|
23
23
|
File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s
|
|
24
24
|
-------------------|---------|----------|---------|---------|-------------------
|
|
25
|
-
All files |
|
|
26
|
-
src |
|
|
25
|
+
All files | 79.96 | 75.35 | 83.41 | 82.44 |
|
|
26
|
+
src | 79.74 | 75.03 | 82.97 | 82.19 |
|
|
27
27
|
...n-contract.ts | 87.83 | 82.12 | 90.08 | 88.96 | ...1069,1074-1075
|
|
28
28
|
...-operation.ts | 78.18 | 74.26 | 78.08 | 79.69 | ...68-679,684-685
|
|
29
29
|
...lain-types.ts | 89.08 | 78.37 | 96.66 | 92.3 | ...31,243,249,301
|
|
30
30
|
codegen-sdk.ts | 88.26 | 83.01 | 87.14 | 91.22 | ...1087-1088,1091
|
|
31
|
-
index.ts |
|
|
31
|
+
index.ts | 58.17 | 47.22 | 63.04 | 62.78 | ...48-751,757-776
|
|
32
32
|
path-utils.ts | 36.52 | 27.53 | 75 | 38.14 | ...32-136,147-187
|
|
33
33
|
ts-render.ts | 82.19 | 85.39 | 72.22 | 87.09 | 56,90,126,157-165
|
|
34
34
|
tests | 90.38 | 90.9 | 89.28 | 93.47 |
|
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,16 @@
|
|
|
1
1
|
# @contractkit/contractkit-plugin-typescript
|
|
2
2
|
|
|
3
|
+
## 0.19.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- 10ca07b: Add per-output incremental caching to the Bruno, Python, and TypeScript plugins. Editing a single contract or operation no longer regenerates every output file — only the units whose transitive inputs actually changed are re-rendered, with the rest reused from a per-plugin manifest. `@contractkit/core` exposes the shared utility (`runIncrementalCodegen`, `parseIncrementalManifest`, `hashFingerprint`, `collectTransitiveModelRefs`, manifest types) for plugin authors. `PluginContext` gains a `cacheEnabled` flag so plugins can honor `--force` / `cache: false`.
|
|
8
|
+
|
|
9
|
+
### Patch Changes
|
|
10
|
+
|
|
11
|
+
- Updated dependencies [10ca07b]
|
|
12
|
+
- @contractkit/core@0.15.0
|
|
13
|
+
|
|
3
14
|
## 0.18.0
|
|
4
15
|
|
|
5
16
|
### Minor Changes
|
package/coverage/clover.xml
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
-
<coverage generated="
|
|
3
|
-
<project timestamp="
|
|
4
|
-
<metrics statements="
|
|
2
|
+
<coverage generated="1778152155275" clover="3.2.0">
|
|
3
|
+
<project timestamp="1778152155275" name="All files">
|
|
4
|
+
<metrics statements="2113" coveredstatements="1742" conditionals="1619" coveredconditionals="1220" methods="398" coveredmethods="332" elements="4130" coveredelements="3294" complexity="0" loc="2113" ncloc="2113" packages="2" files="8" classes="8"/>
|
|
5
5
|
<package name="src">
|
|
6
|
-
<metrics statements="
|
|
6
|
+
<metrics statements="2067" coveredstatements="1699" conditionals="1586" coveredconditionals="1190" methods="370" coveredmethods="307"/>
|
|
7
7
|
<file name="codegen-contract.ts" path="/home/runner/work/ContractKit/ContractKit/packages/plugin-typescript/src/codegen-contract.ts">
|
|
8
8
|
<metrics statements="553" coveredstatements="492" conditionals="470" coveredconditionals="386" methods="121" coveredmethods="109"/>
|
|
9
9
|
<line num="31" count="126" type="cond" truecount="3" falsecount="0"/>
|
|
@@ -1659,180 +1659,273 @@
|
|
|
1659
1659
|
<line num="1154" count="12" type="stmt"/>
|
|
1660
1660
|
</file>
|
|
1661
1661
|
<file name="index.ts" path="/home/runner/work/ContractKit/ContractKit/packages/plugin-typescript/src/index.ts">
|
|
1662
|
-
<metrics statements="
|
|
1663
|
-
<line num="
|
|
1664
|
-
<line num="
|
|
1665
|
-
<line num="
|
|
1666
|
-
<line num="
|
|
1667
|
-
<line num="
|
|
1668
|
-
<line num="
|
|
1669
|
-
<line num="
|
|
1670
|
-
<line num="
|
|
1671
|
-
<line num="
|
|
1672
|
-
<line num="
|
|
1673
|
-
<line num="
|
|
1674
|
-
<line num="
|
|
1675
|
-
<line num="
|
|
1676
|
-
<line num="
|
|
1677
|
-
<line num="
|
|
1678
|
-
<line num="
|
|
1679
|
-
<line num="
|
|
1680
|
-
<line num="
|
|
1681
|
-
<line num="
|
|
1682
|
-
<line num="
|
|
1683
|
-
<line num="
|
|
1684
|
-
<line num="
|
|
1685
|
-
<line num="
|
|
1686
|
-
<line num="
|
|
1687
|
-
<line num="
|
|
1688
|
-
<line num="
|
|
1689
|
-
<line num="
|
|
1690
|
-
<line num="
|
|
1691
|
-
<line num="
|
|
1692
|
-
<line num="
|
|
1693
|
-
<line num="
|
|
1694
|
-
<line num="
|
|
1695
|
-
<line num="
|
|
1696
|
-
<line num="
|
|
1697
|
-
<line num="
|
|
1698
|
-
<line num="
|
|
1699
|
-
<line num="
|
|
1700
|
-
<line num="
|
|
1701
|
-
<line num="
|
|
1702
|
-
<line num="
|
|
1703
|
-
<line num="
|
|
1704
|
-
<line num="
|
|
1705
|
-
<line num="
|
|
1706
|
-
<line num="
|
|
1707
|
-
<line num="
|
|
1708
|
-
<line num="
|
|
1709
|
-
<line num="207" count="0" type="stmt"/>
|
|
1710
|
-
<line num="208" count="0" type="stmt"/>
|
|
1711
|
-
<line num="209" count="0" type="stmt"/>
|
|
1712
|
-
<line num="210" count="0" type="stmt"/>
|
|
1713
|
-
<line num="211" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
1714
|
-
<line num="212" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
1715
|
-
<line num="216" count="0" type="stmt"/>
|
|
1662
|
+
<metrics statements="266" coveredstatements="167" conditionals="144" coveredconditionals="68" methods="46" coveredmethods="29"/>
|
|
1663
|
+
<line num="100" count="1" type="stmt"/>
|
|
1664
|
+
<line num="102" count="1" type="stmt"/>
|
|
1665
|
+
<line num="106" count="1" type="stmt"/>
|
|
1666
|
+
<line num="109" count="1" type="stmt"/>
|
|
1667
|
+
<line num="110" count="1" type="stmt"/>
|
|
1668
|
+
<line num="118" count="17" type="stmt"/>
|
|
1669
|
+
<line num="121" count="17" type="stmt"/>
|
|
1670
|
+
<line num="140" count="18" type="stmt"/>
|
|
1671
|
+
<line num="141" count="18" type="cond" truecount="1" falsecount="1"/>
|
|
1672
|
+
<line num="143" count="18" type="stmt"/>
|
|
1673
|
+
<line num="144" count="18" type="stmt"/>
|
|
1674
|
+
<line num="146" count="18" type="cond" truecount="2" falsecount="0"/>
|
|
1675
|
+
<line num="147" count="18" type="cond" truecount="2" falsecount="0"/>
|
|
1676
|
+
<line num="148" count="18" type="cond" truecount="1" falsecount="1"/>
|
|
1677
|
+
<line num="149" count="18" type="cond" truecount="1" falsecount="1"/>
|
|
1678
|
+
<line num="151" count="18" type="stmt"/>
|
|
1679
|
+
<line num="161" count="18" type="stmt"/>
|
|
1680
|
+
<line num="163" count="18" type="stmt"/>
|
|
1681
|
+
<line num="164" count="49" type="stmt"/>
|
|
1682
|
+
<line num="172" count="18" type="stmt"/>
|
|
1683
|
+
<line num="173" count="18" type="stmt"/>
|
|
1684
|
+
<line num="174" count="3" type="stmt"/>
|
|
1685
|
+
<line num="176" count="18" type="stmt"/>
|
|
1686
|
+
<line num="181" count="3" type="stmt"/>
|
|
1687
|
+
<line num="182" count="3" type="stmt"/>
|
|
1688
|
+
<line num="183" count="3" type="cond" truecount="1" falsecount="1"/>
|
|
1689
|
+
<line num="184" count="3" type="stmt"/>
|
|
1690
|
+
<line num="185" count="3" type="cond" truecount="1" falsecount="1"/>
|
|
1691
|
+
<line num="186" count="0" type="stmt"/>
|
|
1692
|
+
<line num="189" count="3" type="stmt"/>
|
|
1693
|
+
<line num="194" count="16" type="stmt"/>
|
|
1694
|
+
<line num="195" count="16" type="stmt"/>
|
|
1695
|
+
<line num="196" count="16" type="cond" truecount="2" falsecount="0"/>
|
|
1696
|
+
<line num="197" count="16" type="stmt"/>
|
|
1697
|
+
<line num="198" count="16" type="cond" truecount="1" falsecount="1"/>
|
|
1698
|
+
<line num="199" count="16" type="cond" truecount="1" falsecount="1"/>
|
|
1699
|
+
<line num="200" count="16" type="cond" truecount="2" falsecount="0"/>
|
|
1700
|
+
<line num="201" count="1" type="stmt"/>
|
|
1701
|
+
<line num="203" count="16" type="stmt"/>
|
|
1702
|
+
<line num="204" count="4" type="cond" truecount="2" falsecount="0"/>
|
|
1703
|
+
<line num="205" count="4" type="cond" truecount="1" falsecount="1"/>
|
|
1704
|
+
<line num="206" count="0" type="stmt"/>
|
|
1705
|
+
<line num="211" count="16" type="stmt"/>
|
|
1706
|
+
<line num="215" count="1" type="stmt"/>
|
|
1707
|
+
<line num="216" count="1" type="cond" truecount="1" falsecount="1"/>
|
|
1708
|
+
<line num="217" count="1" type="stmt"/>
|
|
1716
1709
|
<line num="218" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
1717
1710
|
<line num="219" count="0" type="stmt"/>
|
|
1718
|
-
<line num="
|
|
1719
|
-
<line num="
|
|
1720
|
-
<line num="
|
|
1721
|
-
<line num="
|
|
1722
|
-
<line num="
|
|
1723
|
-
<line num="
|
|
1724
|
-
<line num="
|
|
1725
|
-
<line num="
|
|
1726
|
-
<line num="
|
|
1727
|
-
<line num="
|
|
1728
|
-
<line num="
|
|
1729
|
-
<line num="
|
|
1730
|
-
<line num="
|
|
1731
|
-
<line num="
|
|
1732
|
-
<line num="
|
|
1733
|
-
<line num="
|
|
1734
|
-
<line num="
|
|
1735
|
-
<line num="
|
|
1736
|
-
<line num="
|
|
1737
|
-
<line num="
|
|
1738
|
-
<line num="
|
|
1739
|
-
<line num="
|
|
1740
|
-
<line num="
|
|
1741
|
-
<line num="
|
|
1742
|
-
<line num="
|
|
1743
|
-
<line num="
|
|
1744
|
-
<line num="
|
|
1745
|
-
<line num="
|
|
1746
|
-
<line num="
|
|
1747
|
-
<line num="
|
|
1748
|
-
<line num="
|
|
1749
|
-
<line num="
|
|
1750
|
-
<line num="
|
|
1751
|
-
<line num="
|
|
1752
|
-
<line num="
|
|
1753
|
-
<line num="
|
|
1754
|
-
<line num="
|
|
1755
|
-
<line num="
|
|
1756
|
-
<line num="
|
|
1757
|
-
<line num="
|
|
1758
|
-
<line num="
|
|
1759
|
-
<line num="
|
|
1760
|
-
<line num="
|
|
1761
|
-
<line num="
|
|
1762
|
-
<line num="
|
|
1763
|
-
<line num="
|
|
1764
|
-
<line num="
|
|
1765
|
-
<line num="
|
|
1766
|
-
<line num="
|
|
1767
|
-
<line num="
|
|
1711
|
+
<line num="220" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
1712
|
+
<line num="221" count="0" type="stmt"/>
|
|
1713
|
+
<line num="223" count="1" type="stmt"/>
|
|
1714
|
+
<line num="228" count="19" type="stmt"/>
|
|
1715
|
+
<line num="229" count="19" type="stmt"/>
|
|
1716
|
+
<line num="230" count="2" type="stmt"/>
|
|
1717
|
+
<line num="231" count="2" type="cond" truecount="1" falsecount="1"/>
|
|
1718
|
+
<line num="232" count="2" type="cond" truecount="1" falsecount="1"/>
|
|
1719
|
+
<line num="233" count="0" type="stmt"/>
|
|
1720
|
+
<line num="234" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
1721
|
+
<line num="236" count="2" type="cond" truecount="1" falsecount="1"/>
|
|
1722
|
+
<line num="237" count="0" type="stmt"/>
|
|
1723
|
+
<line num="238" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
1724
|
+
<line num="241" count="19" type="stmt"/>
|
|
1725
|
+
<line num="246" count="38" type="stmt"/>
|
|
1726
|
+
<line num="247" count="38" type="stmt"/>
|
|
1727
|
+
<line num="248" count="0" type="cond" truecount="0" falsecount="4"/>
|
|
1728
|
+
<line num="250" count="38" type="stmt"/>
|
|
1729
|
+
<line num="261" count="14" type="cond" truecount="2" falsecount="0"/>
|
|
1730
|
+
<line num="262" count="14" type="stmt"/>
|
|
1731
|
+
<line num="263" count="14" type="stmt"/>
|
|
1732
|
+
<line num="264" count="14" type="stmt"/>
|
|
1733
|
+
<line num="265" count="14" type="stmt"/>
|
|
1734
|
+
<line num="266" count="14" type="stmt"/>
|
|
1735
|
+
<line num="267" count="14" type="stmt"/>
|
|
1736
|
+
<line num="272" count="14" type="stmt"/>
|
|
1737
|
+
<line num="273" count="14" type="stmt"/>
|
|
1738
|
+
<line num="274" count="14" type="cond" truecount="2" falsecount="0"/>
|
|
1739
|
+
<line num="275" count="3" type="stmt"/>
|
|
1740
|
+
<line num="276" count="3" type="stmt"/>
|
|
1741
|
+
<line num="277" count="3" type="stmt"/>
|
|
1742
|
+
<line num="278" count="3" type="stmt"/>
|
|
1743
|
+
<line num="279" count="3" type="stmt"/>
|
|
1744
|
+
<line num="280" count="3" type="cond" truecount="1" falsecount="1"/>
|
|
1745
|
+
<line num="281" count="3" type="cond" truecount="1" falsecount="1"/>
|
|
1746
|
+
<line num="287" count="14" type="stmt"/>
|
|
1747
|
+
<line num="288" count="3" type="stmt"/>
|
|
1748
|
+
<line num="289" count="3" type="stmt"/>
|
|
1749
|
+
<line num="290" count="3" type="stmt"/>
|
|
1750
|
+
<line num="300" count="3" type="stmt"/>
|
|
1751
|
+
<line num="304" count="3" type="stmt"/>
|
|
1752
|
+
<line num="310" count="3" type="cond" truecount="2" falsecount="0"/>
|
|
1753
|
+
<line num="311" count="3" type="stmt"/>
|
|
1754
|
+
<line num="317" count="14" type="stmt"/>
|
|
1755
|
+
<line num="318" count="13" type="stmt"/>
|
|
1756
|
+
<line num="319" count="13" type="stmt"/>
|
|
1757
|
+
<line num="320" count="13" type="stmt"/>
|
|
1758
|
+
<line num="333" count="13" type="stmt"/>
|
|
1759
|
+
<line num="336" count="13" type="stmt"/>
|
|
1760
|
+
<line num="362" count="4" type="cond" truecount="1" falsecount="1"/>
|
|
1761
|
+
<line num="363" count="4" type="stmt"/>
|
|
1762
|
+
<line num="364" count="4" type="stmt"/>
|
|
1763
|
+
<line num="365" count="4" type="cond" truecount="1" falsecount="1"/>
|
|
1764
|
+
<line num="368" count="4" type="stmt"/>
|
|
1765
|
+
<line num="369" count="4" type="stmt"/>
|
|
1766
|
+
<line num="371" count="4" type="stmt"/>
|
|
1767
|
+
<line num="372" count="4" type="stmt"/>
|
|
1768
|
+
<line num="373" count="4" type="stmt"/>
|
|
1769
|
+
<line num="374" count="5" type="stmt"/>
|
|
1770
|
+
<line num="375" count="4" type="stmt"/>
|
|
1771
|
+
<line num="377" count="4" type="stmt"/>
|
|
1768
1772
|
<line num="378" count="4" type="stmt"/>
|
|
1769
1773
|
<line num="379" count="4" type="stmt"/>
|
|
1770
|
-
<line num="380" count="4" type="stmt"/>
|
|
1771
1774
|
<line num="382" count="4" type="stmt"/>
|
|
1772
1775
|
<line num="383" count="4" type="cond" truecount="1" falsecount="1"/>
|
|
1773
|
-
<line num="384" count="
|
|
1774
|
-
<line num="
|
|
1775
|
-
<line num="
|
|
1776
|
-
<line num="
|
|
1777
|
-
<line num="
|
|
1778
|
-
<line num="
|
|
1776
|
+
<line num="384" count="0" type="stmt"/>
|
|
1777
|
+
<line num="385" count="0" type="stmt"/>
|
|
1778
|
+
<line num="386" count="0" type="stmt"/>
|
|
1779
|
+
<line num="387" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
1780
|
+
<line num="388" count="0" type="cond" truecount="0" falsecount="4"/>
|
|
1781
|
+
<line num="389" count="0" type="stmt"/>
|
|
1782
|
+
<line num="390" count="0" type="stmt"/>
|
|
1783
|
+
<line num="391" count="0" type="stmt"/>
|
|
1779
1784
|
<line num="392" count="0" type="stmt"/>
|
|
1780
1785
|
<line num="393" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
1781
|
-
<line num="394" count="0" type="
|
|
1782
|
-
<line num="
|
|
1783
|
-
<line num="
|
|
1784
|
-
<line num="
|
|
1785
|
-
<line num="
|
|
1786
|
-
<line num="410" count="0" type="stmt"/>
|
|
1787
|
-
<line num="411" count="0" type="stmt"/>
|
|
1786
|
+
<line num="394" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
1787
|
+
<line num="400" count="4" type="stmt"/>
|
|
1788
|
+
<line num="401" count="0" type="stmt"/>
|
|
1789
|
+
<line num="402" count="0" type="stmt"/>
|
|
1790
|
+
<line num="403" count="0" type="stmt"/>
|
|
1788
1791
|
<line num="414" count="0" type="stmt"/>
|
|
1789
|
-
<line num="
|
|
1790
|
-
<line num="416" count="0" type="stmt"/>
|
|
1791
|
-
<line num="417" count="0" type="stmt"/>
|
|
1792
|
-
<line num="418" count="0" type="stmt"/>
|
|
1793
|
-
<line num="419" count="0" type="stmt"/>
|
|
1792
|
+
<line num="419" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
1794
1793
|
<line num="420" count="0" type="stmt"/>
|
|
1795
|
-
<line num="421" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
1796
|
-
<line num="422" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
1797
|
-
<line num="426" count="0" type="stmt"/>
|
|
1798
1794
|
<line num="427" count="0" type="stmt"/>
|
|
1799
|
-
<line num="
|
|
1800
|
-
<line num="
|
|
1801
|
-
<line num="
|
|
1802
|
-
<line num="447" count="
|
|
1803
|
-
<line num="448" count="
|
|
1804
|
-
<line num="
|
|
1805
|
-
<line num="
|
|
1806
|
-
<line num="
|
|
1807
|
-
<line num="
|
|
1808
|
-
<line num="
|
|
1809
|
-
<line num="
|
|
1810
|
-
<line num="
|
|
1811
|
-
<line num="
|
|
1812
|
-
<line num="
|
|
1813
|
-
<line num="
|
|
1814
|
-
<line num="
|
|
1815
|
-
<line num="
|
|
1816
|
-
<line num="
|
|
1817
|
-
<line num="
|
|
1818
|
-
<line num="
|
|
1819
|
-
<line num="
|
|
1820
|
-
<line num="
|
|
1821
|
-
<line num="
|
|
1822
|
-
<line num="
|
|
1823
|
-
<line num="
|
|
1824
|
-
<line num="
|
|
1825
|
-
<line num="
|
|
1826
|
-
<line num="
|
|
1827
|
-
<line num="
|
|
1828
|
-
<line num="512" count="
|
|
1829
|
-
<line num="513" count="
|
|
1830
|
-
<line num="
|
|
1831
|
-
<line num="
|
|
1832
|
-
<line num="
|
|
1833
|
-
<line num="
|
|
1834
|
-
<line num="
|
|
1835
|
-
<line num="
|
|
1795
|
+
<line num="428" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
1796
|
+
<line num="429" count="0" type="stmt"/>
|
|
1797
|
+
<line num="437" count="0" type="stmt"/>
|
|
1798
|
+
<line num="447" count="4" type="stmt"/>
|
|
1799
|
+
<line num="448" count="4" type="stmt"/>
|
|
1800
|
+
<line num="450" count="4" type="cond" truecount="1" falsecount="1"/>
|
|
1801
|
+
<line num="451" count="4" type="stmt"/>
|
|
1802
|
+
<line num="452" count="5" type="stmt"/>
|
|
1803
|
+
<line num="453" count="5" type="cond" truecount="3" falsecount="1"/>
|
|
1804
|
+
<line num="454" count="5" type="stmt"/>
|
|
1805
|
+
<line num="455" count="5" type="cond" truecount="4" falsecount="0"/>
|
|
1806
|
+
<line num="456" count="2" type="cond" truecount="2" falsecount="0"/>
|
|
1807
|
+
<line num="457" count="2" type="stmt"/>
|
|
1808
|
+
<line num="458" count="2" type="stmt"/>
|
|
1809
|
+
<line num="459" count="3" type="cond" truecount="2" falsecount="0"/>
|
|
1810
|
+
<line num="460" count="2" type="cond" truecount="2" falsecount="0"/>
|
|
1811
|
+
<line num="461" count="2" type="stmt"/>
|
|
1812
|
+
<line num="462" count="2" type="stmt"/>
|
|
1813
|
+
<line num="464" count="1" type="stmt"/>
|
|
1814
|
+
<line num="469" count="4" type="stmt"/>
|
|
1815
|
+
<line num="470" count="3" type="stmt"/>
|
|
1816
|
+
<line num="471" count="2" type="stmt"/>
|
|
1817
|
+
<line num="472" count="2" type="stmt"/>
|
|
1818
|
+
<line num="473" count="2" type="stmt"/>
|
|
1819
|
+
<line num="474" count="2" type="stmt"/>
|
|
1820
|
+
<line num="487" count="2" type="stmt"/>
|
|
1821
|
+
<line num="490" count="2" type="stmt"/>
|
|
1822
|
+
<line num="510" count="4" type="stmt"/>
|
|
1823
|
+
<line num="511" count="1" type="stmt"/>
|
|
1824
|
+
<line num="512" count="1" type="stmt"/>
|
|
1825
|
+
<line num="513" count="1" type="stmt"/>
|
|
1826
|
+
<line num="514" count="1" type="stmt"/>
|
|
1827
|
+
<line num="526" count="1" type="stmt"/>
|
|
1828
|
+
<line num="529" count="1" type="stmt"/>
|
|
1829
|
+
<line num="551" count="4" type="stmt"/>
|
|
1830
|
+
<line num="553" count="4" type="cond" truecount="2" falsecount="0"/>
|
|
1831
|
+
<line num="554" count="4" type="cond" truecount="1" falsecount="1"/>
|
|
1832
|
+
<line num="555" count="4" type="stmt"/>
|
|
1833
|
+
<line num="556" count="4" type="stmt"/>
|
|
1834
|
+
<line num="557" count="4" type="cond" truecount="1" falsecount="1"/>
|
|
1835
|
+
<line num="558" count="4" type="cond" truecount="1" falsecount="1"/>
|
|
1836
|
+
<line num="561" count="0" type="stmt"/>
|
|
1837
|
+
<line num="565" count="4" type="stmt"/>
|
|
1838
|
+
<line num="566" count="2" type="stmt"/>
|
|
1839
|
+
<line num="567" count="2" type="cond" truecount="1" falsecount="1"/>
|
|
1840
|
+
<line num="568" count="2" type="stmt"/>
|
|
1841
|
+
<line num="571" count="4" type="stmt"/>
|
|
1842
|
+
<line num="575" count="1" type="stmt"/>
|
|
1843
|
+
<line num="576" count="1" type="cond" truecount="1" falsecount="1"/>
|
|
1844
|
+
<line num="580" count="4" type="stmt"/>
|
|
1845
|
+
<line num="581" count="0" type="stmt"/>
|
|
1846
|
+
<line num="582" count="3" type="stmt"/>
|
|
1847
|
+
<line num="584" count="2" type="stmt"/>
|
|
1848
|
+
<line num="597" count="0" type="stmt"/>
|
|
1849
|
+
<line num="598" count="2" type="stmt"/>
|
|
1850
|
+
<line num="608" count="4" type="stmt"/>
|
|
1851
|
+
<line num="614" count="4" type="stmt"/>
|
|
1852
|
+
<line num="615" count="4" type="stmt"/>
|
|
1853
|
+
<line num="616" count="4" type="stmt"/>
|
|
1854
|
+
<line num="618" count="4" type="stmt"/>
|
|
1855
|
+
<line num="619" count="4" type="cond" truecount="1" falsecount="1"/>
|
|
1856
|
+
<line num="620" count="4" type="stmt"/>
|
|
1857
|
+
<line num="621" count="3" type="stmt"/>
|
|
1858
|
+
<line num="622" count="3" type="cond" truecount="1" falsecount="1"/>
|
|
1859
|
+
<line num="623" count="3" type="stmt"/>
|
|
1860
|
+
<line num="625" count="4" type="stmt"/>
|
|
1861
|
+
<line num="626" count="0" type="stmt"/>
|
|
1862
|
+
<line num="627" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
1863
|
+
<line num="628" count="0" type="stmt"/>
|
|
1864
|
+
<line num="630" count="4" type="stmt"/>
|
|
1865
|
+
<line num="644" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
1866
|
+
<line num="645" count="0" type="stmt"/>
|
|
1867
|
+
<line num="646" count="0" type="stmt"/>
|
|
1868
|
+
<line num="647" count="0" type="stmt"/>
|
|
1869
|
+
<line num="648" count="0" type="stmt"/>
|
|
1870
|
+
<line num="649" count="0" type="stmt"/>
|
|
1871
|
+
<line num="650" count="0" type="stmt"/>
|
|
1872
|
+
<line num="652" count="0" type="stmt"/>
|
|
1873
|
+
<line num="653" count="0" type="stmt"/>
|
|
1874
|
+
<line num="654" count="0" type="stmt"/>
|
|
1875
|
+
<line num="655" count="0" type="stmt"/>
|
|
1876
|
+
<line num="656" count="0" type="stmt"/>
|
|
1877
|
+
<line num="657" count="0" type="stmt"/>
|
|
1878
|
+
<line num="658" count="0" type="stmt"/>
|
|
1879
|
+
<line num="659" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
1880
|
+
<line num="660" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
1881
|
+
<line num="664" count="0" type="stmt"/>
|
|
1882
|
+
<line num="665" count="0" type="stmt"/>
|
|
1883
|
+
<line num="666" count="0" type="stmt"/>
|
|
1884
|
+
<line num="667" count="0" type="stmt"/>
|
|
1885
|
+
<line num="677" count="0" type="stmt"/>
|
|
1886
|
+
<line num="680" count="0" type="stmt"/>
|
|
1887
|
+
<line num="698" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
1888
|
+
<line num="699" count="0" type="stmt"/>
|
|
1889
|
+
<line num="700" count="0" type="stmt"/>
|
|
1890
|
+
<line num="701" count="0" type="stmt"/>
|
|
1891
|
+
<line num="702" count="0" type="stmt"/>
|
|
1892
|
+
<line num="703" count="0" type="stmt"/>
|
|
1893
|
+
<line num="704" count="0" type="stmt"/>
|
|
1894
|
+
<line num="706" count="0" type="stmt"/>
|
|
1895
|
+
<line num="707" count="0" type="stmt"/>
|
|
1896
|
+
<line num="708" count="0" type="stmt"/>
|
|
1897
|
+
<line num="709" count="0" type="stmt"/>
|
|
1898
|
+
<line num="710" count="0" type="stmt"/>
|
|
1899
|
+
<line num="711" count="0" type="stmt"/>
|
|
1900
|
+
<line num="712" count="0" type="stmt"/>
|
|
1901
|
+
<line num="713" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
1902
|
+
<line num="714" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
1903
|
+
<line num="718" count="0" type="stmt"/>
|
|
1904
|
+
<line num="719" count="0" type="stmt"/>
|
|
1905
|
+
<line num="720" count="0" type="stmt"/>
|
|
1906
|
+
<line num="721" count="0" type="stmt"/>
|
|
1907
|
+
<line num="731" count="0" type="stmt"/>
|
|
1908
|
+
<line num="734" count="0" type="stmt"/>
|
|
1909
|
+
<line num="747" count="18" type="cond" truecount="1" falsecount="1"/>
|
|
1910
|
+
<line num="748" count="0" type="stmt"/>
|
|
1911
|
+
<line num="749" count="0" type="stmt"/>
|
|
1912
|
+
<line num="751" count="0" type="stmt"/>
|
|
1913
|
+
<line num="756" count="18" type="cond" truecount="1" falsecount="1"/>
|
|
1914
|
+
<line num="757" count="0" type="stmt"/>
|
|
1915
|
+
<line num="758" count="0" type="stmt"/>
|
|
1916
|
+
<line num="759" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
1917
|
+
<line num="760" count="0" type="stmt"/>
|
|
1918
|
+
<line num="761" count="0" type="stmt"/>
|
|
1919
|
+
<line num="765" count="0" type="stmt"/>
|
|
1920
|
+
<line num="766" count="0" type="stmt"/>
|
|
1921
|
+
<line num="767" count="0" type="stmt"/>
|
|
1922
|
+
<line num="768" count="0" type="stmt"/>
|
|
1923
|
+
<line num="769" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
1924
|
+
<line num="770" count="0" type="stmt"/>
|
|
1925
|
+
<line num="771" count="0" type="stmt"/>
|
|
1926
|
+
<line num="773" count="0" type="stmt"/>
|
|
1927
|
+
<line num="776" count="0" type="stmt"/>
|
|
1928
|
+
<line num="784" count="18" type="cond" truecount="1" falsecount="1"/>
|
|
1836
1929
|
</file>
|
|
1837
1930
|
<file name="path-utils.ts" path="/home/runner/work/ContractKit/ContractKit/packages/plugin-typescript/src/path-utils.ts">
|
|
1838
1931
|
<metrics statements="97" coveredstatements="37" conditionals="69" coveredconditionals="19" methods="12" coveredmethods="9"/>
|