mirror of
https://github.com/github/codeql.git
synced 2025-12-17 01:03:14 +01:00
JS: Remove old metric-meta query TypedExprs.ql
This was used in the very old dist-compare tool, but has no use anymore
This commit is contained in:
@@ -146,4 +146,3 @@ ql/javascript/ql/src/meta/analysis-quality/UnresolvableImports.ql
|
||||
ql/javascript/ql/src/meta/extraction-metrics/FileData.ql
|
||||
ql/javascript/ql/src/meta/extraction-metrics/MissingMetrics.ql
|
||||
ql/javascript/ql/src/meta/extraction-metrics/PhaseTimings.ql
|
||||
ql/javascript/ql/src/meta/types/TypedExprs.ql
|
||||
|
||||
@@ -1,17 +0,0 @@
|
||||
/**
|
||||
* @name Typed expressions
|
||||
* @description The number of expressions for which the TypeScript extractor could
|
||||
* extract a type other than 'any'.
|
||||
* @kind metric
|
||||
* @metricType project
|
||||
* @metricAggregate sum
|
||||
* @tags meta
|
||||
* @id js/meta/typed-expressions
|
||||
*/
|
||||
|
||||
import javascript
|
||||
import meta.MetaMetrics
|
||||
|
||||
predicate isProperType(Type t) { not t instanceof AnyType }
|
||||
|
||||
select projectRoot(), count(Expr e | isProperType(e.getType()))
|
||||
Reference in New Issue
Block a user