Hacker ApprovedDepartments

CodeQL

Ranked 6 of 12 static analyzers by recommenders

Developers recommend it for accurate reports tied to specific code paths; the most common caveat is false positives, and some find it heavy on large repos.

Developers recommend it for accurate reports tied to specific code paths; the most common caveat is false positives, and some find it heavy on large repos.

19 people gave an opinion

recommend it
9
criticize it
10
approval share
47%
Each figure is one person. RecommendsCriticizes

Recommended in 3 of 13 months

  1. November 2025: recommended
  2. December 2025: not recommended
  3. January 2026: not recommended
  4. February 2026: recommended
  5. March 2026: not recommended
  6. April 2026: not recommended
  7. May 2026: not recommended
  8. June 2026: not recommended
  9. July 2026: not recommended
  10. August 2026: recommended
  11. September 2026: not recommended
  12. October 2026: not recommended
  13. November 2026: not recommended (month in progress)

Why it doesn’t carry the badge

  • 9 people recommend itNeeds 10 or more, not met.
  • 0.9 recommenders for every criticNeeds 2 to 1 or better, not met.
  • Recommended in 3 of 13 monthsNeeds 4 or more, not met.

The same three rules apply to every product, and the badge can’t be bought. How the badge works

What people say about it

The reasons people give, with the number of comments that give each one. Open a reason to read what they said.

Why people recommend it

Each mark is one comment

  • Accurate, specific vulnerability reports

    “The functionality in CodeQL that I have found useful tends to accompany each reported vulnerability with a specific code path”

    Comment from 21 Feb 2026 in “Turn Dependabot Off”

    “the first thing that really impressed me about CodeQL was how accurate its reports were with some quite old Django code”

    Comment from 21 Feb 2026 in “Turn Dependabot Off”

    “a specific claim about specific code that is demonstrably true”

    Comment from 21 Feb 2026 in “Turn Dependabot Off”
  • Finds real vulnerabilities in code

    “So, CodeQL found a vulnerability in your code”

    Comment from 21 Feb 2026 in “Turn Dependabot Off”

    “genuinely impressed me recently”

    Comment from 21 Feb 2026 in “Turn Dependabot Off”

What people warn about

Each mark is one comment

  • Too many false positives

    “we just got a bunch of false positives for not validating a UUID url path param”

    Comment from 21 Feb 2026 in “Turn Dependabot Off”

    “CodeQL seems to raise too many false-positives in my experience.”

    Comment from 21 Feb 2026 in “Turn Dependabot Off”
  • Heavy on laptops and large repos

    “tired of waiting 5–20 minutes for Semgrep/CodeQL/SonarQube on large monorepos”

    Comment from 2 Feb 2026 in “RMA – Fast Rust monorepo scanner cross-file taint, typestate, <0.5s on 100k LOC”

    “Existing scanners like CodeQL are too heavy to run locally on my 8GB laptop.”

    Comment from 4 Mar 2026 in “Show HN: The Janitor – A 58MB Rust static analyzer to block AI-generated PR slop”

Other static analyzers people recommend

The four most recommended other static analyzers, with the same counts for each, so you can compare like for like. The tick on each bar marks the 2 to 1 line the badge needs.

CodeQL compared with 4 alternatives
ProductRecommendCriticizeApprovalMonthsOwnedBadge
zizmor19195%6—Approved
Semgrep141058%7——
clang-tidy14478%6—Approved
PHPStan110100%7—Approved
CodeQLThis page91047%3——
See all 12 static analyzers, ranked

What people said

23 of the 24 comments that mention it, newest first. Each links to the original comment.

“it's a modern relational query language based on Datalog”

RecommendsComment from 23 Aug 2026 in “Things I want in a modern relational query language”

“Github is in no hurry to add modules support to CodeQL”

CriticizesComment from 4 Jul 2026 in “New serious vulnerabilities spiked around release of Claude Mythos Preview”

“Existing scanners like CodeQL are too heavy to run locally on my 8GB laptop.”

CriticizesComment from 4 Mar 2026 in “Show HN: The Janitor – A 58MB Rust static analyzer to block AI-generated PR slop”

“it lagged behind the official releases by about two months”

CriticizesComment from 21 Feb 2026 in “Turn Dependabot Off”

“So, CodeQL found a vulnerability in your code”

RecommendsComment from 21 Feb 2026 in “Turn Dependabot Off”

“the first thing that really impressed me about CodeQL was how accurate its reports were with some quite old Django code”

RecommendsComment from 21 Feb 2026 in “Turn Dependabot Off”

“the vagaries of the dual licensing discourages a lot of teams working on commercial projects”

CriticizesComment from 21 Feb 2026 in “Turn Dependabot Off”

“we just got a bunch of false positives for not validating a UUID url path param”

CriticizesComment from 21 Feb 2026 in “Turn Dependabot Off”

“I don't doubt CodeQL claims can be demonstrably true, that's still coherent with Rice's theorem. However it does mean you'll have false negatives”

MixedComment from 21 Feb 2026 in “Turn Dependabot Off”

“more recently, our team has been increasingly frustrated by the thing to the point of turning it off”

CriticizesComment from 21 Feb 2026 in “Turn Dependabot Off”

“The functionality in CodeQL that I have found useful tends to accompany each reported vulnerability with a specific code path”

RecommendsComment from 21 Feb 2026 in “Turn Dependabot Off”

“a specific claim about specific code that is demonstrably true”

RecommendsComment from 21 Feb 2026 in “Turn Dependabot Off”

“If dataflow is not provably connected from source to sink, an alert is impossible.”

RecommendsComment from 21 Feb 2026 in “Turn Dependabot Off”

“The CodeQL CLI is developed as an open-source project and can run CodeQL basically anywhere.”

RecommendsComment from 21 Feb 2026 in “Turn Dependabot Off”

“CodeQL seems to raise too many false-positives in my experience.”

CriticizesComment from 21 Feb 2026 in “Turn Dependabot Off”

“genuinely impressed me recently”

RecommendsComment from 21 Feb 2026 in “Turn Dependabot Off”

“SAST tools find SQL injection and XSS. They cant find a booking endpoint”

CriticizesComment from 13 Feb 2026 in “Vulnerability scanner targeting logic bugs”

“catches the obvious stuff but misses AI-specific patterns”

MixedComment from 5 Feb 2026 in “Ask HN: Has your whole engineering team gone big into AI coding? How's it going?”

“tired of waiting 5–20 minutes for Semgrep/CodeQL/SonarQube on large monorepos”

CriticizesComment from 2 Feb 2026 in “RMA – Fast Rust monorepo scanner cross-file taint, typestate, <0.5s on 100k LOC”

“the rules are opportunistic, not real”

CriticizesComment from 27 Jan 2026 in “There Is an AI Code Review Bubble”

“sub-par products SonarQube and CodeQL that see massive overuse”

CriticizesComment from 13 Jan 2026 in “Junior devs don't know the red flags we spot in seconds and we never tell them”

“which is designed to scan for semantic patterns in a codebase”

RecommendsComment from 24 Nov 2025 in “Claude Opus 4.5”

“It makes it so easy to use CodeQL”

RecommendsComment from 13 Nov 2025 in “Show HN: Patchsmith – Agentic wrapper for CodeQL (finetune, triage, fix with AI)”

Counts come from 1,795,640 Hacker News comments, November 2025 to November 2026. How we count. Report a mistake.