github / github/codeql

General issue : false negative during evaluation of UseBraces

Offen
#4,551 7 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
question Stale
Vorherrschende Sprache
CodeQL
Sterne
10.1k
Forks
2.1k
Ø Merge
2 T. 15 Std.
Gemergte PRs (30 T.)
141

Beschreibung

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.

Beitragsleitfaden

Beitragsleitfaden öffnen

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.