Skip to content

Commit

Permalink
feat: update coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
brotherlymite committed May 7, 2024
1 parent 6cd0460 commit 9aefb95
Show file tree
Hide file tree
Showing 13 changed files with 175 additions and 145 deletions.
26 changes: 13 additions & 13 deletions report/contracts/src/contracts/RiskSteward.sol.func-c.html
Original file line number Diff line number Diff line change
Expand Up @@ -31,18 +31,18 @@
<td class="headerValue">lcov.info.p</td>
<td></td>
<td class="headerItem">Lines:</td>
<td class="headerCovTableEntryHi">95.7&nbsp;%</td>
<td class="headerCovTableEntryHi">100.0&nbsp;%</td>
<td class="headerCovTableEntry">94</td>
<td class="headerCovTableEntry">94</td>
<td class="headerCovTableEntry">90</td>
</tr>
<tr>
<td class="headerItem">Test Date:</td>
<td class="headerValue">2024-05-07 19:38:40</td>
<td class="headerValue">2024-05-07 20:11:46</td>
<td></td>
<td class="headerItem">Functions:</td>
<td class="headerCovTableEntryHi">94.7&nbsp;%</td>
<td class="headerCovTableEntryHi">100.0&nbsp;%</td>
<td class="headerCovTableEntry">19</td>
<td class="headerCovTableEntry">19</td>
<td class="headerCovTableEntry">18</td>
</tr>
<tr>
<td></td>
Expand Down Expand Up @@ -70,18 +70,11 @@
<td class="tableHead">Hit count <span title="Click to sort table by function hit count" class="tableHeadSort"><img src="../../../glass.png" width=10 height=14 alt="Sort by function hit count" title="Click to sort table by function hit count" border=0></span></td>


</tr>
<tr>
<td class="coverFn"><a href="RiskSteward.sol.gcov.html#L50">RiskSteward.</a></td>

<td class="coverFnLo">0</td>


</tr>
<tr>
<td class="coverFn"><a href="RiskSteward.sol.gcov.html#L94">RiskSteward.getRiskConfig</a></td>

<td class="coverFnHi">1</td>
<td class="coverFnHi">2</td>


</tr>
Expand Down Expand Up @@ -133,6 +126,13 @@
<td class="coverFnHi">7</td>


</tr>
<tr>
<td class="coverFn"><a href="RiskSteward.sol.gcov.html#L50">RiskSteward.</a></td>

<td class="coverFnHi">8</td>


</tr>
<tr>
<td class="coverFn"><a href="RiskSteward.sol.gcov.html#L113">RiskSteward._validateCapsUpdate</a></td>
Expand Down
14 changes: 7 additions & 7 deletions report/contracts/src/contracts/RiskSteward.sol.func.html
Original file line number Diff line number Diff line change
Expand Up @@ -31,18 +31,18 @@
<td class="headerValue">lcov.info.p</td>
<td></td>
<td class="headerItem">Lines:</td>
<td class="headerCovTableEntryHi">95.7&nbsp;%</td>
<td class="headerCovTableEntryHi">100.0&nbsp;%</td>
<td class="headerCovTableEntry">94</td>
<td class="headerCovTableEntry">94</td>
<td class="headerCovTableEntry">90</td>
</tr>
<tr>
<td class="headerItem">Test Date:</td>
<td class="headerValue">2024-05-07 19:38:40</td>
<td class="headerValue">2024-05-07 20:11:46</td>
<td></td>
<td class="headerItem">Functions:</td>
<td class="headerCovTableEntryHi">94.7&nbsp;%</td>
<td class="headerCovTableEntryHi">100.0&nbsp;%</td>
<td class="headerCovTableEntry">19</td>
<td class="headerCovTableEntry">19</td>
<td class="headerCovTableEntry">18</td>
</tr>
<tr>
<td></td>
Expand Down Expand Up @@ -74,7 +74,7 @@
<tr>
<td class="coverFn"><a href="RiskSteward.sol.gcov.html#L50">RiskSteward.</a></td>

<td class="coverFnLo">0</td>
<td class="coverFnHi">8</td>


