WooCommerce PayPal Payments 2.2.0

Does WooCommerce PayPal Payments work with WordPress 6.3 and PHP 8.1.12? A smoke test was performed on .

Summary

Errors
1PHP warnings
No JavaScript exceptions
All test pages loaded successfully
No resource errors
Performance

Memory usage: 9.92 KiB
The average PHP memory usage increased by this amount after activating by the plugin.

Page speed impact: insignificant.
The plugin didn't make the site noticeably slower.

Environment
WordPress version6.3
PHP version8.1.12
MySQL version10.6.10
PHP memory limit512M
Plugin Info
Last updated
Active installs 600,000+
WordPress.org page https://wordpress.org/plugins/woocommerce-paypal-payments/
Badges

WordPress compatibility badge PHP compatibility badge

Get badge code

Pages 2

Plugins ‹ Test site — WordPress

Page screenshot: Plugins ‹ Test site — WordPress
URL /wp-admin/plugins.php?plugin_status=all&paged=1&s
Requested URL /wp-admin/plugins.php?action=activate&plugin=woocommerce-paypal-payments%2Fwoocommerce-paypal-payments.php&plugin_status=all&paged=1&s&_wpnonce=f9999146aa
Aspect after-activation
HTTP status 200
Load time 0.291 s
Memory usage 2.78 MiB
JS errors None
Resource errors None

Test site – Just another WordPress site

Page screenshot: Test site – Just another WordPress site
URL /
Aspect front-page
HTTP status 200
Load time 0.179 s
Memory usage 3.14 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.354 s0.291 s-0.063 s2.82 MiB2.84 MiB+ 16.11 KiB
/wp-admin/edit.php0.205 s0.202 s-0.003 s2.85 MiB2.86 MiB+ 15.74 KiB
/wp-admin/post-new.php0.809 s0.657 s-0.152 s5.21 MiB5.23 MiB+ 20.48 KiB
/wp-admin/upload.php0.863 s0.562 s-0.301 s2.77 MiB2.77 MiB+ 856 bytes
/wp-admin/options-writing.php0.259 s0.260 s+0.001 s2.76 MiB2.76 MiB- 7.2 KiB
/wp-admin/media-new.php0.291 s0.304 s+0.013 s2.74 MiB2.75 MiB+ 13.02 KiB
/wp-admin/edit-tags.php?taxonomy=category0.208 s0.239 s+0.031 s2.76 MiB2.77 MiB+ 16.06 KiB
/wp-admin/post-new.php?post_type=page0.755 s0.689 s-0.066 s5.21 MiB5.22 MiB+ 16.06 KiB
/wp-admin/options-discussion.php0.239 s0.305 s+0.066 s2.75 MiB2.75 MiB+ 1.33 KiB
/wp-admin/edit-comments.php0.439 s0.495 s+0.056 s2.78 MiB2.78 MiB- 1.3 KiB
/0.368 s0.201 s-0.167 s3.13 MiB3.14 MiB+ 17.97 KiB
Average 0.435 s0.382 s-0.053 s3.25 MiB3.26 MiB+ 9.92 KiB

Code Statistics

Note: Third-party libraries and minified JS/CSS files are excluded from these statistics where possible, so the numbers you see here may be lower than those reported by other tools.

PHP
JavaScript
Language % Lines of code Comment lines Files
PHP87.1%28,50516,034386
JavaScript10.9%3,57114660
SVG1.1%363221
Sass0.8%26906
CSS0.0%606
Total 32,714 16,182 479

PHP Code Analysis | More results »

Lines of code 22,361
Total complexity 3,671
Median class complexity 8.0
Median method complexity 1.0
Most complex class WooCommerce\PayPalCommerce\Button\Assets\SmartButton
Most complex function WooCommerce\PayPalCommerce\WcGateway\Gateway\PayUponInvoice\PayUponInvoice::init()
Classes 279
Methods 1,243
Functions 6

Additions

Things that the plugin adds to the site. This section is not intended to be comprehensive. The test tool only looks for a few specific types of added content.

Options wp_options 1

PHP Error Log 1 lines

[09-Aug-2023 04:01:59 UTC] PHP Warning:  Constant PPCP_FLAG_SUBSCRIPTIONS_API already defined in /wp-content/plugins/woocommerce-paypal-payments/woocommerce-paypal-payments.php on line 45
See also: All tests for this plugin