benchmark
We publish the whole benchmark, including where we lose.
A security tool that raises too many false alarms gets ignored by the team. Here is codafort measured against CodeQL and Semgrep on our benchmark tests, with the caveats next to the numbers.
Java: all three tools in the same run
Our benchmark tests, with a known answer for every case, measured on 2026-09-28. Precision: how many alerts were real. Recall: how many real flaws were found.
| tool | precision | recall | false positives |
|---|---|---|---|
| codafort | 1.000 | 0.972 | 0 |
| CodeQL 2.27 | 0.721 | 0.972 | 531 |
| Semgrep OSS 1.177 | 0.693 | 0.882 | 552 |
Per language, against CodeQL and Semgrep
Precision · recall on our benchmark tests for each language, in the same run (2026-09-28). For Semgrep, its best configuration.
| language | codafort | CodeQL | Semgrep |
|---|---|---|---|
| Java | 1.000 · 0.972 | 0.721 · 0.972 | 0.693 · 0.882 |
| Python | 0.955 · 0.947 | 0.432 · 0.252 | 0.828 · 0.159 |
| JavaScript | 0.943 · 0.811 | 0.877 · 0.779 | 0.756 · 0.239 |
| TypeScript | 0.931 · 0.900 | —¹ | 0.714 · 0.167 |
| C# | 1.000 · 0.941 | —² | 0 hits |
| Go | 0.919 · 0.358 | —² | 0.852 · 0.164 |
| Ruby | 1.000 · 0.192 | 0.707 · 0.082 | 0.755 · 0.105 |
| Rust | 1.000 · 0.920 | —¹ | 1.000 · 0.080 |
| Swift | 1.000 · 0.939 | —¹ | 0 hits |
| PHP | 1.000 · 0.867 | n/a | 1.000 · 0.333 |
| C | 0.968 · 0.395 | 0.667 · 0.026 | 0 hits |
| C++ | 0.800 · 0.098 | 0 hits | 0 hits |
¹ A test written by CodeQL itself: we do not measure CodeQL on it. ² Not measured in this run. n/a: CodeQL does not analyze PHP. On the full NIST Juliet for Java, codafort has precision 0.88 and recall 0.81 (2026-10-02).
Where we still lose
On precision, to CodeQL, on TypeScript from real CVEs (720 cases): 0.831 for CodeQL against 0.796 for us, at similar recall.
On recall in Go, Ruby, Rust, C and C++. We are still ahead on these tests, but far from 0.90, and the number is low for every tool measured.
Every tool was measured in the same run, by the same criteria, on our benchmark tests.
Precision that is measured, published and compared.
Pre-launch: codafort is not available to install yet. Join the waitlist →