UPS Rates & Labels 4.0.7

Does UPS Rates & Labels work with WordPress 6.4.1 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: -9.5 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.1
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=e9a7100b56
Aspect after-activation
HTTP status 200
Load time 0.266 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.179 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.381 s0.337 s-0.044 s3.38 MiB3.38 MiB+ 2.33 KiB
/wp-admin/edit.php0.224 s0.214 s-0.010 s3.41 MiB3.41 MiB+ 2.33 KiB
/wp-admin/post-new.php0.975 s0.613 s-0.362 s5.46 MiB5.46 MiB+ 6.7 KiB
/wp-admin/upload.php0.583 s0.514 s-0.069 s3.32 MiB3.31 MiB- 15.08 KiB
/wp-admin/options-writing.php0.231 s0.231 s+0.000 s3.32 MiB3.29 MiB- 22.49 KiB
/wp-admin/media-new.php0.321 s0.273 s-0.048 s3.29 MiB3.29 MiB- 2.89 KiB
/wp-admin/edit-tags.php?taxonomy=category0.215 s0.202 s-0.013 s3.31 MiB3.31 MiB+ 2.28 KiB
/wp-admin/post-new.php?post_type=page0.611 s0.598 s-0.013 s5.45 MiB5.45 MiB+ 2.28 KiB
/wp-admin/options-discussion.php0.275 s0.317 s+0.042 s3.3 MiB3.29 MiB- 14.59 KiB
/wp-admin/edit-comments.php0.271 s0.234 s-0.037 s3.33 MiB3.32 MiB- 15.09 KiB
/0.286 s0.200 s-0.086 s3.36 MiB3.31 MiB- 50.31 KiB
Average 0.398 s0.339 s-0.058 s3.72 MiB3.71 MiB- 9.5 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.6%5,85866412
XML3.8%23603
HTML2.6%16311
Total 6,257 665 16

PHP Code Analysis | More results »

Lines of code 5,950
Total complexity 973
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

[15-Nov-2023 03:58:54 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