-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
- Loading branch information
There are no files selected for viewing
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,305 @@ | ||
<!DOCTYPE html> | ||
<html class="theme-green"> | ||
|
||
<head> | ||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/> | ||
<title>GCC Code Coverage Report</title> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0"/> | ||
<link rel="stylesheet" href="index.css"/> | ||
</head> | ||
|
||
<body> | ||
|
||
<header> | ||
<h1>GCC Code Coverage Report</h1> | ||
<hr/> | ||
<div class="summary"> | ||
<div> | ||
<table class="legend"> | ||
<tr> | ||
<th scope="row">Directory:</th> | ||
<td>./</td> | ||
</tr> | ||
<tr> | ||
<th scope="row">File:</th> | ||
<td>lib/ocpp/v201/enums.cpp</td> | ||
</tr> | ||
<tr> | ||
<th scope="row">Date:</th> | ||
<td>2024-12-16 16:43:25</td> | ||
</tr> | ||
</table> | ||
</div> | ||
<div> | ||
<table class="coverage"> | ||
<tr> | ||
<th></th> | ||
<th scope="col">Exec</th> | ||
<th scope="col">Total</th> | ||
<th scope="col">Coverage</th> | ||
</tr> | ||
<tr> | ||
<th scope="row">Lines:</th> | ||
<td>0</td> | ||
<td>8</td> | ||
<td class="coverage-none">0.0%</td> | ||
</tr> | ||
<tr> | ||
<th scope="row">Functions:</th> | ||
<td>0</td> | ||
<td>1</td> | ||
<td class="coverage-none">0.0%</td> | ||
</tr> | ||
<tr> | ||
<th scope="row">Branches:</th> | ||
<td>0</td> | ||
<td>12</td> | ||
<td class="coverage-none">0.0%</td> | ||
</tr> | ||
</table> | ||
</div> | ||
</div> | ||
<hr/> | ||
</header> | ||
<nav> | ||
<details> | ||
<summary>List of functions</summary> | ||
<table class="listOfFunctions"> | ||
<tr> | ||
<th>Function (Line)</th> | ||
<th>Call count</th> | ||
<th>Block coverage</th> | ||
</tr> | ||
<tr><td><a href="#l13">ocpp::v201::conversions::string_to_variable_monitor_type(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) (line 13)</a></td><td>not called</td><td>0.0%</td></tr> | ||
</table> | ||
</details> | ||
|
||
</nav> | ||
<main> | ||
<div class="file-source"> | ||
<table> | ||
<tr> | ||
<th align="right">Line</th> | ||
<th align="right">Branch</th> | ||
<th align="right">Exec</th> | ||
<th align="left">Source</th> | ||
</tr> | ||
<tr class="source-line"> | ||
<td class="lineno"><a id="l1" href="#l1">1</a></td> | ||
<td class="linebranch"> | ||
</td> | ||
<td class="linecount "></td> | ||
<td class="src "><span class="c1">// SPDX-License-Identifier: Apache-2.0</span></td> | ||
</tr> | ||
<tr class="source-line"> | ||
<td class="lineno"><a id="l2" href="#l2">2</a></td> | ||
<td class="linebranch"> | ||
</td> | ||
<td class="linecount "></td> | ||
<td class="src "><span class="c1">// Copyright 2020 - 2024 Pionix GmbH and Contributors to EVerest</span></td> | ||
</tr> | ||
<tr class="source-line"> | ||
<td class="lineno"><a id="l3" href="#l3">3</a></td> | ||
<td class="linebranch"> | ||
</td> | ||
<td class="linecount "></td> | ||
<td class="src "></td> | ||
</tr> | ||
<tr class="source-line"> | ||
<td class="lineno"><a id="l4" href="#l4">4</a></td> | ||
<td class="linebranch"> | ||
</td> | ||
<td class="linecount "></td> | ||
<td class="src "><span class="cp">#include</span><span class="w"> </span><span class="cpf"><stdexcept></span></td> | ||
</tr> | ||
<tr class="source-line"> | ||
<td class="lineno"><a id="l5" href="#l5">5</a></td> | ||
<td class="linebranch"> | ||
</td> | ||
<td class="linecount "></td> | ||
<td class="src "></td> | ||
</tr> | ||
<tr class="source-line"> | ||
<td class="lineno"><a id="l6" href="#l6">6</a></td> | ||
<td class="linebranch"> | ||
</td> | ||
<td class="linecount "></td> | ||
<td class="src "><span class="cp">#include</span><span class="w"> </span><span class="cpf"><ocpp/v201/enums.hpp></span></td> | ||
</tr> | ||
<tr class="source-line"> | ||
<td class="lineno"><a id="l7" href="#l7">7</a></td> | ||
<td class="linebranch"> | ||
</td> | ||
<td class="linecount "></td> | ||
<td class="src "></td> | ||
</tr> | ||
<tr class="source-line"> | ||
<td class="lineno"><a id="l8" href="#l8">8</a></td> | ||
<td class="linebranch"> | ||
</td> | ||
<td class="linecount "></td> | ||
<td class="src "><span class="k">namespace</span><span class="w"> </span><span class="nn">ocpp</span><span class="o">::</span><span class="nn">v201</span><span class="w"> </span><span class="p">{</span></td> | ||
</tr> | ||
<tr class="source-line"> | ||
<td class="lineno"><a id="l9" href="#l9">9</a></td> | ||
<td class="linebranch"> | ||
</td> | ||
<td class="linecount "></td> | ||
<td class="src "></td> | ||
</tr> | ||
<tr class="source-line"> | ||
<td class="lineno"><a id="l10" href="#l10">10</a></td> | ||
<td class="linebranch"> | ||
</td> | ||
<td class="linecount "></td> | ||
<td class="src "><span class="k">namespace</span><span class="w"> </span><span class="nn">conversions</span><span class="w"> </span><span class="p">{</span></td> | ||
</tr> | ||
<tr class="source-line"> | ||
<td class="lineno"><a id="l11" href="#l11">11</a></td> | ||
<td class="linebranch"> | ||
</td> | ||
<td class="linecount "></td> | ||
<td class="src "><span class="c1">/// \brief Converts the given std::string \p s to VariableMonitorType</span></td> | ||
</tr> | ||
<tr class="source-line"> | ||
<td class="lineno"><a id="l12" href="#l12">12</a></td> | ||
<td class="linebranch"> | ||
</td> | ||
<td class="linecount "></td> | ||
<td class="src "><span class="c1">/// \returns a VariableMonitorType from a string representation</span></td> | ||
</tr> | ||
<tr class="source-line"> | ||
<td class="lineno"><a id="l13" href="#l13">13</a></td> | ||
<td class="linebranch"> | ||
</td> | ||
<td class="linecount uncoveredLine">✗</td> | ||
<td class="src uncoveredLine"><span class="n">VariableMonitorType</span><span class="w"> </span><span class="nf">string_to_variable_monitor_type</span><span class="p">(</span><span class="k">const</span><span class="w"> </span><span class="n">std</span><span class="o">::</span><span class="n">string</span><span class="o">&</span><span class="w"> </span><span class="n">s</span><span class="p">)</span><span class="w"> </span><span class="p">{</span></td> | ||
</tr> | ||
<tr class="source-line"> | ||
<td class="lineno"><a id="l14" href="#l14">14</a></td> | ||
<td class="linebranch"> | ||
</td> | ||
<td class="linecount uncoveredLine">✗</td> | ||
<td class="src uncoveredLine"><span class="w"> </span><span class="k">if</span><span class="w"> </span><span class="p">(</span><span class="n">s</span><span class="w"> </span><span class="o">==</span><span class="w"> </span><span class="s">"HardWiredMonitor"</span><span class="p">)</span><span class="w"> </span><span class="p">{</span></td> | ||
</tr> | ||
<tr class="source-line"> | ||
<td class="lineno"><a id="l15" href="#l15">15</a></td> | ||
<td class="linebranch"> | ||
</td> | ||
<td class="linecount uncoveredLine">✗</td> | ||
<td class="src uncoveredLine"><span class="w"> </span><span class="k">return</span><span class="w"> </span><span class="n">VariableMonitorType</span><span class="o">::</span><span class="n">HardWiredMonitor</span><span class="p">;</span></td> | ||
</tr> | ||
<tr class="source-line"> | ||
<td class="lineno"><a id="l16" href="#l16">16</a></td> | ||
<td class="linebranch"> | ||
</td> | ||
<td class="linecount "></td> | ||
<td class="src "><span class="w"> </span><span class="p">}</span></td> | ||
</tr> | ||
<tr class="source-line"> | ||
<td class="lineno"><a id="l17" href="#l17">17</a></td> | ||
<td class="linebranch"> | ||
</td> | ||
<td class="linecount uncoveredLine">✗</td> | ||
<td class="src uncoveredLine"><span class="w"> </span><span class="k">if</span><span class="w"> </span><span class="p">(</span><span class="n">s</span><span class="w"> </span><span class="o">==</span><span class="w"> </span><span class="s">"PreconfiguredMonitor"</span><span class="p">)</span><span class="w"> </span><span class="p">{</span></td> | ||
</tr> | ||
<tr class="source-line"> | ||
<td class="lineno"><a id="l18" href="#l18">18</a></td> | ||
<td class="linebranch"> | ||
</td> | ||
<td class="linecount uncoveredLine">✗</td> | ||
<td class="src uncoveredLine"><span class="w"> </span><span class="k">return</span><span class="w"> </span><span class="n">VariableMonitorType</span><span class="o">::</span><span class="n">PreconfiguredMonitor</span><span class="p">;</span></td> | ||
</tr> | ||
<tr class="source-line"> | ||
<td class="lineno"><a id="l19" href="#l19">19</a></td> | ||
<td class="linebranch"> | ||
</td> | ||
<td class="linecount "></td> | ||
<td class="src "><span class="w"> </span><span class="p">}</span></td> | ||
</tr> | ||
<tr class="source-line"> | ||
<td class="lineno"><a id="l20" href="#l20">20</a></td> | ||
<td class="linebranch"> | ||
</td> | ||
<td class="linecount uncoveredLine">✗</td> | ||
<td class="src uncoveredLine"><span class="w"> </span><span class="k">if</span><span class="w"> </span><span class="p">(</span><span class="n">s</span><span class="w"> </span><span class="o">==</span><span class="w"> </span><span class="s">"CustomMonitor"</span><span class="p">)</span><span class="w"> </span><span class="p">{</span></td> | ||
</tr> | ||
<tr class="source-line"> | ||
<td class="lineno"><a id="l21" href="#l21">21</a></td> | ||
<td class="linebranch"> | ||
</td> | ||
<td class="linecount uncoveredLine">✗</td> | ||
<td class="src uncoveredLine"><span class="w"> </span><span class="k">return</span><span class="w"> </span><span class="n">VariableMonitorType</span><span class="o">::</span><span class="n">CustomMonitor</span><span class="p">;</span></td> | ||
</tr> | ||
<tr class="source-line"> | ||
<td class="lineno"><a id="l22" href="#l22">22</a></td> | ||
<td class="linebranch"> | ||
</td> | ||
<td class="linecount "></td> | ||
<td class="src "><span class="w"> </span><span class="p">}</span></td> | ||
</tr> | ||
<tr class="source-line"> | ||
<td class="lineno"><a id="l23" href="#l23">23</a></td> | ||
<td class="linebranch"> | ||
</td> | ||
<td class="linecount "></td> | ||
<td class="src "></td> | ||
</tr> | ||
<tr class="source-line"> | ||
<td class="lineno"><a id="l24" href="#l24">24</a></td> | ||
<td class="linebranch"> | ||
</td> | ||
<td class="linecount uncoveredLine">✗</td> | ||
<td class="src uncoveredLine"><span class="w"> </span><span class="k">throw</span><span class="w"> </span><span class="n">std</span><span class="o">::</span><span class="n">out_of_range</span><span class="p">(</span><span class="s">"Provided string "</span><span class="w"> </span><span class="o">+</span><span class="w"> </span><span class="n">s</span><span class="w"> </span><span class="o">+</span><span class="w"> </span><span class="s">" could not be converted to enum of type VariableMonitorType"</span><span class="p">);</span></td> | ||
</tr> | ||
<tr class="source-line"> | ||
<td class="lineno"><a id="l25" href="#l25">25</a></td> | ||
<td class="linebranch"> | ||
</td> | ||
<td class="linecount "></td> | ||
<td class="src "><span class="p">}</span></td> | ||
</tr> | ||
<tr class="source-line"> | ||
<td class="lineno"><a id="l26" href="#l26">26</a></td> | ||
<td class="linebranch"> | ||
</td> | ||
<td class="linecount "></td> | ||
<td class="src "></td> | ||
</tr> | ||
<tr class="source-line"> | ||
<td class="lineno"><a id="l27" href="#l27">27</a></td> | ||
<td class="linebranch"> | ||
</td> | ||
<td class="linecount "></td> | ||
<td class="src "><span class="p">}</span><span class="w"> </span><span class="c1">// namespace conversions</span></td> | ||
</tr> | ||
<tr class="source-line"> | ||
<td class="lineno"><a id="l28" href="#l28">28</a></td> | ||
<td class="linebranch"> | ||
</td> | ||
<td class="linecount "></td> | ||
<td class="src "></td> | ||
</tr> | ||
<tr class="source-line"> | ||
<td class="lineno"><a id="l29" href="#l29">29</a></td> | ||
<td class="linebranch"> | ||
</td> | ||
<td class="linecount "></td> | ||
<td class="src "><span class="p">}</span><span class="w"> </span><span class="c1">// namespace ocpp::v201</span></td> | ||
</tr> | ||
<tr class="source-line"> | ||
<td class="lineno"><a id="l30" href="#l30">30</a></td> | ||
<td class="linebranch"> | ||
</td> | ||
<td class="linecount "></td> | ||
<td class="src "></td> | ||
</tr> | ||
</table> | ||
</div> | ||
<hr/> | ||
</main> | ||
<footer> | ||
Generated by: <a href="http://gcovr.com/en/8.2">GCOVR (Version 8.2)</a> | ||
</footer> | ||
</body> | ||
</html> |