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/feature_selection</title>
|
||||
<title>LCOV - BayesNet Coverage Report - bayesnet/feature_selection</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">96.7 %</td>
|
||||
<td class="headerCovTableEntryHi">98.7 %</td>
|
||||
<td class="headerCovTableEntry">152</td>
|
||||
<td class="headerCovTableEntry">147</td>
|
||||
<td class="headerCovTableEntry">150</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">19</td>
|
||||
<td class="headerCovTableEntry">19</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"><a href="index.html"><img src="../../updown.png" width=10 height=14 alt="Sort by file name" title="Click to sort table by file name" border=0></a></span></td>
|
||||
<td class="tableHead" colspan=4>Line Coverage <span title="Click to sort table by line coverage" class="tableHeadSort"><img src="../../glass.png" width=10 height=14 alt="Sort by line coverage" title="Click to sort table by line coverage" border=0></span></td>
|
||||
<td class="tableHead" colspan=4>Line Coverage ( <a title="Click to show per-testcase coverage details" class="detail" href="index-detail-sort-l.html">show details</a> ) <span title="Click to sort table by line coverage" class="tableHeadSort"><img src="../../glass.png" width=10 height=14 alt="Sort by line coverage" title="Click to sort table by line coverage" border=0></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,31 +89,19 @@
|
||||
<td class="tableHead"> Hit</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="coverFile"><a href="FCBF.cc.gcov.html">FCBF.cc</a></td>
|
||||
<td class="coverFile"><a href="IWSS.cc.gcov.frameset.html">IWSS.cc</a></td>
|
||||
<td class="coverBar" align="center">
|
||||
<table border=0 cellspacing=0 cellpadding=1><tr><td class="coverBarOutline"><img src="../../emerald.png" width=92 height=10 alt="92.3%"><img src="../../snow.png" width=8 height=10 alt="92.3%"></td></tr></table>
|
||||
<table border=0 cellspacing=0 cellpadding=1><tr><td class="coverBarOutline"><img src="../../emerald.png" width=97 height=10 alt="96.7%"><img src="../../snow.png" width=3 height=10 alt="96.7%"></td></tr></table>
|
||||
</td>
|
||||
<td class="coverPerHi">92.3 %</td>
|
||||
<td class="coverNumDflt">26</td>
|
||||
<td class="coverNumDflt">24</td>
|
||||
<td class="coverPerHi">100.0 %</td>
|
||||
<td class="coverNumDflt">2</td>
|
||||
<td class="coverNumDflt">2</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="coverFile"><a href="IWSS.cc.gcov.html">IWSS.cc</a></td>
|
||||
<td class="coverBar" align="center">
|
||||
<table border=0 cellspacing=0 cellpadding=1><tr><td class="coverBarOutline"><img src="../../emerald.png" width=93 height=10 alt="93.3%"><img src="../../snow.png" width=7 height=10 alt="93.3%"></td></tr></table>
|
||||
</td>
|
||||
<td class="coverPerHi">93.3 %</td>
|
||||
<td class="coverPerHi">96.7 %</td>
|
||||
<td class="coverNumDflt">30</td>
|
||||
<td class="coverNumDflt">28</td>
|
||||
<td class="coverNumDflt">29</td>
|
||||
<td class="coverPerHi">100.0 %</td>
|
||||
<td class="coverNumDflt">2</td>
|
||||
<td class="coverNumDflt">2</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="coverFile"><a href="CFS.cc.gcov.html">CFS.cc</a></td>
|
||||
<td class="coverFile"><a href="CFS.cc.gcov.frameset.html">CFS.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.8%"><img src="../../snow.png" width=2 height=10 alt="97.8%"></td></tr></table>
|
||||
</td>
|
||||
@@ -116,7 +113,7 @@
|
||||
<td class="coverNumDflt">2</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="coverFile"><a href="FCBF.h.gcov.html">FCBF.h</a></td>
|
||||
<td class="coverFile"><a href="FCBF.h.gcov.frameset.html">FCBF.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 +125,7 @@
|
||||
<td class="coverNumDflt">1</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="coverFile"><a href="FeatureSelect.h.gcov.html">FeatureSelect.h</a></td>
|
||||
<td class="coverFile"><a href="FeatureSelect.h.gcov.frameset.html">FeatureSelect.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>
|
||||
@@ -140,7 +137,7 @@
|
||||
<td class="coverNumDflt">1</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="coverFile"><a href="IWSS.h.gcov.html">IWSS.h</a></td>
|
||||
<td class="coverFile"><a href="IWSS.h.gcov.frameset.html">IWSS.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 +149,7 @@
|
||||
<td class="coverNumDflt">1</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="coverFile"><a href="CFS.h.gcov.html">CFS.h</a></td>
|
||||
<td class="coverFile"><a href="CFS.h.gcov.frameset.html">CFS.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>
|
||||
@@ -164,7 +161,19 @@
|
||||
<td class="coverNumDflt">2</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="coverFile"><a href="FeatureSelect.cc.gcov.html">FeatureSelect.cc</a></td>
|
||||
<td class="coverFile"><a href="FCBF.cc.gcov.frameset.html">FCBF.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">26</td>
|
||||
<td class="coverNumDflt">26</td>
|
||||
<td class="coverPerHi">100.0 %</td>
|
||||
<td class="coverNumDflt">2</td>
|
||||
<td class="coverNumDflt">2</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="coverFile"><a href="FeatureSelect.cc.gcov.frameset.html">FeatureSelect.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>
|
||||
|
Reference in New Issue
Block a user