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:
Asger F
2025-06-03 13:52:00 +02:00
parent 6d389c31c7
commit f5ac3fd611
2 changed files with 0 additions and 18 deletions

View File

@@ -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

View File

@@ -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()))