From: Steve Hancock Date: Tue, 6 Jun 2023 01:20:16 +0000 (-0700) Subject: increase max_mccabe X-Git-Tag: 20230309.03~3 X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=df44e4dd3c94b83a9f0df8794fbba401bce9513d;p=perltidy.git increase max_mccabe --- diff --git a/.perlcriticrc b/.perlcriticrc index c3ad3778..fc4d4cef 100644 --- a/.perlcriticrc +++ b/.perlcriticrc @@ -76,9 +76,10 @@ short_subroutine_statements = 2 # This policy is very useful in locating complex code which might benefit from # simplification. The max value has to be set rather high here because there -# are some routines in Formatter.pm with high mccabe values. +# are some critical loops in Formatter.pm whose high mccabe values cannot +# be reduced without significantly increasing run time. [Subroutines::ProhibitExcessComplexity] -max_mccabe=125 +max_mccabe=180 # This policy can be very helpful for locating complex code, but sometimes # deep nests are the best option, especially in error handling and debug