Skip to content

CodeQL Queries in LGTM #24711

Discussion options

You must be logged in to vote

Hi ArielSAdamsNASA,

What queries does LGTM have? Where do I find a list of these queries?

By default, LGTM will run all queries that satisfy the following criteria:

  • The @problem.severity is Error or Warning, and the @precision is at least Medium
  • The @problem.severity is Recommendation and the @precision is at least High

And the queries that satisfy the following criteria are being displayed:

  • The @problem.severity is Error or Warning, and the @precision is at least High
  • The @problem.severity is Recommendation and the @precision is at least Very high

A quick-and-dirty way of getting a list of the queries on LGTM is to search for queries with an @id that starts with cpp/ (to get a …

Replies: 4 comments

Comment options

You must be logged in to vote
0 replies
Answer selected
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment