Files
codeql/cpp/ql/examples/toomanyparams.ql
2019-07-26 17:47:11 +02:00

15 lines
272 B
Plaintext

/**
* @name Functions with many parameters
* @description Finds functions or methods with more than 10 parameters
* @tags function
* method
* parameter
* argument
*/
import cpp
from Function fcn
where fcn.getNumberOfParameters() > 10
select fcn