<rss xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title>Coverage - Tag - My Notes</title><link>https://blog.emecas.net/tags/coverage/</link><description>Coverage - Tag - My Notes</description><generator>Hugo -- gohugo.io</generator><language>en</language><lastBuildDate>Thu, 29 Feb 2024 10:15:29 -0500</lastBuildDate><atom:link href="https://blog.emecas.net/tags/coverage/" rel="self" type="application/rss+xml"/><item><title>Qodana</title><link>https://blog.emecas.net/posts/2024-02-29-qodana/</link><pubDate>Thu, 29 Feb 2024 10:15:29 -0500</pubDate><author>emecas</author><guid>https://blog.emecas.net/posts/2024-02-29-qodana/</guid><description><![CDATA[<p>Qodana<br>
<a href="https://www.jetbrains.com/qodana/" target="_blank" rel="noopener noreffer ">https://www.jetbrains.com/qodana/</a><br>
Code quality done right</p>
<p>Static code analysis by Qodana helps development teams follow agreed quality standards, and deliver readable, maintainable, and secure code. Powered by JetBrains.</p>
<p>* 2,500+ code checks<br>
Use Qodana’s extensive inspection portfolio to spot performance issues, probable bugs, unused declarations, confusing code constructs, violations of naming and style conventions, and much more.</p>
<p>* Third-party license audit<br>
Detect when third-party libraries and framework licenses used by your application are incompatible with your application’s license and cannot be used for a commercial project.</p>]]></description></item><item><title>chefspec/chefspec</title><link>https://blog.emecas.net/posts/2020-10-16-chefspec-chefspec/</link><pubDate>Fri, 16 Oct 2020 20:27:01 +0000</pubDate><author>emecas</author><guid>https://blog.emecas.net/posts/2020-10-16-chefspec-chefspec/</guid><description><![CDATA[<p>chefspec/chefspec<br>
Write RSpec examples and generate coverage reports for Chef recipes!<br>
Ruby repository by chefspec, created in 2011, with 820 stars and 331 forks. License: MIT. Starred on 2020-10-16.<br>
Homepage: <a href="https://chefspec.github.io/chefspec/" target="_blank" rel="noopener noreffer ">https://chefspec.github.io/chefspec/</a><br>
<a href="https://github.com/chefspec/chefspec" target="_blank" rel="noopener noreffer ">https://github.com/chefspec/chefspec</a></p>
<hr>
<p><em>Source: starred on GitHub on 2020-10-16: <a href="https://github.com/chefspec/chefspec" target="_blank" rel="noopener noreffer ">chefspec/chefspec</a>.</em></p>]]></description></item><item><title>Don't Measure Unit Test Code Coverage</title><link>https://blog.emecas.net/posts/2019-02-02-don-t-measure-unit-test-code-coverage/</link><pubDate>Sat, 02 Feb 2019 14:53:12 -0500</pubDate><author>emecas</author><guid>https://blog.emecas.net/posts/2019-02-02-don-t-measure-unit-test-code-coverage/</guid><description><![CDATA[<p>Don&rsquo;t Measure Unit Test Code Coverage<br>
By James Shore<br>
01 Feb, 2019<br>
<a href="https://www.jamesshore.com/v2/blog/2019/dont-measure-unit-test-code-coverage" target="_blank" rel="noopener noreffer ">https://www.jamesshore.com/v2/blog/2019/dont-measure-unit-test-code-coverage</a></p>
<blockquote>
<p>If you&rsquo;re using test-driven development, don&rsquo;t measure unit test code coverage. It&rsquo;s worse than a useless statistic; it will actively lead you astray.</p>
</blockquote>
<p>What should you do instead? That depends on what you want to accomplish.</p>
<ul>
<li>To improve code and test practices: perform root-cause analysis of escaped defects, then improve your design and process to prevent that sort of defect from happening again</li>
<li>To improve programmer code quality: teach testing skills, speed up the test loop, refactor more, use evolutionary design, and try pairing or mobbing</li>
<li>To improve test discipline: use coaching and discipline-enhancing practices such as pairing or mobbing</li>
<li>To add tests to legacy code: nurture a habit of adding tests as part of working on any code</li>
<li>To improve requirements code quality: involve customer representatives early in the process</li>
<li>To improve non-functional quality: use a mix of real-world monitoring, fail-fast code, and specialized testbeds</li>
<li>(TDD reflexion) Here&rsquo;s the thing about TDD: any code you want to cover is ipso facto covered. If you&rsquo;re still getting defects, something else is wrong.</li>
</ul>
<hr>
<p><em>Source: commit <a href="https://github.com/emecas/My-Notes/commit/659e7c7d2383a4d347fc8f85f12272e48ffbaadc" target="_blank" rel="noopener noreffer "><code>659e7c7</code></a> in My-Notes, improved in <a href="https://github.com/emecas/My-Notes/commit/6cc6d0e312c3631b64e5bc52a4393e9a60787946" target="_blank" rel="noopener noreffer "><code>6cc6d0e</code></a> (2026-11-23).</em></p>]]></description></item><item><title>On Coverage Tools in Java</title><link>https://blog.emecas.net/posts/2017-01-16-on-coverage-tools-in-java/</link><pubDate>Mon, 16 Jan 2017 09:23:50 -0500</pubDate><author>emecas</author><guid>https://blog.emecas.net/posts/2017-01-16-on-coverage-tools-in-java/</guid><description><![CDATA[<h2 id="open-source-code-coverage-tools-in-java">Open Source Code Coverage Tools in Java</h2>
<p><a href="http://java-source.net/open-source/code-coverage" target="_blank" rel="noopener noreffer ">http://java-source.net/open-source/code-coverage</a></p>
<ul>
<li>
<p>Quilt</p>
</li>
<li>
<p>NoUnit</p>
</li>
<li>
<p>InsECT</p>
</li>
<li>
<p>Jester</p>
</li>
<li>
<p>JVMDI Code Coverage Analyser</p>
</li>
<li>
<p>GroboCodeCoverage</p>
</li>
<li>
<p>jcoverage/gpl</p>
</li>
<li>
<p>JBlanket</p>
</li>
<li>
<p>Cobertura</p>
</li>
<li>
<p>Coverlipse</p>
</li>
<li>
<p>Hansel</p>
</li>
<li>
<p>CodeCover</p>
</li>
<li>
<p>EMMA</p>
<div class="details admonition note open">
    <div class="details-summary admonition-title">
        <i class="icon far fa-pen-to-square" aria-hidden="true"></i>Note<i class="details-icon fas fa-angle-right" aria-hidden="true"></i>
    </div>
    <div class="details-content">
        <div class="admonition-content">I’ve tested this one , it’s working OK as an Eclipse plugin, nowadays: JaCoCo</div>
    </div>
