@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.
@@ -1,9 +1,9 @@
1
1
 
2
- > @contractkit/plugin-typescript@0.18.0 build:ci /home/runner/work/ContractKit/ContractKit/packages/plugin-typescript
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.18.0 build /home/runner/work/ContractKit/ContractKit/packages/plugin-typescript
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
  CLI Building entry: src/index.ts
@@ -11,9 +11,9 @@
11
11
  CLI tsup v8.5.1
12
12
  CLI Target: esnext
13
13
  ESM Build start
14
- ESM dist/index.js 135.58 KB
15
- ESM dist/index.js.map 298.86 KB
16
- ESM ⚡️ Build success in 308ms
14
+ ESM dist/index.js 145.87 KB
15
+ ESM dist/index.js.map 317.00 KB
16
+ ESM ⚡️ Build success in 449ms
17
17
  DTS Build start
18
- DTS ⚡️ Build success in 5090ms
19
- DTS dist/index.d.ts 3.67 KB
18
+ DTS ⚡️ Build success in 6617ms
19
+ DTS dist/index.d.ts 1.82 KB
@@ -1,34 +1,34 @@
1
1
 
2
- > @contractkit/plugin-typescript@0.18.0 test:ci /home/runner/work/ContractKit/ContractKit/packages/plugin-typescript
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
   RUN  v4.1.5 /home/runner/work/ContractKit/ContractKit/packages/plugin-typescript
7
7
  Coverage enabled with v8
8
8
 
9
- ✓ tests/codegen-operation.test.ts (88 tests) 53ms
10
- ✓ tests/codegen-contract.test.ts (124 tests) 120ms
11
- ✓ tests/codegen-sdk.test.ts (131 tests) 76ms
12
- ✓ tests/codegen-plain-types.test.ts (61 tests) 37ms
13
- ✓ tests/pipeline.test.ts (25 tests) 142ms
14
- ✓ tests/codegen-server.test.ts (19 tests) 24ms
9
+ ✓ tests/codegen-contract.test.ts (124 tests) 300ms
10
+ ✓ tests/codegen-operation.test.ts (88 tests) 264ms
11
+ ✓ tests/codegen-sdk.test.ts (131 tests) 201ms
12
+ ✓ tests/codegen-plain-types.test.ts (61 tests) 34ms
13
+ ✓ tests/pipeline.test.ts (25 tests) 198ms
14
+ ✓ tests/codegen-server.test.ts (19 tests) 28ms
15
15
 
16
16
   Test Files  6 passed (6)
17
17
   Tests  448 passed (448)
18
-  Start at  16:22:10
19
-  Duration  6.11s (transform 5.19s, setup 0ms, import 12.92s, tests 452ms, environment 1ms)
18
+  Start at  11:09:07
19
+  Duration  7.56s (transform 4.43s, setup 0ms, import 15.37s, tests 1.02s, environment 1ms)
20
20
 
21
21
   % Coverage report from v8
22
22
  -------------------|---------|----------|---------|---------|-------------------
23
23
  File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s
24
24
  -------------------|---------|----------|---------|---------|-------------------
25
- All files | 80.98 | 76.16 | 84.16 | 83.21 |
26
- src | 80.77 | 75.84 | 83.76 | 82.97 |
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 | 57.28 | 46.93 | 59.25 | 61.27 | ...90,493,519,522
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
@@ -1,9 +1,9 @@
1
1
  <?xml version="1.0" encoding="UTF-8"?>
2
- <coverage generated="1778084537070" clover="3.2.0">
3
- <project timestamp="1778084537071" name="All files">
4
- <metrics statements="2020" coveredstatements="1681" conditionals="1573" coveredconditionals="1198" methods="379" coveredmethods="319" elements="3972" coveredelements="3198" complexity="0" loc="2020" ncloc="2020" packages="2" files="8" classes="8"/>
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="1974" coveredstatements="1638" conditionals="1540" coveredconditionals="1168" methods="351" coveredmethods="294"/>
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="173" coveredstatements="106" conditionals="98" coveredconditionals="46" methods="27" coveredmethods="16"/>
1663
- <line num="118" count="14" type="cond" truecount="2" falsecount="0"/>
1664
- <line num="119" count="14" type="stmt"/>
1665
- <line num="120" count="14" type="stmt"/>
1666
- <line num="121" count="14" type="stmt"/>
1667
- <line num="122" count="14" type="stmt"/>
1668
- <line num="127" count="14" type="stmt"/>
1669
- <line num="129" count="14" type="cond" truecount="2" falsecount="0"/>
1670
- <line num="130" count="3" type="stmt"/>
1671
- <line num="134" count="3" type="stmt"/>
1672
- <line num="135" count="3" type="stmt"/>
1673
- <line num="136" count="3" type="stmt"/>
1674
- <line num="137" count="3" type="stmt"/>
1675
- <line num="138" count="3" type="stmt"/>
1676
- <line num="139" count="3" type="stmt"/>
1677
- <line num="140" count="3" type="cond" truecount="1" falsecount="1"/>
1678
- <line num="141" count="0" type="stmt"/>
1679
- <line num="143" count="3" type="cond" truecount="1" falsecount="1"/>
1680
- <line num="144" count="0" type="stmt"/>
1681
- <line num="150" count="3" type="stmt"/>
1682
- <line num="151" count="3" type="stmt"/>
1683
- <line num="152" count="3" type="cond" truecount="2" falsecount="0"/>
1684
- <line num="153" count="3" type="stmt"/>
1685
- <line num="158" count="14" type="stmt"/>
1686
- <line num="159" count="13" type="stmt"/>
1687
- <line num="160" count="13" type="stmt"/>
1688
- <line num="168" count="13" type="stmt"/>
1689
- <line num="180" count="4" type="cond" truecount="1" falsecount="1"/>
1690
- <line num="181" count="4" type="stmt"/>
1691
- <line num="182" count="4" type="stmt"/>
1692
- <line num="183" count="4" type="cond" truecount="1" falsecount="1"/>
1693
- <line num="186" count="4" type="stmt"/>
1694
- <line num="188" count="4" type="stmt"/>
1695
- <line num="189" count="4" type="stmt"/>
1696
- <line num="190" count="5" type="stmt"/>
1697
- <line num="191" count="4" type="stmt"/>
1698
- <line num="193" count="4" type="stmt"/>
1699
- <line num="194" count="4" type="stmt"/>
1700
- <line num="195" count="4" type="stmt"/>
1701
- <line num="198" count="4" type="cond" truecount="1" falsecount="1"/>
1702
- <line num="199" count="0" type="stmt"/>
1703
- <line num="200" count="0" type="stmt"/>
1704
- <line num="202" count="0" type="stmt"/>
1705
- <line num="203" count="0" type="stmt"/>
1706
- <line num="204" count="0" type="stmt"/>
1707
- <line num="205" count="0" type="cond" truecount="0" falsecount="2"/>
1708
- <line num="206" count="0" type="cond" truecount="0" falsecount="4"/>
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="226" count="0" type="stmt"/>
1719
- <line num="227" count="0" type="cond" truecount="0" falsecount="2"/>
1720
- <line num="228" count="0" type="stmt"/>
1721
- <line num="236" count="0" type="stmt"/>
1722
- <line num="249" count="4" type="stmt"/>
1723
- <line num="250" count="4" type="stmt"/>
1724
- <line num="252" count="4" type="cond" truecount="1" falsecount="1"/>
1725
- <line num="253" count="4" type="stmt"/>
1726
- <line num="254" count="5" type="stmt"/>
1727
- <line num="255" count="5" type="cond" truecount="3" falsecount="1"/>
1728
- <line num="257" count="5" type="stmt"/>
1729
- <line num="258" count="5" type="cond" truecount="4" falsecount="0"/>
1730
- <line num="259" count="2" type="cond" truecount="2" falsecount="0"/>
1731
- <line num="260" count="2" type="stmt"/>
1732
- <line num="261" count="2" type="stmt"/>
1733
- <line num="262" count="3" type="cond" truecount="2" falsecount="0"/>
1734
- <line num="263" count="2" type="cond" truecount="2" falsecount="0"/>
1735
- <line num="264" count="2" type="stmt"/>
1736
- <line num="265" count="2" type="stmt"/>
1737
- <line num="267" count="1" type="stmt"/>
1738
- <line num="272" count="4" type="stmt"/>
1739
- <line num="273" count="2" type="cond" truecount="1" falsecount="1"/>
1740
- <line num="274" count="2" type="stmt"/>
1741
- <line num="275" count="2" type="stmt"/>
1742
- <line num="289" count="4" type="stmt"/>
1743
- <line num="290" count="1" type="stmt"/>
1744
- <line num="291" count="1" type="stmt"/>
1745
- <line num="292" count="1" type="stmt"/>
1746
- <line num="308" count="4" type="stmt"/>
1747
- <line num="311" count="4" type="cond" truecount="2" falsecount="0"/>
1748
- <line num="312" count="4" type="cond" truecount="1" falsecount="1"/>
1749
- <line num="313" count="4" type="stmt"/>
1750
- <line num="314" count="4" type="stmt"/>
1751
- <line num="315" count="4" type="cond" truecount="1" falsecount="1"/>
1752
- <line num="316" count="4" type="cond" truecount="1" falsecount="1"/>
1753
- <line num="319" count="0" type="stmt"/>
1754
- <line num="323" count="4" type="stmt"/>
1755
- <line num="324" count="2" type="stmt"/>
1756
- <line num="325" count="2" type="cond" truecount="1" falsecount="1"/>
1757
- <line num="326" count="2" type="stmt"/>
1758
- <line num="329" count="4" type="stmt"/>
1759
- <line num="333" count="1" type="stmt"/>
1760
- <line num="334" count="1" type="cond" truecount="1" falsecount="1"/>
1761
- <line num="338" count="4" type="stmt"/>
1762
- <line num="339" count="0" type="stmt"/>
1763
- <line num="340" count="3" type="stmt"/>
1764
- <line num="342" count="2" type="stmt"/>
1765
- <line num="355" count="0" type="stmt"/>
1766
- <line num="356" count="2" type="stmt"/>
1767
- <line num="366" count="4" type="stmt"/>
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="4" type="stmt"/>
1774
- <line num="386" count="4" type="stmt"/>
1775
- <line num="387" count="3" type="stmt"/>
1776
- <line num="388" count="3" type="cond" truecount="1" falsecount="1"/>
1777
- <line num="389" count="3" type="stmt"/>
1778
- <line num="391" count="4" type="stmt"/>
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="stmt"/>
1782
- <line num="396" count="4" type="stmt"/>
1783
- <line num="407" count="0" type="cond" truecount="0" falsecount="2"/>
1784
- <line num="408" count="0" type="stmt"/>
1785
- <line num="409" count="0" type="stmt"/>
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="415" count="0" type="stmt"/>
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="433" count="0" type="stmt"/>
1800
- <line num="445" count="0" type="cond" truecount="0" falsecount="2"/>
1801
- <line num="446" count="0" type="stmt"/>
1802
- <line num="447" count="0" type="stmt"/>
1803
- <line num="448" count="0" type="stmt"/>
1804
- <line num="449" count="0" type="stmt"/>
1805
- <line num="452" count="0" type="stmt"/>
1806
- <line num="453" count="0" type="stmt"/>
1807
- <line num="454" count="0" type="stmt"/>
1808
- <line num="455" count="0" type="stmt"/>
1809
- <line num="456" count="0" type="stmt"/>
1810
- <line num="457" count="0" type="stmt"/>
1811
- <line num="458" count="0" type="stmt"/>
1812
- <line num="459" count="0" type="cond" truecount="0" falsecount="2"/>
1813
- <line num="460" count="0" type="cond" truecount="0" falsecount="2"/>
1814
- <line num="464" count="0" type="stmt"/>
1815
- <line num="465" count="0" type="stmt"/>
1816
- <line num="471" count="0" type="stmt"/>
1817
- <line num="477" count="1" type="stmt"/>
1818
- <line num="481" count="1" type="stmt"/>
1819
- <line num="483" count="1" type="cond" truecount="1" falsecount="1"/>
1820
- <line num="484" count="1" type="stmt"/>
1821
- <line num="486" count="1" type="cond" truecount="1" falsecount="1"/>
1822
- <line num="487" count="0" type="stmt"/>
1823
- <line num="489" count="1" type="cond" truecount="1" falsecount="1"/>
1824
- <line num="490" count="0" type="stmt"/>
1825
- <line num="492" count="1" type="cond" truecount="1" falsecount="1"/>
1826
- <line num="493" count="0" type="stmt"/>
1827
- <line num="508" count="17" type="stmt"/>
1828
- <line num="512" count="17" type="cond" truecount="2" falsecount="0"/>
1829
- <line num="513" count="13" type="stmt"/>
1830
- <line num="515" count="17" type="cond" truecount="2" falsecount="0"/>
1831
- <line num="516" count="4" type="stmt"/>
1832
- <line num="518" count="17" type="cond" truecount="1" falsecount="1"/>
1833
- <line num="519" count="0" type="stmt"/>
1834
- <line num="521" count="17" type="cond" truecount="1" falsecount="1"/>
1835
- <line num="522" count="0" type="stmt"/>
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"/>