Enterprise Shipping for Pitney Bowes 3.1.0

Does "Enterprise Shipping for Pitney Bowes" work with WordPress 6.0 and PHP 7.4.8? A smoke test was performed on .

Summary

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

Memory usage: 12.28 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.0
PHP version7.4.8
MySQL version8.0.21
PHP memory limit256M
Plugin Info
Last updated
Active installs <10
WordPress.org page https://wordpress.org/plugins/pb-shipping/
Badges

WordPress compatibility badge PHP compatibility badge

Get badge code

Pages 3

Plugins ‹ Test site — WordPress

Page screenshot: Plugins ‹ Test site — WordPress
URL /wp-admin/plugins.php?plugin_status=all&paged=1&s
Requested URL /wp-admin/plugins.php?action=activate&plugin=pb-shipping%2Fpb_functions.php&plugin_status=all&paged=1&s&_wpnonce=f471864faa
Aspect after-activation
HTTP status 200
Load time 0.292 s
Memory usage 3.94 MiB
JS errors None
Resource errors None

Settings → PB Ship Admin

Page screenshot: Settings → PB Ship Admin
URL /wp-admin/options-general.php?page=pb-admin
Aspect menu-item
HTTP status 200
Load time 0.200 s
Memory usage 3.63 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.233 s
Memory usage 3.56 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.311 s0.227 s-0.084 s3.72 MiB3.73 MiB+ 10.48 KiB
/wp-admin/edit.php0.183 s0.183 s+0.000 s3.75 MiB3.76 MiB+ 10.09 KiB
/wp-admin/post-new.php0.716 s0.897 s+0.181 s5.53 MiB5.55 MiB+ 19.16 KiB
/wp-admin/upload.php0.636 s0.330 s-0.306 s3.68 MiB3.69 MiB+ 9.66 KiB
/wp-admin/options-writing.php0.241 s0.145 s-0.096 s3.61 MiB3.63 MiB+ 17.65 KiB
/wp-admin/media-new.php0.324 s0.185 s-0.139 s3.66 MiB3.67 MiB+ 9.84 KiB
/wp-admin/edit-tags.php?taxonomy=category0.176 s0.175 s-0.001 s3.68 MiB3.69 MiB+ 10.74 KiB
/wp-admin/post-new.php?post_type=page0.600 s0.629 s+0.029 s5.53 MiB5.54 MiB+ 10.74 KiB
/wp-admin/options-discussion.php0.205 s0.312 s+0.107 s3.59 MiB3.6 MiB+ 10.15 KiB
/wp-admin/edit-comments.php0.201 s0.222 s+0.021 s3.69 MiB3.7 MiB+ 9.65 KiB
/0.285 s0.216 s-0.069 s3.55 MiB3.56 MiB+ 16.94 KiB
Average 0.353 s0.320 s-0.032 s4 MiB4.01 MiB+ 12.28 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
PHP100.0%3,1801005
Total 3,180 100 5

PHP Code Analysis | More results »

Lines of code 3,276
Total complexity 968
Median class complexity 0.0
Median method complexity 0.0
Most complex class
Most complex function espb_admin()
Classes 0
Methods 0
Functions 65

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.

Options wp_options 1

PHP Error Log 24 lines

[01-Jul-2022 23:10:53 UTC] WordPress database error Table 'wordpress.wp_d59z13rzdw_posts' doesn't exist for query 
    SELECT o.ID order_id
    ,m.meta_id
    ,DATE_FORMAT(s.meta_value,'%Y-%m-%d')shipped
    ,d.meta_value delivery_est
    ,IFNULL((SELECT meta_value FROM wp_d59z13rzdw_postmeta WHERE meta_key='_shipping_first_name' AND post_id=o.ID),(SELECT meta_value FROM wp_d59z13rzdw_postmeta WHERE meta_key='_billing_first_name' AND post_id=o.ID))fname
    ,(SELECT 1 FROM wp_d59z13rzdw_postmeta JOIN wp_d59z13rzdw_options ON option_name=CONCAT('sms_sb_',meta_value) WHERE meta_key='_billing_phone' AND post_id=o.ID)subscribe
    ,(SELECT meta_value FROM wp_d59z13rzdw_postmeta LEFT JOIN wp_d59z13rzdw_options ON option_name=CONCAT('pb_unsb_',meta_value) WHERE option_name IS NULL AND meta_key='_billing_phone' AND post_id=o.ID)phone
    ,(SELECT LOWER(meta_value) FROM wp_d59z13rzdw_postmeta LEFT JOIN wp_d59z13rzdw_options ON option_name=CONCAT('pb_unsb_',meta_value) WHERE option_name IS NULL AND meta_key='_billing_email' AND post_id=o.ID)email
    ,m.meta_key label
    ,m.meta_value label_meta
    FROM wp_d59z13rzdw_posts o
    JOIN wp_d59z13rzdw_postmeta s ON s.post_id=o.ID AND s.meta_key='_last_shipped' AND s.meta_value>=NOW()-INTERVAL 20 DAY
    LEFT JOIN wp_d59z13rzdw_postmeta d ON d.post_id=o.ID AND d.meta_key='delivery_est' AND DATE_FORMAT(d.meta_value,'%Y-%m-%d')>DATE_FORMAT(s.meta_value,'%Y-%m-%d')
    JOIN wp_d59z13rzdw_postmeta m ON m.post_id=o.ID AND m.meta_key LIKE '_pb_label_meta%' AND m.meta_value NOT LIKE '%inbound%' AND m.meta_value NOT LIKE '%cancel%' AND m.meta_value NOT LIKE '%returnToSender%' AND m.meta_value NOT LIKE '%delivered,%'
    WHERE o.post_type='shop_order'
    AND (LENGTH('0')>1 OR (d.post_id IS NULL OR DATE_FORMAT(d.meta_value,'%Y-%m-%d') BETWEEN DATE_FORMAT(NOW()-INTERVAL 3 DAY,'%Y-%m-%d') AND DATE_FORMAT(NOW()+INTERVAL 5 DAY,'%Y-%m-%d')))
    AND o.post_status IN ('wc-refunded','wc-completed')
    
    
    ORDER BY m.meta_id DESC
    LIMIT 50;
   made by require_once('wp-admin/admin.php'), require_once('wp-load.php'), require_once('wp-config.php'), require_once('wp-settings.php'), do_action('wp_loaded'), WP_Hook->do_action, WP_Hook->apply_filters, espb_fetch_delivery_status, espb_r
[01-Jul-2022 23:10:54 UTC] PHP Notice:  Undefined variable: user_id in /wp-content/plugins/pb-shipping/pb_admin.php on line 592
See also: All tests for this plugin, How to Hide the "PB Ship Admin" Admin Menu