mirror of
https://github.com/curl/curl.git
synced 2026-06-24 06:05:37 +03:00
tool_operate: split up single_transfer
Complexity reduced from 124 to 83 Remove whitelisting of this function from the complexity script. Closes #17437
This commit is contained in:
parent
65e4444d67
commit
ed07f59841
2 changed files with 299 additions and 257 deletions
|
|
@ -75,8 +75,7 @@ my @output=`$cmd`;
|
|||
|
||||
# these functions can have these scores, but not higher
|
||||
my %whitelist = (
|
||||
'getparameter' => 142,
|
||||
'single_transfer' => 124
|
||||
'getparameter' => 142
|
||||
);
|
||||
|
||||
# functions with complexity above this level causes the function to return error
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue