Cosmos Pay 1.0.2

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: 17.05 KiB
The average PHP memory usage increased by this amount after activating by the plugin.

Page speed impact: 0.091 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=3eb4f7690e
Aspect after-activation
HTTP status 200
Load time 0.307 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.291 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.771 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.334 s0.268 s-0.066 s3.72 MiB3.74 MiB+ 20.61 KiB
/wp-admin/edit.php0.195 s0.209 s+0.014 s3.76 MiB3.78 MiB+ 19.9 KiB
/wp-admin/post-new.php0.775 s0.964 s+0.189 s5.55 MiB5.58 MiB+ 28.97 KiB
/wp-admin/upload.php0.388 s0.344 s-0.044 s3.69 MiB3.7 MiB+ 19.48 KiB
/wp-admin/options-writing.php0.163 s0.156 s-0.007 s3.62 MiB3.64 MiB+ 25.8 KiB
/wp-admin/media-new.php0.384 s0.319 s-0.065 s3.66 MiB3.68 MiB+ 19.65 KiB
/wp-admin/edit-tags.php?taxonomy=category0.223 s0.257 s+0.034 s3.69 MiB3.71 MiB+ 20.55 KiB
/wp-admin/post-new.php?post_type=page0.699 s0.808 s+0.109 s5.54 MiB5.56 MiB+ 20.55 KiB
/wp-admin/options-discussion.php0.221 s0.277 s+0.056 s3.6 MiB3.62 MiB+ 19.34 KiB
/wp-admin/edit-comments.php0.215 s0.219 s+0.004 s3.7 MiB3.72 MiB+ 19.5 KiB
/0.281 s1.054 s+0.773 s3.6 MiB3.58 MiB- 26.8 KiB
Average 0.353 s0.443 s+0.091 s4.01 MiB4.03 MiB+ 17.05 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

[06-Oct-2022 10:10:19 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