Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement initial PoC for checking return values #846

Merged
merged 28 commits into from
Apr 15, 2024

Add fixes for CPG v8, Detekt and Spotless

f448458
Select commit
Loading
Failed to load commit list.
Merged

Implement initial PoC for checking return values #846

Add fixes for CPG v8, Detekt and Spotless
f448458
Select commit
Loading
Failed to load commit list.
GitHub Advanced Security / detekt succeeded Apr 11, 2024 in 1m 11s

5 new alerts

New alerts in code changed by this pull request

  • 5 warnings

See annotations below for details.

View all branch alerts.

Annotations

Check warning on line 93 in codyze-backends/cpg/src/main/kotlin/de/fraunhofer/aisec/codyze/backends/cpg/coko/evaluators/CpgWheneverEvaluator.kt

See this annotation in the file changed.

Code scanning / detekt

Unreachable code detected. This code should be removed. Warning

This expression is unreachable code which should either be used or removed.

Check warning on line 190 in codyze-backends/cpg/src/main/kotlin/de/fraunhofer/aisec/codyze/backends/cpg/coko/evaluators/CpgWheneverEvaluator.kt

See this annotation in the file changed.

Code scanning / detekt

Function parameter is unused and should be removed. Warning

Function parameter value is unused.

Check warning on line 190 in codyze-backends/cpg/src/main/kotlin/de/fraunhofer/aisec/codyze/backends/cpg/coko/evaluators/CpgWheneverEvaluator.kt

See this annotation in the file changed.

Code scanning / detekt

Function parameter is unused and should be removed. Warning

Function parameter premiseNode is unused.

Check warning on line 132 in codyze-specification-languages/coko/coko-dsl/src/main/kotlin/de/fraunhofer/aisec/codyze/specificationLanguages/coko/dsl/host/ConceptTranslator.kt

See this annotation in the file changed.

Code scanning / detekt

Use `orEmpty()` call instead of `?:` with empty collection factory methods Warning

This '?: ""' can be replaced with 'orEmpty()' call

Check warning on line 158 in codyze-specification-languages/coko/coko-dsl/src/main/kotlin/de/fraunhofer/aisec/codyze/specificationLanguages/coko/dsl/host/ConceptTranslator.kt

See this annotation in the file changed.

Code scanning / detekt

Use `orEmpty()` call instead of `?:` with empty collection factory methods Warning

This '?: ""' can be replaced with 'orEmpty()' call