Jokalala Analyzer

SAST trust report

Published eval gates for the production engine — measured on an open corpus, CI-enforced every night.

Snapshot 2026-11-16 · enhanced-static-analyzer-v2 · gates passing

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.

Jokalala (per-CWE mean, 67 detected CWEs)

Recall
96.5%
Precision
99.7%
F1
97.7%
FAR
0.2%

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)

Recall
68.6%
Precision
79.1%
F1
61.7%
FAR
15.7%

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%).

CWEJokalala recallJokalala FARSonar recallSonar FAR
CWE-89100.0%1.0%97.3%49.0%
CWE-252100.0%0.0%100.0%0.0%
CWE-25997.3%0.0%9.0%0.0%
CWE-31594.6%0.0%97.3%100.0%
CWE-327100.0%0.0%100.0%100.0%
CWE-328100.0%0.0%100.0%0.0%
CWE-338100.0%0.0%100.0%0.0%
CWE-36997.3%0.0%26.5%28.9%
CWE-396100.0%0.0%50.0%0.0%
CWE-397100.0%0.0%100.0%0.0%
CWE-398100.0%0.0%86.9%0.0%
CWE-404100.0%0.0%40.0%60.0%
CWE-47097.3%0.0%2.7%7.7%
CWE-47698.0%0.0%60.8%18.9%
CWE-477100.0%0.0%100.0%0.0%
CWE-478100.0%0.0%100.0%0.0%
CWE-481100.0%0.0%100.0%0.0%
CWE-483100.0%0.0%100.0%0.0%
CWE-484100.0%0.0%100.0%0.0%
CWE-535100.0%0.0%100.0%100.0%
CWE-546100.0%0.0%40.0%0.0%
CWE-56387.6%0.0%90.4%21.7%
CWE-57056.3%0.0%6.3%0.0%
CWE-57156.3%0.0%6.3%0.0%
CWE-572100.0%0.0%100.0%0.0%
CWE-584100.0%0.0%100.0%0.0%
CWE-586100.0%0.0%100.0%0.0%
CWE-597100.0%0.0%100.0%0.0%
CWE-60697.3%0.0%8.1%11.8%
CWE-61494.1%0.0%100.0%0.0%
CWE-69097.3%0.0%24.3%19.6%
CWE-78997.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.

TrackJokalalaCodeQLReading
A. OWASP Benchmark holdout (197 new cases)TPR 0.94, FPR 0.00, score 93.8TPR 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.7TPR 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 15Strict: 2 of 11 found, tells patched from vulnerable in 1. Any-finding-in-file: 4 of 15No 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 vulnerability33 findings; precision counting low-impact real findings: 0.92; no real vulnerabilityCodeQL 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