Finding-delta
17 samples · languages docker-compose, dockerfile, java, javascript, kubernetes, python, terraform · 11 high/critical identities
- Oracle miss
- 0.0%≤ 5.0%
- Prod ↔ direct Jaccard
- 0.0%≤ 5.0%
OWASP category labels in this snapshot: A01:2021, A02:2021, A03:2021, A05:2021, A07:2021, A08:2021, A10:2021 (min 6). This list is not full OWASP Top 10 coverage.
Twin F1
Safe/vulnerable twin corpus gated in CI (min F1 0.9).
Enforced by pnpm test:sast-eval / nightly workflow (not re-scored in this snapshot).
Industry benchmark-lite
OWASP Benchmark–inspired mini corpus (12 cases) — not the full OWASP/Juliet suites.
- TPR
- 100.0%
- FPR
- 0.0%
- Score
- 1.000≥ 0.7
Juliet Java vs SonarQube
Juliet v1.3 Java board (array-index, catch-npe, class-name-compare, cleartext-tx, command-injection, compare-assign, config-control, console-exposure, constant-condition, constant-iv, control-flow, cookie-security, crypto, deadlock, divide-by-zero, env-exposure, error-no-action, finalize-call, finally-jump, format-string, generic-exception, hardcoded-creds, hardcoded-key, infinite-loop, int-range, ldap-injection, loop-bound, mem-alloc, missing-crypto-step, null-deref, obsolete-api, off-by-one, open-redirect, path-traversal, persistent-cookie, plaintext-password, poor-quality, predictable-salt, resource-exhaustion, resource-lifecycle, response-splitting, same-seed, sqli, stack-trace, string-compare, suspicious-comment, switch, system-exit, temp-file-cleanup, temp-file-dir, thread-misuse, unchecked-return, unsafe-reflection, unsalted-hash, unused-var, xpath-injection, xss) · 92,132 families · snapshot 2026-11-16. Sonar figures are the paper's published per-CWE means (over the 33 CWEs Sonar detected, of ~70 studied), not a live re-run. These families were used while developing the analyzer; the independent result on a fresh Juliet sample is in the blind comparison below.
Coverage: Jokalala is scored on 69 of 70 studied CWEs; 32 of Sonar's 33 detected CWEs overlap. The means below are over different CWE sets until coverage grows — read the overlap table for the like-for-like comparison.
- Recall
- 96.5%
- Precision
- 99.7%
- F1
- 97.7%
- FAR
- 0.2%
- Recall
- 68.6%
- Precision
- 79.1%
- F1
- 61.7%
- FAR
- 15.7%
Jokalala (per-CWE mean, 67 detected CWEs)
Same selection rule as Sonar's mean (CWEs with detections). Over all 69 scored CWEs: recall 93.7%. Pooled over 92,132 samples: recall 97.6%, FPR 0.2% (SQLi-heavy, not comparable to the paper).
SonarQube (published)
Like-for-like: the 32 CWEs both tools were scored on (Jokalala mean recall 96.0% / FAR 0.0% vs Sonar 70.2% / 16.2%).
| CWE | Jokalala recall | Jokalala FAR | Sonar recall | Sonar FAR |
|---|---|---|---|---|
| CWE-89 | 100.0% | 1.0% | 97.3% | 49.0% |
| CWE-252 | 100.0% | 0.0% | 100.0% | 0.0% |
| CWE-259 | 97.3% | 0.0% | 9.0% | 0.0% |
| CWE-315 | 94.6% | 0.0% | 97.3% | 100.0% |
| CWE-327 | 100.0% | 0.0% | 100.0% | 100.0% |
| CWE-328 | 100.0% | 0.0% | 100.0% | 0.0% |
| CWE-338 | 100.0% | 0.0% | 100.0% | 0.0% |
| CWE-369 | 97.3% | 0.0% | 26.5% | 28.9% |
| CWE-396 | 100.0% | 0.0% | 50.0% | 0.0% |
| CWE-397 | 100.0% | 0.0% | 100.0% | 0.0% |
| CWE-398 | 100.0% | 0.0% | 86.9% | 0.0% |
| CWE-404 | 100.0% | 0.0% | 40.0% | 60.0% |
| CWE-470 | 97.3% | 0.0% | 2.7% | 7.7% |
| CWE-476 | 98.0% | 0.0% | 60.8% | 18.9% |
| CWE-477 | 100.0% | 0.0% | 100.0% | 0.0% |
| CWE-478 | 100.0% | 0.0% | 100.0% | 0.0% |
| CWE-481 | 100.0% | 0.0% | 100.0% | 0.0% |
| CWE-483 | 100.0% | 0.0% | 100.0% | 0.0% |
| CWE-484 | 100.0% | 0.0% | 100.0% | 0.0% |
| CWE-535 | 100.0% | 0.0% | 100.0% | 100.0% |
| CWE-546 | 100.0% | 0.0% | 40.0% | 0.0% |
| CWE-563 | 87.6% | 0.0% | 90.4% | 21.7% |
| CWE-570 | 56.3% | 0.0% | 6.3% | 0.0% |
| CWE-571 | 56.3% | 0.0% | 6.3% | 0.0% |
| CWE-572 | 100.0% | 0.0% | 100.0% | 0.0% |
| CWE-584 | 100.0% | 0.0% | 100.0% | 0.0% |
| CWE-586 | 100.0% | 0.0% | 100.0% | 0.0% |
| CWE-597 | 100.0% | 0.0% | 100.0% | 0.0% |
| CWE-606 | 97.3% | 0.0% | 8.1% | 11.8% |
| CWE-614 | 94.1% | 0.0% | 100.0% | 0.0% |
| CWE-690 | 97.3% | 0.0% | 24.3% | 19.6% |
| CWE-789 | 97.3% | 0.0% | 1.1% | 0.0% |
Alqaradaghi & Kozsik, IEEE Access 12 (2024) — SonarQube Community, unweighted mean over the 33 Juliet Java CWEs it detected (of ~70 studied). Per-CWE mean over only the CWEs Sonar detected (verified against the paper’s Zenodo data). Compare against Jokalala’s per-CWE mean, not its pooled micro-average. Not a live Sonar re-run in this repo.
Analyze latency
Single-file full-scan microbench (29 runs).
- p50
- 46 ms
- p95
- 3422 ms≤ 5000 ms
- max
- 7673 ms
Blind comparison against CodeQL (Round 2)
2026-11-24 · Fresh samples never used to tune the analyzer, drawn after a build freeze (engine commit 18706400, extension 2.7.2 with local engine). CodeQL 2.27.5 with codeql/java-queries 1.12.1, --build-mode=none. One tester, one machine.
Jokalala clearly wins one of four tracks. The pre-committed rule (a win on at least three of four tracks) is not met.
| Track | Jokalala | CodeQL | Reading |
|---|---|---|---|
| A. OWASP Benchmark holdout (197 new cases) | TPR 0.94, FPR 0.00, score 93.8 | TPR 0.97, FPR 0.39, score 57.9 (security-extended) | Jokalala ahead. Public, template-based suite: shows consistency on those templates, not generality. |
| B. Juliet Java, fresh sample (188 files, 17 CWEs) | TPR 0.62, FPR 0.20, F1 0.68, score 42.7 | TPR 0.44, FPR 0.05, score 38.8 (security-extended) | Tie (3.9 points, inside the 5-point margin). Higher recall, four times the false-positive rate. |
| C. Vul4J real CVE fixes (15 entries) | Strict: 3 of 11 found, tells patched from vulnerable in 0. Any-finding-in-file: 10 of 15 | Strict: 2 of 11 found, tells patched from vulnerable in 1. Any-finding-in-file: 4 of 15 | No decisive winner. Jokalala's wider count comes from reporting hundreds of findings per module. 7 of 15 entries had informed earlier engine edits; on the 8 clean entries strict scoring is level at 2 of 5 each. |
| D. Real application (macrozheng/mall, 519 production Java files) | 50 findings; precision counting low-impact real findings: 0.51; one real vulnerability | 33 findings; precision counting low-impact real findings: 0.92; no real vulnerability | CodeQL ahead on precision. Neither tool found a clear high-impact bug. Human labels, cross-checked by a second labeler (59 of 64 rows agree). |
- The Juliet figures elsewhere on this page are measured on the vendored Juliet families the analyzer was developed against. The fresh Juliet sample above is the independent number.
- Jokalala findings were copied from the extension UI and CWEs inferred from finding text.
- Recommended use from these results: CodeQL as the gate, Jokalala as an additional reviewer. This is an interpretation, not a measured result.
Eval targets
- POST /api/analyze p95 latencymeasured
≤ 5000 ms (full mode, single-file)
Microbench on finding-delta + industry corpora (P4h); also exposed via /api/analyze/metrics.
- Finding-delta oracle missmeasured
≤ 5%
- Production ↔ direct Jaccard distancemeasured
≤ 5%
- Safe/vulnerable twin F1declared
≥ 0.90
Enforced by nightly sast-eval workflow.
- Industry benchmark-lite score (TPR − FPR)measured
≥ 0.70 (TPR ≥ 0.85, FPR ≤ 0.20)
OWASP Benchmark–inspired mini corpus; not the full OWASP/Juliet suites.
- Juliet Java vs SonarQube (injection/XSS + Wave B)measured
TPR ≥ 0.95, FPR ≤ 0.05, F1 ≥ 0.95 (CWE-78/89/90/XSS + path/crypto/redirect/xpath)
Vendored Juliet v1.3 Java families (Wave B even-field expansion); compared to published Sonar means (IEEE Access 2024), not a live Sonar re-run.
Machine-readable: /analyzer/sast-trust-report.json
Corpus: tests/static-analyzer/finding-delta/corpus.json
Analyze API docs: /docs