Skip to content

Commit dbf7487

Browse files
author
james
committed
address review comments
1 parent dcbf766 commit dbf7487

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,4 +26,4 @@ CodeQL queries are used in code scanning analyses to find problems in source cod
2626
- :doc:`About data flow analysis <about-data-flow-analysis>`: Data flow analysis is used to compute the possible values that a variable can hold at various points in a program, determining how those values propagate through the program and where they are used.
2727
- :doc:`Creating path queries <creating-path-queries>`: You can create path queries to visualize the flow of information through a codebase.
2828
- :doc:`Troubleshooting query performance <troubleshooting-query-performance>`: Improve the performance of your CodeQL queries by following a few simple guidelines.
29-
- :doc:`Debugging data-flow queries using partial flow <debugging-data-flow-queries-using-partial-flow>`: If a data-flow query unexpectedly produces no results, you can use partial flow to debug the problem.
29+
- :doc:`Debugging data-flow queries using partial flow <debugging-data-flow-queries-using-partial-flow>`: If a data-flow query doesn't produce the results you expect to see, you can use partial flow to debug the problem..

docs/codeql/writing-codeql-queries/debugging-data-flow-queries-using-partial-flow.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
Debugging data-flow queries using partial flow
44
==============================================
55

6-
If a data-flow query unexpectedly produces no results, you can use partial flow to debug the problem.
6+
If a data-flow query doesn't produce the results you expect to see, you can use partial flow to debug the problem.
77

88
In CodeQL, you can use :ref:`data flow analysis <about-data-flow-analysis>` to compute the possible values that a variable can hold at various points in a program.
99
A typical data-flow query looks like this:
@@ -32,7 +32,7 @@ Or slightly simpler without path explanations:
3232
where config.hasPath(source, sink)
3333
select sink, "Sink is reached from $@.", source.getNode(), "here"
3434
35-
If a data-flow query that you have written does not produce any results when you expect it to, there may be a problem with your query.
35+
If a data-flow query that you have written doesn't produce the results you expect it to, there may be a problem with your query.
3636
You can try to debug the potential problem by following the steps described below.
3737

3838
Checking sources and sinks

0 commit comments

Comments
 (0)