nPath complexity is too high

Created on 7 April 2015, over 10 years ago
Updated 30 May 2025, 4 months ago

I am working on code refactoring on one of my Drupal projects, whereupon I discovered that the nPath complexity of function commerce_cop_edit_payment_form() in commerce_cop.admin.inc file is showing 2343750 and the threshold is defined as only 200. It is much too high and needs to be fixed.

🐛 Bug report
Status

Closed: outdated

Version

1.0

Component

Code

Created by

🇮🇳India anuragsharmam

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • 🇮🇹Italy apaderno Brescia, 🇮🇹

    I am closing this issue, which was created for a project version compatible with a Drupal release no longer supported. Feel free to re-open the issue, if it is still relevant for a project version compatible with a supported Drupal release.

Production build 0.71.5 2024