From 5dc9354fbc481eb6727713aa3c40247a9dd5f59d Mon Sep 17 00:00:00 2001 From: Javier Date: Sat, 15 Jul 2023 07:47:13 +0200 Subject: [PATCH] Add test resources --- qacover-core/src/test/resources/logback.xml | 24 + .../resources/qacover-api-sample/by-class.txt | 15 + .../qacover-api-sample/by-run-order.txt | 253 ++++++++ .../qacover-report/all-data-by-run-order.txt | 570 ++++++++++++++++++ .../qacover-report/all-keys-by-run-order.txt | 21 + .../test/resources/qacover-report/index.html | 50 ++ .../test4giis.qacoverapp.AppSimpleJdbc.html | 173 ++++++ .../test4giis.qacoverapp.AppSimpleJdbc2.html | 72 +++ ...4giis.qacoverapp.AppSimpleJdbc3Errors.html | 112 ++++ .../resources/qacover-uber-main/TestUber.html | 46 ++ .../resources/qacover-uber-main/index.html | 36 ++ .../spring-petclinic-main/index.html | 36 ++ ...s.petclinic.PetclinicIntegrationTests.html | 63 ++ .../spring-petclinic-main/report.log | 6 + 14 files changed, 1477 insertions(+) create mode 100644 qacover-core/src/test/resources/logback.xml create mode 100644 qacover-core/src/test/resources/qacover-api-sample/by-class.txt create mode 100644 qacover-core/src/test/resources/qacover-api-sample/by-run-order.txt create mode 100644 qacover-core/src/test/resources/qacover-report/all-data-by-run-order.txt create mode 100644 qacover-core/src/test/resources/qacover-report/all-keys-by-run-order.txt create mode 100644 qacover-core/src/test/resources/qacover-report/index.html create mode 100644 qacover-core/src/test/resources/qacover-report/test4giis.qacoverapp.AppSimpleJdbc.html create mode 100644 qacover-core/src/test/resources/qacover-report/test4giis.qacoverapp.AppSimpleJdbc2.html create mode 100644 qacover-core/src/test/resources/qacover-report/test4giis.qacoverapp.AppSimpleJdbc3Errors.html create mode 100644 qacover-core/src/test/resources/qacover-uber-main/TestUber.html create mode 100644 qacover-core/src/test/resources/qacover-uber-main/index.html create mode 100644 qacover-core/src/test/resources/spring-petclinic-main/index.html create mode 100644 qacover-core/src/test/resources/spring-petclinic-main/org.springframework.samples.petclinic.PetclinicIntegrationTests.html create mode 100644 qacover-core/src/test/resources/spring-petclinic-main/report.log diff --git a/qacover-core/src/test/resources/logback.xml b/qacover-core/src/test/resources/logback.xml new file mode 100644 index 0000000..a6fd38f --- /dev/null +++ b/qacover-core/src/test/resources/logback.xml @@ -0,0 +1,24 @@ + + + + %d{HH:mm:ss.SSS} [%thread] %-5level %logger{36} - %msg%n + + + + + target/log-test.log + + %d{HH:mm:ss.SSS} [%thread] %-5level %logger{36} - %msg%n + + + + + + + + + + + \ No newline at end of file diff --git a/qacover-core/src/test/resources/qacover-api-sample/by-class.txt b/qacover-core/src/test/resources/qacover-api-sample/by-class.txt new file mode 100644 index 0000000..4bf78df --- /dev/null +++ b/qacover-core/src/test/resources/qacover-api-sample/by-class.txt @@ -0,0 +1,15 @@ +***** Class: test4giis.qacoverapp.AppSimpleJdbc +* method: queryDifferentSingleLine:35 - SELECT * FROM test WHERE num = ?1? +* method: queryDifferentSingleLine:35 - SELECT * FROM test WHERE text = ?1? +* method: queryEqualDifferentLine:41 - SELECT * FROM test WHERE text = ?1? +* method: queryEqualDifferentLine:44 - SELECT * FROM test WHERE text = ?1? +* method: queryNoParameters1Condition:23 - SELECT id , num , text FROM test WHERE num >= ?1? +* method: queryNoParameters2Condition:26 - SELECT id , num , text FROM test WHERE num > ?1? AND text = ?2? +***** Class: test4giis.qacoverapp.AppSimpleJdbc2 +* method: queryNoParameters1Condition:14 - SELECT id , num , text FROM test WHERE num >= ?1? +* method: queryNoParameters2Condition:17 - SELECT id , num , text FROM test WHERE num > ?1? AND text = ?2? +***** Class: test4giis.qacoverapp.AppSimpleJdbc3Errors +* method: query0Errors:16 - select id,num,text from test where num<9 +* method: query1ErrorAtQuery:19 - select id,num,text from test where num<10 +* method: query1ErrorAtRule:22 - select id,num,text from test where num < 11 +* method: queryMultipleErrors:25 - select id,num,text from test where num<9 diff --git a/qacover-core/src/test/resources/qacover-api-sample/by-run-order.txt b/qacover-core/src/test/resources/qacover-api-sample/by-run-order.txt new file mode 100644 index 0000000..79fea22 --- /dev/null +++ b/qacover-core/src/test/resources/qacover-api-sample/by-run-order.txt @@ -0,0 +1,253 @@ + +***** Execution test4giis.qacoverapp.AppSimpleJdbc.queryNoParameters2Condition.26.6af47aa3d7fda829fc88672c5bb64fbf9efea7f6f3416ee899789f2990b1ba80 +* timestamp: 2023-03-26T18:37:35.137 +* class: test4giis.qacoverapp.AppSimpleJdbc +* line: 26 +* method: queryNoParameters2Condition +* sql: SELECT id , num , text FROM test WHERE num > ?1? AND text = ?2? +* parameters: +* schema xml: + + + + +
+
+* Using the model to iterate over 4 rules +rule0: SELECT id , num , text FROM test WHERE (num > ?1?) AND (text = ?2?) +rule1: SELECT id , num , text FROM test WHERE NOT(num > ?1?) AND (text = ?2?) +rule2: SELECT id , num , text FROM test WHERE NOT(text = ?2?) AND (num > ?1?) +rule3: SELECT id , num , text FROM test WHERE (text IS NULL) AND (num > ?1?) + +***** Execution test4giis.qacoverapp.AppSimpleJdbc.queryNoParameters2Condition.26.6af47aa3d7fda829fc88672c5bb64fbf9efea7f6f3416ee899789f2990b1ba80 +* timestamp: 2023-03-26T18:37:35.264 +* class: test4giis.qacoverapp.AppSimpleJdbc +* line: 26 +* method: queryNoParameters2Condition +* sql: SELECT id , num , text FROM test WHERE num > ?1? AND text = ?2? +* parameters: +* Using the model to iterate over 4 rules +rule0: SELECT id , num , text FROM test WHERE (num > ?1?) AND (text = ?2?) +rule1: SELECT id , num , text FROM test WHERE NOT(num > ?1?) AND (text = ?2?) +rule2: SELECT id , num , text FROM test WHERE NOT(text = ?2?) AND (num > ?1?) +rule3: SELECT id , num , text FROM test WHERE (text IS NULL) AND (num > ?1?) + +***** Execution test4giis.qacoverapp.AppSimpleJdbc.queryNoParameters2Condition.26.6af47aa3d7fda829fc88672c5bb64fbf9efea7f6f3416ee899789f2990b1ba80 +* timestamp: 2023-03-26T18:37:35.378 +* class: test4giis.qacoverapp.AppSimpleJdbc +* line: 26 +* method: queryNoParameters2Condition +* sql: SELECT id , num , text FROM test WHERE num > ?1? AND text = ?2? +* parameters: +* Using the model to iterate over 4 rules +rule0: SELECT id , num , text FROM test WHERE (num > ?1?) AND (text = ?2?) +rule1: SELECT id , num , text FROM test WHERE NOT(num > ?1?) AND (text = ?2?) +rule2: SELECT id , num , text FROM test WHERE NOT(text = ?2?) AND (num > ?1?) +rule3: SELECT id , num , text FROM test WHERE (text IS NULL) AND (num > ?1?) + +***** Execution test4giis.qacoverapp.AppSimpleJdbc.queryNoParameters1Condition.23.2ad05b47f18cfd5166dc1feb6b547049794ba1edd0df35fee72c9fc252def031 +* timestamp: 2023-03-26T18:37:35.721 +* class: test4giis.qacoverapp.AppSimpleJdbc +* line: 23 +* method: queryNoParameters1Condition +* sql: SELECT id , num , text FROM test WHERE num >= ?1? +* parameters: +* Using the model to iterate over 2 rules +rule0: SELECT id , num , text FROM test WHERE NOT(num >= ?1?) +rule1: SELECT id , num , text FROM test WHERE (num >= ?1?) + +***** Execution test4giis.qacoverapp.AppSimpleJdbc.queryDifferentSingleLine.35.c4869b5b7ec19955a2c6ead9c938b0a5d4c4927723fd515418b3bfcb631d3731 +* timestamp: 2023-03-26T18:37:36.046 +* class: test4giis.qacoverapp.AppSimpleJdbc +* line: 35 +* method: queryDifferentSingleLine +* sql: SELECT * FROM test WHERE num = ?1? +* parameters: +* Using the model to iterate over 2 rules +rule0: SELECT * FROM test WHERE NOT(num = ?1?) +rule1: SELECT * FROM test WHERE (num = ?1?) + +***** Execution test4giis.qacoverapp.AppSimpleJdbc.queryDifferentSingleLine.35.c4869b5b7ec19955a2c6ead9c938b0a5d4c4927723fd515418b3bfcb631d3731 +* timestamp: 2023-03-26T18:37:36.160 +* class: test4giis.qacoverapp.AppSimpleJdbc +* line: 35 +* method: queryDifferentSingleLine +* sql: SELECT * FROM test WHERE num = ?1? +* parameters: +* Using the model to iterate over 2 rules +rule0: SELECT * FROM test WHERE NOT(num = ?1?) +rule1: SELECT * FROM test WHERE (num = ?1?) + +***** Execution test4giis.qacoverapp.AppSimpleJdbc.queryDifferentSingleLine.35.e03a1fbcfe551f7b165fd9302db349ece39d1809bc9a5d6c64ff6ca9a5173354 +* timestamp: 2023-03-26T18:37:36.489 +* class: test4giis.qacoverapp.AppSimpleJdbc +* line: 35 +* method: queryDifferentSingleLine +* sql: SELECT * FROM test WHERE text = ?1? +* parameters: +* Using the model to iterate over 3 rules +rule0: SELECT * FROM test WHERE NOT(text = ?1?) +rule1: SELECT * FROM test WHERE (text = ?1?) +rule2: SELECT * FROM test WHERE (text IS NULL) + +***** Execution test4giis.qacoverapp.AppSimpleJdbc.queryEqualDifferentLine.41.e03a1fbcfe551f7b165fd9302db349ece39d1809bc9a5d6c64ff6ca9a5173354 +* timestamp: 2023-03-26T18:37:36.816 +* class: test4giis.qacoverapp.AppSimpleJdbc +* line: 41 +* method: queryEqualDifferentLine +* sql: SELECT * FROM test WHERE text = ?1? +* parameters: +* Using the model to iterate over 3 rules +rule0: SELECT * FROM test WHERE NOT(text = ?1?) +rule1: SELECT * FROM test WHERE (text = ?1?) +rule2: SELECT * FROM test WHERE (text IS NULL) + +***** Execution test4giis.qacoverapp.AppSimpleJdbc.queryEqualDifferentLine.44.e03a1fbcfe551f7b165fd9302db349ece39d1809bc9a5d6c64ff6ca9a5173354 +* timestamp: 2023-03-26T18:37:37.147 +* class: test4giis.qacoverapp.AppSimpleJdbc +* line: 44 +* method: queryEqualDifferentLine +* sql: SELECT * FROM test WHERE text = ?1? +* parameters: +* Using the model to iterate over 3 rules +rule0: SELECT * FROM test WHERE NOT(text = ?1?) +rule1: SELECT * FROM test WHERE (text = ?1?) +rule2: SELECT * FROM test WHERE (text IS NULL) + +***** Execution test4giis.qacoverapp.AppSimpleJdbc.queryEqualDifferentLine.41.e03a1fbcfe551f7b165fd9302db349ece39d1809bc9a5d6c64ff6ca9a5173354 +* timestamp: 2023-03-26T18:37:37.259 +* class: test4giis.qacoverapp.AppSimpleJdbc +* line: 41 +* method: queryEqualDifferentLine +* sql: SELECT * FROM test WHERE text = ?1? +* parameters: +* Using the model to iterate over 3 rules +rule0: SELECT * FROM test WHERE NOT(text = ?1?) +rule1: SELECT * FROM test WHERE (text = ?1?) +rule2: SELECT * FROM test WHERE (text IS NULL) + +***** Execution test4giis.qacoverapp.AppSimpleJdbc.queryEqualDifferentLine.44.e03a1fbcfe551f7b165fd9302db349ece39d1809bc9a5d6c64ff6ca9a5173354 +* timestamp: 2023-03-26T18:37:37.375 +* class: test4giis.qacoverapp.AppSimpleJdbc +* line: 44 +* method: queryEqualDifferentLine +* sql: SELECT * FROM test WHERE text = ?1? +* parameters: +* Using the model to iterate over 3 rules +rule0: SELECT * FROM test WHERE NOT(text = ?1?) +rule1: SELECT * FROM test WHERE (text = ?1?) +rule2: SELECT * FROM test WHERE (text IS NULL) + +***** Execution test4giis.qacoverapp.AppSimpleJdbc2.queryNoParameters1Condition.14.2ad05b47f18cfd5166dc1feb6b547049794ba1edd0df35fee72c9fc252def031 +* timestamp: 2023-03-26T18:37:37.802 +* class: test4giis.qacoverapp.AppSimpleJdbc2 +* line: 14 +* method: queryNoParameters1Condition +* sql: SELECT id , num , text FROM test WHERE num >= ?1? +* parameters: +* Using the model to iterate over 2 rules +rule0: SELECT id , num , text FROM test WHERE NOT(num >= ?1?) +rule1: SELECT id , num , text FROM test WHERE (num >= ?1?) + +***** Execution test4giis.qacoverapp.AppSimpleJdbc2.queryNoParameters2Condition.17.6af47aa3d7fda829fc88672c5bb64fbf9efea7f6f3416ee899789f2990b1ba80 +* timestamp: 2023-03-26T18:37:38.137 +* class: test4giis.qacoverapp.AppSimpleJdbc2 +* line: 17 +* method: queryNoParameters2Condition +* sql: SELECT id , num , text FROM test WHERE num > ?1? AND text = ?2? +* parameters: +* Using the model to iterate over 4 rules +rule0: SELECT id , num , text FROM test WHERE (num > ?1?) AND (text = ?2?) +rule1: SELECT id , num , text FROM test WHERE NOT(num > ?1?) AND (text = ?2?) +rule2: SELECT id , num , text FROM test WHERE NOT(text = ?2?) AND (num > ?1?) +rule3: SELECT id , num , text FROM test WHERE (text IS NULL) AND (num > ?1?) + +***** Execution test4giis.qacoverapp.AppSimpleJdbc2.queryNoParameters1Condition.14.2ad05b47f18cfd5166dc1feb6b547049794ba1edd0df35fee72c9fc252def031 +* timestamp: 2023-03-26T18:37:38.252 +* class: test4giis.qacoverapp.AppSimpleJdbc2 +* line: 14 +* method: queryNoParameters1Condition +* sql: SELECT id , num , text FROM test WHERE num >= ?1? +* parameters: +* Using the model to iterate over 2 rules +rule0: SELECT id , num , text FROM test WHERE NOT(num >= ?1?) +rule1: SELECT id , num , text FROM test WHERE (num >= ?1?) + +***** Execution test4giis.qacoverapp.AppSimpleJdbc2.queryNoParameters1Condition.14.2ad05b47f18cfd5166dc1feb6b547049794ba1edd0df35fee72c9fc252def031 +* timestamp: 2023-03-26T18:37:38.366 +* class: test4giis.qacoverapp.AppSimpleJdbc2 +* line: 14 +* method: queryNoParameters1Condition +* sql: SELECT id , num , text FROM test WHERE num >= ?1? +* parameters: +* Using the model to iterate over 2 rules +rule0: SELECT id , num , text FROM test WHERE NOT(num >= ?1?) +rule1: SELECT id , num , text FROM test WHERE (num >= ?1?) + +***** Execution test4giis.qacoverapp.AppSimpleJdbc3Errors.query0Errors.16.5229f8eb53298d20f6959ec6cffcad93d5aa94a9af072386d353c31b08f75153 +* timestamp: 2023-03-26T18:37:38.649 +* class: test4giis.qacoverapp.AppSimpleJdbc3Errors +* line: 16 +* method: query0Errors +* sql: select id,num,text from test where num<9 +* parameters: +* Using the model to iterate over 2 rules +rule0: SELECT id , num , text FROM test WHERE NOT(num < 9) +rule1: SELECT id , num , text FROM test WHERE (num < 9) + +***** Execution test4giis.qacoverapp.AppSimpleJdbc3Errors.query1ErrorAtQuery.19.7ab053d55b54c975de770640bed8e8ee65c54aec24d94b949b6b3fdc49a1d311 +* timestamp: 2023-03-26T18:37:38.719 +* class: test4giis.qacoverapp.AppSimpleJdbc3Errors +* line: 19 +* method: query1ErrorAtQuery +* sql: select id,num,text from test where num<10 +* parameters: +* Using the model to iterate over 0 rules + +***** Execution test4giis.qacoverapp.AppSimpleJdbc3Errors.query1ErrorAtRule.22.cf89702f8478266da73089272b7d89c3812b3e236dbbe2b02949c2ca1bdd1255 +* timestamp: 2023-03-26T18:37:38.946 +* class: test4giis.qacoverapp.AppSimpleJdbc3Errors +* line: 22 +* method: query1ErrorAtRule +* sql: select id,num,text from test where num < 11 +* parameters: +* Using the model to iterate over 3 rules +rule0: selectar id,num,text from test where num < 9 +rule1: SELECT id , num , text FROM test WHERE (num = 11) +rule2: SELECT id , num , text FROM test WHERE (num = 10) + +***** Execution test4giis.qacoverapp.AppSimpleJdbc3Errors.queryMultipleErrors.25.5229f8eb53298d20f6959ec6cffcad93d5aa94a9af072386d353c31b08f75153 +* timestamp: 2023-03-26T18:37:39.173 +* class: test4giis.qacoverapp.AppSimpleJdbc3Errors +* line: 25 +* method: queryMultipleErrors +* sql: select id,num,text from test where num<9 +* parameters: +* Using the model to iterate over 3 rules +rule0: select id,num,text from notable where num < 9 +rule1: SELECT id , num , text FROM test WHERE (num = 9) +rule2: SELECT id , num , text FROM test WHERE (num = 8) + +***** Execution test4giis.qacoverapp.AppSimpleJdbc3Errors.queryMultipleErrors.25.5229f8eb53298d20f6959ec6cffcad93d5aa94a9af072386d353c31b08f75153 +* timestamp: 2023-03-26T18:37:39.180 +* class: test4giis.qacoverapp.AppSimpleJdbc3Errors +* line: 25 +* method: queryMultipleErrors +* sql: select id,num,text from test where num<9 +* parameters: +* Using the model to iterate over 3 rules +rule0: select id,num,text from notable where num < 9 +rule1: SELECT id , num , text FROM test WHERE (num = 9) +rule2: SELECT id , num , text FROM test WHERE (num = 8) + +***** Execution test4giis.qacoverapp.AppSimpleJdbc3Errors.queryMultipleErrors.25.5229f8eb53298d20f6959ec6cffcad93d5aa94a9af072386d353c31b08f75153 +* timestamp: 2023-03-26T18:37:39.184 +* class: test4giis.qacoverapp.AppSimpleJdbc3Errors +* line: 25 +* method: queryMultipleErrors +* sql: select id,num,text from test where num<9 +* parameters: +* Using the model to iterate over 3 rules +rule0: select id,num,text from notable where num < 9 +rule1: SELECT id , num , text FROM test WHERE (num = 9) +rule2: SELECT id , num , text FROM test WHERE (num = 8) diff --git a/qacover-core/src/test/resources/qacover-report/all-data-by-run-order.txt b/qacover-core/src/test/resources/qacover-report/all-data-by-run-order.txt new file mode 100644 index 0000000..4320e78 --- /dev/null +++ b/qacover-core/src/test/resources/qacover-report/all-data-by-run-order.txt @@ -0,0 +1,570 @@ +*** test4giis.qacoverapp.AppSimpleJdbc.queryNoParameters2Condition.26.6af47aa3d7fda829fc88672c5bb64fbf9efea7f6f3416ee899789f2990b1ba80 +sql: SELECT id , num , text FROM test WHERE num > ?1? AND text = ?2? +parameters: +rule0: 1STTT1.w.1.[num > ?1?] + SELECT id , num , text FROM test WHERE (num > ?1?) AND (text = ?2?) + --Some row in the table such that: +--The WHERE condition fulfills: + --(T) num > ?1? is TRUE + --(T) text = ?2? is TRUE + +rule1: 2STFT1.w.1.[num > ?1?] + SELECT id , num , text FROM test WHERE NOT(num > ?1?) AND (text = ?2?) + --Some row in the table such that: +--The WHERE condition fulfills: + --(F) num > ?1? is FALSE + --(T) text = ?2? is TRUE + +rule2: 3STFT1.w.2.[text = ?2?] + SELECT id , num , text FROM test WHERE NOT(text = ?2?) AND (num > ?1?) + --Some row in the table such that: +--The WHERE condition fulfills: + --(F) text = ?2? is FALSE + --(T) num > ?1? is TRUE + +rule3: 4SNNT1.w.2.[text] + SELECT id , num , text FROM test WHERE (text IS NULL) AND (num > ?1?) + --Some row in the table such that: +--The WHERE condition fulfills: + --(N) text is NULL + --(T) num > ?1? is TRUE + +schema: + + + + +
+
+*** test4giis.qacoverapp.AppSimpleJdbc.queryNoParameters2Condition.26.6af47aa3d7fda829fc88672c5bb64fbf9efea7f6f3416ee899789f2990b1ba80 +sql: SELECT id , num , text FROM test WHERE num > ?1? AND text = ?2? +parameters: +rule0: 1STTT1.w.1.[num > ?1?] + SELECT id , num , text FROM test WHERE (num > ?1?) AND (text = ?2?) + --Some row in the table such that: +--The WHERE condition fulfills: + --(T) num > ?1? is TRUE + --(T) text = ?2? is TRUE + +rule1: 2STFT1.w.1.[num > ?1?] + SELECT id , num , text FROM test WHERE NOT(num > ?1?) AND (text = ?2?) + --Some row in the table such that: +--The WHERE condition fulfills: + --(F) num > ?1? is FALSE + --(T) text = ?2? is TRUE + +rule2: 3STFT1.w.2.[text = ?2?] + SELECT id , num , text FROM test WHERE NOT(text = ?2?) AND (num > ?1?) + --Some row in the table such that: +--The WHERE condition fulfills: + --(F) text = ?2? is FALSE + --(T) num > ?1? is TRUE + +rule3: 4SNNT1.w.2.[text] + SELECT id , num , text FROM test WHERE (text IS NULL) AND (num > ?1?) + --Some row in the table such that: +--The WHERE condition fulfills: + --(N) text is NULL + --(T) num > ?1? is TRUE + +schema: + + + + +
+
+*** test4giis.qacoverapp.AppSimpleJdbc.queryNoParameters2Condition.26.6af47aa3d7fda829fc88672c5bb64fbf9efea7f6f3416ee899789f2990b1ba80 +sql: SELECT id , num , text FROM test WHERE num > ?1? AND text = ?2? +parameters: +rule0: 1STTT1.w.1.[num > ?1?] + SELECT id , num , text FROM test WHERE (num > ?1?) AND (text = ?2?) + --Some row in the table such that: +--The WHERE condition fulfills: + --(T) num > ?1? is TRUE + --(T) text = ?2? is TRUE + +rule1: 2STFT1.w.1.[num > ?1?] + SELECT id , num , text FROM test WHERE NOT(num > ?1?) AND (text = ?2?) + --Some row in the table such that: +--The WHERE condition fulfills: + --(F) num > ?1? is FALSE + --(T) text = ?2? is TRUE + +rule2: 3STFT1.w.2.[text = ?2?] + SELECT id , num , text FROM test WHERE NOT(text = ?2?) AND (num > ?1?) + --Some row in the table such that: +--The WHERE condition fulfills: + --(F) text = ?2? is FALSE + --(T) num > ?1? is TRUE + +rule3: 4SNNT1.w.2.[text] + SELECT id , num , text FROM test WHERE (text IS NULL) AND (num > ?1?) + --Some row in the table such that: +--The WHERE condition fulfills: + --(N) text is NULL + --(T) num > ?1? is TRUE + +schema: + + + + +
+
+*** test4giis.qacoverapp.AppSimpleJdbc.queryNoParameters1Condition.23.2ad05b47f18cfd5166dc1feb6b547049794ba1edd0df35fee72c9fc252def031 +sql: SELECT id , num , text FROM test WHERE num >= ?1? +parameters: +rule0: 1STFF1.w.1.[WHERE num >= ?1?] + SELECT id , num , text FROM test WHERE NOT(num >= ?1?) + --Some row in the table such that: +--The WHERE condition fulfills: + --(F) num >= ?1? is FALSE + +rule1: 2STTF1.w.1.[WHERE num >= ?1?] + SELECT id , num , text FROM test WHERE (num >= ?1?) + --Some row in the table such that: +--The WHERE condition fulfills: + --(T) num >= ?1? is TRUE + +schema: + + + + +
+
+*** test4giis.qacoverapp.AppSimpleJdbc.queryDifferentSingleLine.35.c4869b5b7ec19955a2c6ead9c938b0a5d4c4927723fd515418b3bfcb631d3731 +sql: SELECT * FROM test WHERE num = ?1? +parameters: +rule0: 1STFF1.w.1.[WHERE num = ?1?] + SELECT * FROM test WHERE NOT(num = ?1?) + --Some row in the table such that: +--The WHERE condition fulfills: + --(F) num = ?1? is FALSE + +rule1: 2STTF1.w.1.[WHERE num = ?1?] + SELECT * FROM test WHERE (num = ?1?) + --Some row in the table such that: +--The WHERE condition fulfills: + --(T) num = ?1? is TRUE + +schema: + + + + +
+
+*** test4giis.qacoverapp.AppSimpleJdbc.queryDifferentSingleLine.35.c4869b5b7ec19955a2c6ead9c938b0a5d4c4927723fd515418b3bfcb631d3731 +sql: SELECT * FROM test WHERE num = ?1? +parameters: +rule0: 1STFF1.w.1.[WHERE num = ?1?] + SELECT * FROM test WHERE NOT(num = ?1?) + --Some row in the table such that: +--The WHERE condition fulfills: + --(F) num = ?1? is FALSE + +rule1: 2STTF1.w.1.[WHERE num = ?1?] + SELECT * FROM test WHERE (num = ?1?) + --Some row in the table such that: +--The WHERE condition fulfills: + --(T) num = ?1? is TRUE + +schema: + + + + +
+
+*** test4giis.qacoverapp.AppSimpleJdbc.queryDifferentSingleLine.35.e03a1fbcfe551f7b165fd9302db349ece39d1809bc9a5d6c64ff6ca9a5173354 +sql: SELECT * FROM test WHERE text = ?1? +parameters: +rule0: 1STFF1.w.1.[WHERE text = ?1?] + SELECT * FROM test WHERE NOT(text = ?1?) + --Some row in the table such that: +--The WHERE condition fulfills: + --(F) text = ?1? is FALSE + +rule1: 2STTF1.w.1.[WHERE text = ?1?] + SELECT * FROM test WHERE (text = ?1?) + --Some row in the table such that: +--The WHERE condition fulfills: + --(T) text = ?1? is TRUE + +rule2: 3SNNF1.w.1.[text] + SELECT * FROM test WHERE (text IS NULL) + --Some row in the table such that: +--The WHERE condition fulfills: + --(N) text is NULL + +schema: + + + + +
+
+*** test4giis.qacoverapp.AppSimpleJdbc.queryEqualDifferentLine.41.e03a1fbcfe551f7b165fd9302db349ece39d1809bc9a5d6c64ff6ca9a5173354 +sql: SELECT * FROM test WHERE text = ?1? +parameters: +rule0: 1STFF1.w.1.[WHERE text = ?1?] + SELECT * FROM test WHERE NOT(text = ?1?) + --Some row in the table such that: +--The WHERE condition fulfills: + --(F) text = ?1? is FALSE + +rule1: 2STTF1.w.1.[WHERE text = ?1?] + SELECT * FROM test WHERE (text = ?1?) + --Some row in the table such that: +--The WHERE condition fulfills: + --(T) text = ?1? is TRUE + +rule2: 3SNNF1.w.1.[text] + SELECT * FROM test WHERE (text IS NULL) + --Some row in the table such that: +--The WHERE condition fulfills: + --(N) text is NULL + +schema: + + + + +
+
+*** test4giis.qacoverapp.AppSimpleJdbc.queryEqualDifferentLine.44.e03a1fbcfe551f7b165fd9302db349ece39d1809bc9a5d6c64ff6ca9a5173354 +sql: SELECT * FROM test WHERE text = ?1? +parameters: +rule0: 1STFF1.w.1.[WHERE text = ?1?] + SELECT * FROM test WHERE NOT(text = ?1?) + --Some row in the table such that: +--The WHERE condition fulfills: + --(F) text = ?1? is FALSE + +rule1: 2STTF1.w.1.[WHERE text = ?1?] + SELECT * FROM test WHERE (text = ?1?) + --Some row in the table such that: +--The WHERE condition fulfills: + --(T) text = ?1? is TRUE + +rule2: 3SNNF1.w.1.[text] + SELECT * FROM test WHERE (text IS NULL) + --Some row in the table such that: +--The WHERE condition fulfills: + --(N) text is NULL + +schema: + + + + +
+
+*** test4giis.qacoverapp.AppSimpleJdbc.queryEqualDifferentLine.41.e03a1fbcfe551f7b165fd9302db349ece39d1809bc9a5d6c64ff6ca9a5173354 +sql: SELECT * FROM test WHERE text = ?1? +parameters: +rule0: 1STFF1.w.1.[WHERE text = ?1?] + SELECT * FROM test WHERE NOT(text = ?1?) + --Some row in the table such that: +--The WHERE condition fulfills: + --(F) text = ?1? is FALSE + +rule1: 2STTF1.w.1.[WHERE text = ?1?] + SELECT * FROM test WHERE (text = ?1?) + --Some row in the table such that: +--The WHERE condition fulfills: + --(T) text = ?1? is TRUE + +rule2: 3SNNF1.w.1.[text] + SELECT * FROM test WHERE (text IS NULL) + --Some row in the table such that: +--The WHERE condition fulfills: + --(N) text is NULL + +schema: + + + + +
+
+*** test4giis.qacoverapp.AppSimpleJdbc.queryEqualDifferentLine.44.e03a1fbcfe551f7b165fd9302db349ece39d1809bc9a5d6c64ff6ca9a5173354 +sql: SELECT * FROM test WHERE text = ?1? +parameters: +rule0: 1STFF1.w.1.[WHERE text = ?1?] + SELECT * FROM test WHERE NOT(text = ?1?) + --Some row in the table such that: +--The WHERE condition fulfills: + --(F) text = ?1? is FALSE + +rule1: 2STTF1.w.1.[WHERE text = ?1?] + SELECT * FROM test WHERE (text = ?1?) + --Some row in the table such that: +--The WHERE condition fulfills: + --(T) text = ?1? is TRUE + +rule2: 3SNNF1.w.1.[text] + SELECT * FROM test WHERE (text IS NULL) + --Some row in the table such that: +--The WHERE condition fulfills: + --(N) text is NULL + +schema: + + + + +
+
+*** test4giis.qacoverapp.AppSimpleJdbc2.queryNoParameters1Condition.14.2ad05b47f18cfd5166dc1feb6b547049794ba1edd0df35fee72c9fc252def031 +sql: SELECT id , num , text FROM test WHERE num >= ?1? +parameters: +rule0: 1STFF1.w.1.[WHERE num >= ?1?] + SELECT id , num , text FROM test WHERE NOT(num >= ?1?) + --Some row in the table such that: +--The WHERE condition fulfills: + --(F) num >= ?1? is FALSE + +rule1: 2STTF1.w.1.[WHERE num >= ?1?] + SELECT id , num , text FROM test WHERE (num >= ?1?) + --Some row in the table such that: +--The WHERE condition fulfills: + --(T) num >= ?1? is TRUE + +schema: + + + + +
+
+*** test4giis.qacoverapp.AppSimpleJdbc2.queryNoParameters2Condition.17.6af47aa3d7fda829fc88672c5bb64fbf9efea7f6f3416ee899789f2990b1ba80 +sql: SELECT id , num , text FROM test WHERE num > ?1? AND text = ?2? +parameters: +rule0: 1STTT1.w.1.[num > ?1?] + SELECT id , num , text FROM test WHERE (num > ?1?) AND (text = ?2?) + --Some row in the table such that: +--The WHERE condition fulfills: + --(T) num > ?1? is TRUE + --(T) text = ?2? is TRUE + +rule1: 2STFT1.w.1.[num > ?1?] + SELECT id , num , text FROM test WHERE NOT(num > ?1?) AND (text = ?2?) + --Some row in the table such that: +--The WHERE condition fulfills: + --(F) num > ?1? is FALSE + --(T) text = ?2? is TRUE + +rule2: 3STFT1.w.2.[text = ?2?] + SELECT id , num , text FROM test WHERE NOT(text = ?2?) AND (num > ?1?) + --Some row in the table such that: +--The WHERE condition fulfills: + --(F) text = ?2? is FALSE + --(T) num > ?1? is TRUE + +rule3: 4SNNT1.w.2.[text] + SELECT id , num , text FROM test WHERE (text IS NULL) AND (num > ?1?) + --Some row in the table such that: +--The WHERE condition fulfills: + --(N) text is NULL + --(T) num > ?1? is TRUE + +schema: + + + + +
+
+*** test4giis.qacoverapp.AppSimpleJdbc2.queryNoParameters1Condition.14.2ad05b47f18cfd5166dc1feb6b547049794ba1edd0df35fee72c9fc252def031 +sql: SELECT id , num , text FROM test WHERE num >= ?1? +parameters: +rule0: 1STFF1.w.1.[WHERE num >= ?1?] + SELECT id , num , text FROM test WHERE NOT(num >= ?1?) + --Some row in the table such that: +--The WHERE condition fulfills: + --(F) num >= ?1? is FALSE + +rule1: 2STTF1.w.1.[WHERE num >= ?1?] + SELECT id , num , text FROM test WHERE (num >= ?1?) + --Some row in the table such that: +--The WHERE condition fulfills: + --(T) num >= ?1? is TRUE + +schema: + + + + +
+
+*** test4giis.qacoverapp.AppSimpleJdbc2.queryNoParameters1Condition.14.2ad05b47f18cfd5166dc1feb6b547049794ba1edd0df35fee72c9fc252def031 +sql: SELECT id , num , text FROM test WHERE num >= ?1? +parameters: +rule0: 1STFF1.w.1.[WHERE num >= ?1?] + SELECT id , num , text FROM test WHERE NOT(num >= ?1?) + --Some row in the table such that: +--The WHERE condition fulfills: + --(F) num >= ?1? is FALSE + +rule1: 2STTF1.w.1.[WHERE num >= ?1?] + SELECT id , num , text FROM test WHERE (num >= ?1?) + --Some row in the table such that: +--The WHERE condition fulfills: + --(T) num >= ?1? is TRUE + +schema: + + + + +
+
+*** test4giis.qacoverapp.AppSimpleJdbc3Errors.query0Errors.16.5229f8eb53298d20f6959ec6cffcad93d5aa94a9af072386d353c31b08f75153 +sql: select id,num,text from test where num<9 +parameters: +rule0: 1STFF1.w.1.[WHERE num < 9] + SELECT id , num , text FROM test WHERE NOT(num < 9) + --Some row in the table such that: +--The WHERE condition fulfills: + --(F) num < 9 is FALSE + +rule1: 2STTF1.w.1.[WHERE num < 9] + SELECT id , num , text FROM test WHERE (num < 9) + --Some row in the table such that: +--The WHERE condition fulfills: + --(T) num < 9 is TRUE + +schema: + + + + +
+
+*** test4giis.qacoverapp.AppSimpleJdbc3Errors.query1ErrorAtQuery.19.7ab053d55b54c975de770640bed8e8ee65c54aec24d94b949b6b3fdc49a1d311 +sql: select id,num,text from test where num<10 +parameters: +schema: + +*** test4giis.qacoverapp.AppSimpleJdbc3Errors.query1ErrorAtRule.22.cf89702f8478266da73089272b7d89c3812b3e236dbbe2b02949c2ca1bdd1255 +sql: select id,num,text from test where num < 11 +parameters: +rule0: 1SBB+F1.w.1.[WHERE num < 11] + selectar id,num,text from test where num < 9 + --Some row in the table such that: +--The WHERE condition fulfills: + --(B+) num = 12 + giis.qacover.portable.QaCoverException: SpyStatementAdapter.hasRows. Caused by: org.sqlite.SQLiteException: [SQLITE_ERROR] SQL error or missing database (near "selectar": syntax error) + +rule1: 2SBB=F1.w.1.[WHERE num < 11] + SELECT id , num , text FROM test WHERE (num = 11) + --Some row in the table such that: +--The WHERE condition fulfills: + --(B=) num = 11 + +rule2: 3SBB-F1.w.1.[WHERE num < 11] + SELECT id , num , text FROM test WHERE (num = 10) + --Some row in the table such that: +--The WHERE condition fulfills: + --(B-) num = 10 + +schema: + + + + +
+
+*** test4giis.qacoverapp.AppSimpleJdbc3Errors.queryMultipleErrors.25.5229f8eb53298d20f6959ec6cffcad93d5aa94a9af072386d353c31b08f75153 +sql: select id,num,text from test where num<9 +parameters: +rule0: 1SBB+F1.w.1.[WHERE num < 9] + select id,num,text from notable where num < 9 + --Some row in the table such that: +--The WHERE condition fulfills: + --(B+) num = 10 + giis.qacover.portable.QaCoverException: SpyStatementAdapter.hasRows. Caused by: org.sqlite.SQLiteException: [SQLITE_ERROR] SQL error or missing database (near "selectar": syntax error) +giis.qacover.portable.QaCoverException: SpyStatementAdapter.hasRows. Caused by: org.sqlite.SQLiteException: [SQLITE_ERROR] SQL error or missing database (no such table: notable) + +rule1: 2SBB=F1.w.1.[WHERE num < 9] + SELECT id , num , text FROM test WHERE (num = 9) + --Some row in the table such that: +--The WHERE condition fulfills: + --(B=) num = 9 + +rule2: 3SBB-F1.w.1.[WHERE num < 9] + SELECT id , num , text FROM test WHERE (num = 8) + --Some row in the table such that: +--The WHERE condition fulfills: + --(B-) num = 8 + +schema: + + + + +
+
+*** test4giis.qacoverapp.AppSimpleJdbc3Errors.queryMultipleErrors.25.5229f8eb53298d20f6959ec6cffcad93d5aa94a9af072386d353c31b08f75153 +sql: select id,num,text from test where num<9 +parameters: +rule0: 1SBB+F1.w.1.[WHERE num < 9] + select id,num,text from notable where num < 9 + --Some row in the table such that: +--The WHERE condition fulfills: + --(B+) num = 10 + giis.qacover.portable.QaCoverException: SpyStatementAdapter.hasRows. Caused by: org.sqlite.SQLiteException: [SQLITE_ERROR] SQL error or missing database (near "selectar": syntax error) +giis.qacover.portable.QaCoverException: SpyStatementAdapter.hasRows. Caused by: org.sqlite.SQLiteException: [SQLITE_ERROR] SQL error or missing database (no such table: notable) + +rule1: 2SBB=F1.w.1.[WHERE num < 9] + SELECT id , num , text FROM test WHERE (num = 9) + --Some row in the table such that: +--The WHERE condition fulfills: + --(B=) num = 9 + +rule2: 3SBB-F1.w.1.[WHERE num < 9] + SELECT id , num , text FROM test WHERE (num = 8) + --Some row in the table such that: +--The WHERE condition fulfills: + --(B-) num = 8 + +schema: + + + + +
+
+*** test4giis.qacoverapp.AppSimpleJdbc3Errors.queryMultipleErrors.25.5229f8eb53298d20f6959ec6cffcad93d5aa94a9af072386d353c31b08f75153 +sql: select id,num,text from test where num<9 +parameters: +rule0: 1SBB+F1.w.1.[WHERE num < 9] + select id,num,text from notable where num < 9 + --Some row in the table such that: +--The WHERE condition fulfills: + --(B+) num = 10 + giis.qacover.portable.QaCoverException: SpyStatementAdapter.hasRows. Caused by: org.sqlite.SQLiteException: [SQLITE_ERROR] SQL error or missing database (near "selectar": syntax error) +giis.qacover.portable.QaCoverException: SpyStatementAdapter.hasRows. Caused by: org.sqlite.SQLiteException: [SQLITE_ERROR] SQL error or missing database (no such table: notable) + +rule1: 2SBB=F1.w.1.[WHERE num < 9] + SELECT id , num , text FROM test WHERE (num = 9) + --Some row in the table such that: +--The WHERE condition fulfills: + --(B=) num = 9 + +rule2: 3SBB-F1.w.1.[WHERE num < 9] + SELECT id , num , text FROM test WHERE (num = 8) + --Some row in the table such that: +--The WHERE condition fulfills: + --(B-) num = 8 + +schema: + + + + +
+
diff --git a/qacover-core/src/test/resources/qacover-report/all-keys-by-run-order.txt b/qacover-core/src/test/resources/qacover-report/all-keys-by-run-order.txt new file mode 100644 index 0000000..da24d67 --- /dev/null +++ b/qacover-core/src/test/resources/qacover-report/all-keys-by-run-order.txt @@ -0,0 +1,21 @@ +test4giis.qacoverapp.AppSimpleJdbc.queryNoParameters2Condition.26.6af47aa3d7fda829fc88672c5bb64fbf9efea7f6f3416ee899789f2990b1ba80 +test4giis.qacoverapp.AppSimpleJdbc.queryNoParameters2Condition.26.6af47aa3d7fda829fc88672c5bb64fbf9efea7f6f3416ee899789f2990b1ba80 +test4giis.qacoverapp.AppSimpleJdbc.queryNoParameters2Condition.26.6af47aa3d7fda829fc88672c5bb64fbf9efea7f6f3416ee899789f2990b1ba80 +test4giis.qacoverapp.AppSimpleJdbc.queryNoParameters1Condition.23.2ad05b47f18cfd5166dc1feb6b547049794ba1edd0df35fee72c9fc252def031 +test4giis.qacoverapp.AppSimpleJdbc.queryDifferentSingleLine.35.c4869b5b7ec19955a2c6ead9c938b0a5d4c4927723fd515418b3bfcb631d3731 +test4giis.qacoverapp.AppSimpleJdbc.queryDifferentSingleLine.35.c4869b5b7ec19955a2c6ead9c938b0a5d4c4927723fd515418b3bfcb631d3731 +test4giis.qacoverapp.AppSimpleJdbc.queryDifferentSingleLine.35.e03a1fbcfe551f7b165fd9302db349ece39d1809bc9a5d6c64ff6ca9a5173354 +test4giis.qacoverapp.AppSimpleJdbc.queryEqualDifferentLine.41.e03a1fbcfe551f7b165fd9302db349ece39d1809bc9a5d6c64ff6ca9a5173354 +test4giis.qacoverapp.AppSimpleJdbc.queryEqualDifferentLine.44.e03a1fbcfe551f7b165fd9302db349ece39d1809bc9a5d6c64ff6ca9a5173354 +test4giis.qacoverapp.AppSimpleJdbc.queryEqualDifferentLine.41.e03a1fbcfe551f7b165fd9302db349ece39d1809bc9a5d6c64ff6ca9a5173354 +test4giis.qacoverapp.AppSimpleJdbc.queryEqualDifferentLine.44.e03a1fbcfe551f7b165fd9302db349ece39d1809bc9a5d6c64ff6ca9a5173354 +test4giis.qacoverapp.AppSimpleJdbc2.queryNoParameters1Condition.14.2ad05b47f18cfd5166dc1feb6b547049794ba1edd0df35fee72c9fc252def031 +test4giis.qacoverapp.AppSimpleJdbc2.queryNoParameters2Condition.17.6af47aa3d7fda829fc88672c5bb64fbf9efea7f6f3416ee899789f2990b1ba80 +test4giis.qacoverapp.AppSimpleJdbc2.queryNoParameters1Condition.14.2ad05b47f18cfd5166dc1feb6b547049794ba1edd0df35fee72c9fc252def031 +test4giis.qacoverapp.AppSimpleJdbc2.queryNoParameters1Condition.14.2ad05b47f18cfd5166dc1feb6b547049794ba1edd0df35fee72c9fc252def031 +test4giis.qacoverapp.AppSimpleJdbc3Errors.query0Errors.16.5229f8eb53298d20f6959ec6cffcad93d5aa94a9af072386d353c31b08f75153 +test4giis.qacoverapp.AppSimpleJdbc3Errors.query1ErrorAtQuery.19.7ab053d55b54c975de770640bed8e8ee65c54aec24d94b949b6b3fdc49a1d311 +test4giis.qacoverapp.AppSimpleJdbc3Errors.query1ErrorAtRule.22.cf89702f8478266da73089272b7d89c3812b3e236dbbe2b02949c2ca1bdd1255 +test4giis.qacoverapp.AppSimpleJdbc3Errors.queryMultipleErrors.25.5229f8eb53298d20f6959ec6cffcad93d5aa94a9af072386d353c31b08f75153 +test4giis.qacoverapp.AppSimpleJdbc3Errors.queryMultipleErrors.25.5229f8eb53298d20f6959ec6cffcad93d5aa94a9af072386d353c31b08f75153 +test4giis.qacoverapp.AppSimpleJdbc3Errors.queryMultipleErrors.25.5229f8eb53298d20f6959ec6cffcad93d5aa94a9af072386d353c31b08f75153 diff --git a/qacover-core/src/test/resources/qacover-report/index.html b/qacover-core/src/test/resources/qacover-report/index.html new file mode 100644 index 0000000..39d8326 --- /dev/null +++ b/qacover-core/src/test/resources/qacover-report/index.html @@ -0,0 +1,50 @@ + + + +SQL Query Fpc Coverage + + + + + + + + + +
+

