mirror of
https://github.com/curl/curl.git
synced 2026-08-26 09:13:32 +03:00
GHA: add a job to check function complexity
- Done with the new top-complexity script which uses the pmccabe tool. - Any function scoring over 100 makes the test fail - The script outputs all functions scoring over 70 - Two >100 functions are whitelisted by name, but they are not allowed to increase their scores. Closes #17398
This commit is contained in:
parent
4a2bd8e458
commit
203b4349af
3 changed files with 146 additions and 1 deletions
|
|
@ -25,7 +25,7 @@
|
|||
EXTRA_DIST = coverage.sh completion.pl firefox-db2pem.sh checksrc.pl checksrc-all.sh \
|
||||
mk-ca-bundle.pl mk-unity.pl schemetable.c cd2nroff nroff2cd cdall cd2cd managen \
|
||||
dmaketgz maketgz release-tools.sh verify-release cmakelint.sh mdlinkcheck \
|
||||
CMakeLists.txt pythonlint.sh randdisable wcurl
|
||||
CMakeLists.txt pythonlint.sh randdisable wcurl top-complexity
|
||||
|
||||
dist_bin_SCRIPTS = wcurl
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue