=========================================================== .___ __ __ _________________ __ __ __| _/|__|/ |_ / ___\_` __ \__ \ | | \/ __ | | \\_ __\ / /_/ > | \// __ \| | / /_/ | | || | \___ /|__| (____ /____/\____ | |__||__| /_____/ \/ \/ grep rough audit - static analysis tool v2.8 written by @Wireghoul =================================[justanotherhacker.com]=== basex-9.0.1+ds/basex-core/src/test/java/org/basex/query/expr/GFLWORTest.java-130- @Test public void mergeWheresTest() { basex-9.0.1+ds/basex-core/src/test/java/org/basex/query/expr/GFLWORTest.java:131: check("let $rnd := random:double() where $rnd div 2 >= 0.2 where $rnd < 0.5 " + basex-9.0.1+ds/basex-core/src/test/java/org/basex/query/expr/GFLWORTest.java-132- "where round(2 * $rnd) eq 1 return $rnd", ############################################## basex-9.0.1+ds/basex-core/src/test/java/org/basex/query/expr/GFLWORTest.java-150- check("for $i in 1 to 3 " + basex-9.0.1+ds/basex-core/src/test/java/org/basex/query/expr/GFLWORTest.java:151: "where count(for $j in 1 to $i group by $k := $j mod 2 return $i) > 1 " + basex-9.0.1+ds/basex-core/src/test/java/org/basex/query/expr/GFLWORTest.java-152- "return $i", ############################################## basex-9.0.1+ds/basex-core/src/test/java/org/basex/query/expr/GFLWORTest.java-229- ); basex-9.0.1+ds/basex-core/src/test/java/org/basex/query/expr/GFLWORTest.java:230: check("let $x := 0 where $x != <x>0</x> return 42 idiv $x", "", basex-9.0.1+ds/basex-core/src/test/java/org/basex/query/expr/GFLWORTest.java-231- exists(If.class), ############################################## basex-9.0.1+ds/basex-core/src/test/java/org/basex/query/simple/DocTest.java-118- { "Index 2", nodes(21), "//li[text() = 'Exercise 1']/text()" }, basex-9.0.1+ds/basex-core/src/test/java/org/basex/query/simple/DocTest.java:119: { "Index 3", nodes(5), "for $a in //title where $a = 'XML' return $a" }, basex-9.0.1+ds/basex-core/src/test/java/org/basex/query/simple/DocTest.java:120: { "Index 4", nodes(5), "for $a in //* where $a/text() = 'XML' return $a" }, basex-9.0.1+ds/basex-core/src/test/java/org/basex/query/simple/DocTest.java:121: { "Index 5", nodes(3, 5), "for $a in //* where $a = 'XML' return $a" }, basex-9.0.1+ds/basex-core/src/test/java/org/basex/query/simple/DocTest.java-122- { "Index 6", nodes(5), "//*[text() = 'XML' and text()]" }, ############################################## basex-9.0.1+ds/basex-core/src/test/java/org/basex/query/simple/SimpleTest.java-34- { "FLWOR 4", integers(1), basex-9.0.1+ds/basex-core/src/test/java/org/basex/query/simple/SimpleTest.java:35: "for $a in (1,2) let $b := 'a' where $a = 1 return $a" }, basex-9.0.1+ds/basex-core/src/test/java/org/basex/query/simple/SimpleTest.java-36- { "FLWOR 5", integers(1, 2), ############################################## basex-9.0.1+ds/basex-core/src/test/java/org/basex/query/simple/SimpleTest.java-38- { "FLWOR 6", empty(), basex-9.0.1+ds/basex-core/src/test/java/org/basex/query/simple/SimpleTest.java:39: "for $a in (1,2) let $b := 3 where $b = 4 return $a" }, basex-9.0.1+ds/basex-core/src/test/java/org/basex/query/simple/SimpleTest.java-40- { "FLWOR 7", integers(1, 2), ############################################## basex-9.0.1+ds/basex-core/src/test/java/org/basex/query/simple/SimpleTest.java-42- { "FLWOR 8", integers(2), basex-9.0.1+ds/basex-core/src/test/java/org/basex/query/simple/SimpleTest.java:43: "for $a at $p in (1,2) where $a = 2 return $p" }, basex-9.0.1+ds/basex-core/src/test/java/org/basex/query/simple/SimpleTest.java-44- ############################################## basex-9.0.1+ds/basex-core/src/test/java/org/basex/query/up/UpdateTest.java-1115- query("declare function local:c() { copy $a := <a/> modify () return $a };" + basex-9.0.1+ds/basex-core/src/test/java/org/basex/query/up/UpdateTest.java:1116: "xquery:eval('declare variable $c external; $c()', map { 'c': local:c#0 })", "<a/>"); basex-9.0.1+ds/basex-core/src/test/java/org/basex/query/up/UpdateTest.java-1117- } ############################################## basex-9.0.1+ds/basex-examples/src/main/java/org/basex/examples/xqj/cfoster/Part3.java-44- "for $x in doc('" + path + "/books.xml')//book " + basex-9.0.1+ds/basex-examples/src/main/java/org/basex/examples/xqj/cfoster/Part3.java:45: "where $x/@isbn = $userisbn " + basex-9.0.1+ds/basex-examples/src/main/java/org/basex/examples/xqj/cfoster/Part3.java-46- "return $x/title/text()"; ############################################## basex-9.0.1+ds/basex-examples/src/main/resources/xml/xqft-usecases.xq-32- try { basex-9.0.1+ds/basex-examples/src/main/resources/xml/xqft-usecases.xq:33: <output>{ basex:eval($xquery) }</output> basex-9.0.1+ds/basex-examples/src/main/resources/xml/xqft-usecases.xq-34- } catch *($error) { ############################################## basex-9.0.1+ds/basex-examples/src/main/resources/xq/fots.xq-35- try { basex-9.0.1+ds/basex-examples/src/main/resources/xq/fots.xq:36: let $val := xquery:eval($query) basex-9.0.1+ds/basex-examples/src/main/resources/xq/fots.xq-37- return if ############################################## basex-9.0.1+ds/basex-examples/src/main/resources/xq/fots.xq-70- try { basex-9.0.1+ds/basex-examples/src/main/resources/xq/fots.xq:71: xquery:eval(concat($type, '("', $val, '")')) basex-9.0.1+ds/basex-examples/src/main/resources/xq/fots.xq-72- } catch * { ############################################## basex-9.0.1+ds/basex-examples/src/main/resources/xq/fots.xq-124- try { basex-9.0.1+ds/basex-examples/src/main/resources/xq/fots.xq:125: let $r := xquery:eval($i) basex-9.0.1+ds/basex-examples/src/main/resources/xq/fots.xq-126- return (typeswitch($val) ############################################## basex-9.0.1+ds/basex-tests/src/test/java/org/basex/local/single/Delete.java-64- public void textsSingle1000() throws Exception { basex-9.0.1+ds/basex-tests/src/test/java/org/basex/local/single/Delete.java:65: eval("for $i in 1 to min((1000, count(//text()))) " + basex-9.0.1+ds/basex-tests/src/test/java/org/basex/local/single/Delete.java-66- "return delete node /descendant::text()[$i]"); ############################################## basex-9.0.1+ds/basex-tests/src/test/java/org/basex/server/XMarkTest.java-45- "let $auction := . return for $b in $auction/site/open_auctions/open_auction " basex-9.0.1+ds/basex-tests/src/test/java/org/basex/server/XMarkTest.java:46: + "where zero-or-one($b/bidder[1]/increase/text()) * 2 <= $b/bidder[last()]/increase/text() " basex-9.0.1+ds/basex-tests/src/test/java/org/basex/server/XMarkTest.java-47- + "return <increase first=\"{$b/bidder[1]/increase/text()}\" " ############################################## basex-9.0.1+ds/basex-tests/src/test/java/org/basex/server/XMarkTest.java-53- "let $auction := . return count( for $i in $auction/site/closed_auctions/closed_auction " basex-9.0.1+ds/basex-tests/src/test/java/org/basex/server/XMarkTest.java:54: + "where $i/price/text() >= 40 return $i/price )", basex-9.0.1+ds/basex-tests/src/test/java/org/basex/server/XMarkTest.java-55- "let $auction := . return for $b in $auction//site/regions return count($b//item)", ############################################## basex-9.0.1+ds/basex-tests/src/test/java/org/basex/server/XMarkTest.java-59- + "let $a := for $t in $auction/site/closed_auctions/closed_auction " basex-9.0.1+ds/basex-tests/src/test/java/org/basex/server/XMarkTest.java:60: + "where $t/buyer/@person = $p/@id return $t " basex-9.0.1+ds/basex-tests/src/test/java/org/basex/server/XMarkTest.java-61- + "return <item person=\"{$p/name/text()}\">{count($a)}</item>", ############################################## basex-9.0.1+ds/basex-tests/src/test/java/org/basex/server/XMarkTest.java-63- + "return let $ei := $auction/site/regions/europe/item for $p in $auction/site/people/person " basex-9.0.1+ds/basex-tests/src/test/java/org/basex/server/XMarkTest.java:64: + "let $a := for $t in $ca where $p/@id = $t/buyer/@person return " basex-9.0.1+ds/basex-tests/src/test/java/org/basex/server/XMarkTest.java:65: + "let $n := for $t2 in $ei where $t/itemref/@item = $t2/@id return $t2 " basex-9.0.1+ds/basex-tests/src/test/java/org/basex/server/XMarkTest.java-66- + "return <item>{$n/name/text()}</item> return <person name=\"{$p/name/text()}\">{$a}</person>", ############################################## basex-9.0.1+ds/basex-tests/src/test/java/org/basex/server/XMarkTest.java-68- + "distinct-values($auction/site/people/person/profile/interest/@category) " basex-9.0.1+ds/basex-tests/src/test/java/org/basex/server/XMarkTest.java:69: + "let $p := for $t in $auction/site/people/person where $t/profile/interest/@category = $i " basex-9.0.1+ds/basex-tests/src/test/java/org/basex/server/XMarkTest.java-70- + "return <personne> <statistiques> <sexe>{$t/profile/gender/text()}</sexe> " ############################################## basex-9.0.1+ds/basex-tests/src/test/java/org/basex/server/XMarkTest.java-98- "let $auction := . return for $p in $auction/site/people/person " basex-9.0.1+ds/basex-tests/src/test/java/org/basex/server/XMarkTest.java:99: + "where empty($p/homepage/text()) return <person name=\"{$p/name/text()}\"/>", basex-9.0.1+ds/basex-tests/src/test/java/org/basex/server/XMarkTest.java-100- "declare namespace local = \"http://www.foobar.org\"; declare function "