SQL Query Fpc Coverage

+ + + + + + + + + + + + + + + + + + + + + + +
Class%qrunqcountqerrordeadcounterror
TOTAL38%
+
+
2012112312
test4giis.qacoverapp.AppSimpleJdbc41%
+
+
11607170
test4giis.qacoverapp.AppSimpleJdbc266%
+
+
420460
test4giis.qacoverapp.AppSimpleJdbc3Errors12%
+
+
541182
+
Generated by: QACover java - [version 1.5.0-SNAPSHOT] - [Submit a problem report]
+
+ + \ No newline at end of file diff --git a/qacover-core/src/test/resources/qacover-report/test4giis.qacoverapp.AppSimpleJdbc.html b/qacover-core/src/test/resources/qacover-report/test4giis.qacoverapp.AppSimpleJdbc.html new file mode 100644 index 0000000..293c189 --- /dev/null +++ b/qacover-core/src/test/resources/qacover-report/test4giis.qacoverapp.AppSimpleJdbc.html @@ -0,0 +1,173 @@ + + + +test4giis.qacoverapp.AppSimpleJdbc + + + + + + + + + +
+

test4giis.qacoverapp.AppSimpleJdbc

+
+ +
+
+ + + + + +
queryDifferentSingleLine:35 +
50% (1/2) 2 run(s) +
SELECT *
FROM test
WHERE num = ?1? +
+
+
+ + + + + + + + +
IDdeadcountcategorytypesubtypelocation
102STFF1.w.1.[WHERE num = ?1?]
--Some row in the table such that:
--The WHERE condition fulfills:
--(F) num = ?1? is FALSE
SELECT *
FROM test
WHERE NOT(num = ?1?)
222STTF1.w.1.[WHERE num = ?1?]
--Some row in the table such that:
--The WHERE condition fulfills:
--(T) num = ?1? is TRUE
SELECT *
FROM test
WHERE (num = ?1?)
+ +
+
+ + + + + +
queryDifferentSingleLine:35 +
33% (1/3) 1 run(s) +
SELECT *
FROM test
WHERE text = ?1? +
+
+
+ + + + + + + + + + + +
IDdeadcountcategorytypesubtypelocation
101STFF1.w.1.[WHERE text = ?1?]
--Some row in the table such that:
--The WHERE condition fulfills:
--(F) text = ?1? is FALSE
SELECT *
FROM test
WHERE NOT(text = ?1?)
211STTF1.w.1.[WHERE text = ?1?]
--Some row in the table such that:
--The WHERE condition fulfills:
--(T) text = ?1? is TRUE
SELECT *
FROM test
WHERE (text = ?1?)
301SNNF1.w.1.[text]
--Some row in the table such that:
--The WHERE condition fulfills:
--(N) text is NULL
SELECT *
FROM test
WHERE (text IS NULL)
+ +
+
+ + + + + +
queryEqualDifferentLine:41 +
33% (1/3) 2 run(s) +
SELECT *
FROM test
WHERE text = ?1? +
+
+
+ + + + + + + + + + + +
IDdeadcountcategorytypesubtypelocation
102STFF1.w.1.[WHERE text = ?1?]
--Some row in the table such that:
--The WHERE condition fulfills:
--(F) text = ?1? is FALSE
SELECT *
FROM test
WHERE NOT(text = ?1?)
222STTF1.w.1.[WHERE text = ?1?]
--Some row in the table such that:
--The WHERE condition fulfills:
--(T) text = ?1? is TRUE
SELECT *
FROM test
WHERE (text = ?1?)
302SNNF1.w.1.[text]
--Some row in the table such that:
--The WHERE condition fulfills:
--(N) text is NULL
SELECT *
FROM test
WHERE (text IS NULL)
+ +
+
+ + + + + +
queryEqualDifferentLine:44 +
33% (1/3) 2 run(s) +
SELECT *
FROM test
WHERE text = ?1? +
+
+
+ + + + + + + + + + + +
IDdeadcountcategorytypesubtypelocation
122STFF1.w.1.[WHERE text = ?1?]
--Some row in the table such that:
--The WHERE condition fulfills:
--(F) text = ?1? is FALSE
SELECT *
FROM test
WHERE NOT(text = ?1?)
202STTF1.w.1.[WHERE text = ?1?]
--Some row in the table such that:
--The WHERE condition fulfills:
--(T) text = ?1? is TRUE
SELECT *
FROM test
WHERE (text = ?1?)
302SNNF1.w.1.[text]
--Some row in the table such that:
--The WHERE condition fulfills:
--(N) text is NULL
SELECT *
FROM test
WHERE (text IS NULL)
+ +
+
+ + + + + +
queryNoParameters1Condition:23 +
50% (1/2) 1 run(s) +
SELECT id , num , text
FROM test
WHERE num >= ?1? +
+
+
+ + + + + + + + +
IDdeadcountcategorytypesubtypelocation
101STFF1.w.1.[WHERE num >= ?1?]
--Some row in the table such that:
--The WHERE condition fulfills:
--(F) num >= ?1? is FALSE
SELECT id , num , text
FROM test
WHERE NOT(num >= ?1?)
211STTF1.w.1.[WHERE num >= ?1?]
--Some row in the table such that:
--The WHERE condition fulfills:
--(T) num >= ?1? is TRUE
SELECT id , num , text
FROM test
WHERE (num >= ?1?)
+ +
+
+ + + + + +
queryNoParameters2Condition:26 +
50% (2/4) 3 run(s) +
SELECT id , num , text
FROM test
WHERE num > ?1? AND text = ?2? +
+
+
+ + + + + + + + + + + + + + +
IDdeadcountcategorytypesubtypelocation
113STTT1.w.1.[num > ?1?]
--Some row in the table such that:
--The WHERE condition fulfills:
--(T) num > ?1? is TRUE
--(T) text = ?2? is TRUE
SELECT id , num , text
FROM test
WHERE (num > ?1?) AND (text = ?2?)
203STFT1.w.1.[num > ?1?]
--Some row in the table such that:
--The WHERE condition fulfills:
--(F) num > ?1? is FALSE
--(T) text = ?2? is TRUE
SELECT id , num , text
FROM test
WHERE NOT(num > ?1?) AND (text = ?2?)
323STFT1.w.2.[text = ?2?]
--Some row in the table such that:
--The WHERE condition fulfills:
--(F) text = ?2? is FALSE
--(T) num > ?1? is TRUE
SELECT id , num , text
FROM test
WHERE NOT(text = ?2?) AND (num > ?1?)
403SNNT1.w.2.[text]
--Some row in the table such that:
--The WHERE condition fulfills:
--(N) text is NULL
--(T) num > ?1? is TRUE
SELECT id , num , text
FROM test
WHERE (text IS NULL) AND (num > ?1?)
+
+
+ + \ No newline at end of file diff --git a/qacover-core/src/test/resources/qacover-report/test4giis.qacoverapp.AppSimpleJdbc2.html b/qacover-core/src/test/resources/qacover-report/test4giis.qacoverapp.AppSimpleJdbc2.html new file mode 100644 index 0000000..0681e6d --- /dev/null +++ b/qacover-core/src/test/resources/qacover-report/test4giis.qacoverapp.AppSimpleJdbc2.html @@ -0,0 +1,72 @@ + + + +test4giis.qacoverapp.AppSimpleJdbc2 + + + + + + + + + +
+

