From bcb4ebffc30a4ae02b4e45ae96763eaa36aa77dd Mon Sep 17 00:00:00 2001 From: Geoffrey White <40627776+geoffw0@users.noreply.github.com> Date: Thu, 8 Nov 2018 16:45:35 +0000 Subject: [PATCH] CPP: Tag NVI queries. --- cpp/ql/src/Best Practices/NVI.ql | 4 +++- cpp/ql/src/Best Practices/NVIHub.ql | 3 +++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/cpp/ql/src/Best Practices/NVI.ql b/cpp/ql/src/Best Practices/NVI.ql index 5e5a20fd15a..723395769c3 100644 --- a/cpp/ql/src/Best Practices/NVI.ql +++ b/cpp/ql/src/Best Practices/NVI.ql @@ -4,7 +4,9 @@ * to enforce invariants that should hold for the whole hierarchy. * @kind problem * @id cpp/nvi - * @problem.severity warning + * @problem.severity recommendation + * @precision low + * @tags maintainability */ import cpp diff --git a/cpp/ql/src/Best Practices/NVIHub.ql b/cpp/ql/src/Best Practices/NVIHub.ql index 6d4600b68f9..8f87c89809a 100644 --- a/cpp/ql/src/Best Practices/NVIHub.ql +++ b/cpp/ql/src/Best Practices/NVIHub.ql @@ -6,6 +6,9 @@ * dependencies or dependents. * @kind table * @id cpp/nvi-hub + * @problem.severity recommendation + * @precision low + * @tags maintainability */ import cpp