github / github/codeql

General issue : false negative during evaluation of UseBraces

Abierto
#4,551 7 comentarios 0 reacciones 0 asignados Ver en GitHub
question Stale
Lenguaje dominante
CodeQL
Estrellas
10.1k
Forks
2.1k
Merge medio
2 d 15 h
PR fusionados (30 d)
141

Descripción

We're currently evaluation the usage of cQL - see https://github.com/baloise/open-source/issues/245

**Description of the issue**

While doing that (on this very basic repository: https://github.com/arburk/fishbone) we've noticed an (IMHO) false negative. Within the basic situation of provoking such a situation like in your UnitTests : "https://github.com/github/codeql/blob/main/java/ql/test/query-tests/UseBraces/UseBraces.java#L27 - https://github.com/arburk/fishbone/commit/00c935a32bb7a179836b640501584bd48400e97c we couldn't get the cQL Action to fail during our action / build (https://github.com/arburk/fishbone/runs/1309817904)

Could you please help us understanding whether it's an issue / misunderstanding on our side or whether this situation is, though unit test being present for that, currently not correctly being identified?

Thanks a lot for you feedback its very appreciated.

Guía de contribución

Abrir la guía de contribución

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.