mirror of
https://github.com/github/codeql.git
synced 2026-05-01 03:35:13 +02:00
JS: Fix typo and add metadata to DomValueRefs
This commit is contained in:
14
javascript/ql/src/meta/analysis-quality/DomValueRefs.ql
Normal file
14
javascript/ql/src/meta/analysis-quality/DomValueRefs.ql
Normal 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())
|
||||
@@ -1,4 +0,0 @@
|
||||
import javascript
|
||||
import CallGraphQuality
|
||||
|
||||
select projectRoot(), count(DOM::domValueRef())
|
||||
Reference in New Issue
Block a user