Skip to content

Commit

Permalink
test: update coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
ex3ndr committed Jun 27, 2023
1 parent 1f72a88 commit 7c7830a
Show file tree
Hide file tree
Showing 11 changed files with 265 additions and 134 deletions.
15 changes: 14 additions & 1 deletion examples/output/echo_Echo.code.boc.html
Original file line number Diff line number Diff line change
Expand Up @@ -33,13 +33,15 @@ <h1>Code coverage</h1>
<pre>
<span class="line"><span class="count"></span><span class="gas"></span><span class="padding"></span>PROGRAM{</span>
<span class="line"><span class="count"></span><span class="gas"></span><span class="padding">..</span>DECLPROC recv_internal;</span>
<span class="line"><span class="count"></span><span class="gas"></span><span class="padding">..</span>DECLPROC ?fun_105790;</span>
<span class="line"><span class="count"></span><span class="gas"></span><span class="padding">..</span>DECLPROC supported_interfaces;</span>
<span class="line"><span class="count"></span><span class="gas"></span><span class="padding">..</span>DECLPROC lazy_deployment_completed;</span>
<span class="line"><span class="count"></span><span class="gas"></span><span class="padding">..</span>DECLPROC ?fun_115554;</span>
<span class="line"><span class="count"></span><span class="gas"></span><span class="padding">..</span>DECLPROC get_abi_ipfs;</span>
<span class="line"><span class="count"></span><span class="gas"></span><span class="padding">..</span>DECLPROC ?fun_ref_7b0b7ac68163f545;</span>
<span class="line"><span class="count"></span><span class="gas"></span><span class="padding">..</span>DECLPROC ?fun_ref_8e0b7601d5773f02;</span>
<span class="line"><span class="count"></span><span class="gas"></span><span class="padding">..</span>DECLPROC ?fun_ref_a2813468f47d741c;</span>
<span class="line"><span class="count"></span><span class="gas"></span><span class="padding">..</span>DECLPROC ?fun_ref_a919648a283a4b4d;</span>
<span class="line"><span class="count"></span><span class="gas"></span><span class="padding">..</span>DECLPROC ?fun_ref_b93b9862cda1783c;</span>
<span class="line"><span class="count"></span><span class="gas"></span><span class="padding">..</span>DECLPROC ?fun_ref_dca7aba6e712f2dd;</span>
<span class="line"><span class="count"></span><span class="gas"></span><span class="padding">..</span>DECLPROC ?fun_ref_e31d986f279fa0fb;</span>
Expand Down Expand Up @@ -91,6 +93,12 @@ <h1>Code coverage</h1>
<span class="line-uncovered"><span class="gas"></span><span class="count"></span><span class="padding">....</span><span class="opcode">ENDC</span></span>
<span class="line-uncovered"><span class="gas"></span><span class="count"></span><span class="padding">....</span><span class="opcode">c4 POP</span></span>
<span class="line-uncovered"><span class="gas"></span><span class="count"></span><span class="padding">..</span><span class="opcode">}></span></span>
<span class="line-uncovered"><span class="gas"></span><span class="count"></span><span class="padding">..</span><span class="opcode">?fun_105790 PROC:<{</span></span>
<span class="line-uncovered"><span class="gas"></span><span class="count"></span><span class="padding">....</span><span class="opcode">?fun_ref_fbd3661091469c71 INLINECALLDICT</span></span>
<span class="line-uncovered"><span class="gas"></span><span class="count"></span><span class="padding">....</span><span class="opcode">s0 s1 XCHG</span></span>
<span class="line-uncovered"><span class="gas"></span><span class="count"></span><span class="padding">....</span><span class="opcode">?fun_ref_a919648a283a4b4d INLINECALLDICT</span></span>
<span class="line-uncovered"><span class="gas"></span><span class="count"></span><span class="padding">....</span><span class="opcode">s1 POP</span></span>
<span class="line-uncovered"><span class="gas"></span><span class="count"></span><span class="padding">..</span><span class="opcode">}></span></span>
<span class="line-uncovered"><span class="gas"></span><span class="count"></span><span class="padding">..</span><span class="opcode">supported_interfaces PROC:<{</span></span>
<span class="line-uncovered"><span class="gas"></span><span class="count"></span><span class="padding">....</span><span class="opcode">123515602279859691144772641439386770278 PUSHINT</span></span>
<span class="line-uncovered"><span class="gas"></span><span class="count"></span><span class="padding">....</span><span class="opcode">209801025412363888721030803524359905849 PUSHINT</span></span>
Expand All @@ -110,7 +118,7 @@ <h1>Code coverage</h1>
<span class="line-uncovered"><span class="gas"></span><span class="count"></span><span class="padding">....</span><span class="opcode">s1 POP</span></span>
<span class="line-uncovered"><span class="gas"></span><span class="count"></span><span class="padding">..</span><span class="opcode">}></span></span>
<span class="line-uncovered"><span class="gas"></span><span class="count"></span><span class="padding">..</span><span class="opcode">get_abi_ipfs PROC:<{</span></span>
<span class="line-uncovered"><span class="gas"></span><span class="count"></span><span class="padding">....</span><span class="opcode">x{697066733A2F2F516D586132505A524D4B4A7A33413974474464414E42576F4B4141656979687256453443527A326169746B6A317A82_} PUSHSLICE</span></span>
<span class="line-uncovered"><span class="gas"></span><span class="count"></span><span class="padding">....</span><span class="opcode">x{697066733A2F2F516D6548637A5A6A5A754E4564556F6B78333239477543534E6F79655A354D3339436A5A48626A6858436A776B5382_} PUSHSLICE</span></span>
<span class="line-uncovered"><span class="gas"></span><span class="count"></span><span class="padding">..</span><span class="opcode">}></span></span>
<span class="line-uncovered"><span class="gas"></span><span class="count"></span><span class="padding">..</span><span class="opcode">?fun_ref_7b0b7ac68163f545 PROCREF:<{</span></span>
<span class="line-uncovered"><span class="gas"></span><span class="count"></span><span class="padding">....</span><span class="opcode">NEWC</span></span>
Expand Down Expand Up @@ -292,6 +300,11 @@ <h1>Code coverage</h1>
<span class="line-covered"><span class="gas">18</span><span class="count">x12</span><span class="padding">....</span><span class="opcode">WHILE</span></span>
<span class="line-covered"><span class="gas">26</span><span class="count">x12</span><span class="padding">....</span><span class="opcode">3 BLKDROP</span></span>
<span class="line-covered"><span class="gas"></span><span class="count">x12</span><span class="padding">..</span><span class="opcode">}></span></span>
<span class="line-uncovered"><span class="gas"></span><span class="count"></span><span class="padding">..</span><span class="opcode">?fun_ref_a919648a283a4b4d PROCREF:<{</span></span>
<span class="line-uncovered"><span class="gas"></span><span class="count"></span><span class="padding">....</span><span class="opcode">10 LSHIFT</span></span>
<span class="line-uncovered"><span class="gas"></span><span class="count"></span><span class="padding">....</span><span class="opcode">32 PUSHINT</span></span>
<span class="line-uncovered"><span class="gas"></span><span class="count"></span><span class="padding">....</span><span class="opcode">AND</span></span>
<span class="line-uncovered"><span class="gas"></span><span class="count"></span><span class="padding">..</span><span class="opcode">}></span></span>
<span class="line-covered"><span class="gas"></span><span class="count">x71</span><span class="padding">..</span><span class="opcode">?fun_ref_b93b9862cda1783c PROCREF:<{</span></span>
<span class="line-covered"><span class="gas">18</span><span class="count">x71</span><span class="padding">....</span><span class="opcode">NEWC</span></span>
<span class="line-covered"><span class="gas">18</span><span class="count">x71</span><span class="padding">....</span><span class="opcode">1 PUSHINT</span></span>
Expand Down
26 changes: 13 additions & 13 deletions examples/output/inheritance_Contract.code.boc.html
Original file line number Diff line number Diff line change
Expand Up @@ -179,25 +179,25 @@ <h1>Code coverage</h1>
<span class="line-uncovered"><span class="gas"></span><span class="count"></span><span class="padding">....</span><span class="opcode">?fun_ref_d816dc4ba685aed0 INLINECALLDICT</span></span>
<span class="line-uncovered"><span class="gas"></span><span class="count"></span><span class="padding">....</span><span class="opcode">s1 POP</span></span>
<span class="line-uncovered"><span class="gas"></span><span class="count"></span><span class="padding">..</span><span class="opcode">}></span></span>
<span class="line-covered"><span class="gas"></span><span class="count">x340</span><span class="padding">..</span><span class="opcode">?fun_ref_a05e0042bce184fb PROCREF:<{</span></span>
<span class="line-covered"><span class="gas">26</span><span class="count">x340</span><span class="padding">....</span><span class="opcode">c4 PUSH</span></span>
<span class="line-covered"><span class="gas">118</span><span class="count">x340</span><span class="padding">....</span><span class="opcode">CTOS</span></span>
<span class="line-covered"><span class="gas">18</span><span class="count">x340</span><span class="padding">....</span><span class="opcode">LDREF</span></span>
<span class="line-covered"><span class="gas">18</span><span class="count">x340</span><span class="padding">....</span><span class="opcode">s0 s1 XCHG</span></span>
<span class="line-covered"><span class="gas">30</span><span class="count">x340</span><span class="padding">....</span><span class="opcode">3 SETGLOBVAR</span></span>
<span class="line-covered"><span class="gas">26</span><span class="count">x340</span><span class="padding">....</span><span class="opcode">1 LDI</span></span>
<span class="line-covered"><span class="gas">18</span><span class="count">x340</span><span class="padding">....</span><span class="opcode">s0 POP</span></span>
<span class="line-covered"><span class="gas">18</span><span class="count">x340</span><span class="padding">....</span><span class="opcode"><{</span></span>
<span class="line-covered"><span class="gas">18</span><span class="count">x269</span><span class="padding">......</span><span class="opcode">NULL</span></span>
<span class="line-covered"><span class="gas">18</span><span class="count">x340</span><span class="padding">....</span><span class="opcode">}> PUSHCONT</span></span>
<span class="line-covered"><span class="gas">18</span><span class="count">x340</span><span class="padding">....</span><span class="opcode">IFJMP</span></span>
<span class="line-covered"><span class="gas"></span><span class="count">x344</span><span class="padding">..</span><span class="opcode">?fun_ref_a05e0042bce184fb PROCREF:<{</span></span>
<span class="line-covered"><span class="gas">26</span><span class="count">x344</span><span class="padding">....</span><span class="opcode">c4 PUSH</span></span>
<span class="line-covered"><span class="gas">118</span><span class="count">x344</span><span class="padding">....</span><span class="opcode">CTOS</span></span>
<span class="line-covered"><span class="gas">18</span><span class="count">x344</span><span class="padding">....</span><span class="opcode">LDREF</span></span>
<span class="line-covered"><span class="gas">18</span><span class="count">x344</span><span class="padding">....</span><span class="opcode">s0 s1 XCHG</span></span>
<span class="line-covered"><span class="gas">30</span><span class="count">x344</span><span class="padding">....</span><span class="opcode">3 SETGLOBVAR</span></span>
<span class="line-covered"><span class="gas">26</span><span class="count">x344</span><span class="padding">....</span><span class="opcode">1 LDI</span></span>
<span class="line-covered"><span class="gas">18</span><span class="count">x344</span><span class="padding">....</span><span class="opcode">s0 POP</span></span>
<span class="line-covered"><span class="gas">18</span><span class="count">x344</span><span class="padding">....</span><span class="opcode"><{</span></span>
<span class="line-covered"><span class="gas">18</span><span class="count">x273</span><span class="padding">......</span><span class="opcode">NULL</span></span>
<span class="line-covered"><span class="gas">18</span><span class="count">x344</span><span class="padding">....</span><span class="opcode">}> PUSHCONT</span></span>
<span class="line-covered"><span class="gas">18</span><span class="count">x344</span><span class="padding">....</span><span class="opcode">IFJMP</span></span>
<span class="line-covered"><span class="gas">26</span><span class="count">x71</span><span class="padding">....</span><span class="opcode">MYADDR</span></span>
<span class="line-covered"><span class="gas">34</span><span class="count">x71</span><span class="padding">....</span><span class="opcode">11 PLDU</span></span>
<span class="line-covered"><span class="gas">26</span><span class="count">x71</span><span class="padding">....</span><span class="opcode">10 PUSHPOW2</span></span>
<span class="line-covered"><span class="gas">18</span><span class="count">x71</span><span class="padding">....</span><span class="opcode">EQUAL</span></span>
<span class="line-covered"><span class="gas">34</span><span class="count">x71</span><span class="padding">....</span><span class="opcode">137 THROWIFNOT</span></span>
<span class="line-covered"><span class="gas">126</span><span class="count">x71</span><span class="padding">....</span><span class="opcode">?fun_ref_c0ca23818e24f3c9 INLINECALLDICT</span></span>
<span class="line-covered"><span class="gas"></span><span class="count">x340</span><span class="padding">..</span><span class="opcode">}></span></span>
<span class="line-covered"><span class="gas"></span><span class="count">x344</span><span class="padding">..</span><span class="opcode">}></span></span>
<span class="line-covered"><span class="gas"></span><span class="count">x80</span><span class="padding">..</span><span class="opcode">?fun_ref_c0ca23818e24f3c9 PROCREF:<{</span></span>
<span class="line-covered"><span class="gas">18</span><span class="count">x80</span><span class="padding">....</span><span class="opcode">NULL</span></span>
<span class="line-covered"><span class="gas"></span><span class="count">x80</span><span class="padding">..</span><span class="opcode">}></span></span>
Expand Down
Loading

0 comments on commit 7c7830a

Please sign in to comment.