We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1c27c5e commit b4846dcCopy full SHA for b4846dc
cpp/ql/src/Best Practices/NVIHub.ql
@@ -4,7 +4,7 @@
4
* to enforce invariants that should hold for the whole hierarchy.
5
* This is especially problematic in classes with many
6
* dependencies or dependents.
7
- * @kind table
+ * @kind problem
8
* @id cpp/nvi-hub
9
* @problem.severity recommendation
10
* @precision low
@@ -22,4 +22,4 @@ where f.hasSpecifier("public") and
22
fclass = f.getDeclaringType() and
23
hubIndex = fclass.getMetrics().getAfferentCoupling() * fclass.getMetrics().getEfferentCoupling() and
24
hubIndex > 100
25
-select f.getFile(), f, "Avoid having public virtual methods (NVI idiom)"
+select f, "Avoid having public virtual methods (NVI idiom)"
0 commit comments