test4giis.qacoverapp.AppSimpleJdbc2

+
+ +
+
+ + + + + +
queryNoParameters1Condition:14 +
50% (1/2) 3 run(s) +
SELECT id , num , text
FROM test
WHERE num >= ?1? +
+
+
+ + + + + + + + +
IDdeadcountcategorytypesubtypelocation
103STFF1.w.1.[WHERE num >= ?1?]
--Some row in the table such that:
--The WHERE condition fulfills:
--(F) num >= ?1? is FALSE
SELECT id , num , text
FROM test
WHERE NOT(num >= ?1?)
233STTF1.w.1.[WHERE num >= ?1?]
--Some row in the table such that:
--The WHERE condition fulfills:
--(T) num >= ?1? is TRUE
SELECT id , num , text
FROM test
WHERE (num >= ?1?)
+ +
+
+ + + + + +
queryNoParameters2Condition:17 +
75% (3/4) 1 run(s) +
SELECT id , num , text
FROM test
WHERE num > ?1? AND text = ?2? +
+
+
+ + + + + + + + + + + + + + +
IDdeadcountcategorytypesubtypelocation
101STTT1.w.1.[num > ?1?]
--Some row in the table such that:
--The WHERE condition fulfills:
--(T) num > ?1? is TRUE
--(T) text = ?2? is TRUE
SELECT id , num , text
FROM test
WHERE (num > ?1?) AND (text = ?2?)
211STFT1.w.1.[num > ?1?]
--Some row in the table such that:
--The WHERE condition fulfills:
--(F) num > ?1? is FALSE
--(T) text = ?2? is TRUE
SELECT id , num , text
FROM test
WHERE NOT(num > ?1?) AND (text = ?2?)
311STFT1.w.2.[text = ?2?]
--Some row in the table such that:
--The WHERE condition fulfills:
--(F) text = ?2? is FALSE
--(T) num > ?1? is TRUE
SELECT id , num , text
FROM test
WHERE NOT(text = ?2?) AND (num > ?1?)
411SNNT1.w.2.[text]
--Some row in the table such that:
--The WHERE condition fulfills:
--(N) text is NULL
--(T) num > ?1? is TRUE
SELECT id , num , text
FROM test
WHERE (text IS NULL) AND (num > ?1?)
+
+
+ + \ No newline at end of file diff --git a/qacover-core/src/test/resources/qacover-report/test4giis.qacoverapp.AppSimpleJdbc3Errors.html b/qacover-core/src/test/resources/qacover-report/test4giis.qacoverapp.AppSimpleJdbc3Errors.html new file mode 100644 index 0000000..6c85baf --- /dev/null +++ b/qacover-core/src/test/resources/qacover-report/test4giis.qacoverapp.AppSimpleJdbc3Errors.html @@ -0,0 +1,112 @@ + + + +test4giis.qacoverapp.AppSimpleJdbc3Errors + + + + + + + + + +
+

