Skip to content

PayPal Commerce#2678

Draft
Crabcyborg wants to merge 279 commits intomasterfrom
paypal
Draft

PayPal Commerce#2678
Crabcyborg wants to merge 279 commits intomasterfrom
paypal

Conversation

@Crabcyborg
Copy link
Contributor

@Crabcyborg Crabcyborg commented Dec 22, 2025

@Crabcyborg Crabcyborg marked this pull request as draft December 22, 2025 14:33
@Crabcyborg Crabcyborg changed the title Paypal PayPal Commerce Dec 22, 2025
@codecov
Copy link

codecov bot commented Dec 30, 2025

Codecov Report

❌ Patch coverage is 68.75000% with 5 lines in your changes missing coverage. Please review.
✅ Project coverage is 26.69%. Comparing base (94f2ce4) to head (4dc9125).
⚠️ Report is 9 commits behind head on master.

Files with missing lines Patch % Lines
formidable.php 71.42% 4 Missing ⚠️
classes/controllers/FrmHooksController.php 50.00% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff            @@
##             master    #2678   +/-   ##
=========================================
  Coverage     26.68%   26.69%           
  Complexity     8870     8870           
=========================================
  Files           145      145           
  Lines         29798    29785   -13     
=========================================
- Hits           7951     7950    -1     
+ Misses        21847    21835   -12     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

*
* @return array
*/
public static function trigger_gateway( $action, $entry, $form ) {
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

`trigger_gateway` has a cyclomatic complexity of 26 with "Very high" risk


A function with high cyclomatic complexity can be hard to understand and
maintain. Cyclomatic complexity is a software metric that measures the number of
independent paths through a function. A higher cyclomatic complexity indicates
that the function has more decision points and is more complex.

*
* @return array
*/
public static function trigger_gateway( $action, $entry, $form ) {
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

`trigger_gateway` has a cyclomatic complexity of 19 with "High" risk


A function with high cyclomatic complexity can be hard to understand and
maintain. Cyclomatic complexity is a software metric that measures the number of
independent paths through a function. A higher cyclomatic complexity indicates
that the function has more decision points and is more complex.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant