]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
top-complexity: lower max allowed complexity threshold to 90
authorDaniel Stenberg <daniel@haxx.se>
Fri, 20 Jun 2025 21:31:33 +0000 (23:31 +0200)
committerDaniel Stenberg <daniel@haxx.se>
Sat, 21 Jun 2025 08:52:15 +0000 (10:52 +0200)
Down from 100. Also make it show all functions with complexity > 65
(down from 70).

Closes #17689

scripts/top-complexity

index 9bd771048f21568da03dbd8e68ebb4fcaebd9910..27c23d2c743c36e61b89247ebb8b95659aad1ca1 100755 (executable)
@@ -79,10 +79,10 @@ my %whitelist = (
     );
 
 # functions with complexity above this level causes the function to return error
-my $cutoff = 100;
+my $cutoff = 90;
 
 # functions above this complexity level are shown
-my $show = 70;
+my $show = 65;
 
 my $error = 0;
 my %where;