Hide Cart Functions 1.0.7

Does Hide Cart Functions work with WordPress 6.2.2 and PHP 8.1.12? A smoke test was performed on .

Summary

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

Memory usage: 30.08 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.2.2
PHP version8.1.12
MySQL version10.6.10
PHP memory limit512M
Plugin Info
Last updated
Active installs 2,000+
WordPress.org page https://wordpress.org/plugins/hide-cart-functions/
Badges

WordPress compatibility badge PHP compatibility badge

Get badge code

Pages 2

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=hide-cart-functions%2Fhide-cart-functions.php&plugin_status=all&paged=1&s&_wpnonce=0fddcbde44
Aspect after-activation
HTTP status 200
Load time 0.527 s
Memory usage 3.06 MiB
JS errors
[
    {
        "message": "TypeError: jQuery(...).select2 is not a function\n    at HTMLDocument.<anonymous> (/wp-content/plugins/hide-cart-functions/admin/assets/js/customs.js?ver=1.0.5:107:42)\n    at e (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.2.2:2:30158)\n    at t (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.2.2:2:30460)",
        "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.254 s
Memory usage 2.98 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.302 s0.268 s-0.034 s3.07 MiB3.11 MiB+ 40.04 KiB
/wp-admin/edit.php0.205 s0.187 s-0.018 s3.1 MiB3.14 MiB+ 40.35 KiB
/wp-admin/post-new.php0.779 s0.980 s+0.201 s5.02 MiB5.06 MiB+ 39.53 KiB
/wp-admin/upload.php0.561 s0.307 s-0.254 s3.02 MiB3.04 MiB+ 24.05 KiB
/wp-admin/options-writing.php0.177 s0.149 s-0.028 s3.01 MiB3.02 MiB+ 12.01 KiB
/wp-admin/media-new.php0.347 s0.195 s-0.152 s2.99 MiB3.03 MiB+ 36.19 KiB
/wp-admin/edit-tags.php?taxonomy=category0.196 s0.186 s-0.010 s3.01 MiB3.05 MiB+ 41.05 KiB
/wp-admin/post-new.php?post_type=page0.594 s0.747 s+0.153 s5.01 MiB5.05 MiB+ 35.12 KiB
/wp-admin/options-discussion.php0.211 s0.237 s+0.026 s3 MiB3.03 MiB+ 25.74 KiB
/wp-admin/edit-comments.php0.213 s0.215 s+0.002 s3.03 MiB3.05 MiB+ 22.63 KiB
/0.332 s0.217 s-0.115 s2.97 MiB2.98 MiB+ 14.14 KiB
Average 0.356 s0.335 s-0.021 s3.38 MiB3.41 MiB+ 30.08 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
PO File
CSS
Language % Lines of code Comment lines Files
PHP46.0%1,2313984
JavaScript22.2%594252
PO File21.5%5763043
CSS10.2%27342
Total 2,674 731 11

PHP Code Analysis | More results »

Lines of code 1,292
Total complexity 304
Median class complexity 87.0
Median method complexity 2.0
Most complex class Artiosmedia\WC_Purchase_Customization\HWCF_GLOBAl
Most complex function Artiosmedia\WC_Purchase_Customization_Admin\hwcf_Admin::hwcf_manage_hwcf()
Classes 3
Methods 45
Functions 14

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

The log file is empty.

See also: All tests for this plugin