UPS Rates & Labels 4.2.2

Does UPS Rates & Labels work with WordPress 6.5.2 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: -7.31 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.5.2
PHP version8.1.12
MySQL version10.6.10
PHP memory limit512M
Plugin Info
Last updated
Active installs 200+
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=7704ff700e
Aspect after-activation
HTTP status 200
Load time 0.266 s
Memory usage 3.38 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.186 s
Memory usage 3.36 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.381 s0.335 s-0.046 s3.44 MiB3.44 MiB+ 4.58 KiB
/wp-admin/edit.php0.216 s0.206 s-0.010 s3.46 MiB3.47 MiB+ 4.58 KiB
/wp-admin/post-new.php0.940 s0.608 s-0.332 s5.59 MiB5.6 MiB+ 8.95 KiB
/wp-admin/upload.php0.594 s0.429 s-0.165 s3.38 MiB3.37 MiB- 12.83 KiB
/wp-admin/options-writing.php0.241 s0.209 s-0.032 s3.37 MiB3.35 MiB- 20.87 KiB
/wp-admin/media-new.php0.308 s0.277 s-0.031 s3.35 MiB3.35 MiB- 656 bytes
/wp-admin/edit-tags.php?taxonomy=category0.215 s0.193 s-0.022 s3.37 MiB3.37 MiB+ 4.53 KiB
/wp-admin/post-new.php?post_type=page0.561 s0.613 s+0.052 s5.59 MiB5.59 MiB+ 4.53 KiB
/wp-admin/options-discussion.php0.513 s0.464 s-0.049 s3.36 MiB3.35 MiB- 12.34 KiB
/wp-admin/edit-comments.php0.270 s0.256 s-0.014 s3.39 MiB3.38 MiB- 12.84 KiB
/0.329 s0.206 s-0.123 s3.42 MiB3.37 MiB- 48.06 KiB
Average 0.415 s0.345 s-0.070 s3.79 MiB3.78 MiB- 7.31 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,06467312
XML3.7%23603
HTML2.5%16311
Total 6,463 674 16

PHP Code Analysis | More results »

Lines of code 6,155
Total complexity 1,040
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

[24-Apr-2024 03:57:31 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(732): do_action()
#4 /wp-admin/plugins.php(60): 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