Display coverage criterion in report headings #561
test.yml
on: push
Matrix: test-java
publish-java-snapshot
1m 1s
sonarqube
51s
test-report
16s
Annotations
3 errors
ITTests.testItQacoverSpring:
qacover-core/src/it/java/test4giis/qacover/it/ITTests.java#L34
There are 2 failed assertion(s)
Aggregated visual diffs at: target/diff-aggregated-testItQacoverSpring.html
Failure 1: Strings are different. First diff at line 4 column 8.
Differences comparing index.html.
- Visual diffs at: target/diff-it-src-test-resources-spring-petclinic-main-index.html.html
- Call Stack:
at test4giis.qacover.it.ITTests.assertFiles(ITTests.java:97)
at test4giis.qacover.it.ITTests.testItQacoverSpring(ITTests.java:56)
at sun.reflect.NativeMethodAccessorImpl.invoke0(NativeMethodAccessorImpl.java:-2)
Failure 2: Strings are different. First diff at line 4 column 71.
Differences comparing org.springframework.samples.petclinic.PetclinicIntegrationTests.html.
- Visual diffs at: target/diff-it-src-test-resources-spring-petclinic-main-org.springframework.samples.petclinic.PetclinicIntegrationTests.html.html
- Call Stack:
at test4giis.qacover.it.ITTests.assertFiles(ITTests.java:97)
at test4giis.qacover.it.ITTests.assertFiles(ITTests.java:90)
at test4giis.qacover.it.ITTests.testItQacoverSpring(ITTests.java:57) expected:<...'en'>
<head>
<title>[SQL Query FPC Coverage</title>
<meta charset='utf-8'>
<meta name='viewport' content='width=device-width, initial-scale=1, shrink-to-fit=no'>
<link rel='stylesheet' href='https://stackpath.bootstrapcdn.com/bootstrap/4.5.0/css/bootstrap.min.css' integrity='sha384-9aIt2nRpC12Uk9gS9baDl411NQApFmC26EwAOH8WgZl5MYYxFfc+NcPb1dKGj7Sk' crossorigin='anonymous'>
<script src='https://code.jquery.com/jquery-3.5.1.slim.min.js' integrity='sha384-DfXdz2htPH0lsSSs5nCTpuj/zy4C+OGpamoFVy38MVBnE+IbbVYUew+OrCXaRkfj' crossorigin='anonymous'></script>
<script src='https://cdn.jsdelivr.net/npm/popper.js@1.16.0/dist/umd/popper.min.js' integrity='sha384-Q6E9RHvbIyZFJoft+2mJbHaEWldlvI9IOYy5n3zV9zzTtmI3UksdQRVvoxMfooAo' crossorigin='anonymous'></script>
<script src='https://stackpath.bootstrapcdn.com/bootstrap/4.5.0/js/bootstrap.min.js' integrity='sha384-OgVRvuATP1z7JjHLkuOU7Xw704+h835Lr+6QL9UvYjZE3Ipu6Tp75j7Bh/kR0JKI' crossorigin='anonymous'></script>
<style>
.fill { min-width: 100%; width: 100%; }
.progress {margin-bottom: 0 !important; }
tr.class-row td { padding-top: 2px; padding-bottom: 2px; }
</style>
</head>
<body>
<div class='container'>
<h2>SQL Query FPC Coverage</h2>
<table class="table table-striped table-sm">
<tr><th>Class</th><th>%</th><th></th><th>qrun</th><th>qcount</th><th>qerror</th><th>dead</th><th>count</th><th>error</th></tr>
<tr class='class-row'>
<td>TOTAL</td>
<td>66%</td>
<td><div style="width:90px;" class="progress">
<div style="width:66%;" class="progress-bar bg-success" role="progressbar" aria-valuenow="66" aria-valuemin="0" aria-valuemax="100"></div>
</div></td>
<td>7</td><td>2</td><td>0</td><td>2</td><td>3</td><td>0</td>
</tr>
<tr class='class-row'>
<td><a href="org.springframework.samples.petclinic.PetclinicIntegrationTests.html">org.springframework.samples.petclinic.PetclinicIntegrationTests</a></td>
<td>66%</td>
<td><div style="width:90px;" class="progress">
<div style="width:66%;" class="progress-bar bg-success" role="progressbar" aria-valuenow="66" aria-valuemin="0" aria-valuemax="100"></div>
</div></td>
<td>7</td><td>2</td><td>0</td><td>2</td><td>3</td><td>0</td>
</tr>
</table>
<div><span style="float:right;"><small>
Generated by: QACover java - [version x.y.z]</a>
</small></span></div>
</div>
</body>
---------------------------
-------- Failure 2 --------
---------------------------
<!doctype html>
<html lang='en'>
<head>
<title>org.springframework.samples.petclinic.PetclinicIntegrationTests</title>
<meta charset='utf-8'>
<meta name='viewport' content='width=device-width, initial-scale=1, shrink-to-fit=no'>
<link rel='stylesheet' href='https://stackpath.bootstrapcdn.com/bootstrap/4.5.0/css/bootstrap.min.css' integrity='sha384-9aIt2nRpC12Uk9gS9baDl411NQApFmC26EwAOH8WgZl5MYYxFfc+NcPb1dKGj7Sk' crossorigin='anonymous'>
<script src='https://code.jquery.com/jquery-3.5.1.slim.min.js' integrity='sha384-DfXdz2htPH0lsSSs5nCTpuj/zy4C+OGpamoFVy38MVBnE+IbbVYUew+OrCXaRkfj' crossorigin='anonymous'></script>
<script src='https://cdn.jsdelivr.net/npm/popper.js@1.16.0/dist/umd/popper.min.js' integrity='sha384-Q6E9RHvbIyZFJoft+2mJbHaEWldlvI9IOYy5n3zV9zzTtmI3UksdQRVvoxMfooAo' crossorigin='anonymous'></script>
<script src='https://stackpath.bootstrapcdn.com/bootstrap/4.5.0/js/bootstrap.min.js' integrity='sha384-OgVRvuATP1z7JjHLkuOU7Xw704+h835Lr+6QL9UvYjZE3Ipu6Tp75j7Bh/kR0JKI' crossorigin='anonymous'></script>
<style>
.fill { min-width: 100%; width: 100%; }
tr.line, tr.line td { line-height:18px; padding-top:0; padding-bottom:0 }
tr.query-run td, tr.rule-summary td, tr.rule-sql td, tr.rule-error td { padding-top:0; padding-bottom:0 } code { color: DimGray; position: absolute; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
tbody.query { background: lightgrey; }
td.nowrap, span.nowrap { white-space: nowrap; }
td.covered { background:aquamarine; }
td.uncovered { background:lightyellow; }
.params { font-size: small; }
.result-vector { font-family: 'Lucida Console', 'Courier New', monospace; }
.rules-show, .rules-hide, .params-show, .params-hide { cursor: pointer; }
</style>
<script>
$(document).ready(function() {
$('.rules').show();
$('.rules-show').show();
$('.rules-hide').hide();
$('.params-show').show();
$('.params-hide').hide();
$('.rules').hide();
$('.params').hide();
$('.query br.canhide').hide();
$('.rules br.canhide').show();
if ($('#view-source').is(':checked')) { $('.method').hide(); } else { $('.method').show(); }
$('.rules-show').click(function(){ $(this).hide(); $(this).next().show(); $(this).closest('.query').next('.rules').show(); });
$('.rules-hide').click(function(){ $(this).hide(); $(this).prev().show(); $(this).closest('.query').next('.rules').hide(); });
$('.params-show').click(function(){ $(this).hide(); $(this).next().show(); $(this).closest('.query').find('.params').show(); $(this).closest('.query').next('.rules').find('.params').show(); });
$('.params-hide').click(function(){ $(this).hide(); $(this).prev().show(); $(this).closest('.query').find('.params').hide(); $(this).closest('.query').next('.rules').find('.params').hide(); });
$('#format-queries').change(function(){ if ($(this).is(':checked')) $('.query br.canhide').show(); else $('.query br.canhide').hide(); });
$('#format-rules').change(function(){ if ($(this).is(':checked')) $('.rules br.canhide').show(); else $('.rules br.canhide').hide(); });
$('#view-source').change(function() {
if ($(this).is(':checked')) { $('.line-code').show(); $('code').show(); $('.method').hide(); }
else { $('.line-code').hide(); $('code').hide(); $('.method').show(); }
}
)});
</script>
</head>
<body style='overflow-x: hidden;'>
<div class='container fill'>
<div class='sticky-md-top text-bg-light'>
<h4><a href='./index.html'>[Index]</a> org.springframework.samples.petclinic.PetclinicIntegrationTests</h4>
<div class='col-auto'>
<div class='form-check form-check-inline'>
<input class='form-check-input' id='view-source' type='checkbox' value='' checked>
<label class='form-check-label' for='view-source'>View source</label>
</div>
<div class='form-check form-check-inline'>
<input class='form-check-input' id='format-queries' type='checkbox' value=''>
<label class='form-check-label' for='format-queries'>Format queries</label>
</div>
<div class='form-check form-check-inline'>
<input class='form-check-input' id='format-rules' type='checkbox' value='' checked>
<label class='form-check-label' for='format-rules'>Format rules</label>
</div>
</div>
</div>
<div>
<table class='table table-sm table-borderless'>
<thead><th style='width:1%'>Line</th><th style='width:1%'>Coverage</th><th>Source code/method, queries and rules</th></thead>
<tr class='line line-code'><td>1</td><td></td><td colspan='2'><code>/*</code></td></tr>
<tr class='line line-code'><td>2</td><td></td><td colspan='2'><code> * Copyright 2012-2019 the original author or authors.</code></td></tr>
<tr class='line line-code'><td>3</td><td></td><td colspan='2'><code> *</code></td></tr>
<tr class='line line-code'><td>4</td><td></td><td colspan='2'><code> * Licensed under the Apache License, Version 2.0 (the "License");</code></td></tr>
<tr class='line line-code'><td>5</td><td></td><td colspan='2'><code> * you may not use this file except in compliance with the License.</code></td></tr>
<tr class='line line-code'><td>6</td><td></td><td colspan='2'><code> * You may obtain a copy of the License at</code></td></tr>
<tr class='line line-code'><td>7</td><td></td><td colspan='2'><code> *</code></td></tr>
<tr class='line line-code'><td>8</td><td></td><td colspan='2'><code> * https://www.apache.org/licenses/LICENSE-2.0</code></td></tr>
<tr class='line line-code'><td>9</td><td></td><td colspan='2'><code> *</code></td></tr>
<tr class='line line-code'><td>10</td><td></td><td colspan='2'><code> * Unless required by applicable law or agreed to in writing, software</code></td></tr>
<tr class='line line-code'><td>11</td><td></td><td colspan='2'><code> * distributed under the License is distributed on an "AS IS" BASIS,</code></td></tr>
<tr class='line line-code'><td>12</td><td></td><td colspan='2'><code> * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.</code></td></tr>
<tr class='line line-code'><td>13</td><td></td><td colspan='2'><code> * See the License for the specific language governing permissions and</code></td></tr>
<tr class='line line-code'><td>14</td><td></td><td colspan='2'><code> * limitations under the License.</code></td></tr>
<tr class='line line-code'><td>15</td><td></td><td colspan='2'><code> */</code></td></tr>
<tr class='line line-code'><td>16</td><td></td><td colspan='2'><code></code></td></tr>
<tr class='line line-code'><td>17</td><td></td><td colspan='2'><code>package org.springframework.samples.petclinic;</code></td></tr>
<tr class='line line-code'><td>18</td><td></td><td colspan='2'><code></code></td></tr>
<tr class='line line-code'><td>19</td><td></td><td colspan='2'><code>import org.junit.jupiter.api.Test;</code></td></tr>
<tr class='line line-code'><td>20</td><td></td><td colspan='2'><code>import org.springframework.beans.factory.annotation.Autowired;</code></td></tr>
<tr class='line line-code'><td>21</td><td></td><td colspan='2'><code>import org.springframework.boot.test.context.SpringBootTest;</code></td></tr>
<tr class='line line-code'><td>22</td><td></td><td colspan='2'><code>import org.springframework.samples.petclinic.vet.VetRepository;</code></td></tr>
<tr class='line line-code'><td>23</td><td></td><td colspan='2'><code></code></td></tr>
<tr class='line line-code'><td>24</td><td></td><td colspan='2'><code>@SpringBootTest</code></td></tr>
<tr class='line line-code'><td>25</td><td></td><td colspan='2'><code>class PetclinicIntegrationTests {</code></td></tr>
<tr class='line line-code'><td>26</td><td></td><td colspan='2'><code></code></td></tr>
<tr class='line line-code'><td>27</td><td></td><td colspan='2'><code> @Autowired</code></td></tr>
<tr class='line line-code'><td>28</td><td></td><td colspan='2'><code> private VetRepository vets;</code></td></tr>
<tr class='line line-code'><td>29</td><td></td><td colspan='2'><code></code></td></tr>
<tr class='line line-code'><td>30</td><td></td><td colspan='2'><code> @test</code></td></tr>
<tr class='line line-code'><td>31</td><td></td><td colspan='2'><code> void testFindAll() throws Exception {</code></td></tr>
<tr class='line line-coverage'>
<td>32</td>
<td class='nowrap'><strong>66%</strong> (2/3)</td>
<td colspan='2'>
<span class='text-primary font-weight-bold method'>testFindAll</span>
<code> vets.findAll();</code>
</td>
</tr>
<tbody class='query'>
<tr class='query-run'>
<td></td>
<td class='nowrap'>
<span class='rules-show' title='Show rules'>▼</span><span class='rules-hide' title='Hide rules'>▲</span>
1 run(s)
<span class='params-show' title='Show eval result and params'>▷</span><span class='params-hide' title='Hide eval result and params'>◁</span> <strong></strong> (0/0)
</td>
<td colspan='2'>
<div class='params'><strong>1</strong>. Eval result: [<span class='result-vector'></span>] Params:</div>
select vet0_.id as id1_5_, vet0_.first_name as first_na2_5_, vet0_.last_name as last_nam3_5_ from vets vet0_ </td>
</tr>
</tbody>
<tbody class='rules'>
<tr><td></td></tr>
</tbody>
<tbody class='query'>
<tr class='query-run'>
<td></td>
<td class='nowrap'>
<span class='rules-show' title='Show rules'>▼</span><span class='rules-hide' title='Hide rules'>▲</span>
6 run(s)
<span class='params-show' title='Show eval result and params'>▷</span><span class='params-hide' title='Hide eval result and params'>◁</span> <strong>66%</strong> (2/3)
</td>
<td colspan='2'>
<div class='params'><strong>1</strong>. Eval result: [<span class='result-vector'>#oo</span>] Params: ?1?=6<br/><strong>2</strong>. Eval result: [<span class='result-vector'>##o</span>] Params: ?1?=5<br/><strong>3</strong>. Eval result: [<span class='result-vector'>##o</span>] Params: ?1?=4<br/><strong>4</strong>. Eval result: [<span class='result-vector'>##o</span>] Params: ?1?=3<br/><strong>5</strong>. Eval result: [<span class='result-vector'>##o</span>] Params: ?1?=2<br/><strong>6</strong>. Eval result: [<span class='result-vector'>#oo</span>] Params: ?1?=1</div>
<strong>SELECT</strong> specialtie0_.vet_id AS vet_id1_4_0_ , specialtie0_.specialty_id AS specialt2_4_0_ , specialty1_.id AS id1_2_1_ , specialty1_.name AS name2_2_1_ <br class='canhide'/><strong>FROM</strong> vet_specialties specialtie0_ <br class='canhide'/><strong>INNER JOIN</strong> specialties specialty1_ ON specialtie0_.specialty_id = specialty1_.id <br class='canhide'/><strong>WHERE</strong> specialtie0_.vet_id = ?1? </td>
</tr>
</tbody>
<tbody class='rules'>
<tr class='rule-summary'>
<td></td>
<td class='coverage' rowspan='2'><strong>1</strong> - dead: 6 count: 6</td>
<td class='coverage' colspan='2'>
category: S type: T subtype: FF location: 1.w.1.[WHERE specialtie0_.vet_id = ?1?]
<div class='params'>(run params not available)</div>
</td>
</tr>
<tr class='rule-sql'>
<td></td>
<td class='covered'>--A set of joined tables such that: <br class='canhide'/>--The WHERE condition fulfills: <br class='canhide'/> --(F) specialtie0_.vet_id = ?1? is FALSE</td>
<td class='covered'><strong>SELECT</strong> specialtie0_.vet_id AS vet_id1_4_0_ , specialtie0_.specialty_id AS specialt2_4_0_ , specialty1_.id AS id1_2_1_ , specialty1_.name AS name2_2_1_ <br class='canhide'/><strong>FROM</strong> vet_specialties specialtie0_ <br class='canhide'/><strong>INNER JOIN</strong> specialties specialty1_ ON specialtie0_.specialty_id = specialty1_.id <br class='canhide'/><strong>WHERE</strong> NOT(specialtie0_.vet_id = ?1?)</td>
</tr>
<tr class='rule-summary'>
<td></td>
<td class='coverage' rowspan='2'><strong>2</strong> - dead: 4 count: 6</td>
<td class='coverage' colspan='2'>
category: S type: T subtype: TF location: 1.w.1.[WHERE specialtie0_.vet_id = ?1?]
<div class='params'>(run params not available)</div>
</td>
</tr>
<tr class='rule-sql'>
<td></td>
<td class='covered'>--A set of joined tables such that: <br class='canhide'/>--The WHERE condition fulfills: <br class='canhide'/> --(T) specialtie0_.vet_id = ?1? is TRUE</td>
<td class='covered'><strong>SELECT</strong> specialtie0_.vet_id AS vet_id1_4_0_ , specialtie0_.specialty_id AS specialt2_4_0_ , specialty1_.id AS id1_2_1_ , specialty1_.name AS name2_2_1_ <br class='canhide'/><strong>FROM</strong> vet_specialties specialtie0_ <br class='canhide'/><strong>INNER JOIN</strong> specialties specialty1_ ON specialtie0_.specialty_id = specialty1_.id <br class='canhide'/><strong>WHERE</strong> (specialtie0_.vet_id = ?1?)</td>
</tr>
<tr class='rule-summary'>
<td></td>
<td class='coverage' rowspan='2'><strong>3</strong> - dead: 0 count: 6</td>
<td class='coverage' colspan='2'>
category: J type: R subtype: O location: 1.j.1.[INNER JOIN]
<div class='params'>(run params not available)</div>]
</td>
<...> but was:<...'en'>
<head>
<title>[QACover - SQL Query FPC Coverage</title>
<meta charset='utf-8'>
<meta name='viewport' content='width=device-width, initial-scale=1, shrink-to-fit=no'>
<link rel='stylesheet' href='https://stackpath.bootstrapcdn.com/bootstrap/4.5.0/css/bootstrap.min.css' integrity='sha384-9aIt2nRpC12Uk9gS9baDl411NQApFmC26EwAOH8WgZl5MYYxFfc+NcPb1dKGj7Sk' crossorigin='anonymous'>
<script src='https://code.jquery.com/jquery-3.5.1.slim.min.js' integrity='sha384-DfXdz2htPH0lsSSs5nCTpuj/zy4C+OGpamoFVy38MVBnE+IbbVYUew+OrCXaRkfj' crossorigin='anonymous'></script>
<script src='https://cdn.jsdelivr.net/npm/popper.js@1.16.0/dist/umd/popper.min.js' integrity='sha384-Q6E9RHvbIyZFJoft+2mJbHaEWldlvI9IOYy5n3zV9zzTtmI3UksdQRVvoxMfooAo' crossorigin='anonymous'></script>
<script src='https://stackpath.bootstrapcdn.com/bootstrap/4.5.0/js/bootstrap.min.js' integrity='sha384-OgVRvuATP1z7JjHLkuOU7Xw704+h835Lr+6QL9UvYjZE3Ipu6Tp75j7Bh/kR0JKI' crossorigin='anonymous'></script>
<style>
.fill { min-width: 100%; width: 100%; }
.progress {margin-bottom: 0 !important; }
tr.class-row td { padding-top: 2px; padding-bottom: 2px; }
</style>
</head>
<body>
<div class='container'>
<h2>QACover - SQL Query FPC Coverage</h2>
<table class="table table-striped table-sm">
<tr><th>Class</th><th>%</th><th></th><th>qrun</th><th>qcount</th><th>qerror</th><th>dead</th><th>count</th><th>error</th></tr>
<tr class='class-row'>
<td>TOTAL</td>
<td>66%</td>
<td><div style="width:90px;" class="progress">
<div style="width:66%;" class="progress-bar bg-success" role="progressbar" aria-valuenow="66" aria-valuemin="0" aria-valuemax="100"></div>
</div></td>
<td>7</td><td>2</td><td>0</td><td>2</td><td>3</td><td>0</td>
</tr>
<tr class='class-row'>
<td><a href="org.springframework.samples.petclinic.PetclinicIntegrationTests.html">org.springframework.samples.petclinic.PetclinicIntegrationTests</a></td>
<td>66%</td>
<td><div style="width:90px;" class="progress">
<div style="width:66%;" class="progress-bar bg-success" role="progressbar" aria-valuenow="66" aria-valuemin="0" aria-valuemax="100"></div>
</div></td>
<td>7</td><td>2</td><td>0</td><td>2</td><td>3</td><td>0</td>
</tr>
</table>
<div><span style="float:right;"><small>
Generated by: QACover java - [version x.y.z]</a>
</small></span></div>
</div>
</body>
---------------------------
-------- Failure 2 --------
---------------------------
<!doctype html>
<html lang='en'>
<head>
<title>org.springframework.samples.petclinic.PetclinicIntegrationTests (fpc coverage)</title>
<meta charset='utf-8'>
<meta name='viewport' content='width=device-width, initial-scale=1, shrink-to-fit=no'>
<link rel='stylesheet' href='https://stackpath.bootstrapcdn.com/bootstrap/4.5.0/css/bootstrap.min.css' integrity='sha384-9aIt2nRpC12Uk9gS9baDl411NQApFmC26EwAOH8WgZl5MYYxFfc+NcPb1dKGj7Sk' crossorigin='anonymous'>
<script src='https://code.jquery.com/jquery-3.5.1.slim.min.js' integrity='sha384-DfXdz2htPH0lsSSs5nCTpuj/zy4C+OGpamoFVy38MVBnE+IbbVYUew+OrCXaRkfj' crossorigin='anonymous'></script>
<script src='https://cdn.jsdelivr.net/npm/popper.js@1.16.0/dist/umd/popper.min.js' integrity='sha384-Q6E9RHvbIyZFJoft+2mJbHaEWldlvI9IOYy5n3zV9zzTtmI3UksdQRVvoxMfooAo' crossorigin='anonymous'></script>
<script src='https://stackpath.bootstrapcdn.com/bootstrap/4.5.0/js/bootstrap.min.js' integrity='sha384-OgVRvuATP1z7JjHLkuOU7Xw704+h835Lr+6QL9UvYjZE3Ipu6Tp75j7Bh/kR0JKI' crossorigin='anonymous'></script>
<style>
.fill { min-width: 100%; width: 100%; }
tr.line, tr.line td { line-height:18px; padding-top:0; padding-bottom:0 }
tr.query-run td, tr.rule-summary td, tr.rule-sql td, tr.rule-error td { padding-top:0; padding-bottom:0 } code { color: DimGray; position: absolute; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
tbody.query { background: lightgrey; }
td.nowrap, span.nowrap { white-space: nowrap; }
td.covered { background:aquamarine; }
td.uncovered { background:lightyellow; }
.params { font-size: small; }
.result-vector { font-family: 'Lucida Console', 'Courier New', monospace; }
.rules-show, .rules-hide, .params-show, .params-hide { cursor: pointer; }
</style>
<script>
$(document).ready(function() {
$('.rules').show();
$('.rules-show').show();
$('.rules-hide').hide();
$('.params-show').show();
$('.params-hide').hide();
$('.rules').hide();
$('.params').hide();
$('.query br.canhide').hide();
$('.rules br.canhide').show();
if ($('#view-source').is(':checked')) { $('.method').hide(); } else { $('.method').show(); }
$('.rules-show').click(function(){ $(this).hide(); $(this).next().show(); $(this).closest('.query').next('.rules').show(); });
$('.rules-hide').click(function(){ $(this).hide(); $(this).prev().show(); $(this).closest('.query').next('.rules').hide(); });
$('.params-show').click(function(){ $(this).hide(); $(this).next().show(); $(this).closest('.query').find('.params').show(); $(this).closest('.query').next('.rules').find('.params').show(); });
$('.params-hide').click(function(){ $(this).hide(); $(this).prev().show(); $(this).closest('.query').find('.params').hide(); $(this).closest('.query').next('.rules').find('.params').hide(); });
$('#format-queries').change(function(){ if ($(this).is(':checked')) $('.query br.canhide').show(); else $('.query br.canhide').hide(); });
$('#format-rules').change(function(){ if ($(this).is(':checked')) $('.rules br.canhide').show(); else $('.rules br.canhide').hide(); });
$('#view-source').change(function() {
if ($(this).is(':checked')) { $('.line-code').show(); $('code').show(); $('.method').hide(); }
else { $('.line-code').hide(); $('code').hide(); $('.method').show(); }
}
)});
</script>
</head>
<body style='overflow-x: hidden;'>
<div class='container fill'>
<div class='sticky-md-top text-bg-light'>
<h4><a href='./index.html'>[Index]</a> org.springframework.samples.petclinic.PetclinicIntegrationTests (fpc coverage)</h4>
<div class='col-auto'>
<div class='form-check form-check-inline'>
<input class='form-check-input' id='view-source' type='checkbox' value='' checked>
<label class='form-check-label' for='view-source'>View source</label>
</div>
<div class='form-check form-check-inline'>
<input class='form-check-input' id='format-queries' type='checkbox' value=''>
<label class='form-check-label' for='format-queries'>Format queries</label>
</div>
<div class='form-check form-check-inline'>
<input class='form-check-input' id='format-rules' type='checkbox' value='' checked>
<label class='form-check-label' for='format-rules'>Format rules</label>
</div>
</div>
</div>
<div>
<table class='table table-sm table-borderless'>
<thead><th style='width:1%'>Line</th><th style='width:1%'>Coverage</th><th>Source code/method, queries and rules</th></thead>
<tr class='line line-code'><td>1</td><td></td><td colspan='2'><code>/*</code></td></tr>
<tr class='line line-code'><td>2</td><td></td><td colspan='2'><code> * Copyright 2012-2019 the original author or authors.</code></td></tr>
<tr class='line line-code'><td>3</td><td></td><td colspan='2'><code> *</code></td></tr>
<tr class='line line-code'><td>4</td><td></td><td colspan='2'><code> * Licensed under the Apache License, Version 2.0 (the "License");</code></td></tr>
<tr class='line line-code'><td>5</td><td></td><td colspan='2'><code> * you may not use this file except in compliance with the License.</code></td></tr>
<tr class='line line-code'><td>6</td><td></td><td colspan='2'><code> * You may obtain a copy of the License at</code></td></tr>
<tr class='line line-code'><td>7</td><td></td><td colspan='2'><code> *</code></td></tr>
<tr class='line line-code'><td>8</td><td></td><td colspan='2'><code> * https://www.apache.org/licenses/LICENSE-2.0</code></td></tr>
<tr class='line line-code'><td>9</td><td></td><td colspan='2'><code> *</code></td></tr>
<tr class='line line-code'><td>10</td><td></td><td colspan='2'><code> * Unless required by applicable law or agreed to in writing, software</code></td></tr>
<tr class='line line-code'><td>11</td><td></td><td colspan='2'><code> * distributed under the License is distributed on an "AS IS" BASIS,</code></td></tr>
<tr class='line line-code'><td>12</td><td></td><td colspan='2'><code> * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.</code></td></tr>
<tr class='line line-code'><td>13</td><td></td><td colspan='2'><code> * See the License for the specific language governing permissions and</code></td></tr>
<tr class='line line-code'><td>14</td><td></td><td colspan='2'><code> * limitations under the License.</code></td></tr>
<tr class='line line-code'><td>15</td><td></td><td colspan='2'><code> */</code></td></tr>
<tr class='line line-code'><td>16</td><td></td><td colspan='2'><code></code></td></tr>
<tr class='line line-code'><td>17</td><td></td><td colspan='2'><code>package org.springframework.samples.petclinic;</code></td></tr>
<tr class='line line-code'><td>18</td><td></td><td colspan='2'><code></code></td></tr>
<tr class='line line-code'><td>19</td><td></td><td colspan='2'><code>import org.junit.jupiter.api.Test;</code></td></tr>
<tr class='line line-code'><td>20</td><td></td><td colspan='2'><code>import org.springframework.beans.factory.annotation.Autowired;</code></td></tr>
<tr class='line line-code'><td>21</td><td></td><td colspan='2'><code>import org.springframework.boot.test.context.SpringBootTest;</code></td></tr>
<tr class='line line-code'><td>22</td><td></td><td colspan='2'><code>import org.springframework.samples.petclinic.vet.VetRepository;</code></td></tr>
<tr class='line line-code'><td>23</td><td></td><td colspan='2'><code></code></td></tr>
<tr class='line line-code'><td>24</td><td></td><td colspan='2'><code>@SpringBootTest</code></td></tr>
<tr class='line line-code'><td>25</td><td></td><td colspan='2'><code>class PetclinicIntegrationTests {</code></td></tr>
<tr class='line line-code'><td>26</td><td></td><td colspan='2'><code></code></td></tr>
<tr class='line line-code'><td>27</td><td></td><td colspan='2'><code> @Autowired</code></td></tr>
<tr class='line line-code'><td>28</td><td></td><td colspan='2'><code> private VetRepository vets;</code></td></tr>
<tr class='line line-code'><td>29</td><td></td><td colspan='2'><code></code></td></tr>
<tr class='line line-code'><td>30</td><td></td><td colspan='2'><code> @test</code></td></tr>
<tr class='line line-code'><td>31</td><td></td><td colspan='2'><code> void testFindAll() throws Exception {</code></td></tr>
<tr class='line line-coverage'>
<td>32</td>
<td class='nowrap'><strong>66%</strong> (2/3)</td>
<td colspan='2'>
<span class='text-primary font-weight-bold method'>testFindAll</span>
<code> vets.findAll();</code>
</td>
</tr>
<tbody class='query'>
<tr class='query-run'>
<td></td>
<td class='nowrap'>
<span class='rules-show' title='Show rules'>▼</span><span class='rules-hide' title='Hide rules'>▲</span>
1 run(s)
<span class='params-show' title='Show eval result and params'>▷</span><span class='params-hide' title='Hide eval result and params'>◁</span> <strong></strong> (0/0)
</td>
<td colspan='2'>
<div class='params'><strong>1</strong>. Eval result: [<span class='result-vector'></span>] Params:</div>
select vet0_.id as id1_5_, vet0_.first_name as first_na2_5_, vet0_.last_name as last_nam3_5_ from vets vet0_ </td>
</tr>
</tbody>
<tbody class='rules'>
<tr><td></td></tr>
</tbody>
<tbody class='query'>
<tr class='query-run'>
<td></td>
<td class='nowrap'>
<span class='rules-show' title='Show rules'>▼</span><span class='rules-hide' title='Hide rules'>▲</span>
6 run(s)
<span class='params-show' title='Show eval result and params'>▷</span><span class='params-hide' title='Hide eval result and params'>◁</span> <strong>66%</strong> (2/3)
</td>
<td colspan='2'>
<div class='params'><strong>1</strong>. Eval result: [<span class='result-vector'>#oo</span>] Params: ?1?=6<br/><strong>2</strong>. Eval result: [<span class='result-vector'>##o</span>] Params: ?1?=5<br/><strong>3</strong>. Eval result: [<span class='result-vector'>##o</span>] Params: ?1?=4<br/><strong>4</strong>. Eval result: [<span class='result-vector'>##o</span>] Params: ?1?=3<br/><strong>5</strong>. Eval result: [<span class='result-vector'>##o</span>] Params: ?1?=2<br/><strong>6</strong>. Eval result: [<span class='result-vector'>#oo</span>] Params: ?1?=1</div>
<strong>SELECT</strong> specialtie0_.vet_id AS vet_id1_4_0_ , specialtie0_.specialty_id AS specialt2_4_0_ , specialty1_.id AS id1_2_1_ , specialty1_.name AS name2_2_1_ <br class='canhide'/><strong>FROM</strong> vet_specialties specialtie0_ <br class='canhide'/><strong>INNER JOIN</strong> specialties specialty1_ ON specialtie0_.specialty_id = specialty1_.id <br class='canhide'/><strong>WHERE</strong> specialtie0_.vet_id = ?1? </td>
</tr>
</tbody>
<tbody class='rules'>
<tr class='rule-summary'>
<td></td>
<td class='coverage' rowspan='2'><strong>1</strong> - dead: 6 count: 6</td>
<td class='coverage' colspan='2'>
category: S type: T subtype: FF location: 1.w.1.[WHERE specialtie0_.vet_id = ?1?]
</td>
</tr>
<tr class='rule-sql'>
<td></td>
<td class='covered'>--A set of joined tables such that: <br class='canhide'/>--The WHERE condition fulfills: <br class='canhide'/> --(F) specialtie0_.vet_id = ?1? is FALSE</td>
<td class='covered'><strong>SELECT</strong> specialtie0_.vet_id AS vet_id1_4_0_ , specialtie0_.specialty_id AS specialt2_4_0_ , specialty1_.id AS id1_2_1_ , specialty1_.name AS name2_2_1_ <br class='canhide'/><strong>FROM</strong> vet_specialties specialtie0_ <br class='canhide'/><strong>INNER JOIN</strong> specialties specialty1_ ON specialtie0_.specialty_id = specialty1_.id <br class='canhide'/><strong>WHERE</strong> NOT(specialtie0_.vet_id = ?1?)</td>
</tr>
<tr class='rule-summary'>
<td></td>
<td class='coverage' rowspan='2'><strong>2</strong> - dead: 4 count: 6</td>
<td class='coverage' colspan='2'>
category: S type: T subtype: TF location: 1.w.1.[WHERE specialtie0_.vet_id = ?1?]
</td>
</tr>
<tr class='rule-sql'>
<td></td>
<td class='covered'>--A set of joined tables such that: <br class='canhide'/>--The WHERE condition fulfills: <br class='canhide'/> --(T) specialtie0_.vet_id = ?1? is TRUE</td>
<td class='covered'><strong>SELECT</strong> specialtie0_.vet_id AS vet_id1_4_0_ , specialtie0_.specialty_id AS specialt2_4_0_ , specialty1_.id AS id1_2_1_ , specialty1_.name AS name2_2_1_ <br class='canhide'/><strong>FROM</strong> vet_specialties specialtie0_ <br class='canhide'/><strong>INNER JOIN</strong> specialties specialty1_ ON specialtie0_.specialty_id = specialty1_.id <br class='canhide'/><strong>WHERE</strong> (specialtie0_.vet_id = ?1?)</td>
</tr>
<tr class='rule-summary'>
<td></td>
<td class='coverage' rowspan='2'><strong>3</strong> - dead: 0 count: 6</td>
<td class='coverage' colspan='2'>
category: J type: R subtype: O location: 1.j.1.[INNER JOIN]]
</td>
<...>
|
ITTests.testItQacoverUber:
qacover-core/src/it/java/test4giis/qacover/it/ITTests.java#L34
There are 2 failed assertion(s)
Aggregated visual diffs at: target/diff-aggregated-testItQacoverUber.html
Failure 1: Strings are different. First diff at line 4 column 8.
Differences comparing index.html.
- Visual diffs at: target/diff-it-src-test-resources-qacover-uber-main-index.html.html
- Call Stack:
at test4giis.qacover.it.ITTests.assertFiles(ITTests.java:97)
at test4giis.qacover.it.ITTests.testItQacoverUber(ITTests.java:68)
at sun.reflect.NativeMethodAccessorImpl.invoke0(NativeMethodAccessorImpl.java:-2)
Failure 2: Strings are different. First diff at line 4 column 16.
Differences comparing TestUber.html.
- Visual diffs at: target/diff-it-src-test-resources-qacover-uber-main-TestUber.html.html
- Call Stack:
at test4giis.qacover.it.ITTests.assertFiles(ITTests.java:97)
at test4giis.qacover.it.ITTests.assertFiles(ITTests.java:90)
at test4giis.qacover.it.ITTests.testItQacoverUber(ITTests.java:69) expected:<...'en'>
<head>
<title>[SQL Query FPC Coverage</title>
<meta charset='utf-8'>
<meta name='viewport' content='width=device-width, initial-scale=1, shrink-to-fit=no'>
<link rel='stylesheet' href='https://stackpath.bootstrapcdn.com/bootstrap/4.5.0/css/bootstrap.min.css' integrity='sha384-9aIt2nRpC12Uk9gS9baDl411NQApFmC26EwAOH8WgZl5MYYxFfc+NcPb1dKGj7Sk' crossorigin='anonymous'>
<script src='https://code.jquery.com/jquery-3.5.1.slim.min.js' integrity='sha384-DfXdz2htPH0lsSSs5nCTpuj/zy4C+OGpamoFVy38MVBnE+IbbVYUew+OrCXaRkfj' crossorigin='anonymous'></script>
<script src='https://cdn.jsdelivr.net/npm/popper.js@1.16.0/dist/umd/popper.min.js' integrity='sha384-Q6E9RHvbIyZFJoft+2mJbHaEWldlvI9IOYy5n3zV9zzTtmI3UksdQRVvoxMfooAo' crossorigin='anonymous'></script>
<script src='https://stackpath.bootstrapcdn.com/bootstrap/4.5.0/js/bootstrap.min.js' integrity='sha384-OgVRvuATP1z7JjHLkuOU7Xw704+h835Lr+6QL9UvYjZE3Ipu6Tp75j7Bh/kR0JKI' crossorigin='anonymous'></script>
<style>
.fill { min-width: 100%; width: 100%; }
.progress {margin-bottom: 0 !important; }
tr.class-row td { padding-top: 2px; padding-bottom: 2px; }
</style>
</head>
<body>
<div class='container'>
<h2>SQL Query FPC Coverage</h2>
<table class="table table-striped table-sm">
<tr><th>Class</th><th>%</th><th></th><th>qrun</th><th>qcount</th><th>qerror</th><th>dead</th><th>count</th><th>error</th></tr>
<tr class='class-row'>
<td>TOTAL</td>
<td>33%</td>
<td><div style="width:90px;" class="progress">
<div style="width:33%;" class="progress-bar bg-success" role="progressbar" aria-valuenow="33" aria-valuemin="0" aria-valuemax="100"></div>
</div></td>
<td>1</td><td>1</td><td>0</td><td>1</td><td>3</td><td>0</td>
</tr>
<tr class='class-row'>
<td><a href="TestUber.html">TestUber</a></td>
<td>33%</td>
<td><div style="width:90px;" class="progress">
<div style="width:33%;" class="progress-bar bg-success" role="progressbar" aria-valuenow="33" aria-valuemin="0" aria-valuemax="100"></div>
</div></td>
<td>1</td><td>1</td><td>0</td><td>1</td><td>3</td><td>0</td>
</tr>
</table>
<div><span style="float:right;"><small>
Generated by: QACover java - [version x.y.z]</a>
</small></span></div>
</div>
</body>
---------------------------
-------- Failure 2 --------
---------------------------
<!doctype html>
<html lang='en'>
<head>
<title>TestUber</title>
<meta charset='utf-8'>
<meta name='viewport' content='width=device-width, initial-scale=1, shrink-to-fit=no'>
<link rel='stylesheet' href='https://stackpath.bootstrapcdn.com/bootstrap/4.5.0/css/bootstrap.min.css' integrity='sha384-9aIt2nRpC12Uk9gS9baDl411NQApFmC26EwAOH8WgZl5MYYxFfc+NcPb1dKGj7Sk' crossorigin='anonymous'>
<script src='https://code.jquery.com/jquery-3.5.1.slim.min.js' integrity='sha384-DfXdz2htPH0lsSSs5nCTpuj/zy4C+OGpamoFVy38MVBnE+IbbVYUew+OrCXaRkfj' crossorigin='anonymous'></script>
<script src='https://cdn.jsdelivr.net/npm/popper.js@1.16.0/dist/umd/popper.min.js' integrity='sha384-Q6E9RHvbIyZFJoft+2mJbHaEWldlvI9IOYy5n3zV9zzTtmI3UksdQRVvoxMfooAo' crossorigin='anonymous'></script>
<script src='https://stackpath.bootstrapcdn.com/bootstrap/4.5.0/js/bootstrap.min.js' integrity='sha384-OgVRvuATP1z7JjHLkuOU7Xw704+h835Lr+6QL9UvYjZE3Ipu6Tp75j7Bh/kR0JKI' crossorigin='anonymous'></script>
<style>
.fill { min-width: 100%; width: 100%; }
tr.line, tr.line td { line-height:18px; padding-top:0; padding-bottom:0 }
tr.query-run td, tr.rule-summary td, tr.rule-sql td, tr.rule-error td { padding-top:0; padding-bottom:0 } code { color: DimGray; position: absolute; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
tbody.query { background: lightgrey; }
td.nowrap, span.nowrap { white-space: nowrap; }
td.covered { background:aquamarine; }
td.uncovered { background:lightyellow; }
.params { font-size: small; }
.result-vector { font-family: 'Lucida Console', 'Courier New', monospace; }
.rules-show, .rules-hide, .params-show, .params-hide { cursor: pointer; }
</style>
<script>
$(document).ready(function() {
$('.rules').show();
$('.rules-show').show();
$('.rules-hide').hide();
$('.params-show').show();
$('.params-hide').hide();
$('.rules').hide();
$('.params').hide();
$('.query br.canhide').hide();
$('.rules br.canhide').show();
if ($('#view-source').is(':checked')) { $('.method').hide(); } else { $('.method').show(); }
$('.rules-show').click(function(){ $(this).hide(); $(this).next().show(); $(this).closest('.query').next('.rules').show(); });
$('.rules-hide').click(function(){ $(this).hide(); $(this).prev().show(); $(this).closest('.query').next('.rules').hide(); });
$('.params-show').click(function(){ $(this).hide(); $(this).next().show(); $(this).closest('.query').find('.params').show(); $(this).closest('.query').next('.rules').find('.params').show(); });
$('.params-hide').click(function(){ $(this).hide(); $(this).prev().show(); $(this).closest('.query').find('.params').hide(); $(this).closest('.query').next('.rules').find('.params').hide(); });
$('#format-queries').change(function(){ if ($(this).is(':checked')) $('.query br.canhide').show(); else $('.query br.canhide').hide(); });
$('#format-rules').change(function(){ if ($(this).is(':checked')) $('.rules br.canhide').show(); else $('.rules br.canhide').hide(); });
$('#view-source').change(function() {
if ($(this).is(':checked')) { $('.line-code').show(); $('code').show(); $('.method').hide(); }
else { $('.line-code').hide(); $('code').hide(); $('.method').show(); }
}
)});
</script>
</head>
<body style='overflow-x: hidden;'>
<div class='container fill'>
<div class='sticky-md-top text-bg-light'>
<h4><a href='./index.html'>[Index]</a> TestUber</h4>
<div class='col-auto'>
<div class='form-check form-check-inline'>
<input class='form-check-input' id='view-source' type='checkbox' value='' checked>
<label class='form-check-label' for='view-source'>View source</label>
</div>
<div class='form-check form-check-inline'>
<input class='form-check-input' id='format-queries' type='checkbox' value=''>
<label class='form-check-label' for='format-queries'>Format queries</label>
</div>
<div class='form-check form-check-inline'>
<input class='form-check-input' id='format-rules' type='checkbox' value='' checked>
<label class='form-check-label' for='format-rules'>Format rules</label>
</div>
</div>
</div>
<div>
<table class='table table-sm table-borderless'>
<thead><th style='width:1%'>Line</th><th style='width:1%'>Coverage</th><th>Source code/method, queries and rules</th></thead>
<tr class='line line-coverage'>
<td>-1</td>
<td class='nowrap'><strong>33%</strong> (1/3)</td>
<td colspan='2'>
<span class='text-primary font-weight-bold '>runQuery1</span>
<code> (source code not available)</code>
</td>
</tr>
<tbody class='query'>
<tr class='query-run'>
<td></td>
<td class='nowrap'>
<span class='rules-show' title='Show rules'>▼</span><span class='rules-hide' title='Hide rules'>▲</span>
1 run(s)
<span class='params-show' title='Show eval result and params'>▷</span><span class='params-hide' title='Hide eval result and params'>◁</span>
</td>
<td colspan='2'>
<div class='params'><strong>1</strong>. Eval result: [<span class='result-vector'>o#o</span>] Params:</div>
select * from test where text = 'abc' </td>
</tr>
</tbody>
<tbody class='rules'>
<tr class='rule-summary'>
<td></td>
<td class='coverage' rowspan='2'><strong>1</strong> - dead: 0 count: 1</td>
<td class='coverage' colspan='2'>
category: S type: T subtype: FF location: 1.w.1.[WHERE text = 'abc']
<div class='params'>(run params not available)</div>
</td>
</tr>
<tr class='rule-sql'>
<td></td>
<td class='uncovered'>--Some row in the table such that: <br class='canhide'/>--The WHERE condition fulfills: <br class='canhide'/> --(F) text = 'abc' is FALSE</td>
<td class='uncovered'><strong>SELECT</strong> * <br class='canhide'/><strong>FROM</strong> test <br class='canhide'/><strong>WHERE</strong> NOT(text = 'abc')</td>
</tr>
<tr class='rule-summary'>
<td></td>
<td class='coverage' rowspan='2'><strong>2</strong> - dead: 1 count: 1</td>
<td class='coverage' colspan='2'>
category: S type: T subtype: TF location: 1.w.1.[WHERE text = 'abc']
<div class='params'>(run params not available)</div>
</td>
</tr>
<tr class='rule-sql'>
<td></td>
<td class='covered'>--Some row in the table such that: <br class='canhide'/>--The WHERE condition fulfills: <br class='canhide'/> --(T) text = 'abc' is TRUE</td>
<td class='covered'><strong>SELECT</strong> * <br class='canhide'/><strong>FROM</strong> test <br class='canhide'/><strong>WHERE</strong> (text = 'abc')</td>
</tr>
<tr class='rule-summary'>
<td></td>
<td class='coverage' rowspan='2'><strong>3</strong> - dead: 0 count: 1</td>
<td class='coverage' colspan='2'>
category: S type: N subtype: NF location: 1.w.1.[text]
<div class='params'>(run params not available)</div>]
</td>
<...> but was:<...'en'>
<head>
<title>[QACover - SQL Query FPC Coverage</title>
<meta charset='utf-8'>
<meta name='viewport' content='width=device-width, initial-scale=1, shrink-to-fit=no'>
<link rel='stylesheet' href='https://stackpath.bootstrapcdn.com/bootstrap/4.5.0/css/bootstrap.min.css' integrity='sha384-9aIt2nRpC12Uk9gS9baDl411NQApFmC26EwAOH8WgZl5MYYxFfc+NcPb1dKGj7Sk' crossorigin='anonymous'>
<script src='https://code.jquery.com/jquery-3.5.1.slim.min.js' integrity='sha384-DfXdz2htPH0lsSSs5nCTpuj/zy4C+OGpamoFVy38MVBnE+IbbVYUew+OrCXaRkfj' crossorigin='anonymous'></script>
<script src='https://cdn.jsdelivr.net/npm/popper.js@1.16.0/dist/umd/popper.min.js' integrity='sha384-Q6E9RHvbIyZFJoft+2mJbHaEWldlvI9IOYy5n3zV9zzTtmI3UksdQRVvoxMfooAo' crossorigin='anonymous'></script>
<script src='https://stackpath.bootstrapcdn.com/bootstrap/4.5.0/js/bootstrap.min.js' integrity='sha384-OgVRvuATP1z7JjHLkuOU7Xw704+h835Lr+6QL9UvYjZE3Ipu6Tp75j7Bh/kR0JKI' crossorigin='anonymous'></script>
<style>
.fill { min-width: 100%; width: 100%; }
.progress {margin-bottom: 0 !important; }
tr.class-row td { padding-top: 2px; padding-bottom: 2px; }
</style>
</head>
<body>
<div class='container'>
<h2>QACover - SQL Query FPC Coverage</h2>
<table class="table table-striped table-sm">
<tr><th>Class</th><th>%</th><th></th><th>qrun</th><th>qcount</th><th>qerror</th><th>dead</th><th>count</th><th>error</th></tr>
<tr class='class-row'>
<td>TOTAL</td>
<td>33%</td>
<td><div style="width:90px;" class="progress">
<div style="width:33%;" class="progress-bar bg-success" role="progressbar" aria-valuenow="33" aria-valuemin="0" aria-valuemax="100"></div>
</div></td>
<td>1</td><td>1</td><td>0</td><td>1</td><td>3</td><td>0</td>
</tr>
<tr class='class-row'>
<td><a href="TestUber.html">TestUber</a></td>
<td>33%</td>
<td><div style="width:90px;" class="progress">
<div style="width:33%;" class="progress-bar bg-success" role="progressbar" aria-valuenow="33" aria-valuemin="0" aria-valuemax="100"></div>
</div></td>
<td>1</td><td>1</td><td>0</td><td>1</td><td>3</td><td>0</td>
</tr>
</table>
<div><span style="float:right;"><small>
Generated by: QACover java - [version x.y.z]</a>
</small></span></div>
</div>
</body>
---------------------------
-------- Failure 2 --------
---------------------------
<!doctype html>
<html lang='en'>
<head>
<title>TestUber (fpc coverage)</title>
<meta charset='utf-8'>
<meta name='viewport' content='width=device-width, initial-scale=1, shrink-to-fit=no'>
<link rel='stylesheet' href='https://stackpath.bootstrapcdn.com/bootstrap/4.5.0/css/bootstrap.min.css' integrity='sha384-9aIt2nRpC12Uk9gS9baDl411NQApFmC26EwAOH8WgZl5MYYxFfc+NcPb1dKGj7Sk' crossorigin='anonymous'>
<script src='https://code.jquery.com/jquery-3.5.1.slim.min.js' integrity='sha384-DfXdz2htPH0lsSSs5nCTpuj/zy4C+OGpamoFVy38MVBnE+IbbVYUew+OrCXaRkfj' crossorigin='anonymous'></script>
<script src='https://cdn.jsdelivr.net/npm/popper.js@1.16.0/dist/umd/popper.min.js' integrity='sha384-Q6E9RHvbIyZFJoft+2mJbHaEWldlvI9IOYy5n3zV9zzTtmI3UksdQRVvoxMfooAo' crossorigin='anonymous'></script>
<script src='https://stackpath.bootstrapcdn.com/bootstrap/4.5.0/js/bootstrap.min.js' integrity='sha384-OgVRvuATP1z7JjHLkuOU7Xw704+h835Lr+6QL9UvYjZE3Ipu6Tp75j7Bh/kR0JKI' crossorigin='anonymous'></script>
<style>
.fill { min-width: 100%; width: 100%; }
tr.line, tr.line td { line-height:18px; padding-top:0; padding-bottom:0 }
tr.query-run td, tr.rule-summary td, tr.rule-sql td, tr.rule-error td { padding-top:0; padding-bottom:0 } code { color: DimGray; position: absolute; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
tbody.query { background: lightgrey; }
td.nowrap, span.nowrap { white-space: nowrap; }
td.covered { background:aquamarine; }
td.uncovered { background:lightyellow; }
.params { font-size: small; }
.result-vector { font-family: 'Lucida Console', 'Courier New', monospace; }
.rules-show, .rules-hide, .params-show, .params-hide { cursor: pointer; }
</style>
<script>
$(document).ready(function() {
$('.rules').show();
$('.rules-show').show();
$('.rules-hide').hide();
$('.params-show').show();
$('.params-hide').hide();
$('.rules').hide();
$('.params').hide();
$('.query br.canhide').hide();
$('.rules br.canhide').show();
if ($('#view-source').is(':checked')) { $('.method').hide(); } else { $('.method').show(); }
$('.rules-show').click(function(){ $(this).hide(); $(this).next().show(); $(this).closest('.query').next('.rules').show(); });
$('.rules-hide').click(function(){ $(this).hide(); $(this).prev().show(); $(this).closest('.query').next('.rules').hide(); });
$('.params-show').click(function(){ $(this).hide(); $(this).next().show(); $(this).closest('.query').find('.params').show(); $(this).closest('.query').next('.rules').find('.params').show(); });
$('.params-hide').click(function(){ $(this).hide(); $(this).prev().show(); $(this).closest('.query').find('.params').hide(); $(this).closest('.query').next('.rules').find('.params').hide(); });
$('#format-queries').change(function(){ if ($(this).is(':checked')) $('.query br.canhide').show(); else $('.query br.canhide').hide(); });
$('#format-rules').change(function(){ if ($(this).is(':checked')) $('.rules br.canhide').show(); else $('.rules br.canhide').hide(); });
$('#view-source').change(function() {
if ($(this).is(':checked')) { $('.line-code').show(); $('code').show(); $('.method').hide(); }
else { $('.line-code').hide(); $('code').hide(); $('.method').show(); }
}
)});
</script>
</head>
<body style='overflow-x: hidden;'>
<div class='container fill'>
<div class='sticky-md-top text-bg-light'>
<h4><a href='./index.html'>[Index]</a> TestUber (fpc coverage)</h4>
<div class='col-auto'>
<div class='form-check form-check-inline'>
<input class='form-check-input' id='view-source' type='checkbox' value='' checked>
<label class='form-check-label' for='view-source'>View source</label>
</div>
<div class='form-check form-check-inline'>
<input class='form-check-input' id='format-queries' type='checkbox' value=''>
<label class='form-check-label' for='format-queries'>Format queries</label>
</div>
<div class='form-check form-check-inline'>
<input class='form-check-input' id='format-rules' type='checkbox' value='' checked>
<label class='form-check-label' for='format-rules'>Format rules</label>
</div>
</div>
</div>
<div>
<table class='table table-sm table-borderless'>
<thead><th style='width:1%'>Line</th><th style='width:1%'>Coverage</th><th>Source code/method, queries and rules</th></thead>
<tr class='line line-coverage'>
<td>-1</td>
<td class='nowrap'><strong>33%</strong> (1/3)</td>
<td colspan='2'>
<span class='text-primary font-weight-bold '>runQuery1</span>
<code> (source code not available)</code>
</td>
</tr>
<tbody class='query'>
<tr class='query-run'>
<td></td>
<td class='nowrap'>
<span class='rules-show' title='Show rules'>▼</span><span class='rules-hide' title='Hide rules'>▲</span>
1 run(s)
<span class='params-show' title='Show eval result and params'>▷</span><span class='params-hide' title='Hide eval result and params'>◁</span>
</td>
<td colspan='2'>
<div class='params'><strong>1</strong>. Eval result: [<span class='result-vector'>o#o</span>] Params:</div>
select * from test where text = 'abc' </td>
</tr>
</tbody>
<tbody class='rules'>
<tr class='rule-summary'>
<td></td>
<td class='coverage' rowspan='2'><strong>1</strong> - dead: 0 count: 1</td>
<td class='coverage' colspan='2'>
category: S type: T subtype: FF location: 1.w.1.[WHERE text = 'abc']
</td>
</tr>
<tr class='rule-sql'>
<td></td>
<td class='uncovered'>--Some row in the table such that: <br class='canhide'/>--The WHERE condition fulfills: <br class='canhide'/> --(F) text = 'abc' is FALSE</td>
<td class='uncovered'><strong>SELECT</strong> * <br class='canhide'/><strong>FROM</strong> test <br class='canhide'/><strong>WHERE</strong> NOT(text = 'abc')</td>
</tr>
<tr class='rule-summary'>
<td></td>
<td class='coverage' rowspan='2'><strong>2</strong> - dead: 1 count: 1</td>
<td class='coverage' colspan='2'>
category: S type: T subtype: TF location: 1.w.1.[WHERE text = 'abc']
</td>
</tr>
<tr class='rule-sql'>
<td></td>
<td class='covered'>--Some row in the table such that: <br class='canhide'/>--The WHERE condition fulfills: <br class='canhide'/> --(T) text = 'abc' is TRUE</td>
<td class='covered'><strong>SELECT</strong> * <br class='canhide'/><strong>FROM</strong> test <br class='canhide'/><strong>WHERE</strong> (text = 'abc')</td>
</tr>
<tr class='rule-summary'>
<td></td>
<td class='coverage' rowspan='2'><strong>3</strong> - dead: 0 count: 1</td>
<td class='coverage' colspan='2'>
category: S type: N subtype: NF location: 1.w.1.[text]]
</td>
<...>
|
test-IT
❌ Tests reported 2 failures
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
github-pages
Expired
|
114 KB |
|
test-report-ALL
|
743 KB |
|
test-report-files-IT
|
144 KB |
|
test-report-files-Net
|
206 KB |
|
test-report-files-Oracle
|
152 KB |
|
test-report-files-Postgres
|
147 KB |
|
test-report-files-Sqlserver
|
108 KB |
|
test-report-files-UT
|
444 KB |
|