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</title>
|
||||
<title>LCOV - BayesNet Coverage Report - bayesnet/classifiers</title>
|
||||
<link rel="stylesheet" type="text/css" href="../../gcov.css">
|
||||
</head>
|
||||
|
||||
@@ -28,21 +28,30 @@
|
||||
</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">98.9 %</td>
|
||||
<td class="headerCovTableEntry">369</td>
|
||||
<td class="headerCovTableEntry">365</td>
|
||||
<td class="headerCovTableEntryHi">99.0 %</td>
|
||||
<td class="headerCovTableEntry">384</td>
|
||||
<td class="headerCovTableEntry">380</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">68</td>
|
||||
<td class="headerCovTableEntry">68</td>
|
||||
<td class="headerCovTableEntry">72</td>
|
||||
<td class="headerCovTableEntry">72</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="headerItem">Legend:</td>
|
||||
<td class="headerValueLeg"> Rating:
|
||||
<span class="coverLegendCovLo" title="Coverage rates below 75 % are classified as low">low: < 75 %</span>
|
||||
<span class="coverLegendCovMed" title="Coverage rates between 75 % and 90 % are classified as medium">medium: >= 75 %</span>
|
||||
<span class="coverLegendCovHi" title="Coverage rates of 90 % and more are classified as high">high: >= 90 %</span>
|
||||
</td>
|
||||
<td></td>
|
||||
</tr>
|
||||
<tr><td><img src="../../glass.png" width=3 height=3 alt=""></td></tr>
|
||||
</table>
|
||||
@@ -68,7 +77,7 @@
|
||||
|
||||
<tr>
|
||||
<td class="tableHead" rowspan=2>Filename <span title="Click to sort table by file name" class="tableHeadSort"><img src="../../glass.png" width=10 height=14 alt="Sort by file name" title="Click to sort table by file name" border=0></span></td>
|
||||
<td class="tableHead" colspan=4>Line Coverage <span title="Click to sort table by line coverage" class="tableHeadSort"><a href="index-sort-l.html"><img src="../../updown.png" width=10 height=14 alt="Sort by line coverage" title="Click to sort table by line coverage" border=0></a></span></td>
|
||||
<td class="tableHead" colspan=4>Line Coverage ( <a title="Click to show per-testcase coverage details" class="detail" href="index-detail.html">show details</a> ) <span title="Click to sort table by line coverage" class="tableHeadSort"><a href="index-sort-l.html"><img src="../../updown.png" width=10 height=14 alt="Sort by line coverage" title="Click to sort table by line coverage" border=0></a></span></td>
|
||||
<td class="tableHead" colspan=3>Function Coverage <span title="Click to sort table by function coverage" class="tableHeadSort"><a href="index-sort-f.html"><img src="../../updown.png" width=10 height=14 alt="Sort by function coverage" title="Click to sort table by function coverage" border=0></a></span></td>
|
||||
</tr>
|
||||
<tr>
|
||||
@@ -80,7 +89,7 @@
|
||||
<td class="tableHead"> Hit</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="coverFile"><a href="Classifier.cc.gcov.html">Classifier.cc</a></td>
|
||||
<td class="coverFile"><a href="Classifier.cc.gcov.frameset.html">Classifier.cc</a></td>
|
||||
<td class="coverBar" align="center">
|
||||
<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>
|
||||
@@ -92,7 +101,7 @@
|
||||
<td class="coverNumDflt">24</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="coverFile"><a href="Classifier.h.gcov.html">Classifier.h</a></td>
|
||||
<td class="coverFile"><a href="Classifier.h.gcov.frameset.html">Classifier.h</a></td>
|
||||
<td class="coverBar" align="center">
|
||||
<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>
|
||||
@@ -104,7 +113,7 @@
|
||||
<td class="coverNumDflt">4</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="coverFile"><a href="KDB.cc.gcov.html">KDB.cc</a></td>
|
||||
<td class="coverFile"><a href="KDB.cc.gcov.frameset.html">KDB.cc</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="96.3%"><img src="../../snow.png" width=4 height=10 alt="96.3%"></td></tr></table>
|
||||
</td>
|
||||
@@ -116,7 +125,7 @@
|
||||
<td class="coverNumDflt">5</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="coverFile"><a href="KDB.h.gcov.html">KDB.h</a></td>
|
||||
<td class="coverFile"><a href="KDB.h.gcov.frameset.html">KDB.h</a></td>
|
||||
<td class="coverBar" align="center">
|
||||
<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>
|
||||
@@ -128,7 +137,7 @@
|
||||
<td class="coverNumDflt">1</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="coverFile"><a href="KDBLd.cc.gcov.html">KDBLd.cc</a></td>
|
||||
<td class="coverFile"><a href="KDBLd.cc.gcov.frameset.html">KDBLd.cc</a></td>
|
||||
<td class="coverBar" align="center">
|
||||
<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>
|
||||
@@ -140,7 +149,7 @@
|
||||
<td class="coverNumDflt">4</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="coverFile"><a href="KDBLd.h.gcov.html">KDBLd.h</a></td>
|
||||
<td class="coverFile"><a href="KDBLd.h.gcov.frameset.html">KDBLd.h</a></td>
|
||||
<td class="coverBar" align="center">
|
||||
<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>
|
||||
@@ -152,7 +161,7 @@
|
||||
<td class="coverNumDflt">1</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="coverFile"><a href="Proposal.cc.gcov.html">Proposal.cc</a></td>
|
||||
<td class="coverFile"><a href="Proposal.cc.gcov.frameset.html">Proposal.cc</a></td>
|
||||
<td class="coverBar" align="center">
|
||||
<table border=0 cellspacing=0 cellpadding=1><tr><td class="coverBarOutline"><img src="../../emerald.png" width=98 height=10 alt="97.7%"><img src="../../snow.png" width=2 height=10 alt="97.7%"></td></tr></table>
|
||||
</td>
|
||||
@@ -164,7 +173,7 @@
|
||||
<td class="coverNumDflt">8</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="coverFile"><a href="SPODE.cc.gcov.html">SPODE.cc</a></td>
|
||||
<td class="coverFile"><a href="SPODE.cc.gcov.frameset.html">SPODE.cc</a></td>
|
||||
<td class="coverBar" align="center">
|
||||
<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>
|
||||
@@ -176,7 +185,7 @@
|
||||
<td class="coverNumDflt">3</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="coverFile"><a href="SPODE.h.gcov.html">SPODE.h</a></td>
|
||||
<td class="coverFile"><a href="SPODE.h.gcov.frameset.html">SPODE.h</a></td>
|
||||
<td class="coverBar" align="center">
|
||||
<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>
|
||||
@@ -188,7 +197,7 @@
|
||||
<td class="coverNumDflt">1</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="coverFile"><a href="SPODELd.cc.gcov.html">SPODELd.cc</a></td>
|
||||
<td class="coverFile"><a href="SPODELd.cc.gcov.frameset.html">SPODELd.cc</a></td>
|
||||
<td class="coverBar" align="center">
|
||||
<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>
|
||||
@@ -200,7 +209,7 @@
|
||||
<td class="coverNumDflt">6</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="coverFile"><a href="SPODELd.h.gcov.html">SPODELd.h</a></td>
|
||||
<td class="coverFile"><a href="SPODELd.h.gcov.frameset.html">SPODELd.h</a></td>
|
||||
<td class="coverBar" align="center">
|
||||
<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>
|
||||
@@ -212,7 +221,31 @@
|
||||
<td class="coverNumDflt">1</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="coverFile"><a href="TAN.cc.gcov.html">TAN.cc</a></td>
|
||||
<td class="coverFile"><a href="SPnDE.cc.gcov.frameset.html">SPnDE.cc</a></td>
|
||||
<td class="coverBar" align="center">
|
||||
<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">100.0 %</td>
|
||||
<td class="coverNumDflt">14</td>
|
||||
<td class="coverNumDflt">14</td>
|
||||
<td class="coverPerHi">100.0 %</td>
|
||||
<td class="coverNumDflt">3</td>
|
||||
<td class="coverNumDflt">3</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="coverFile"><a href="SPnDE.h.gcov.frameset.html">SPnDE.h</a></td>
|
||||
<td class="coverBar" align="center">
|
||||
<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">100.0 %</td>
|
||||
<td class="coverNumDflt">1</td>
|
||||
<td class="coverNumDflt">1</td>
|
||||
<td class="coverPerHi">100.0 %</td>
|
||||
<td class="coverNumDflt">1</td>
|
||||
<td class="coverNumDflt">1</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="coverFile"><a href="TAN.cc.gcov.frameset.html">TAN.cc</a></td>
|
||||
<td class="coverBar" align="center">
|
||||
<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>
|
||||
@@ -224,7 +257,7 @@
|
||||
<td class="coverNumDflt">4</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="coverFile"><a href="TAN.h.gcov.html">TAN.h</a></td>
|
||||
<td class="coverFile"><a href="TAN.h.gcov.frameset.html">TAN.h</a></td>
|
||||
<td class="coverBar" align="center">
|
||||
<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>
|
||||
@@ -236,7 +269,7 @@
|
||||
<td class="coverNumDflt">1</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="coverFile"><a href="TANLd.cc.gcov.html">TANLd.cc</a></td>
|
||||
<td class="coverFile"><a href="TANLd.cc.gcov.frameset.html">TANLd.cc</a></td>
|
||||
<td class="coverBar" align="center">
|
||||
<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>
|
||||
@@ -248,7 +281,7 @@
|
||||
<td class="coverNumDflt">4</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="coverFile"><a href="TANLd.h.gcov.html">TANLd.h</a></td>
|
||||
<td class="coverFile"><a href="TANLd.h.gcov.frameset.html">TANLd.h</a></td>
|
||||
<td class="coverBar" align="center">
|
||||
<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>
|
||||
|
Reference in New Issue
Block a user