</div>
</li>
<li>
<p>PIT</p>
</li>
</ul>
<h2 id="java-code-coverage-tools">Java Code Coverage Tools</h2>
<p><a href="https://en.wikipedia.org/wiki/Java_Code_Coverage_Tools#JaCoCo" target="_blank" rel="noopener noreffer ">https://en.wikipedia.org/wiki/Java_Code_Coverage_Tools#JaCoCo</a></p>
<ul>
<li>JCov
<ul>
<li>Features</li>
<li>Tools using JCov</li>
</ul>
</li>
<li>JaCoCo
<ul>
<li>Features</li>
<li>Tools using or including JaCoCo</li>
</ul>
</li>
<li>Clover</li>
<li>Cobertura</li>
<li>EMMA
<ul>
<li>Features</li>
</ul>
</li>
<li>Serenity</li>
<li>Testwell CTC++ for Java</li>
</ul>
<h2 id="referenced-paper">Referenced Paper:</h2>
<p>A coverage analysis of Java benchmark suites (2005)<br>
<del>http://citeseerx.ist.psu.edu/viewdoc/summary?doi=10.1.1.106.8389</del><sup id="fnref:1"><a href="#fn:1" class="footnote-ref" role="doc-noteref">1</a></sup><br>
<a href="https://www.researchgate.net/publication/220901322_A_Coverage_Analysis_of_Java_Benchmark_Suites" target="_blank" rel="noopener noreffer ">https://www.researchgate.net/publication/220901322_A_Coverage_Analysis_of_Java_Benchmark_Suites</a></p>]]></description></item></channel></rss>