mirror of
https://github.com/github/codeql.git
synced 2026-05-01 03:35:13 +02:00
CPP: Tag metric filter queries.
This commit is contained in:
@@ -3,6 +3,7 @@
|
||||
* @description This filter demonstrates how to change the value
|
||||
* computed by the metric that it is filtering. In this
|
||||
* example the value is increased by 10.
|
||||
* @tags filter
|
||||
*/
|
||||
import cpp
|
||||
import external.MetricFilter
|
||||
|
||||
1
cpp/ql/src/external/tests/MetricFilter.ql
vendored
1
cpp/ql/src/external/tests/MetricFilter.ql
vendored
@@ -1,6 +1,7 @@
|
||||
/**
|
||||
* @name Metric filter
|
||||
* @description Only include results in large files (200) lines of code.
|
||||
* @tags filter
|
||||
*/
|
||||
import cpp
|
||||
import external.MetricFilter
|
||||
|
||||
@@ -4,6 +4,7 @@
|
||||
* located in files that are maintained manually.
|
||||
* @kind treemap
|
||||
* @id cpp/autogenerated-for-metric-filter
|
||||
* @tags filter
|
||||
*/
|
||||
|
||||
import cpp
|
||||
|
||||
@@ -6,6 +6,7 @@
|
||||
* before the snapshot.
|
||||
* @kind treemap
|
||||
* @id cpp/recent-defects-for-metric-filter
|
||||
* @tags filter
|
||||
* @deprecated
|
||||
*/
|
||||
import cpp
|
||||
|
||||
Reference in New Issue
Block a user