github
<a href="https://github.com/samsmithnz/Factory/commit/<a class=hub.com/samsmithnz/Factory/commit/<a class="double-link" href="https://git"><a class=hub.com/samsmithnz/Factory/commit/<a class="double-link" href="https://git"><a class=hub.com/samsmithnz/Factory/commit/<a class="double-link" href="https://git"><a class=hub.com/samsmithnz/Factory/commit/<a class="double-link" href="https://git"><a class=hub.com/samsmithnz/Factory/commit/151ef668cfee07352c307abaa4806af15cd7fd88">151ef668c"><a href="https://github.com/samsmithnz/Factory/commit/</a><a class="double-link" href="https://github.com/samsmithnz/Factory/commit/<a class="double-link" href="https://git"><a class=</a>hub.com/samsmithnz/Factory/commit/<a class="double-link" href="https://git"><a class=</a>hub.com/samsmithnz/Factory/commit/<a class="double-link" href="https://git"><a class=</a>hub.com/samsmithnz/Factory/commit/151ef668cfee07352c307abaa4806af15cd7fd88">151ef668c</a><a href="https://github.com/samsmithnz/Factory/commit/151ef668cfee07352c307abaa4806af15cd7fd88"><a href="https://github.com/samsmithnz/Factory/commit/151ef668cfee07352c307abaa4806af15cd7fd88">&quot;&gt;&amp;lt;a href=&amp;quot;https://github.com/samsmithnz/Factory/commit/&lt;/a&gt;&lt;a class=&quot;double-link&quot; href=&quot;https://github.com/samsmithnz/Factory/commit/&amp;lt;a class=&amp;quot;double-link&amp;quot; href=&amp;quot;https://git&quot;&gt;&amp;lt;a class=&lt;/a&gt;hub.com/samsmithnz/Factory/commit/151ef668cfee07352c307abaa4806af15cd7fd88&quot;&gt;151ef668c&lt;/a&gt;&lt;a href=&quot;https://github.com/samsmithnz/Factory/commit/151ef668cfee07352c307abaa4806af15cd7fd88&quot;&gt;&amp;lt;a href=&amp;quot;https://github.com/samsmithnz/Factory/commit/151ef668cfee07352c307abaa4806af1&lt;/a&gt;5cd7fd</a>88">&quot;&gt;Merge &lt;/a&gt;&lt;a class=&quot;double-link&quot; href=&quot;https://github.com/samsmithnz/Factory/commit/&lt;a class=&quot;double-link&quot; href=&quot;https://github.com/samsmithnz/Factory/commit/<a class="double-link" href="https://github.com/samsmithnz/Factory/commit/da1b1db82&... (continued)
1 of 2 branches covered (50.0%)
Branch coverage included in aggregate %.
8 of 8 new or added lines in 1 file covered. (100.0%)
6 of 8 relevant lines covered (75.0%)
0.75 hits per line
1 |
namespace Factory; |
|
2 |
public class Class1 |
|
3 |
{ |
|
4 |
|
|
5 |
public string HelloWorld() |
|
|
{ |
1✔ |
|
int i = 0; |
1✔ |
|
if (i > 0) |
|
|
{ |
× |
|
return "False"; |
× |
11 |
} |
|
12 |
else
|
|
|
{ |
1✔ |
|
return "Hello world"; |
1✔ |
15 |
} |
|
|
} |
1✔ |
17 |
} |