Permalink
Browse files

new tests for greater coverage

  • Loading branch information...
bretonics committed Mar 27, 2017
1 parent f4ae8c8 commit 3d6af2a4209d21f3d1f939b96c8062a21017d603
@@ -0,0 +1,51 @@
<!DOCTYPE html
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<!--
This file was generated by Devel::Cover Version 1.23
Devel::Cover is copyright 2001-2012, Paul Johnson (paul@pjcj.net)
Devel::Cover is free. It is licensed under the same terms as Perl itself.
The latest version of Devel::Cover should be available from my homepage:
http://www.pjcj.net
-->
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"></meta>
<meta http-equiv="Content-Language" content="en-us"></meta>
<link rel="stylesheet" type="text/css" href="cover.css"></link>
<link rel="stylesheet" type="text/css" href="cover.css"></link>
<title>Branch Coverage: chomp.pl</title>
</head>
<body>
<h1>Branch Coverage</h1>
<table>
<tr><td class="h" align="right">File:</td><td align="left">chomp.pl</td></tr>
<tr><td class="h" align="right">Coverage:</td><td align="left" class="c0">66.7%</td></tr>
</table>
<div><br/></div>
<table>
<tr><th>line</th><th>%</th><th colspan="2">coverage</th><th>branch</th></tr>
<tr><td class="h"><a id="L99">99</a></td><td class="c0">50</td><td class="c3">T</td><td class="c0">F</td><td class="s">unless $SEQ</td></tr>
<tr><td class="h"><a id="L100">100</a></td><td class="c0">0</td><td class="c0">T</td><td class="c0">F</td><td class="s">unless $OUTFILE</td></tr>
<tr><td class="h"><a id="L103">103</a></td><td class="c0">0</td><td class="c0">T</td><td class="c0">F</td><td class="s">unless $DOWNSEQ and $VERBOSE</td></tr>
<tr><td class="h"><a id="L104">104</a></td><td class="c0">0</td><td class="c0">T</td><td class="c0">F</td><td class="s">unless $UPSEQ and $VERBOSE</td></tr>
<tr><td class="h"><a id="L122">122</a></td><td class="c0">50</td><td class="c0">T</td><td class="c3">F</td><td class="s">if (@SUBJECTS) { }</td></tr>
<tr><td class="h"></td><td class="c0">50</td><td class="c0">T</td><td class="c3">F</td><td class="s">elsif ($SEQ) { }</td></tr>
<tr><td class="h"><a id="L130">130</a></td><td class="c0">0</td><td class="c0">T</td><td class="c0">F</td><td class="s">if $SS</td></tr>
<tr><td class="h"><a id="L146">146</a></td><td class="c3">100</td><td class="c3">T</td><td class="c3">F</td><td class="s">unless @_ == 6</td></tr>
<tr><td class="h"><a id="L173">173</a></td><td class="c3">100</td><td class="c3">T</td><td class="c3">F</td><td class="s">if (not $down || $up) { }</td></tr>
<tr><td class="h"></td><td class="c3">100</td><td class="c3">T</td><td class="c3">F</td><td class="s">elsif ($down and not $up) { }</td></tr>
<tr><td class="h"></td><td class="c3">100</td><td class="c3">T</td><td class="c3">F</td><td class="s">elsif (not $down and $up) { }</td></tr>
<tr><td class="h"><a id="L210">210</a></td><td class="c3">100</td><td class="c3">T</td><td class="c3">F</td><td class="s">unless @_ == 1</td></tr>
<tr><td class="h"><a id="L243">243</a></td><td class="c3">100</td><td class="c3">T</td><td class="c3">F</td><td class="s">unless @_ == 2</td></tr>
<tr><td class="h"><a id="L253">253</a></td><td class="c0">50</td><td class="c0">T</td><td class="c3">F</td><td class="s">if $SS</td></tr>
<tr><td class="h"><a id="L274">274</a></td><td class="c0">50</td><td class="c0">T</td><td class="c3">F</td><td class="s">unless @_ == 1</td></tr>
<tr><td class="h"><a id="L294">294</a></td><td class="c0">50</td><td class="c0">T</td><td class="c3">F</td><td class="s">if @{$targets{$gRNA}{$subject}{&#39;info&#39;};}[0]-&gt;{&#39;numhits&#39;} == 0</td></tr>
<tr><td class="h"><a id="L304">304</a></td><td class="c3">100</td><td class="c3">T</td><td class="c3">F</td><td class="s">if grep {$_ == $value;} @unqIdentities</td></tr>
<tr><td class="h"><a id="L332">332</a></td><td class="c3">100</td><td class="c3">T</td><td class="c3">F</td><td class="s">unless $details{$a}{$subject}{&#39;unqIdentities&#39;}[0] &lt;=&gt; $details{$b}{$subject}{&#39;unqIdentities&#39;}[0]</td></tr>
<tr><td class="h"><a id="L349">349</a></td><td class="c3">100</td><td class="c3">T</td><td class="c3">F</td><td class="s">unless @_ == 1</td></tr>
<tr><td class="h"><a id="L358">358</a></td><td class="c3">100</td><td class="c3">T</td><td class="c3">F</td><td class="s">if $numMatches == 1</td></tr>
<tr><td class="h"><a id="L359">359</a></td><td class="c3">100</td><td class="c3">T</td><td class="c3">F</td><td class="s">unless $nident == $WINDOWSIZE</td></tr>
</table>
</body>
</html>
@@ -0,0 +1,35 @@
<!DOCTYPE html
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<!--
This file was generated by Devel::Cover Version 1.23
Devel::Cover is copyright 2001-2012, Paul Johnson (paul@pjcj.net)
Devel::Cover is free. It is licensed under the same terms as Perl itself.
The latest version of Devel::Cover should be available from my homepage:
http://www.pjcj.net
-->
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"></meta>
<meta http-equiv="Content-Language" content="en-us"></meta>
<link rel="stylesheet" type="text/css" href="cover.css"></link>
<link rel="stylesheet" type="text/css" href="cover.css"></link>
<title>Condition Coverage: chomp.pl</title>
</head>
<body>
<h1>Condition Coverage</h1>
<table>
<tr><td class="h" align="right">File:</td><td align="left">chomp.pl</td></tr>
<tr><td class="h" align="right">Coverage:</td><td align="left" class="c0">53.3%</td></tr>
</table>
<div><br/></div>
<table>
<tr><th>line</th><th>%</th><th>coverage</th><th>condition</th></tr>
<tr><td class="h"><a id="L103">103</a></td><td class="c0">0</td><td><div><table><tr><th>A</th><th>B</th><th>dec</th></tr><tr align="center"><td class="c0">0</td><td class="c0">X</td><td class="c0">0</td></tr><tr align="center"><td class="c0">1</td><td class="c0">0</td><td class="c0">0</td></tr><tr align="center"><td class="c0">1</td><td class="c0">1</td><td class="c0">1</td></tr></table></div></td><td class="s">$DOWNSEQ and $VERBOSE</td></tr>
<tr><td class="h"><a id="L104">104</a></td><td class="c0">0</td><td><div><table><tr><th>A</th><th>B</th><th>dec</th></tr><tr align="center"><td class="c0">0</td><td class="c0">X</td><td class="c0">0</td></tr><tr align="center"><td class="c0">1</td><td class="c0">0</td><td class="c0">0</td></tr><tr align="center"><td class="c0">1</td><td class="c0">1</td><td class="c0">1</td></tr></table></div></td><td class="s">$UPSEQ and $VERBOSE</td></tr>
<tr><td class="h"><a id="L173">173</a></td><td class="c0">67</td><td><div><table><tr><th>A</th><th>B</th><th>dec</th></tr><tr align="center"><td class="c3">0</td><td class="c3">X</td><td class="c3">0</td></tr><tr align="center"><td class="c0">1</td><td class="c0">0</td><td class="c0">0</td></tr><tr align="center"><td class="c3">1</td><td class="c3">1</td><td class="c3">1</td></tr></table></div></td><td class="s">not $down and $up</td></tr>
<tr><td class="h"></td><td class="c3">100</td><td><div><table><tr><th>A</th><th>B</th><th>dec</th></tr><tr align="center"><td class="c3">0</td><td class="c3">0</td><td class="c3">0</td></tr><tr align="center"><td class="c3">0</td><td class="c3">1</td><td class="c3">1</td></tr><tr align="center"><td class="c3">1</td><td class="c3">X</td><td class="c3">1</td></tr></table></div></td><td class="s">$down || $up</td></tr>
<tr><td class="h"></td><td class="c3">100</td><td><div><table><tr><th>A</th><th>B</th><th>dec</th></tr><tr align="center"><td class="c3">0</td><td class="c3">X</td><td class="c3">0</td></tr><tr align="center"><td class="c3">1</td><td class="c3">0</td><td class="c3">0</td></tr><tr align="center"><td class="c3">1</td><td class="c3">1</td><td class="c3">1</td></tr></table></div></td><td class="s">$down and not $up</td></tr>
</table>
</body>
</html>
@@ -0,0 +1,53 @@
<!DOCTYPE html
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<!--
This file was generated by Devel::Cover Version 1.23
Devel::Cover is copyright 2001-2012, Paul Johnson (paul@pjcj.net)
Devel::Cover is free. It is licensed under the same terms as Perl itself.
The latest version of Devel::Cover should be available from my homepage:
http://www.pjcj.net
-->
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"></meta>
<meta http-equiv="Content-Language" content="en-us"></meta>
<link rel="stylesheet" type="text/css" href="cover.css"></link>
<link rel="stylesheet" type="text/css" href="cover.css"></link>
<title>Subroutine Coverage: chomp.pl</title>
</head>
<body>
<h1>Subroutine Coverage</h1>
<table>
<tr><td class="h" align="right">File:</td><td align="left">chomp.pl</td></tr>
<tr><td class="h" align="right">Coverage:</td><td align="left" class="c3">100.0%</td></tr>
</table>
<div><br/></div>
<table>
<tr><th>line</th><th>subroutine</th></tr>
<tr><td class="h"><a id="L4">4</a></td><td class="c3"><div class="s">BEGIN</div></td></tr>
<tr><td class="h"></td><td class="c3"><div class="s">BEGIN</div></td></tr>
<tr><td class="h"></td><td class="c3"><div class="s">BEGIN</div></td></tr>
<tr><td class="h"></td><td class="c3"><div class="s">BEGIN</div></td></tr>
<tr><td class="h"><a id="L5">5</a></td><td class="c3"><div class="s">BEGIN</div></td></tr>
<tr><td class="h"></td><td class="c3"><div class="s">BEGIN</div></td></tr>
<tr><td class="h"><a id="L6">6</a></td><td class="c3"><div class="s">BEGIN</div></td></tr>
<tr><td class="h"><a id="L7">7</a></td><td class="c3"><div class="s">BEGIN</div></td></tr>
<tr><td class="h"></td><td class="c3"><div class="s">BEGIN</div></td></tr>
<tr><td class="h"><a id="L8">8</a></td><td class="c3"><div class="s">BEGIN</div></td></tr>
<tr><td class="h"></td><td class="c3"><div class="s">BEGIN</div></td></tr>
<tr><td class="h"><a id="L9">9</a></td><td class="c3"><div class="s">BEGIN</div></td></tr>
<tr><td class="h"></td><td class="c3"><div class="s">BEGIN</div></td></tr>
<tr><td class="h"><a id="L11">11</a></td><td class="c3"><div class="s">BEGIN</div></td></tr>
<tr><td class="h"></td><td class="c3"><div class="s">BEGIN</div></td></tr>
<tr><td class="h"></td><td class="c3"><div class="s">BEGIN</div></td></tr>
<tr><td class="h"><a id="L99">99</a></td><td class="c3"><div class="s">checks</div></td></tr>
<tr><td class="h"><a id="L122">122</a></td><td class="c3"><div class="s">setParameters</div></td></tr>
<tr><td class="h"><a id="L145">145</a></td><td class="c3"><div class="s">writeResults</div></td></tr>
<tr><td class="h"><a id="L209">209</a></td><td class="c3"><div class="s">getSeqDetails</div></td></tr>
<tr><td class="h"><a id="L242">242</a></td><td class="c3"><div class="s">writeFasta</div></td></tr>
<tr><td class="h"><a id="L273">273</a></td><td class="c3"><div class="s">sortResults</div></td></tr>
<tr><td class="h"><a id="L348">348</a></td><td class="c3"><div class="s">sortIdentities</div></td></tr>
</table>
</body>
</html>
Oops, something went wrong.

0 comments on commit 3d6af2a

Please sign in to comment.