Skip to content

Commit 59b6d65

Browse files
felicitymayhubwriter
authored andcommitted
Apply suggestions from code review
Co-authored-by: hubwriter <[email protected]>
1 parent c1e6d4c commit 59b6d65

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

cpp/ql/lib/definitions.qll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ import IDEContextual
1313
* In some cases it is preferable to modify locations (the
1414
* `hasLocationInfo()` predicate) so that they are short, and
1515
* non-overlapping with other locations that might be reported as
16-
* code scanning alerts in GitHub.
16+
* code scanning alerts on GitHub.
1717
*
1818
* We need to give locations that may not be in the database, so
1919
* we use `hasLocationInfo()` rather than `getLocation()`.

cpp/ql/src/Likely Bugs/RedundantNullCheckSimple.ql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313

1414
/*
1515
* Note: this query is not assigned a precision yet because we don't want it
16-
* included in query suites until its performance is well understood.
16+
* to be included in query suites until its performance is well understood.
1717
*/
1818

1919
import cpp

docs/codeql/writing-codeql-queries/metadata-for-codeql-queries.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,12 +40,12 @@ The following properties are supported by all query files:
4040
| | | ``readability`` | |
4141
| | | ``security`` | |
4242
+-----------------------+---------------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
43-
| ``@precision`` | | ``low`` | Indicates the percentage of query results that are true positives (as opposed to false positive results). This, along with the ``@problem.severity`` property, determines how the results are displayed in GitHub. |
43+
| ``@precision`` | | ``low`` | Indicates the percentage of query results that are true positives (as opposed to false positive results). This, along with the ``@problem.severity`` property, determines how the results are displayed on GitHub. |
4444
| | | ``medium`` | |
4545
| | | ``high`` | |
4646
| | | ``very-high`` | |
4747
+-----------------------+---------------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
48-
| ``@problem.severity`` | | ``error`` | Defines the level of severity of any alerts generated by a non-security query. This, along with the ``@precision`` property, determines how the results are displayed in GitHub. |
48+
| ``@problem.severity`` | | ``error`` | Defines the level of severity of any alerts generated by a non-security query. This, along with the ``@precision`` property, determines how the results are displayed on GitHub. |
4949
| | | ``warning`` | |
5050
| | | ``recommendation`` | |
5151
+-----------------------+---------------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+

0 commit comments

Comments
 (0)