UPS Rates & Labels 4.2.1

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 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=d2525bad2e
Aspect after-activation
HTTP status 200
Load time 0.258 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.172 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.362 s0.308 s-0.054 s3.44 MiB3.44 MiB+ 4.58 KiB
/wp-admin/edit.php0.203 s0.214 s+0.011 s3.46 MiB3.47 MiB+ 4.58 KiB
/wp-admin/post-new.php0.929 s0.597 s-0.332 s5.59 MiB5.6 MiB+ 8.95 KiB
/wp-admin/upload.php0.582 s0.498 s-0.084 s3.38 MiB3.37 MiB- 12.83 KiB
/wp-admin/options-writing.php0.204 s0.196 s-0.008 s3.37 MiB3.35 MiB- 20.87 KiB
/wp-admin/media-new.php0.302 s0.242 s-0.060 s3.35 MiB3.35 MiB- 656 bytes
/wp-admin/edit-tags.php?taxonomy=category0.174 s0.198 s+0.024 s3.37 MiB3.37 MiB+ 4.53 KiB
/wp-admin/post-new.php?post_type=page0.535 s0.544 s+0.009 s5.59 MiB5.59 MiB+ 4.53 KiB
/wp-admin/options-discussion.php0.222 s0.456 s+0.234 s3.36 MiB3.35 MiB- 12.34 KiB
/wp-admin/edit-comments.php0.439 s0.208 s-0.231 s3.39 MiB3.38 MiB- 12.84 KiB
/0.345 s0.205 s-0.140 s3.42 MiB3.37 MiB- 48.06 KiB
Average 0.391 s0.333 s-0.057 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

[15-Apr-2024 09:13:41 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