Custom Add to Cart Button Label and Link 1.5.4

Does "Custom Add to Cart Button Label and Link" work with WordPress 5.7 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: 89.93 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 version5.7
PHP version7.4.8
MySQL version8.0.21
PHP memory limit256M
Plugin Info
Last updated
Active installs 3,000+
WordPress.org page https://wordpress.org/plugins/woo-custom-cart-button/
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=woo-custom-cart-button%2Fcatcbll.php&plugin_status=all&paged=1&s&_wpnonce=a0417b7de9
Aspect after-activation
HTTP status 200
Load time 0.373 s
Memory usage 2.86 MiB
JS errors None
Resource errors None

Settings → Custom Cart Button

Page screenshot: Settings → Custom Cart Button
URL /wp-admin/options-general.php?page=hwx-wccb
Aspect menu-item
HTTP status 200
Load time 0.383 s
Memory usage 2.79 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.331 s
Memory usage 2.72 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.276 s0.279 s+0.003 s2.82 MiB2.9 MiB+ 80.46 KiB
/wp-admin/edit.php0.183 s0.216 s+0.033 s2.86 MiB2.95 MiB+ 85.96 KiB
/wp-admin/post-new.php0.897 s1.167 s+0.270 s5.02 MiB5.12 MiB+ 99.68 KiB
/wp-admin/upload.php0.494 s0.417 s-0.077 s2.7 MiB2.78 MiB+ 86.81 KiB
/wp-admin/options-writing.php0.253 s0.156 s-0.097 s2.71 MiB2.83 MiB+ 117.54 KiB
/wp-admin/media-new.php0.215 s0.169 s-0.046 s2.67 MiB2.76 MiB+ 87.61 KiB
/wp-admin/edit-tags.php?taxonomy=category0.192 s0.205 s+0.013 s2.77 MiB2.86 MiB+ 87.89 KiB
/wp-admin/post-new.php?post_type=page1.518 s0.660 s-0.858 s5.01 MiB5.1 MiB+ 95.27 KiB
/wp-admin/options-discussion.php0.283 s0.257 s-0.026 s2.68 MiB2.76 MiB+ 87.92 KiB
/wp-admin/edit-comments.php0.214 s0.229 s+0.015 s2.78 MiB2.86 MiB+ 86.17 KiB
/0.299 s0.234 s-0.065 s2.65 MiB2.72 MiB+ 73.94 KiB
Average 0.439 s0.363 s-0.076 s3.15 MiB3.24 MiB+ 89.93 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.

CSS
PHP
PO File
Language % Lines of code Comment lines Files
CSS55.4%4,4301574
PHP18.9%1,50911713
PO File18.4%1,4681,0139
JavaScript7.3%5871696
SVG0.0%201
Total 7,996 1,456 33

PHP Code Analysis | More results »

Lines of code 1,120
Total complexity 244
Median class complexity 48.0
Median method complexity 3.0
Most complex class wccb_widget
Most complex function wcatcbll_shortcode()
Classes 1
Methods 4
Functions 29

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 2

PHP Error Log 1 lines

[11-Mar-2021 14:41:45 UTC] PHP Warning:  call_user_func_array() expects parameter 1 to be a valid callback, function 'wcatcbll_wccb_options_page' not found or invalid function name in /wp-includes/class-wp-hook.php on line 292
See also: All tests for this plugin