Skip to content

Commit 3b7ecd5

Browse files
committed
JS: Add NumModules metric
1 parent d0d3882 commit 3b7ecd5

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
/**
2+
* @name Modules
3+
* @description The number of modules in the snapshot.
4+
* @kind metric
5+
* @metricType project
6+
* @metricAggregate sum
7+
* @tags meta
8+
* @id js/meta/modules
9+
*/
10+
11+
import javascript
12+
import CallGraphQuality
13+
14+
select projectRoot(), count(Module mod)

0 commit comments

Comments
 (0)