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/utils/bayesnetUtils.cc - functions</title>
|
||||
<title>LCOV - BayesNet Coverage Report - bayesnet/utils/bayesnetUtils.cc - functions</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/utils</a> - bayesnetUtils.cc<span style="font-size: 80%;"> (<a href="bayesnetUtils.cc.gcov.html">source</a> / functions)</span></td>
|
||||
<td width="10%" class="headerValue"><a href="../../index.html" target="_parent">top level</a> - <a href="index.html" target="_parent">bayesnet/utils</a> - bayesnetUtils.cc<span style="font-size: 80%;"> (<a href="bayesnetUtils.cc.gcov.html">source</a> / functions)</span></td>
|
||||
<td width="5%"></td>
|
||||
<td width="5%"></td>
|
||||
<td width="5%" class="headerCovTableHead">Coverage</td>
|
||||
@@ -28,21 +28,29 @@
|
||||
</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">92.0 %</td>
|
||||
<td class="headerCovTableEntryHi">100.0 %</td>
|
||||
<td class="headerCovTableEntry">25</td>
|
||||
<td class="headerCovTableEntry">25</td>
|
||||
<td class="headerCovTableEntry">23</td>
|
||||
</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">4</td>
|
||||
<td class="headerCovTableEntry">4</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>
|
||||
@@ -65,28 +73,28 @@
|
||||
<tr>
|
||||
<td class="coverFn"><a href="bayesnetUtils.cc.gcov.html#L17">bayesnet::tensorToVectorDouble(at::Tensor&)</a></td>
|
||||
|
||||
<td class="coverFnHi">14</td>
|
||||
<td class="coverFnHi">32</td>
|
||||
|
||||
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="coverFn"><a href="bayesnetUtils.cc.gcov.html#L29">bayesnet::vectorToTensor(std::vector<std::vector<int, std::allocator<int> >, std::allocator<std::vector<int, std::allocator<int> > > >&, bool)</a></td>
|
||||
|
||||
<td class="coverFnHi">18</td>
|
||||
<td class="coverFnHi">40</td>
|
||||
|
||||
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="coverFn"><a href="bayesnetUtils.cc.gcov.html#L9">bayesnet::argsort(std::vector<double, std::allocator<double> >&)</a></td>
|
||||
|
||||
<td class="coverFnHi">58</td>
|
||||
<td class="coverFnHi">203</td>
|
||||
|
||||
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="coverFn"><a href="bayesnetUtils.cc.gcov.html#L14">bayesnet::argsort(std::vector<double, std::allocator<double> >&)::{lambda(int, int)#1}::operator()(int, int) const</a></td>
|
||||
|
||||
<td class="coverFnHi">1134</td>
|
||||
<td class="coverFnHi">4041</td>
|
||||
|
||||
|
||||
</tr>
|
||||
|
Reference in New Issue
Block a user