SureCart 2.13.0

Does SureCart work with WordPress 6.4.2 and PHP 8.1.12? A smoke test was performed on .

Summary

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

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

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

Environment
WordPress version6.4.2
PHP version8.1.12
MySQL version10.6.10
PHP memory limit512M
Plugin Info
Last updated
Active installs 70,000+
WordPress.org page https://wordpress.org/plugins/surecart/
Badges

WordPress compatibility badge PHP compatibility badge

Get badge code

Pages 6

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=surecart%2Fsurecart.php&plugin_status=all&paged=1&s&_wpnonce=63fcb7e97d
Aspect after-activation
HTTP status 200
Load time 2.554 s
Memory usage 5.6 MiB
JS errors None
Resource errors None

SureCart

Page screenshot: SureCart
URL /wp-admin/admin.php?page=sc-getting-started
Aspect menu-item
HTTP status 200
Load time 0.802 s
Memory usage 5.27 MiB
JS errors None
Resource errors None

SureCart → Settings

Page screenshot: SureCart → Settings
URL /wp-admin/admin.php?page=sc-settings
Aspect menu-item
HTTP status 200
Load time 0.889 s
Memory usage 5.27 MiB
JS errors None
Resource errors None

Appearance → Template Parts

Page screenshot: Appearance → Template Parts
URL /wp-admin/site-editor.php?path=%2Fwp_template_part%2Fall
Requested URL /wp-admin/site-editor.php?path=/wp_template_part/all
Aspect menu-item
HTTP status 200
Load time 1.507 s
Memory usage 8.45 MiB
JS errors None
Resource errors None

Tools → Scheduled Actions

Page screenshot: Tools → Scheduled Actions
URL /wp-admin/tools.php?page=action-scheduler
Aspect menu-item
HTTP status 200
Load time 0.208 s
Memory usage 5.37 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.355 s
Memory usage 5.18 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.427 s0.441 s+0.014 s3.38 MiB5.43 MiB+ 2.05 MiB
/wp-admin/edit.php0.229 s0.267 s+0.038 s3.41 MiB5.47 MiB+ 2.06 MiB
/wp-admin/post-new.php1.034 s2.097 s+1.063 s5.46 MiB8.57 MiB+ 3.11 MiB
/wp-admin/upload.php0.578 s0.785 s+0.207 s3.32 MiB5.37 MiB+ 2.05 MiB
/wp-admin/options-writing.php0.217 s0.243 s+0.026 s3.32 MiB5.35 MiB+ 2.03 MiB
/wp-admin/media-new.php0.344 s0.313 s-0.031 s3.29 MiB5.35 MiB+ 2.05 MiB
/wp-admin/edit-tags.php?taxonomy=category0.197 s0.234 s+0.037 s3.31 MiB5.38 MiB+ 2.06 MiB
/wp-admin/post-new.php?post_type=page0.603 s2.541 s+1.938 s5.45 MiB8.56 MiB+ 3.11 MiB
/wp-admin/options-discussion.php0.224 s0.543 s+0.319 s3.3 MiB5.35 MiB+ 2.04 MiB
/wp-admin/edit-comments.php0.224 s0.438 s+0.214 s3.34 MiB5.38 MiB+ 2.05 MiB
/0.340 s0.315 s-0.025 s3.36 MiB5.18 MiB+ 1.82 MiB
Average 0.402 s0.747 s+0.345 s3.72 MiB5.94 MiB+ 2.22 MiB

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.

PO File
PHP
Language % Lines of code Comment lines Files
PO File81.5%187,860115,87423
PHP15.6%35,92126,106786
JSON2.6%5,9950121
CSS0.2%420412
SVG0.1%163111
Markdown0.1%15403
JavaScript0.0%5972
HTML0.0%29674
Total 230,601 142,059 962

PHP Code Analysis | More results »

Lines of code 32,362
Total complexity 5,413
Median class complexity 4.0
Median method complexity 1.0
Most complex class SureCart\Models\Model
Most complex function SureCartBlocks\Controllers\PaymentMethodController::create()
Classes 632
Methods 2,611
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.

Database Tables 2

Options wp_options 9

Custom Post Types 5

ID Name
scheduled-actionScheduled Actions
sc_formCheckout Forms
sc_cartCarts
sc_productSureCart Products
sc_collectionSureCart product collections

Roles 4

ID Name
sc_shop_managerSureCart Shop Manager
sc_shop_accountantSureCart Accountant
sc_shop_workerSureCart Shop Worker
sc_customerSureCart Customer

Capabilities 176

PHP Error Log 3 lines

[11-Dec-2023 22:13:26 UTC] PHP Warning:  Attempt to read property "wordpress_plugin_tracking_enabled" on null in /wp-content/plugins/surecart/app/src/WordPress/Assets/AssetsService.php on line 104
[11-Dec-2023 22:13:28 UTC] PHP Warning:  Attempt to read property "wordpress_plugin_tracking_enabled" on null in /wp-content/plugins/surecart/app/src/WordPress/Assets/AssetsService.php on line 104
[11-Dec-2023 22:13:38 UTC] PHP Warning:  Attempt to read property "wordpress_plugin_tracking_enabled" on null in /wp-content/plugins/surecart/app/src/WordPress/Assets/AssetsService.php on line 104
See also: All tests for this plugin, How to Hide SureCart Admin Menus