mirror of
https://github.com/github/codeql.git
synced 2025-12-16 16:53:25 +01:00
15 lines
275 B
Plaintext
15 lines
275 B
Plaintext
/**
|
|
* @id py/examples/too-many-params
|
|
* @name Functions with many parameters
|
|
* @description Finds functions with more than 7 parameters
|
|
* @tags function
|
|
* parameter
|
|
* argument
|
|
*/
|
|
|
|
import python
|
|
|
|
from Function fcn
|
|
where count(fcn.getAnArg()) > 7
|
|
select fcn
|