Refactor coverage report generation
Add some tests to reach 99%
This commit is contained in:
@@ -4,7 +4,7 @@
|
||||
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||
<title>LCOV - coverage.info - bayesnet/classifiers/SPODELd.h</title>
|
||||
<title>LCOV - BayesNet Coverage Report - bayesnet/classifiers/SPODELd.h</title>
|
||||
<link rel="stylesheet" type="text/css" href="../../gcov.css">
|
||||
</head>
|
||||
|
||||
@@ -19,7 +19,7 @@
|
||||
<table cellpadding=1 border=0 width="100%">
|
||||
<tr>
|
||||
<td width="10%" class="headerItem">Current view:</td>
|
||||
<td width="10%" class="headerValue"><a href="../../index.html">top level</a> - <a href="index.html">bayesnet/classifiers</a> - SPODELd.h<span style="font-size: 80%;"> (source / <a href="SPODELd.h.func-c.html">functions</a>)</span></td>
|
||||
<td width="10%" class="headerValue"><a href="../../index.html" target="_parent">top level</a> - <a href="index.html" target="_parent">bayesnet/classifiers</a> - SPODELd.h<span style="font-size: 80%;"> (source / <a href="SPODELd.h.func-c.html">functions</a>)</span></td>
|
||||
<td width="5%"></td>
|
||||
<td width="5%"></td>
|
||||
<td width="5%" class="headerCovTableHead">Coverage</td>
|
||||
@@ -28,7 +28,7 @@
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="headerItem">Test:</td>
|
||||
<td class="headerValue">coverage.info</td>
|
||||
<td class="headerValue">BayesNet Coverage Report</td>
|
||||
<td></td>
|
||||
<td class="headerItem">Lines:</td>
|
||||
<td class="headerCovTableEntryHi">100.0 %</td>
|
||||
@@ -37,12 +37,20 @@
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="headerItem">Test Date:</td>
|
||||
<td class="headerValue">2024-04-30 20:26:57</td>
|
||||
<td class="headerValue">2024-05-06 17:54:04</td>
|
||||
<td></td>
|
||||
<td class="headerItem">Functions:</td>
|
||||
<td class="headerCovTableEntryHi">100.0 %</td>
|
||||
<td class="headerCovTableEntry">1</td>
|
||||
<td class="headerCovTableEntry">1</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="headerItem">Legend:</td>
|
||||
<td class="headerValueLeg"> Lines:
|
||||
<span class="coverLegendCov">hit</span>
|
||||
<span class="coverLegendNoCov">not hit</span>
|
||||
</td>
|
||||
<td></td>
|
||||
</tr>
|
||||
<tr><td><img src="../../glass.png" width=3 height=3 alt=""></td></tr>
|
||||
</table>
|
||||
@@ -75,7 +83,7 @@
|
||||
<span id="L13"><span class="lineNum"> 13</span> : class SPODELd : public SPODE, public Proposal {</span>
|
||||
<span id="L14"><span class="lineNum"> 14</span> : public:</span>
|
||||
<span id="L15"><span class="lineNum"> 15</span> : explicit SPODELd(int root);</span>
|
||||
<span id="L16"><span class="lineNum"> 16</span> <span class="tlaGNC tlaBgGNC"> 160 : virtual ~SPODELd() = default;</span></span>
|
||||
<span id="L16"><span class="lineNum"> 16</span> <span class="tlaGNC tlaBgGNC"> 320 : virtual ~SPODELd() = default;</span></span>
|
||||
<span id="L17"><span class="lineNum"> 17</span> : SPODELd& fit(torch::Tensor& X, torch::Tensor& y, const std::vector<std::string>& features, const std::string& className, map<std::string, std::vector<int>>& states) override;</span>
|
||||
<span id="L18"><span class="lineNum"> 18</span> : SPODELd& fit(torch::Tensor& dataset, const std::vector<std::string>& features, const std::string& className, map<std::string, std::vector<int>>& states) override;</span>
|
||||
<span id="L19"><span class="lineNum"> 19</span> : SPODELd& commonFit(const std::vector<std::string>& features, const std::string& className, map<std::string, std::vector<int>>& states);</span>
|
||||
|
Reference in New Issue
Block a user