Update javascript/ql/experimental/adaptivethreatmodeling/lib/experimental/adaptivethreatmodeling/FunctionBodyFeatures.qll

Co-authored-by: Henry Mercer <henrymercer@github.com>
This commit is contained in:
Ian Wright
2022-02-04 15:41:50 +00:00
committed by GitHub
parent e57a0e0e2f
commit be5e8dae05

View File

@@ -127,7 +127,7 @@ ASTNode getAnASTNodeWithAFeature(Function f) {
result = getAnASTNodeToFeaturize(f)
}
/** Returns the number of source-code characters in a function. */
/** Returns the number of source-code characters in a function. */
int getNumCharsInFunction(Function f) {
result =
strictsum(ASTNode node | node = getAnASTNodeWithAFeature(f) | getTokenizedAstNode(node).length())