github / github/codeql

General issue : false negative during evaluation of UseBraces

Aperta
#4,551 7 commenti 0 reazioni 0 assegnatari Vedi su GitHub
question Stale
Lingua principale
CodeQL
Stelle
10.1k
Fork
2.1k
Merge medio
2g 15h
PR unite (30g)
141

Descrizione

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.

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.