From df44e4dd3c94b83a9f0df8794fbba401bce9513d Mon Sep 17 00:00:00 2001 From: Steve Hancock Date: Mon, 5 Jun 2023 18:20:16 -0700 Subject: [PATCH] increase max_mccabe --- .perlcriticrc | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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 -- 2.39.5