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 :

  1. Decompose Conditional
  2. Extract Method

Proposed resolution

Fix following Methods too complex :

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

woprrr created an issue. See original summary.

pancho29’s picture

Assigned: Unassigned » pancho29
pancho29’s picture

Attached patch refactoring those functions.

pancho29’s picture

Assigned: pancho29 » Unassigned
pancho29’s picture

Status: Active » Needs review

Status: Needs review » Needs work
woprrr’s picture

Status: Needs work » Needs review
FileSize
14.1 KB

I just process a re-roll of your purpose of patch. I take you my opinion next.

woprrr’s picture

Status: Needs review » Closed (won't fix)
Issue tags: -

Aborded this will resolve in 9.x rework.