Skip to content

Introduce EagerStringFormatting check #4099

Introduce EagerStringFormatting check

Introduce EagerStringFormatting check #4099

Triggered via pull request December 27, 2024 18:51
Status Success
Total duration 2m 21s
Artifacts

sonarcloud.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

2 warnings
A change can be made to line 130 without causing a test to fail: error-prone-contrib/src/main/java/tech/picnic/errorprone/bugpatterns/EagerStringFormatting.java#L130
replaced return value with null for analyzeFormatStringContext (covered by 1 tests NullReturnValsMutator)
A change can be made to a lambda on line 246 without causing a test to fail: error-prone-contrib/src/main/java/tech/picnic/errorprone/bugpatterns/EagerStringFormatting.java#L246
replaced return value with null for 1st lambda in deriveFormatStringExpression (no tests cover this line NullReturnValsMutator)