On Wed, May 14, 2025 at 11:53:35PM +0200, Daniel Stenberg wrote:
> Aggressive! We currently have no less than 326 functions scoring over 15. Out 
> of 3436, so about
> 9.5% of all functions.

A graph showing a count or percentage of functions at a few McCabe complexity
levels (10, 15, 100) might be useful. Or, adding a p90 graph to the current
complexity graph would show essentially where these >= 15 functions stand
today.

> I think maybe a challenge with a whitelist is that functions sometimes change 
> names.

True, but large, complex functions are probably less likely to change.
Doubling the whitelist length to 14 would bring us down to a complexity limit
of 80 with IMHO a still manageable whitelist.

Dan
-- 
Unsubscribe: https://lists.haxx.se/mailman/listinfo/curl-library
Etiquette:   https://curl.se/mail/etiquette.html

Reply via email to