Skip to content

[refactor] Address further code-review from @reinhapa

This check has been archived and is scheduled for deletion. Learn more about checks retention
Codacy Production / Codacy Static Code Analysis required action Oct 30, 2023 in 0s

2 new issues (0 max.) of at least minor severity.

Codacy Here is an overview of what got changed by this pull request:

Issues
======
+ Solved 3
- Added 2
           

Complexity increasing per file
==============================
- exist-core/src/test/java/org/exist/xquery/CountExpressionTest.java  3
- exist-core/src/main/java/org/exist/xquery/XQuery.java  1
         

Complexity decreasing per file
==============================
+ exist-core/src/main/java/org/exist/xquery/ForExpr.java  -2
+ exist-core/src/main/java/org/exist/xquery/QuantifiedExpression.java  -2
+ exist-core/src/main/java/org/exist/xquery/AbstractFLWORClause.java  -1
         

Clones added
============
- exist-core/src/main/java/org/exist/xquery/CountClause.java  8
- exist-core/src/test/java/org/exist/xquery/CountExpressionTest.java  1
- exist-core/src/main/java/org/exist/xquery/ForExpr.java  1
- exist-core/src/main/java/org/exist/xquery/LetExpr.java  1
         

See the complete overview on Codacy

Annotations

Check warning on line 87 in exist-core/src/main/java/org/exist/xquery/BindingExpression.java

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

exist-core/src/main/java/org/exist/xquery/BindingExpression.java#L87

Avoid reassigning parameters such as 'seq'

Check warning on line 187 in exist-core/src/main/java/org/exist/xquery/CountClause.java

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

exist-core/src/main/java/org/exist/xquery/CountClause.java#L187

Avoid reassigning parameters such as 'seq'