Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Problem/Motivation
Few methods of module are too complex with lot of conditions. We need to reduce the general complexity of module to do that two refactor techniques are usefull :
Proposed resolution
Fix following Methods too complex :
Comment | File | Size | Author |
---|---|---|---|
#7 | 2895392-refactor_and_avoid_complexity_of_methods-4.patch | 14.1 KB | woprrr |
| |||
#3 | 2895392-refactor_and_avoid_complexity_of_methods-3.patch | 14.08 KB | pancho29 |
Comments
Comment #2
pancho29 CreditAttribution: pancho29 commentedComment #3
pancho29 CreditAttribution: pancho29 at gcoop Cooperativa de Software Libre commentedAttached patch refactoring those functions.
Comment #4
pancho29 CreditAttribution: pancho29 at gcoop Cooperativa de Software Libre commentedComment #5
pancho29 CreditAttribution: pancho29 at gcoop Cooperativa de Software Libre commentedComment #7
woprrr CreditAttribution: woprrr as a volunteer and at NeoLynk commentedI just process a re-roll of your purpose of patch. I take you my opinion next.
Comment #8
woprrr CreditAttribution: woprrr as a volunteer and at NeoLynk commentedAborded this will resolve in 9.x rework.