JS: Remove the other summary queries

This commit is contained in:
Asger Feldthaus
2021-03-19 16:42:43 +00:00
parent 0c0556bb38
commit 347cbe422d
4 changed files with 0 additions and 44 deletions

View File

@@ -1,10 +0,0 @@
/**
* @name Total source files
* @description The total number of source files.
* @kind metric
* @id js/metrics/files
*/
import javascript
select count(File f | not f.getATopLevel().isExterns())

View File

@@ -1,10 +0,0 @@
/**
* @name Total lines of text
* @description The total number of lines of text across all source files.
* @kind metric
* @id js/metrics/lines
*/
import javascript
select sum(File f | not f.getATopLevel().isExterns() | f.getNumberOfLines())

View File

@@ -1,12 +0,0 @@
/**
* @name Lines of code per source file
* @description The number of lines of code for each source file.
* @kind metric
* @id js/metrics/lines-of-code-per-file
*/
import javascript
from File f
where not f.getATopLevel().isExterns()
select f, f.getNumberOfLinesOfCode()

View File

@@ -1,12 +0,0 @@
/**
* @name Lines of text per source file
* @description The number of lines of text for each source file.
* @kind metric
* @id js/metrics/lines-per-file
*/
import javascript
from File f
where not f.getATopLevel().isExterns()
select f, f.getNumberOfLines()