Skip to content

PayPal Commerce#2678

Draft
Crabcyborg wants to merge 302 commits intomasterfrom
paypal
Draft

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

Conversation

@Crabcyborg
Copy link
Copy Markdown
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
Copy Markdown

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.

@coderabbitai
Copy link
Copy Markdown
Contributor

coderabbitai bot commented Jan 14, 2026

Important

Review skipped

Draft detected.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro

Run ID: c21b4c26-6a27-4946-8e0c-6969a5de391d

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch paypal

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

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

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
Copy Markdown

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.

*
* @return array Array of products with prices and quantities.
*/
private static function get_pricing_data_from_posted_values( $form_id ) {
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

`get_pricing_data_from_posted_values` has a cyclomatic complexity of 16 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