Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit a7873f9

Browse files
committed
rb/summary/number-of-files-extracted-with-errors
1 parent 31b8913 commit a7873f9

1 file changed

Lines changed: 13 additions & 0 deletions

File tree

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
/**
2+
* @id rb/summary/number-of-files-extracted-with-errors
3+
* @name Total number of files that were extracted with errors
4+
* @description The total number of Ruby code files that we extracted, but where
5+
* at least one extraction error occurred in the process.
6+
* @kind metric
7+
* @tags summary
8+
*/
9+
10+
import ruby
11+
import codeql_ruby.Diagnostics
12+
13+
select count(File f | exists(ExtractionError e | e.getLocation().getFile() = f))

0 commit comments

Comments
 (0)