Files
codeql/cpp/ql/src/Telemetry/CompilerErrors.ql
2024-11-11 17:16:42 +00:00

14 lines
324 B
Plaintext

/**
* @name Compiler errors
* @description A count of all compiler errors, grouped by error text.
* @kind metric
* @tags summary telemetry
* @id cpp/telemetry/compiler-errors
*/
import Metrics
from CppMetrics::ErrorCount m
where RankMetric<CppMetrics::ErrorCount>::getRank(m) <= 50
select m.toString(), m.getValue()