test4giis.qacoverapp.AppSimpleJdbc3Errors

+
+ +
+
+ + + + + +
query0Errors:16 +
50% (1/2) 1 run(s) +
select id,num,text from test where num<9 +
+
+
+ + + + + + + + +
IDdeadcountcategorytypesubtypelocation
111STFF1.w.1.[WHERE num < 9]
--Some row in the table such that:
--The WHERE condition fulfills:
--(F) num < 9 is FALSE
SELECT id , num , text
FROM test
WHERE NOT(num < 9)
201STTF1.w.1.[WHERE num < 9]
--Some row in the table such that:
--The WHERE condition fulfills:
--(T) num < 9 is TRUE
SELECT id , num , text
FROM test
WHERE (num < 9)
+ +
+
+ + + + + +
query1ErrorAtQuery:19 +
(0/0) 0 run(s) +
select id,num,text from test where num<10
Error at Get query table names: ApiException{code=0, responseHeaders=null, responseBody='null'} +
+
+
+ + +
IDdeadcountcategorytypesubtypelocation
+ +
+
+ + + + + +
query1ErrorAtRule:22 +
0% (0/3) 1 run(s) 1 rule(s) with error +
select id,num,text from test where num < 11 +
+
+
+ + + + + + + + + + + +
IDdeadcountcategorytypesubtypelocation
101SBB+F1.w.1.[WHERE num < 11]
--Some row in the table such that:
--The WHERE condition fulfills:
--(B+) num = 12
selectar id,num,text from test where num < 9
giis.qacover.portable.QaCoverException: SpyStatementAdapter.hasRows. Caused by: org.sqlite.SQLiteException: [SQLITE_ERROR] SQL error or missing database (near "selectar": syntax error)
201SBB=F1.w.1.[WHERE num < 11]
--Some row in the table such that:
--The WHERE condition fulfills:
--(B=) num = 11
SELECT id , num , text
FROM test
WHERE (num = 11)
301SBB-F1.w.1.[WHERE num < 11]
--Some row in the table such that:
--The WHERE condition fulfills:
--(B-) num = 10
SELECT id , num , text
FROM test
WHERE (num = 10)
+ +
+
+ + + + + +
queryMultipleErrors:25 +
0% (0/3) 3 run(s) 1 rule(s) with error +
select id,num,text from test where num<9 +
+
+
+ + + + + + + + + + + +
IDdeadcountcategorytypesubtypelocation
103SBB+F1.w.1.[WHERE num < 9]
--Some row in the table such that:
--The WHERE condition fulfills:
--(B+) num = 10
select id,num,text from notable where num < 9
giis.qacover.portable.QaCoverException: SpyStatementAdapter.hasRows. Caused by: org.sqlite.SQLiteException: [SQLITE_ERROR] SQL error or missing database (near "selectar": syntax error)
giis.qacover.portable.QaCoverException: SpyStatementAdapter.hasRows. Caused by: org.sqlite.SQLiteException: [SQLITE_ERROR] SQL error or missing database (no such table: notable)
203SBB=F1.w.1.[WHERE num < 9]
--Some row in the table such that:
--The WHERE condition fulfills:
--(B=) num = 9
SELECT id , num , text
FROM test
WHERE (num = 9)
303SBB-F1.w.1.[WHERE num < 9]
--Some row in the table such that:
--The WHERE condition fulfills:
--(B-) num = 8
SELECT id , num , text
FROM test
WHERE (num = 8)
+
+
+ + \ No newline at end of file diff --git a/qacover-core/src/test/resources/qacover-uber-main/TestUber.html b/qacover-core/src/test/resources/qacover-uber-main/TestUber.html new file mode 100644 index 0000000..7c22053 --- /dev/null +++ b/qacover-core/src/test/resources/qacover-uber-main/TestUber.html @@ -0,0 +1,46 @@ + + + +TestUber + + + + + + + + + +
+

TestUber

+
+ +
+
+ + + + + +
runQuery1:-1 +
33% (1/3) 1 run(s) +
select * from test where text = 'abc' +
+
+
+ + + + + + + + + + + +
IDdeadcountcategorytypesubtypelocation
101STFF1.w.1.[WHERE text = 'abc']
--Some row in the table such that:
--The WHERE condition fulfills:
--(F) text = 'abc' is FALSE
SELECT *
FROM test
WHERE NOT(text = 'abc')
211STTF1.w.1.[WHERE text = 'abc']
--Some row in the table such that:
--The WHERE condition fulfills:
--(T) text = 'abc' is TRUE
SELECT *
FROM test
WHERE (text = 'abc')
301SNNF1.w.1.[text]
--Some row in the table such that:
--The WHERE condition fulfills:
--(N) text is NULL
SELECT *
FROM test
WHERE (text IS NULL)
+
+
+ + \ No newline at end of file diff --git a/qacover-core/src/test/resources/qacover-uber-main/index.html b/qacover-core/src/test/resources/qacover-uber-main/index.html new file mode 100644 index 0000000..885e758 --- /dev/null +++ b/qacover-core/src/test/resources/qacover-uber-main/index.html @@ -0,0 +1,36 @@ + + + +SQL Query Fpc Coverage + + + + + + + + + +
+

SQL Query Fpc Coverage

+ + + + + + + + + + + + +
Class%qrunqcountqerrordeadcounterror
TOTAL33%
+
+
110130
TestUber33%
+
+
110130
+
Generated by: QACover java - [version 1.5.0-SNAPSHOT] - [Submit a problem report]
+
+ + \ No newline at end of file diff --git a/qacover-core/src/test/resources/spring-petclinic-main/index.html b/qacover-core/src/test/resources/spring-petclinic-main/index.html new file mode 100644 index 0000000..f61f04d --- /dev/null +++ b/qacover-core/src/test/resources/spring-petclinic-main/index.html @@ -0,0 +1,36 @@ + + + +SQL Query Fpc Coverage + + + + + + + + + +
+

SQL Query Fpc Coverage

+ + + + + + + + + + + + +
Class%qrunqcountqerrordeadcounterror
TOTAL66%
+
+
720230
org.springframework.samples.petclinic.PetclinicIntegrationTests66%
+
+
720230
+
Generated by: QACover java - [version 1.5.0-SNAPSHOT] - [Submit a problem report]
+
+ + \ No newline at end of file diff --git a/qacover-core/src/test/resources/spring-petclinic-main/org.springframework.samples.petclinic.PetclinicIntegrationTests.html b/qacover-core/src/test/resources/spring-petclinic-main/org.springframework.samples.petclinic.PetclinicIntegrationTests.html new file mode 100644 index 0000000..71b72a4 --- /dev/null +++ b/qacover-core/src/test/resources/spring-petclinic-main/org.springframework.samples.petclinic.PetclinicIntegrationTests.html @@ -0,0 +1,63 @@ + + + +org.springframework.samples.petclinic.PetclinicIntegrationTests + + + + + + + + + +
+

