Skip to content

Revert "fix: Remove kafka" #97

Revert "fix: Remove kafka"

Revert "fix: Remove kafka" #97

GitHub Actions / Qodana Community for JVM completed Mar 8, 2024 in 0s

87 new problems found by Qodana Community for JVM

Qodana Community for JVM

87 new problems were found

Inspection name Severity Problems
Usage of API marked for removal 🔴 Failure 1
Unused symbol 🔶 Warning 82
Redundant qualifier name 🔶 Warning 1
Accessor call that can be replaced with property access syntax ◽️ Notice 2
Join declaration and assignment ◽️ Notice 1

💡 Qodana analysis was run in the pull request mode: only the changed files were checked
☁️ View the detailed Qodana report

Contact Qodana team

Contact us at [email protected]

Details

This result was published with Qodana GitHub Action

Annotations

Check notice on line 68 in module-server/src/main/kotlin/de/twomartens/wahlrecht/interceptor/HeaderInterceptor.kt

See this annotation in the file changed.

@github-actions github-actions / Qodana Community for JVM

Join declaration and assignment

Can be joined with assignment

Check failure on line 21 in module-server/src/main/kotlin/de/twomartens/wahlrecht/interceptor/BufferingClientHttpResponseWrapper.kt

See this annotation in the file changed.

@github-actions github-actions / Qodana Community for JVM

Usage of API marked for removal

Overrides method that is deprecated and marked for removal in 'org.springframework.http.client.ClientHttpResponse'

Check warning on line 50 in module-server/src/main/kotlin/de/twomartens/wahlrecht/controller/v1/ElectionController.kt

See this annotation in the file changed.

@github-actions github-actions / Qodana Community for JVM

Redundant qualifier name

Redundant qualifier name

Check warning on line 25 in module-server/src/main/kotlin/de/twomartens/wahlrecht/controller/VersionHtmlController.kt

See this annotation in the file changed.

@github-actions github-actions / Qodana Community for JVM

Unused symbol

Function "getApplicationVersion" is never used

Check warning on line 40 in module-server/src/main/kotlin/de/twomartens/wahlrecht/monitoring/statusprobe/StatusProbe.kt

See this annotation in the file changed.

@github-actions github-actions / Qodana Community for JVM

Unused symbol

Function "up" is never used

Check warning on line 12 in module-server/src/main/kotlin/de/twomartens/wahlrecht/configuration/PropertyConfiguration.kt

See this annotation in the file changed.

@github-actions github-actions / Qodana Community for JVM

Unused symbol

Class "PropertyConfiguration" is never used

Check warning on line 81 in module-server/src/main/kotlin/de/twomartens/wahlrecht/controller/v1/PartyController.kt

See this annotation in the file changed.

@github-actions github-actions / Qodana Community for JVM

Unused symbol

Function "getPartyByElectionNameAndAbbreviation" is never used

Check warning on line 11 in module-server/src/main/kotlin/de/twomartens/wahlrecht/configuration/WebConfiguration.kt

See this annotation in the file changed.

@github-actions github-actions / Qodana Community for JVM

Unused symbol

Class "WebConfiguration" is never used

Check warning on line 30 in module-server/src/main/kotlin/de/twomartens/wahlrecht/mapper/v1/ElectionResultMapper.kt

See this annotation in the file changed.

@github-actions github-actions / Qodana Community for JVM

Unused symbol

Function "mapToDB" is never used

Check warning on line 14 in module-server/src/main/kotlin/de/twomartens/wahlrecht/mapper/v1/NominationIdMapper.kt

See this annotation in the file changed.

@github-actions github-actions / Qodana Community for JVM

Unused symbol

Interface "NominationIdMapper" is never used

Check warning on line 25 in module-server/src/main/kotlin/de/twomartens/wahlrecht/controller/v1/CalculationController.kt

See this annotation in the file changed.

@github-actions github-actions / Qodana Community for JVM

