CodeQL queries 1.25
Skip to end of metadata
Go to start of metadata

Finds functions with more than ten parameters

import javascript

from Function f
where f.getNumParameter() > 10
select f