Cosmos Pay 1.0.3

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

Summary

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

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

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

Environment
WordPress version6.0.2
PHP version7.4.8
MySQL version8.0.21
PHP memory limit256M
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=aa90c220b9
Aspect after-activation
HTTP status 200
Load time 0.321 s
Memory usage 3.72 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 1.377 s
Memory usage 3.71 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 1.716 s
Memory usage 3.58 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.348 s0.284 s-0.064 s3.72 MiB3.74 MiB+ 20.61 KiB
/wp-admin/edit.php0.197 s0.202 s+0.005 s3.76 MiB3.78 MiB+ 19.9 KiB
/wp-admin/post-new.php0.778 s0.984 s+0.206 s5.55 MiB5.58 MiB+ 28.97 KiB
/wp-admin/upload.php0.589 s0.352 s-0.237 s3.69 MiB3.7 MiB+ 19.48 KiB
/wp-admin/options-writing.php0.329 s0.156 s-0.173 s3.62 MiB3.64 MiB+ 25.8 KiB
/wp-admin/media-new.php0.260 s0.312 s+0.052 s3.66 MiB3.68 MiB+ 19.65 KiB
/wp-admin/edit-tags.php?taxonomy=category0.198 s0.266 s+0.068 s3.69 MiB3.71 MiB+ 20.55 KiB
/wp-admin/post-new.php?post_type=page0.624 s0.807 s+0.183 s5.54 MiB5.56 MiB+ 20.55 KiB
/wp-admin/options-discussion.php0.253 s0.259 s+0.006 s3.6 MiB3.62 MiB+ 19.34 KiB
/wp-admin/edit-comments.php0.233 s0.213 s-0.020 s3.7 MiB3.72 MiB+ 19.45 KiB
/0.287 s1.044 s+0.757 s3.55 MiB3.58 MiB+ 27.84 KiB
Average 0.372 s0.444 s+0.071 s4.01 MiB4.03 MiB+ 22.01 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
PHP51.2%98059216
JavaScript20.4%39115610
CSS13.6%260382
Markdown9.7%18603
HTML3.7%70111
JSON1.4%2701
Total 1,914 797 33

PHP Code Analysis | More results »

Lines of code 592
Total complexity 63
Median class complexity 7.5
Median method complexity 1.0
Most complex class Cosmos_Woocommerce_Admin
Most complex function WC_Gateway_Cosmos::init_form_fields()
Classes 8
Methods 34
Functions 4

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 3

PHP Error Log 1 lines

[11-Oct-2022 14:30:56 UTC] PHP Warning:  session_start(): Cannot start session when headers already sent in /wp-content/plugins/cosmos-pay/admin/partials/cosmos-settings.php on line 3
See also: All tests for this plugin