Unused symbol

Class "CalculationController" is never used

Check warning on line 14 in module-server/src/main/kotlin/de/twomartens/wahlrecht/mapper/v1/SeatResultMapper.kt

See this annotation in the file changed.

@github-actions github-actions / Qodana Community for JVM

Unused symbol

Interface "SeatResultMapper" is never used

Check warning on line 73 in module-server/src/main/kotlin/de/twomartens/wahlrecht/controller/v1/ElectionResultController.kt

See this annotation in the file changed.

@github-actions github-actions / Qodana Community for JVM

Unused symbol

Function "putElection" is never used

Check warning on line 27 in module-server/src/main/kotlin/de/twomartens/wahlrecht/configuration/OpenApiConfiguration.kt

See this annotation in the file changed.

@github-actions github-actions / Qodana Community for JVM

Unused symbol

Function "customOpenAPI" is never used

Check warning on line 4 in module-server/src/main/kotlin/de/twomartens/wahlrecht/model/dto/v1/Elected.kt

See this annotation in the file changed.

@github-actions github-actions / Qodana Community for JVM

Unused symbol

Class "NOT_ELECTED" is never used

Check warning on line 47 in module-server/src/main/kotlin/de/twomartens/wahlrecht/mapper/v1/NominationMapper.kt

See this annotation in the file changed.

@github-actions github-actions / Qodana Community for JVM

Unused symbol

Function "mapToDB" is never used

Check warning on line 11 in module-server/src/main/kotlin/de/twomartens/wahlrecht/controller/v1/HealthCheckController.kt

See this annotation in the file changed.

@github-actions github-actions / Qodana Community for JVM

Unused symbol

Class "HealthCheckController" is never used

Check warning on line 14 in module-server/src/main/kotlin/de/twomartens/wahlrecht/mapper/v1/ElectedMapper.kt

See this annotation in the file changed.

@github-actions github-actions / Qodana Community for JVM

Unused symbol

Interface "ElectedMapper" is never used

Check warning on line 51 in module-server/src/main/kotlin/de/twomartens/wahlrecht/controller/VersionHtmlController.kt

See this annotation in the file changed.

@github-actions github-actions / Qodana Community for JVM

Unused symbol

Function "getHostname" is never used

Check warning on line 66 in module-server/src/main/kotlin/de/twomartens/wahlrecht/controller/v1/ElectionController.kt

See this annotation in the file changed.

@github-actions github-actions / Qodana Community for JVM

Unused symbol

Function "getElectionByName" is never used

Check warning on line 44 in module-server/src/main/kotlin/de/twomartens/wahlrecht/monitoring/statusprobe/StatusProbe.kt

See this annotation in the file changed.

@github-actions github-actions / Qodana Community for JVM

Unused symbol

Function "down" is never used

Check warning on line 35 in module-server/src/main/kotlin/de/twomartens/wahlrecht/configuration/WebSecurityConfiguration.kt

See this annotation in the file changed.

@github-actions github-actions / Qodana Community for JVM

Unused symbol

Function "securityFilterChain" is never used

Check warning on line 5 in module-server/src/main/kotlin/de/twomartens/wahlrecht/model/dto/v1/Elected.kt

See this annotation in the file changed.

@github-actions github-actions / Qodana Community for JVM

Unused symbol

Class "CONSTITUENCY" is never used

Check warning on line 46 in module-server/src/main/kotlin/de/twomartens/wahlrecht/controller/v1/ElectionController.kt

See this annotation in the file changed.

@github-actions github-actions / Qodana Community for JVM

Unused symbol

Function "getElections" is never used

Check warning on line 11 in module-server/src/main/kotlin/de/twomartens/wahlrecht/mapper/v1/CandidateMapper.kt

See this annotation in the file changed.

@github-actions github-actions / Qodana Community for JVM

Unused symbol

Interface "CandidateMapper" is never used