org.springframework.samples.petclinic.PetclinicIntegrationTests

+
+ +
+
+ + + + + +
testFindAll:32 +
(0/0) 1 run(s) +
select vet0_.id as id1_5_, vet0_.first_name as first_na2_5_, vet0_.last_name as last_nam3_5_ from vets vet0_ +
+
+
+ + +
IDdeadcountcategorytypesubtypelocation
+ +
+
+ + + + + +
testFindAll:32 +
66% (2/3) 6 run(s) +
SELECT 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_
FROM vet_specialties specialtie0_
INNER JOIN specialties specialty1_ ON specialtie0_.specialty_id = specialty1_.id
WHERE specialtie0_.vet_id = ?1? +
+
+
+ + + + + + + + + + + +
IDdeadcountcategorytypesubtypelocation
166STFF1.w.1.[WHERE specialtie0_.vet_id = ?1?]
--A set of joined tables such that:
--The WHERE condition fulfills:
--(F) specialtie0_.vet_id = ?1? is FALSE
SELECT 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_
FROM vet_specialties specialtie0_
INNER JOIN specialties specialty1_ ON specialtie0_.specialty_id = specialty1_.id
WHERE NOT(specialtie0_.vet_id = ?1?)
246STTF1.w.1.[WHERE specialtie0_.vet_id = ?1?]
--A set of joined tables such that:
--The WHERE condition fulfills:
--(T) specialtie0_.vet_id = ?1? is TRUE
SELECT 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_
FROM vet_specialties specialtie0_
INNER JOIN specialties specialty1_ ON specialtie0_.specialty_id = specialty1_.id
WHERE (specialtie0_.vet_id = ?1?)
306JRO1.j.1.[INNER JOIN]

