Skip to content

Commit 88a257f

Browse files
ihsinmeMathiasVP
andauthored
Apply suggestions from code review
Co-authored-by: Mathias Vorreiter Pedersen <[email protected]>
1 parent b6bcf9f commit 88a257f

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

cpp/ql/src/experimental/Security/CWE/CWE-1041/FindWrapperFunctions.ql

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
/**
2-
* @name Find Wrapper Functions
3-
* @description --Finding for function calls for which wrapper functions exist.
2+
* @name Missed opportunity to call wrapper function
3+
* @description If a wrapper function is defined for a given function, any call to the given function should be via the wrapper function.
44
* @kind problem
5-
* @id cpp/find-wrapper-functions
5+
* @id cpp/call-to-function-without-wrapper
66
* @problem.severity warning
77
* @precision medium
88
* @tags correctness
@@ -137,4 +137,4 @@ where
137137
fc.getEnclosingFunction() != fn and
138138
fc.getEnclosingFunction().getMetrics().getNumberOfCalls() > fn.getMetrics().getNumberOfCalls()
139139
)
140-
select fc, "consider changing the call to $@", fn, fn.getName()
140+
select fc, "Consider changing the call to $@", fn, fn.getName()

0 commit comments

Comments
 (0)