Skip to content

Commit af5de55

Browse files
authored
Merge pull request #11737 from github/jf205-patch-2
Update supported-queries.md
2 parents d4eb2b9 + 75b63bb commit af5de55

File tree

1 file changed

+2
-8
lines changed

1 file changed

+2
-8
lines changed

docs/supported-queries.md

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -34,12 +34,8 @@ The process must begin with the first step and must conclude with the final step
3434

3535
Test the query on a number of large real-world projects to make sure it doesn't give too many false positive results. Adjust the `@precision` and `@problem.severity` attributes in accordance with the real-world results you observe. See the advice on query metadata below.
3636

37-
You can use the LGTM.com [query console](https://lgtm.com/query) to get an overview of true and false positive results on a large number of projects. The simplest way to do this is to:
38-
39-
1. [Create a list of prominent projects](https://lgtm.com/help/lgtm/managing-project-lists) on LGTM.
40-
2. In the query console, [run your query against your custom project list](https://lgtm.com/help/lgtm/using-query-console).
41-
3. Save links to your query console results and include them in discussions on issues and pull requests.
42-
37+
GitHub is running a private beta test of a new feature for testing CodeQL queries at scale from VS Code. To request access to the beta program, please respond to this [GitHub Discussion](https://github.com/orgs/community/discussions/40453).
38+
4339
5. **Test and improve performance**
4440

4541
There must be a balance between the execution time of a query and the value of its results: queries that are highly valuable and broadly applicable can be allowed to take longer to run. In all cases, you need to address any easy-to-fix performance issues before the query is put into production.
@@ -62,8 +58,6 @@ The process must begin with the first step and must conclude with the final step
6258

6359
- The severity is one of `error`, `warning`, or `recommendation`.
6460
- The precision is one of `very-high`, `high`, `medium` or `low`. It may take a few iterations to get this right.
65-
- Currently, LGTM runs all `error` or `warning` queries with a `very-high`, `high`, or `medium` precision. In addition, `recommendation` queries with `very-high` or `high` precision are run.
66-
- However, results from `error` and `warning` queries with `medium` precision, as well as `recommendation` queries with `high` precision, are not shown by default.
6761

6862
c. All queries need an `@id`.
6963

0 commit comments

Comments
 (0)