mirror of
https://github.com/github/codeql.git
synced 2026-02-19 08:23:45 +01:00
rb/summary/number-of-files-extracted-with-errors
This commit is contained in:
13
ql/src/queries/summary/NumberOfFilesExtractedWithErrors.ql
Normal file
13
ql/src/queries/summary/NumberOfFilesExtractedWithErrors.ql
Normal file
@@ -0,0 +1,13 @@
|
||||
/**
|
||||
* @id rb/summary/number-of-files-extracted-with-errors
|
||||
* @name Total number of files that were extracted with errors
|
||||
* @description The total number of Ruby code files that we extracted, but where
|
||||
* at least one extraction error occurred in the process.
|
||||
* @kind metric
|
||||
* @tags summary
|
||||
*/
|
||||
|
||||
import ruby
|
||||
import codeql_ruby.Diagnostics
|
||||
|
||||
select count(File f | exists(ExtractionError e | e.getLocation().getFile() = f))
|
||||
Reference in New Issue
Block a user