Cosmos Pay 1.0.13

Does Cosmos Pay work with WordPress 6.1.1 and PHP 8.1.12? A smoke test was performed on .

Summary

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

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

Page speed impact: 0.054 seconds
The average page load time increased by this amount after activating the plugin.

Environment
WordPress version6.1.1
PHP version8.1.12
MySQL version10.6.10
PHP memory limit512M
Plugin Info
Last updated
Active installs <10
WordPress.org page https://wordpress.org/plugins/cosmos-pay/
Badges

WordPress compatibility badge PHP compatibility badge

Get badge code

Pages 3

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=cosmos-pay%2Fcosmos-woocommerce.php&plugin_status=all&paged=1&s&_wpnonce=f9cafb1f9c
Aspect after-activation
HTTP status 200
Load time 0.244 s
Memory usage 3.01 MiB
JS errors None
Resource errors None

Cosmos Pay

Page screenshot: Cosmos Pay
URL /wp-admin/admin.php?page=cosmos-pay-settings
Aspect menu-item
HTTP status 200
Load time 0.230 s
Memory usage N/A
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.957 s
Memory usage 2.96 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.268 s0.233 s-0.035 s3.05 MiB3.07 MiB+ 20.22 KiB
/wp-admin/edit.php0.176 s0.181 s+0.005 s3.07 MiB3.09 MiB+ 20.22 KiB
/wp-admin/post-new.php0.745 s0.966 s+0.221 s4.97 MiB4.99 MiB+ 24.59 KiB
/wp-admin/upload.php0.524 s0.284 s-0.240 s2.99 MiB2.99 MiB+ 2.81 KiB
/wp-admin/options-writing.php0.135 s0.130 s-0.005 s2.99 MiB2.98 MiB- 11.16 KiB
/wp-admin/media-new.php0.251 s0.292 s+0.041 s2.97 MiB2.98 MiB+ 15 KiB
/wp-admin/edit-tags.php?taxonomy=category0.167 s0.411 s+0.244 s2.98 MiB3 MiB+ 20.17 KiB
/wp-admin/post-new.php?post_type=page0.616 s0.669 s+0.053 s4.96 MiB4.98 MiB+ 20.17 KiB
/wp-admin/options-discussion.php0.196 s0.221 s+0.025 s2.98 MiB2.98 MiB+ 2.68 KiB
/wp-admin/edit-comments.php0.198 s0.194 s-0.004 s3 MiB3 MiB+ 2.84 KiB
/0.270 s0.556 s+0.286 s2.94 MiB2.96 MiB+ 18.96 KiB
Average 0.322 s0.376 s+0.054 s3.35 MiB3.37 MiB+ 12.41 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
CSS
Markdown
Language % Lines of code Comment lines Files
PHP46.4%96761317
JavaScript26.6%55415511
CSS13.5%281382
Markdown8.9%18603
HTML3.4%70111
JSON1.3%2701
Total 2,085 817 35

PHP Code Analysis | More results »

Lines of code 339
Total complexity 59
Median class complexity 6.5
Median method complexity 1.0
Most complex class Cosmos_Woocommerce_Admin
Most complex function Cosmos_Woocommerce_Public::cosmos_pay_form()
Classes 8
Methods 34
Functions 3

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 2

PHP Error Log 9 lines

[08-Dec-2022 19:19:48 UTC] PHP Warning:  Attempt to read property "payment_gateways" on null in /wp-content/plugins/cosmos-pay/admin/class-cosmos-woocommerce-admin.php on line 142
[08-Dec-2022 19:19:48 UTC] PHP Fatal error:  Uncaught Error: Call to a member function payment_gateways() on null in /wp-content/plugins/cosmos-pay/admin/class-cosmos-woocommerce-admin.php:142
Stack trace:
#0 /wp-includes/class-wp-hook.php(308): Cosmos_Woocommerce_Admin->get_cosmos_settings()
#1 /wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters()
#2 /wp-includes/plugin.php(517): WP_Hook->do_action()
#3 /wp-admin/admin.php(259): do_action()
#4 {main}
  thrown in /wp-content/plugins/cosmos-pay/admin/class-cosmos-woocommerce-admin.php on line 142
See also: All tests for this plugin