UPS Rates & Labels 4.2.0

Does UPS Rates & Labels work with WordPress 6.4.3 and PHP 8.1.12? A smoke test was performed on .

Summary

Errors
1PHP fatal errors
No JavaScript exceptions
All test pages loaded successfully
No resource errors
Performance

Memory usage: -2.47 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/a2z-ups-shipping/
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=a2z-ups-shipping%2Fa2zups_basic.php
Requested URL /wp-admin/plugins.php?action=activate&plugin=a2z-ups-shipping%2Fa2zups_basic.php&plugin_status=all&paged=1&s&_wpnonce=c7a03ddb47
Aspect after-activation
HTTP status 200
Load time 0.260 s
Memory usage 3.32 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.184 s
Memory usage 3.31 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.396 s0.326 s-0.070 s3.38 MiB3.39 MiB+ 4.58 KiB
/wp-admin/edit.php0.220 s0.209 s-0.011 s3.41 MiB3.41 MiB+ 4.58 KiB
/wp-admin/post-new.php1.020 s0.599 s-0.421 s5.46 MiB5.47 MiB+ 8.95 KiB
/wp-admin/upload.php0.729 s0.436 s-0.293 s3.32 MiB3.31 MiB- 12.83 KiB
/wp-admin/options-writing.php0.221 s0.221 s+0.000 s3.32 MiB3.3 MiB- 20.24 KiB
/wp-admin/media-new.php0.319 s0.241 s-0.078 s3.3 MiB3.3 MiB- 656 bytes
/wp-admin/edit-tags.php?taxonomy=category0.212 s0.196 s-0.016 s3.31 MiB3.32 MiB+ 4.53 KiB
/wp-admin/post-new.php?post_type=page0.618 s0.615 s-0.003 s5.45 MiB5.45 MiB+ 4.53 KiB
/wp-admin/options-discussion.php0.334 s0.316 s-0.018 s3.3 MiB3.29 MiB- 12.34 KiB
/wp-admin/edit-comments.php0.265 s0.226 s-0.039 s3.34 MiB3.32 MiB- 12.84 KiB
/0.288 s0.202 s-0.086 s3.31 MiB3.31 MiB+ 4.56 KiB
Average 0.420 s0.326 s-0.094 s3.72 MiB3.72 MiB- 2.47 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
Language % Lines of code Comment lines Files
PHP93.8%6,06067312
XML3.7%23603
HTML2.5%16311
Total 6,459 674 16

PHP Code Analysis | More results »

Lines of code 6,151
Total complexity 1,039
Median class complexity 9.0
Median method complexity 1.0
Most complex class hit_ups_auto_parent
Most complex function hit_ups_auto::calculate_shipping()
Classes 13
Methods 113
Functions 2

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.

No new entries found.

PHP Error Log 9 lines

[04-Feb-2024 14:13:10 UTC] PHP Fatal error:  Uncaught Error: Call to undefined function WC() in /wp-content/plugins/a2z-ups-shipping/a2zups_basic.php:34
Stack trace:
#0 /wp-includes/class-wp-hook.php(326): hit_woo_ups_plugin_activation()
#1 /wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()
#2 /wp-includes/plugin.php(517): WP_Hook->do_action()
#3 /wp-admin/includes/plugin.php(720): do_action()
#4 /wp-admin/plugins.php(58): activate_plugin()
#5 {main}
  thrown in /wp-content/plugins/a2z-ups-shipping/a2zups_basic.php on line 34
See also: All tests for this plugin