File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
rust/ql/src/queries/summary Expand file tree Collapse file tree 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) {
6464/**
6565 * Gets a count of the total number of query sinks in the database.
6666 */
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 {
2020private module TaintReachFlow = TaintTracking:: Global< TaintReachConfig > ;
2121
2222/**
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).
2424 */
2525int getTaintedNodesCount ( ) { result = count ( DataFlow:: Node n | TaintReachFlow:: flowTo ( n ) ) }
2626
2727/**
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),
2929 * expressed as a count per million nodes.
3030 */
3131float getTaintReach ( ) { result = ( getTaintedNodesCount ( ) * 1000000.0 ) / count ( DataFlow:: Node n ) }
You can’t perform that action at this time.
0 commit comments