add cyclomatic complexity config
remove unused parameters