mirror of
https://github.com/github/codeql.git
synced 2025-12-16 16:53:25 +01:00
Swift: add summary about total extracted nodes
This commit is contained in:
11
swift/ql/src/diagnostics/internal/AstNodes.ql
Normal file
11
swift/ql/src/diagnostics/internal/AstNodes.ql
Normal file
@@ -0,0 +1,11 @@
|
||||
/**
|
||||
* @name Number of extracted AST nodes
|
||||
* @description Count all AST nodes.
|
||||
* @kind metric
|
||||
* @id swift/diagnostics/ast-nodes
|
||||
* @tags summary
|
||||
*/
|
||||
|
||||
import swift
|
||||
|
||||
select count(AstNode n)
|
||||
Reference in New Issue
Block a user