ShareYourCart 1.11.7

Does ShareYourCart work with WordPress 6.4.3 and PHP 8.1.12? A smoke test was performed on .

Summary

Errors
54PHP deprecation warnings
3Unrecognized messages in the PHP error log
1JavaScript exceptions
All test pages loaded successfully
No resource errors
Performance

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

Page speed impact: insignificant.
The plugin didn't make the site noticeably slower.

Environment
WordPress version6.4.3
PHP version8.1.12
MySQL version10.6.10
PHP memory limit512M
Plugin Info
Last updated
Active installs 100+
WordPress.org page https://wordpress.org/plugins/shareyourcart/
Badges

WordPress compatibility badge PHP compatibility badge

Get badge code

Pages 5

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=shareyourcart%2Fshareyourcart.php&plugin_status=all&paged=1&s&_wpnonce=3ac9fb7d27
Aspect after-activation
HTTP status 200
Load time 0.437 s
Memory usage 3.38 MiB
JS errors None
Resource errors None

ShareYourCart

Page screenshot: ShareYourCart
URL /wp-admin/admin.php?page=class.shareyourcart-wp.php
Aspect menu-item
HTTP status 200
Load time 0.346 s
Memory usage 3.43 MiB
JS errors
[
    {
        "message": "TypeError: Cannot read properties of null (reading 'addEventListener')\n    at window.onload (/wp-admin/admin.php?page=class.shareyourcart-wp.php:62:36)",
        "trace": null,
        "code": null
    }
]
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.262 s
Memory usage 3.36 MiB
JS errors None
Resource errors None

Add New Post ‹ Test site — WordPress

Page screenshot: Add New Post ‹ Test site — WordPress
URL /wp-admin/post-new.php
Aspect new-meta-boxes
HTTP status 200
Load time 0.621 s
Memory usage 5.52 MiB
JS errors None
Resource errors None

Add New Page ‹ Test site — WordPress

Page screenshot: Add New Page ‹ Test site — WordPress
URL /wp-admin/post-new.php?post_type=page
Aspect new-meta-boxes
HTTP status 200
Load time 0.615 s
Memory usage 5.51 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.408 s0.361 s-0.047 s3.38 MiB3.44 MiB+ 64.86 KiB
/wp-admin/edit.php0.223 s0.243 s+0.020 s3.41 MiB3.47 MiB+ 64.91 KiB
/wp-admin/post-new.php1.100 s0.891 s-0.209 s5.46 MiB5.53 MiB+ 68.37 KiB
/wp-admin/upload.php0.722 s0.476 s-0.246 s3.32 MiB3.37 MiB+ 48.52 KiB
/wp-admin/options-writing.php0.221 s0.198 s-0.023 s3.32 MiB3.36 MiB+ 41.66 KiB
/wp-admin/media-new.php0.339 s0.265 s-0.074 s3.3 MiB3.36 MiB+ 61.27 KiB
/wp-admin/edit-tags.php?taxonomy=category0.202 s0.203 s+0.001 s3.31 MiB3.38 MiB+ 65.61 KiB
/wp-admin/post-new.php?post_type=page0.625 s0.599 s-0.026 s5.45 MiB5.51 MiB+ 63.34 KiB
/wp-admin/options-discussion.php0.484 s0.245 s-0.239 s3.3 MiB3.35 MiB+ 51.27 KiB
/wp-admin/edit-comments.php0.256 s0.204 s-0.052 s3.34 MiB3.38 MiB+ 47.54 KiB
/0.272 s0.212 s-0.060 s3.36 MiB3.36 MiB- 816 bytes
Average 0.441 s0.354 s-0.087 s3.72 MiB3.77 MiB+ 52.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
CSS
Language % Lines of code Comment lines Files
PHP87.8%2,8181,44723
CSS12.1%38793
Markdown0.1%301
Total 3,208 1,456 27

PHP Code Analysis | More results »

Lines of code 2,263
Total complexity 556
Median class complexity 40.0
Median method complexity 2.0
Most complex class ShareYourCartBase
Most complex function ShareYourCartBase::getAdminPage()
Classes 11
Methods 200
Functions 0

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 4

Meta Boxes

{
    "post": {
        "shareyourcart_metabox": {
            "title": "ShareYourCart",
            "context": "normal"
        }
    },
    "page": {
        "shareyourcart_metabox": {
            "title": "ShareYourCart",
            "context": "normal"
        }
    }
}

PHP Error Log 61 lines

[11-Feb-2024 17:07:05 UTC] 
[11-Feb-2024 17:07:05 UTC] <html><head><title>Not Found</title></head><body>404 Not Found</body></html>

