Cosmos Pay 1.0.0

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

Page speed impact: 0.109 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=1bb25a4d71
Aspect after-activation
HTTP status 200
Load time 0.292 s
Memory usage 3.72 MiB
JS errors None
Resource errors None

Cosmos-pay

Page screenshot: Cosmos-pay
URL /wp-admin/admin.php?page=cosmospay-woocommerce-settings
Aspect menu-item
HTTP status 200
Load time 0.789 s
Memory usage 3.69 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.733 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.329 s0.430 s+0.101 s3.72 MiB3.74 MiB+ 20.65 KiB
/wp-admin/edit.php0.184 s0.198 s+0.014 s3.76 MiB3.78 MiB+ 19.94 KiB
/wp-admin/post-new.php0.954 s1.226 s+0.272 s5.55 MiB5.58 MiB+ 29.01 KiB
/wp-admin/upload.php0.463 s0.433 s-0.030 s3.69 MiB3.71 MiB+ 19.52 KiB
/wp-admin/options-writing.php0.173 s0.192 s+0.019 s3.62 MiB3.64 MiB+ 25.84 KiB
/wp-admin/media-new.php0.444 s0.214 s-0.230 s3.66 MiB3.68 MiB+ 19.69 KiB
/wp-admin/edit-tags.php?taxonomy=category0.197 s0.199 s+0.002 s3.69 MiB3.71 MiB+ 20.59 KiB
/wp-admin/post-new.php?post_type=page0.904 s1.052 s+0.148 s5.54 MiB5.56 MiB+ 20.59 KiB
/wp-admin/options-discussion.php0.222 s0.340 s+0.118 s3.6 MiB3.62 MiB+ 19.38 KiB
/wp-admin/edit-comments.php0.221 s0.229 s+0.008 s3.7 MiB3.72 MiB+ 19.54 KiB
/0.277 s1.056 s+0.779 s3.6 MiB3.58 MiB- 26.79 KiB
Average 0.397 s0.506 s+0.109 s4.01 MiB4.03 MiB+ 17.09 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%98159116
JavaScript20.4%39115610
CSS13.6%260382
Markdown9.7%18603
HTML3.7%70111
JSON1.4%2701
Total 1,915 796 33

PHP Code Analysis | More results »

Lines of code 594
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

[30-Sep-2022 10:54:28 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