mirror of
https://github.com/github/codeql.git
synced 2026-04-25 08:45:14 +02:00
C++: Limit number of errors/includes to 50
This commit is contained in:
@@ -9,5 +9,5 @@
|
||||
import Metrics
|
||||
|
||||
from CppMetrics::ErrorCount m
|
||||
where RankMetric<CppMetrics::ErrorCount>::getRank(m) <= 500
|
||||
where RankMetric<CppMetrics::ErrorCount>::getRank(m) <= 50
|
||||
select m.toString(), m.getValue()
|
||||
|
||||
@@ -9,5 +9,5 @@
|
||||
import Metrics
|
||||
|
||||
from CppMetrics::MissingIncludeCount e
|
||||
where RankMetric<CppMetrics::MissingIncludeCount>::getRank(e) <= 500
|
||||
where RankMetric<CppMetrics::MissingIncludeCount>::getRank(e) <= 50
|
||||
select e.getIncludeText(), e.getValue()
|
||||
|
||||
@@ -9,5 +9,5 @@
|
||||
import Metrics
|
||||
|
||||
from CppMetrics::SucceededIncludeCount m
|
||||
where RankMetric<CppMetrics::SucceededIncludeCount>::getRank(m) <= 500
|
||||
where RankMetric<CppMetrics::SucceededIncludeCount>::getRank(m) <= 50
|
||||
select m.getIncludeText(), m.getValue()
|
||||
|
||||
Reference in New Issue
Block a user