Skip to content

[feature] Add Saxon query parameters to fn:collection() for file: URIs

b69e803
Select commit
Loading
Failed to load commit list.
Open

[feature] Support file: URIs in fn:collection() for filesystem directory querying #6192

[feature] Add Saxon query parameters to fn:collection() for file: URIs
b69e803
Select commit
Loading
Failed to load commit list.
Codacy Production / Codacy Static Code Analysis required action Apr 13, 2026 in 0s

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

Codacy 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

Check notice on line 168 in exist-core/src/main/java/org/exist/xquery/functions/fn/CollectionQueryParameters.java

See this annotation in the file changed.

@codacy-production 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

Check warning on line 211 in exist-core/src/main/java/org/exist/xquery/functions/fn/ExtCollection.java

See this annotation in the file changed.

@codacy-production 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