UPS Rates & Labels 4.1.1

Does UPS Rates & Labels work with WordPress 6.4.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: -4.72 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.2
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=1d3fafd900
Aspect after-activation
HTTP status 200
Load time 0.575 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.266 s
Memory usage 3.3 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.389 s0.415 s+0.026 s3.38 MiB3.38 MiB+ 2.33 KiB
/wp-admin/edit.php0.225 s0.306 s+0.081 s3.41 MiB3.41 MiB+ 2.33 KiB
/wp-admin/post-new.php0.899 s0.698 s-0.201 s5.46 MiB5.46 MiB+ 6.7 KiB
/wp-admin/upload.php0.773 s0.482 s-0.291 s3.32 MiB3.31 MiB- 15.08 KiB
/wp-admin/options-writing.php0.278 s0.379 s+0.101 s3.32 MiB3.29 MiB- 22.49 KiB
/wp-admin/media-new.php0.379 s0.358 s-0.021 s3.29 MiB3.29 MiB- 2.89 KiB
/wp-admin/edit-tags.php?taxonomy=category0.263 s0.209 s-0.054 s3.31 MiB3.31 MiB+ 2.28 KiB
/wp-admin/post-new.php?post_type=page0.728 s0.616 s-0.112 s5.45 MiB5.45 MiB+ 2.28 KiB
/wp-admin/options-discussion.php0.386 s0.285 s-0.101 s3.3 MiB3.29 MiB- 14.59 KiB
/wp-admin/edit-comments.php0.315 s0.235 s-0.080 s3.33 MiB3.32 MiB- 15.09 KiB
/0.411 s0.212 s-0.199 s3.31 MiB3.31 MiB+ 2.31 KiB
Average 0.459 s0.381 s-0.077 s3.72 MiB3.71 MiB- 4.72 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%5,98766312
XML3.7%23603
HTML2.6%16311
Total 6,386 664 16

PHP Code Analysis | More results »

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

[12-Dec-2023 00:01:18 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