top-complexity: lower the max allowed complexity to 60

Closes #20706
This commit is contained in:
Daniel Stenberg 2026-02-24 11:21:20 +01:00
parent ba685ad5e5
commit 6ef6fb84ac
No known key found for this signature in database
GPG Key ID: 5CC908FDB71E12C2

View File

@ -78,8 +78,9 @@ my %whitelist = (
);
# functions with complexity above this level causes the function to return error
my $cutoff = 70;
# complexity above this level is treated as an error and contributes to the
# script's exit code
my $cutoff = 60;
# show this many from the top
my $top = $ARGV[0] ? $ARGV[0] : 25;