JS: Fix typo and add metadata to DomValueRefs

This commit is contained in:
Asger F
2019-09-20 15:43:08 +01:00
parent 1ce0a48996
commit 69a88c4fcd
2 changed files with 14 additions and 4 deletions

View File

@@ -0,0 +1,14 @@
/**
* @name DOM value references
* @description The number of references to a DOM value.
* @kind metric
* @metricType project
* @metricAggregate sum
* @tags meta
* @id js/meta/dom-value-refs
*/
import javascript
import CallGraphQuality
select projectRoot(), count(DOM::domValueRef())

View File

@@ -1,4 +0,0 @@
import javascript
import CallGraphQuality
select projectRoot(), count(DOM::domValueRef())