[11-Feb-2024 17:07:05 UTC] PHP Deprecated:  Function has_cap was called with an argument that is deprecated since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead. in /wp-includes/functions.php on line 6031
[11-Feb-2024 17:07:05 UTC] PHP Deprecated:  Function has_cap was called with an argument that is deprecated since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead. in /wp-includes/functions.php on line 6031
[11-Feb-2024 17:07:05 UTC] PHP Deprecated:  Function has_cap was called with an argument that is deprecated since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead. in /wp-includes/functions.php on line 6031
[11-Feb-2024 17:07:06 UTC] PHP Deprecated:  Function has_cap was called with an argument that is deprecated since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead. in /wp-includes/functions.php on line 6031
[11-Feb-2024 17:07:06 UTC] PHP Deprecated:  Function has_cap was called with an argument that is deprecated since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead. in /wp-includes/functions.php on line 6031
[11-Feb-2024 17:07:06 UTC] PHP Deprecated:  Function has_cap was called with an argument that is deprecated since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead. in /wp-includes/functions.php on line 6031
[11-Feb-2024 17:07:07 UTC] PHP Deprecated:  Function has_cap was called with an argument that is deprecated since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead. in /wp-includes/functions.php on line 6031
[11-Feb-2024 17:07:07 UTC] PHP Deprecated:  Function has_cap was called with an argument that is deprecated since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead. in /wp-includes/functions.php on line 6031
[11-Feb-2024 17:07:07 UTC] PHP Deprecated:  Function has_cap was called with an argument that is deprecated since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead. in /wp-includes/functions.php on line 6031
[11-Feb-2024 17:07:07 UTC] <html><head><title>Not Found</title></head><body>404 Not Found</body></html>

[11-Feb-2024 17:07:07 UTC] PHP Deprecated:  Function has_cap was called with an argument that is deprecated since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead. in /wp-includes/functions.php on line 6031
[11-Feb-2024 17:07:09 UTC] PHP Deprecated:  Function has_cap was called with an argument that is deprecated since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead. in /wp-includes/functions.php on line 6031
[11-Feb-2024 17:07:09 UTC] PHP Deprecated:  Function has_cap was called with an argument that is deprecated since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead. in /wp-includes/functions.php on line 6031
[11-Feb-2024 17:07:09 UTC] PHP Deprecated:  Function has_cap was called with an argument that is deprecated since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead. in /wp-includes/functions.php on line 6031
[11-Feb-2024 17:07:09 UTC] PHP Deprecated:  Function has_cap was called with an argument that is deprecated since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead. in /wp-includes/functions.php on line 6031
[11-Feb-2024 17:07:09 UTC] PHP Deprecated:  Function has_cap was called with an argument that is deprecated since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead. in /wp-includes/functions.php on line 6031
[11-Feb-2024 17:07:09 UTC] PHP Deprecated:  Function has_cap was called with an argument that is deprecated since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead. in /wp-includes/functions.php on line 6031
[11-Feb-2024 17:07:09 UTC] PHP Deprecated:  Function has_cap was called with an argument that is deprecated since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead. in /wp-includes/functions.php on line 6031
[11-Feb-2024 17:07:09 UTC] PHP Deprecated:  Function has_cap was called with an argument that is deprecated since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead. in /wp-includes/functions.php on line 6031
[11-Feb-2024 17:07:09 UTC] PHP Deprecated:  Function has_cap was called with an argument that is deprecated since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead. in /wp-includes/functions.php on line 6031
[11-Feb-2024 17:07:13 UTC] PHP Deprecated:  Function has_cap was called with an argument that is deprecated since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead. in /wp-includes/functions.php on line 6031
[11-Feb-2024 17:07:13 UTC] PHP Deprecated:  Function has_cap was called with an argument that is deprecated since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead. in /wp-includes/functions.php on line 6031
[11-Feb-2024 17:07:13 UTC] PHP Deprecated:  Function has_cap was called with an argument that is deprecated since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead. in /wp-includes/functions.php on line 6031
[11-Feb-2024 17:07:13 UTC] PHP Deprecated:  Function has_cap was called with an argument that is deprecated since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead. in /wp-includes/functions.php on line 6031
[11-Feb-2024 17:07:13 UTC] PHP Deprecated:  Function has_cap was called with an argument that is deprecated since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead. in /wp-includes/functions.php on line 6031
[11-Feb-2024 17:07:13 UTC] PHP Deprecated:  Function has_cap was called with an argument that is deprecated since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead. in /wp-includes/functions.php on line 6031
[11-Feb-2024 17:07:13 UTC] PHP Deprecated:  Function has_cap was called with an argument that is deprecated since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead. in /wp-includes/functions.php on line 6031
[11-Feb-2024 17:07:13 UTC] PHP Deprecated:  Function has_cap was called with an argument that is deprecated since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead. in /wp-includes/functions.php on line 6031
[11-Feb-2024 17:07:13 UTC] PHP Deprecated:  Function has_cap was called with an argument that is deprecated since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead. in /wp-includes/functions.php on line 6031
[11-Feb-2024 17:07:14 UTC] PHP Deprecated:  Function has_cap was called with an argument that is deprecated since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead. in /wp-includes/functions.php on line 6031
[11-Feb-2024 17:07:14 UTC] PHP Deprecated:  Function has_cap was called with an argument that is deprecated since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead. in /wp-includes/functions.php on line 6031
[11-Feb-2024 17:07:14 UTC] PHP Deprecated:  Function has_cap was called with an argument that is deprecated since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead. in /wp-includes/functions.php on line 6031
[11-Feb-2024 17:07:14 UTC] PHP Deprecated:  Function has_cap was called with an argument that is deprecated since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead. in /wp-includes/functions.php on line 6031
[11-Feb-2024 17:07:14 UTC] PHP Deprecated:  Function has_cap was called with an argument that is deprecated since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead. in /wp-includes/functions.php on line 6031
[11-Feb-2024 17:07:14 UTC] PHP Deprecated:  Function has_cap was called with an argument that is deprecated since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead. in /wp-includes/functions.php on line 6031
[11-Feb-2024 17:07:17 UTC] PHP Deprecated:  Function has_cap was called with an argument that is deprecated since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead. in /wp-includes/functions.php on line 6031
[11-Feb-2024 17:07:17 UTC] PHP Deprecated:  Function has_cap was called with an argument that is deprecated since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead. in /wp-includes/functions.php on line 6031
[11-Feb-2024 17:07:17 UTC] PHP Deprecated:  Function has_cap was called with an argument that is deprecated since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead. in /wp-includes/functions.php on line 6031
[11-Feb-2024 17:07:17 UTC] PHP Deprecated:  Function has_cap was called with an argument that is deprecated since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead. in /wp-includes/functions.php on line 6031
[11-Feb-2024 17:07:17 UTC] PHP Deprecated:  Function has_cap was called with an argument that is deprecated since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead. in /wp-includes/functions.php on line 6031
[11-Feb-2024 17:07:17 UTC] PHP Deprecated:  Function has_cap was called with an argument that is deprecated since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead. in /wp-includes/functions.php on line 6031
[11-Feb-2024 17:07:17 UTC] PHP Deprecated:  Function has_cap was called with an argument that is deprecated since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead. in /wp-includes/functions.php on line 6031
[11-Feb-2024 17:07:17 UTC] PHP Deprecated:  Function has_cap was called with an argument that is deprecated since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead. in /wp-includes/functions.php on line 6031
[11-Feb-2024 17:07:17 UTC] PHP Deprecated:  Function has_cap was called with an argument that is deprecated since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead. in /wp-includes/functions.php on line 6031
[11-Feb-2024 17:07:18 UTC] PHP Deprecated:  Function has_cap was called with an argument that is deprecated since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead. in /wp-includes/functions.php on line 6031
[11-Feb-2024 17:07:18 UTC] PHP Deprecated:  Function has_cap was called with an argument that is deprecated since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead. in /wp-includes/functions.php on line 6031
[11-Feb-2024 17:07:18 UTC] PHP Deprecated:  Function has_cap was called with an argument that is deprecated since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead. in /wp-includes/functions.php on line 6031
[11-Feb-2024 17:07:21 UTC] PHP Deprecated:  Function has_cap was called with an argument that is deprecated since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead. in /wp-includes/functions.php on line 6031
[11-Feb-2024 17:07:21 UTC] PHP Deprecated:  Function has_cap was called with an argument that is deprecated since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead. in /wp-includes/functions.php on line 6031
[11-Feb-2024 17:07:21 UTC] PHP Deprecated:  Function has_cap was called with an argument that is deprecated since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead. in /wp-includes/functions.php on line 6031
[11-Feb-2024 17:07:25 UTC] PHP Deprecated:  Function has_cap was called with an argument that is deprecated since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead. in /wp-includes/functions.php on line 6031
[11-Feb-2024 17:07:25 UTC] PHP Deprecated:  Function has_cap was called with an argument that is deprecated since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead. in /wp-includes/functions.php on line 6031
[11-Feb-2024 17:07:25 UTC] PHP Deprecated:  Function has_cap was called with an argument that is deprecated since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead. in /wp-includes/functions.php on line 6031
[11-Feb-2024 17:07:25 UTC] PHP Deprecated:  Function has_cap was called with an argument that is deprecated since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead. in /wp-includes/functions.php on line 6031
[11-Feb-2024 17:07:25 UTC] PHP Deprecated:  Function has_cap was called with an argument that is deprecated since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead. in /wp-includes/functions.php on line 6031
[11-Feb-2024 17:07:25 UTC] <html><head><title>Not Found</title></head><body>404 Not Found</body></html>

See also: All tests for this plugin, How to Hide ShareYourCart Admin Menus and Meta Boxes