File tree 2 files changed +3
-3
lines changed
rust/ql/src/queries/summary
2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -64,4 +64,4 @@ string getAQuerySinkKind(DataFlow::Node n) {
64
64
/**
65
65
* Gets a count of the total number of query sinks in the database.
66
66
*/
67
- int getQuerySinksCount ( ) { result = count ( DataFlow:: Node n | exists ( getAQuerySinkKind ( n ) ) | n ) }
67
+ int getQuerySinksCount ( ) { result = count ( DataFlow:: Node n | exists ( getAQuerySinkKind ( n ) ) ) }
Original file line number Diff line number Diff line change @@ -20,12 +20,12 @@ private module TaintReachConfig implements DataFlow::ConfigSig {
20
20
private module TaintReachFlow = TaintTracking:: Global< TaintReachConfig > ;
21
21
22
22
/**
23
- * Gets the total number of dataflow nodes that taint reaches (from any source).
23
+ * Gets the total number of data flow nodes that taint reaches (from any source).
24
24
*/
25
25
int getTaintedNodesCount ( ) { result = count ( DataFlow:: Node n | TaintReachFlow:: flowTo ( n ) ) }
26
26
27
27
/**
28
- * Gets the proportion of dataflow nodes that taint reaches (from any source),
28
+ * Gets the proportion of data flow nodes that taint reaches (from any source),
29
29
* expressed as a count per million nodes.
30
30
*/
31
31
float getTaintReach ( ) { result = ( getTaintedNodesCount ( ) * 1000000.0 ) / count ( DataFlow:: Node n ) }
You can’t perform that action at this time.
0 commit comments