moznion/cccc

Install the cccc multi-language complexity analyzer from a GitHub release, and optionally run it as a Cognitive/Cyclomatic complexity gate.

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stale
License
None
namedescriptionrequireddefault
versionRelease tag to install (e.g. "v1.0.0"), or "latest" to resolve the most recent release.nolatest
repositoryRepository to fetch the cccc release from.nomoznion/cccc
github-tokenToken used to query the GitHub API (avoids rate limits when resolving "latest" and downloading assets).no${{ github.token }}
pathFiles or directories to analyze (whitespace-separated). When empty, the action only installs the binary and adds it to PATH.no""
configPath to an explicit cccc config file (cccc.toml). When empty, cccc auto-discovers cccc.toml / .cccc.toml by walking up from the working directory (unless `no-config` is set).no""
no-configSkip config-file discovery and loading entirely.nofalse
top-cognitiveShow only the N most cognitively-complex functions across all files.no""
top-cyclomaticShow only the N most cyclomatically-complex functions across all files.no""
argsExtra raw arguments appended verbatim to the cccc invocation. Use this to pass any option not exposed above (e.g. "--max-cognitive 15 --lang es").no""
output-fileIf set, also write cccc output to this file (gate exit code preserved).no""
namedescription
versionThe release tag that was installed.
binAbsolute path to the installed cccc binary.