Skip to content

Use HashType enum and centralize sort mapping

4305f10
Select commit
Loading
Failed to load commit list.
Merged

Improve component search performance with JDBI #1867

Use HashType enum and centralize sort mapping
4305f10
Select commit
Loading
Failed to load commit list.
Codacy Production / Codacy Static Code Analysis succeeded Apr 15, 2026 in 0s

Your pull request is up to standards!

Codacy found no issues in your code

Annotations

Check warning on line 111 in apiserver/src/main/java/org/dependencytrack/resources/v2/ComponentsResource.java

See this annotation in the file changed.

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

apiserver/src/main/java/org/dependencytrack/resources/v2/ComponentsResource.java#L111

Avoid long parameter lists.

Check warning on line 111 in apiserver/src/main/java/org/dependencytrack/resources/v2/ComponentsResource.java

See this annotation in the file changed.

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

apiserver/src/main/java/org/dependencytrack/resources/v2/ComponentsResource.java#L111

The method 'listComponents(UUID, String, String, String, String, String, String, String, String, Integer, String, SortDirection, String)' has an NPath complexity of 648, current threshold is 200