-
Notifications
You must be signed in to change notification settings - Fork 1.8k
C#: Add telemetry query to report extractor information #15124
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
C#: Add telemetry query to report extractor information #15124
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. Should we also have something that counts UnknownExpr
s?
|
Yes. |
} | ||
|
||
module ExprStats implements StatsSig { | ||
int getNumberOfOk() { result = count(Expr e | not e instanceof @unknown_expr) } |
Check warning
Code scanning / CodeQL
Use of database type outside the language core
module ExprStats implements StatsSig { | ||
int getNumberOfOk() { result = count(Expr e | not e instanceof @unknown_expr) } | ||
|
||
int getNumberOfNotOk() { result = count(Expr e | e instanceof @unknown_expr) } |
Check warning
Code scanning / CodeQL
Use of database type outside the language core
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@tamasvajk : This will be really helpful!!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM 👍
Sample results: