2019-04-21 11:50:48 +08:00

15 lines
672 B
HTML
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<h1 id="gcov">gcov</h1>
<p>测试程序的代码覆盖率的工具</p>
<h2 id="补充说明">补充说明</h2>
<p><strong>gcov命令</strong> 是一款测试程序的代码覆盖率的工具。</p>
<h3 id="语法">语法</h3>
<pre><code class="language-bash">gcov(选项)(参数)</code></pre>
<h3 id="选项">选项</h3>
<pre><code class="language-bash">-h显示帮助信息
-v显示版本信息
-a输出所有的基本块的执行计数
-n并创建输出文件。</code></pre>
<h3 id="参数">参数</h3>
<p>V语言文件C语言源代码文件。</p>
<!-- Linux命令行搜索引擎https://jaywcjlove.github.io/linux-command/ -->