</tr>
Expand Down Expand Up @@ -144,7 +144,7 @@
<tr>
<td class="coverFn"><a href="RiskSteward.sol.gcov.html#L94">RiskSteward.getRiskConfig</a></td>

<td class="coverFnHi">1</td>
<td class="coverFnHi">2</td>


</tr>
Expand Down
26 changes: 13 additions & 13 deletions report/contracts/src/contracts/RiskSteward.sol.gcov.html
Original file line number Diff line number Diff line change
Expand Up @@ -31,18 +31,18 @@
<td class="headerValue">lcov.info.p</td>
<td></td>
<td class="headerItem">Lines:</td>
<td class="headerCovTableEntryHi">95.7&nbsp;%</td>
<td class="headerCovTableEntryHi">100.0&nbsp;%</td>
<td class="headerCovTableEntry">94</td>
<td class="headerCovTableEntry">94</td>
<td class="headerCovTableEntry">90</td>
</tr>
<tr>
<td class="headerItem">Test Date:</td>
<td class="headerValue">2024-05-07 19:38:40</td>
<td class="headerValue">2024-05-07 20:11:46</td>
<td></td>
<td class="headerItem">Functions:</td>
<td class="headerCovTableEntryHi">94.7&nbsp;%</td>
<td class="headerCovTableEntryHi">100.0&nbsp;%</td>
<td class="headerCovTableEntry">19</td>
<td class="headerCovTableEntry">19</td>
<td class="headerCovTableEntry">18</td>
</tr>
<tr>
<td></td>
Expand Down Expand Up @@ -120,20 +120,20 @@
<span id="L49"><span class="lineNum"> 49</span> : : * @param riskCouncil the safe address of the council being able to interact with the steward</span>
<span id="L50"><span class="lineNum"> 50</span> : : * @param riskConfig the risk configuration to setup for each individual risk param</span>
<span id="L51"><span class="lineNum"> 51</span> : : */</span>
<span id="L52"><span class="lineNum"> 52</span> :<span class="tlaUNC tlaBgUNC"> 0 : constructor(</span></span>
<span id="L52"><span class="lineNum"> 52</span> :<span class="tlaGNC"> 8 : constructor(</span></span>
<span id="L53"><span class="lineNum"> 53</span> : : IPoolDataProvider poolDataProvider,</span>
<span id="L54"><span class="lineNum"> 54</span> : : IEngine engine,</span>
<span id="L55"><span class="lineNum"> 55</span> : : address riskCouncil,</span>
<span id="L56"><span class="lineNum"> 56</span> : : Config memory riskConfig</span>
<span id="L57"><span class="lineNum"> 57</span> : : ) {</span>
<span id="L58"><span class="lineNum"> 58</span> :<span class="tlaUNC"> 0 : POOL_DATA_PROVIDER = poolDataProvider;</span></span>
<span id="L59"><span class="lineNum"> 59</span> :<span class="tlaUNC"> 0 : CONFIG_ENGINE = engine;</span></span>
<span id="L60"><span class="lineNum"> 60</span> :<span class="tlaUNC"> 0 : RISK_COUNCIL = riskCouncil;</span></span>
<span id="L61"><span class="lineNum"> 61</span> :<span class="tlaUNC"> 0 : _riskConfig = riskConfig;</span></span>
<span id="L58"><span class="lineNum"> 58</span> :<span class="tlaGNC"> 6 : POOL_DATA_PROVIDER = poolDataProvider;</span></span>
<span id="L59"><span class="lineNum"> 59</span> :<span class="tlaGNC"> 4 : CONFIG_ENGINE = engine;</span></span>
<span id="L60"><span class="lineNum"> 60</span> :<span class="tlaGNC"> 8 : RISK_COUNCIL = riskCouncil;</span></span>
<span id="L61"><span class="lineNum"> 61</span> :<span class="tlaGNC"> 10 : _riskConfig = riskConfig;</span></span>
<span id="L62"><span class="lineNum"> 62</span> : : }</span>
<span id="L63"><span class="lineNum"> 63</span> : : </span>
<span id="L64"><span class="lineNum"> 64</span> : : /// @inheritdoc IRiskSteward</span>
<span id="L65"><span class="lineNum"> 65</span> :<span class="tlaGNC tlaBgGNC"> 266 : function updateCaps(IEngine.CapsUpdate[] calldata capsUpdate) external onlyRiskCouncil {</span></span>
<span id="L65"><span class="lineNum"> 65</span> :<span class="tlaGNC"> 266 : function updateCaps(IEngine.CapsUpdate[] calldata capsUpdate) external onlyRiskCouncil {</span></span>
<span id="L66"><span class="lineNum"> 66</span> :<span class="tlaGNC"> 20 : _validateCapsUpdate(capsUpdate);</span></span>
<span id="L67"><span class="lineNum"> 67</span> :<span class="tlaGNC"> 8 : _updateCaps(capsUpdate);</span></span>
<span id="L68"><span class="lineNum"> 68</span> : : }</span>
Expand Down Expand Up @@ -164,8 +164,8 @@
<span id="L93"><span class="lineNum"> 93</span> : : }</span>
<span id="L94"><span class="lineNum"> 94</span> : : </span>
<span id="L95"><span class="lineNum"> 95</span> : : /// @inheritdoc IRiskSteward</span>
<span id="L96"><span class="lineNum"> 96</span> :<span class="tlaGNC"> 1 : function getRiskConfig() external view returns (Config memory) {</span></span>
<span id="L97"><span class="lineNum"> 97</span> :<span class="tlaGNC"> 2 : return _riskConfig;</span></span>
<span id="L96"><span class="lineNum"> 96</span> :<span class="tlaGNC"> 2 : function getRiskConfig() external view returns (Config memory) {</span></span>
<span id="L97"><span class="lineNum"> 97</span> :<span class="tlaGNC"> 4 : return _riskConfig;</span></span>
<span id="L98"><span class="lineNum"> 98</span> : : }</span>
<span id="L99"><span class="lineNum"> 99</span> : : </span>
<span id="L100"><span class="lineNum"> 100</span> : : /// @inheritdoc IRiskSteward</span>
Expand Down
20 changes: 10 additions & 10 deletions report/contracts/src/contracts/index-sort-b.html
Original file line number Diff line number Diff line change
Expand Up @@ -31,18 +31,18 @@
<td class="headerValue">lcov.info.p</td>
<td></td>
<td class="headerItem">Lines:</td>
<td class="headerCovTableEntryHi">95.7&nbsp;%</td>
<td class="headerCovTableEntryHi">100.0&nbsp;%</td>
<td class="headerCovTableEntry">94</td>
<td class="headerCovTableEntry">94</td>
<td class="headerCovTableEntry">90</td>
</tr>
<tr>
<td class="headerItem">Test Date:</td>
<td class="headerValue">2024-05-07 19:38:40</td>
<td class="headerValue">2024-05-07 20:11:46</td>
<td></td>
<td class="headerItem">Functions:</td>
<td class="headerCovTableEntryHi">94.7&nbsp;%</td>
<td class="headerCovTableEntryHi">100.0&nbsp;%</td>
<td class="headerCovTableEntry">19</td>
<td class="headerCovTableEntry">19</td>
<td class="headerCovTableEntry">18</td>
</tr>
<tr>
<td></td>
Expand Down Expand Up @@ -98,17 +98,17 @@
<tr>
<td class="coverFile"><a href="RiskSteward.sol.gcov.html">RiskSteward.sol</a></td>
<td class="coverBar" align="center">
<table border=0 cellspacing=0 cellpadding=1><tr><td class="coverBarOutline"><img src="../../../emerald.png" width=96 height=10 alt="95.7%"><img src="../../../snow.png" width=4 height=10 alt="95.7%"></td></tr></table>
<table border=0 cellspacing=0 cellpadding=1><tr><td class="coverBarOutline"><img src="../../../emerald.png" width=100 height=10 alt="100.0%"></td></tr></table>
</td>
<td class="coverPerHi">95.7&nbsp;%</td>
<td class="coverPerHi">100.0&nbsp;%</td>
<td class="coverNumDflt">94</td>
<td class="coverNumDflt">94</td>
<td class="coverNumDflt">90</td>
<td class="coverPerHi">-</td>
<td class="coverNumDflt"></td>
<td class="coverNumDflt"></td>
<td class="coverPerHi">94.7&nbsp;%</td>
<td class="coverPerHi">100.0&nbsp;%</td>
<td class="coverNumDflt">19</td>
<td class="coverNumDflt">19</td>
<td class="coverNumDflt">18</td>
</tr>
</table>
</center>
Expand Down
20 changes: 10 additions & 10 deletions report/contracts/src/contracts/index-sort-f.html
Original file line number Diff line number Diff line change
Expand Up @@ -31,18 +31,18 @@
<td class="headerValue">lcov.info.p</td>
<td></td>
<td class="headerItem">Lines:</td>
<td class="headerCovTableEntryHi">95.7&nbsp;%</td>
<td class="headerCovTableEntryHi">100.0&nbsp;%</td>
<td class="headerCovTableEntry">94</td>
<td class="headerCovTableEntry">94</td>
<td class="headerCovTableEntry">90</td>
</tr>
<tr>
<td class="headerItem">Test Date:</td>
<td class="headerValue">2024-05-07 19:38:40</td>
<td class="headerValue">2024-05-07 20:11:46</td>
<td></td>
<td class="headerItem">Functions:</td>
<td class="headerCovTableEntryHi">94.7&nbsp;%</td>
<td class="headerCovTableEntryHi">100.0&nbsp;%</td>
<td class="headerCovTableEntry">19</td>
<td class="headerCovTableEntry">19</td>
<td class="headerCovTableEntry">18</td>
</tr>
<tr>
<td></td>
Expand Down Expand Up @@ -98,17 +98,17 @@
<tr>
<td class="coverFile"><a href="RiskSteward.sol.gcov.html">RiskSteward.sol</a></td>
<td class="coverBar" align="center">
<table border=0 cellspacing=0 cellpadding=1><tr><td class="coverBarOutline"><img src="../../../emerald.png" width=96 height=10 alt="95.7%"><img src="../../../snow.png" width=4 height=10 alt="95.7%"></td></tr></table>
<table border=0 cellspacing=0 cellpadding=1><tr><td class="coverBarOutline"><img src="../../../emerald.png" width=100 height=10 alt="100.0%"></td></tr></table>
</td>
<td class="coverPerHi">95.7&nbsp;%</td>
<td class="coverPerHi">100.0&nbsp;%</td>
<td class="coverNumDflt">94</td>
<td class="coverNumDflt">94</td>
<td class="coverNumDflt">90</td>
<td class="coverPerHi">-</td>
<td class="coverNumDflt"></td>
<td class="coverNumDflt"></td>
<td class="coverPerHi">94.7&nbsp;%</td>
<td class="coverPerHi">100.0&nbsp;%</td>
<td class="coverNumDflt">19</td>
<td class="coverNumDflt">19</td>
<td class="coverNumDflt">18</td>
</tr>
</table>
</center>
Expand Down
20 changes: 10 additions & 10 deletions report/contracts/src/contracts/index-sort-l.html
Original file line number Diff line number Diff line change
Expand Up @@ -31,18 +31,18 @@
<td class="headerValue">lcov.info.p</td>
<td></td>
<td class="headerItem">Lines:</td>
<td class="headerCovTableEntryHi">95.7&nbsp;%</td>
<td class="headerCovTableEntryHi">100.0&nbsp;%</td>
<td class="headerCovTableEntry">94</td>
<td class="headerCovTableEntry">94</td>
<td class="headerCovTableEntry">90</td>
</tr>
<tr>
<td class="headerItem">Test Date:</td>
<td class="headerValue">2024-05-07 19:38:40</td>
<td class="headerValue">2024-05-07 20:11:46</td>
<td></td>
<td class="headerItem">Functions:</td>
<td class="headerCovTableEntryHi">94.7&nbsp;%</td>
<td class="headerCovTableEntryHi">100.0&nbsp;%</td>
<td class="headerCovTableEntry">19</td>
<td class="headerCovTableEntry">19</td>
<td class="headerCovTableEntry">18</td>
</tr>
<tr>
<td></td>
Expand Down Expand Up @@ -98,17 +98,17 @@
<tr>
<td class="coverFile"><a href="RiskSteward.sol.gcov.html">RiskSteward.sol</a></td>
<td class="coverBar" align="center">
<table border=0 cellspacing=0 cellpadding=1><tr><td class="coverBarOutline"><img src="../../../emerald.png" width=96 height=10 alt="95.7%"><img src="../../../snow.png" width=4 height=10 alt="95.7%"></td></tr></table>
<table border=0 cellspacing=0 cellpadding=1><tr><td class="coverBarOutline"><img src="../../../emerald.png" width=100 height=10 alt="100.0%"></td></tr></table>
</td>
<td class="coverPerHi">95.7&nbsp;%</td>
<td class="coverPerHi">100.0&nbsp;%</td>
<td class="coverNumDflt">94</td>
<td class="coverNumDflt">94</td>
<td class="coverNumDflt">90</td>
<td class="coverPerHi">-</td>
<td class="coverNumDflt"></td>
<td class="coverNumDflt"></td>
<td class="coverPerHi">94.7&nbsp;%</td>
<td class="coverPerHi">100.0&nbsp;%</td>
<td class="coverNumDflt">19</td>
<td class="coverNumDflt">19</td>
<td class="coverNumDflt">18</td>
</tr>
</table>
</center>
Expand Down
20 changes: 10 additions & 10 deletions report/contracts/src/contracts/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -31,18 +31,18 @@
<td class="headerValue">lcov.info.p</td>
<td></td>
<td class="headerItem">Lines:</td>
<td class="headerCovTableEntryHi">95.7&nbsp;%</td>
<td class="headerCovTableEntryHi">100.0&nbsp;%</td>
<td class="headerCovTableEntry">94</td>
<td class="headerCovTableEntry">94</td>
<td class="headerCovTableEntry">90</td>
</tr>
<tr>
<td class="headerItem">Test Date:</td>
<td class="headerValue">2024-05-07 19:38:40</td>
<td class="headerValue">2024-05-07 20:11:46</td>
<td></td>
<td class="headerItem">Functions:</td>
<td class="headerCovTableEntryHi">94.7&nbsp;%</td>
<td class="headerCovTableEntryHi">100.0&nbsp;%</td>
<td class="headerCovTableEntry">19</td>
<td class="headerCovTableEntry">19</td>
<td class="headerCovTableEntry">18</td>
</tr>
<tr>
<td></td>
Expand Down Expand Up @@ -98,17 +98,17 @@
<tr>
<td class="coverFile"><a href="RiskSteward.sol.gcov.html">RiskSteward.sol</a></td>
<td class="coverBar" align="center">
<table border=0 cellspacing=0 cellpadding=1><tr><td class="coverBarOutline"><img src="../../../emerald.png" width=96 height=10 alt="95.7%"><img src="../../../snow.png" width=4 height=10 alt="95.7%"></td></tr></table>
<table border=0 cellspacing=0 cellpadding=1><tr><td class="coverBarOutline"><img src="../../../emerald.png" width=100 height=10 alt="100.0%"></td></tr></table>
</td>
<td class="coverPerHi">95.7&nbsp;%</td>
<td class="coverPerHi">100.0&nbsp;%</td>
<td class="coverNumDflt">94</td>
<td class="coverNumDflt">94</td>
<td class="coverNumDflt">90</td>
<td class="coverPerHi">-</td>
<td class="coverNumDflt"></td>
<td class="coverNumDflt"></td>
<td class="coverPerHi">94.7&nbsp;%</td>
<td class="coverPerHi">100.0&nbsp;%</td>
<td class="coverNumDflt">19</td>
<td class="coverNumDflt">19</td>
<td class="coverNumDflt">18</td>
</tr>
</table>
</center>
Expand Down
Loading

0 comments on commit 9aefb95

Please sign in to comment.