Skip to content

Commit 4f6311f

Browse files
committed
Formulas
1 parent a5877e8 commit 4f6311f

10 files changed

+458
-0
lines changed
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
0 Bytes
Binary file not shown.

codeql-custom-queries-java/Formulas/Formulas.md

Lines changed: 451 additions & 0 deletions
Large diffs are not rendered by default.
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
class SmallInt extends int {
2+
SmallInt() { this = [1 .. 10] }
3+
}
4+
5+
from SmallInt x
6+
where x % 2 = 0 implies x % 4 = 0
7+
select x

0 commit comments

Comments
 (0)