--The JOIN tables fulfill:
--COMMENT: Reduced conditions: [WHERE specialtie0_.vet_id = ?1?] ;
--summary: [VET_SPECIALTIES specialtie0_] right [SPECIALTIES specialty1_] ON specialtie0_.specialty_id = specialty1_.id
--There exist some row in table SPECIALTIES specialty1_
--which does not join to any table in VET_SPECIALTIES specialtie0_
SELECT 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_
FROM vet_specialties specialtie0_
RIGHT JOIN specialties specialty1_ ON specialtie0_.specialty_id = specialty1_.id
WHERE (specialtie0_.SPECIALTY_ID IS NULL) AND (specialty1_.ID IS NOT NULL)
+
+
+ + \ No newline at end of file diff --git a/qacover-core/src/test/resources/spring-petclinic-main/report.log b/qacover-core/src/test/resources/spring-petclinic-main/report.log new file mode 100644 index 0000000..4c16ce4 --- /dev/null +++ b/qacover-core/src/test/resources/spring-petclinic-main/report.log @@ -0,0 +1,6 @@ +QACover version 1.5.0-SNAPSHOT +Rules folder: C:\TUYA\IN2TEST\QACover-GH\it\spring-petclinic-main\target\qacover\rules +Report folder: C:\TUYA\IN2TEST\QACover-GH\it\spring-petclinic-main\target\qacover\reports +WARNING: sun.reflect.Reflection.getCallerClass is not supported. This will impact performance. +Report for class: org.springframework.samples.petclinic.PetclinicIntegrationTests qcount=2,qerror=0,count=3,dead=2,error=0 +1 classes generated, see index.html at reports folder