[feature] Support file: URIs in fn:collection() for filesystem directory querying #6192
Codacy Production / Codacy Static Code Analysis
required action
Apr 13, 2026 in 0s
2 new issues (0 max.) of at least severity.
Here is an overview of what got changed by this pull request:
Issues
======
- Added 2
Complexity increasing per file
==============================
- exist-core/src/main/java/org/exist/xquery/functions/fn/CollectionQueryParameters.java 34
- exist-core/src/test/java/org/exist/xquery/functions/fn/CollectionFileUriTest.java 22
Clones added
============
- exist-core/src/test/java/org/exist/xquery/functions/fn/CollectionFileUriTest.java 4
Clones removed
==============
+ exist-core/src/main/java/org/exist/xquery/functions/fn/ExtCollection.java -1
See the complete overview on Codacy
Annotations
codacy-production / Codacy Static Code Analysis
exist-core/src/main/java/org/exist/xquery/functions/fn/CollectionQueryParameters.java#L168
These nested if statements could be combined
codacy-production / Codacy Static Code Analysis
exist-core/src/main/java/org/exist/xquery/functions/fn/ExtCollection.java#L211
The method 'getFileCollectionItems(URI, String, Sequence)' has an NPath complexity of 17280, current threshold is 200
Loading