WPCargo 6.8.5

Does WPCargo work with WordPress 5.8.1 and PHP 7.4.8? A smoke test was performed on .

Summary

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

Memory usage: 222.59 KiB
The average PHP memory usage increased by this amount after activating by the plugin.

Page speed impact: 0.021 seconds
The average page load time increased by this amount after activating the plugin.

Environment
WordPress version5.8.1
PHP version7.4.8
MySQL version8.0.21
PHP memory limit256M
Plugin Info
Last updated
Active installs 10,000+
WordPress.org page https://wordpress.org/plugins/wpcargo/
Badges

WordPress compatibility badge PHP compatibility badge

Get badge code

Pages 12

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=wpcargo%2Fwpcargo.php&plugin_status=all&paged=1&s&_wpnonce=a925174795
Aspect after-activation
HTTP status 200
Load time 0.779 s
Memory usage 3.26 MiB
JS errors None
Resource errors None

Shipment

Page screenshot: Shipment
URL /wp-admin/edit.php?post_type=wpcargo_shipment
Aspect menu-item
HTTP status 200
Load time 0.186 s
Memory usage 3.31 MiB
JS errors None
Resource errors None

Shipment → Add Shipment

Page screenshot: Shipment → Add Shipment
URL /wp-admin/post-new.php?post_type=wpcargo_shipment
Aspect menu-item
HTTP status 200
Load time 0.355 s
Memory usage N/A
JS errors None
Resource errors None

Shipment → Tags

Page screenshot: Shipment → Tags
URL /wp-admin/edit-tags.php?taxonomy=post_tag&post_type=wpcargo_shipment
Aspect menu-item
HTTP status 200
Load time 0.225 s
Memory usage 3.25 MiB
JS errors None
Resource errors None

Shipment → Category

Page screenshot: Shipment → Category
URL /wp-admin/edit-tags.php?taxonomy=wpcargo_shipment_cat&post_type=wpcargo_shipment
Aspect menu-item
HTTP status 200
Load time 0.179 s
Memory usage 3.25 MiB
JS errors None
Resource errors None

Shipment → Reports

Page screenshot: Shipment → Reports
URL /wp-admin/edit.php?post_type=wpcargo_shipment&page=wpc-report-export
Aspect menu-item
HTTP status 200
Load time 0.209 s
Memory usage 3.31 MiB
JS errors None
Resource errors None

WPCargo

Page screenshot: WPCargo
URL /wp-admin/admin.php?page=wpc-multiple-package
Aspect menu-item
HTTP status 200
Load time 0.229 s
Memory usage 3.25 MiB
JS errors None
Resource errors None

WPCargo → Map Settings

Page screenshot: WPCargo → Map Settings
URL /wp-admin/admin.php?page=wpc-shmap-settings
Aspect menu-item
HTTP status 200
Load time 0.368 s
Memory usage 3.33 MiB
JS errors None
Resource errors None

WPCargo → General Settings

Page screenshot: WPCargo → General Settings
URL /wp-admin/admin.php?page=wpcargo-settings
Aspect menu-item
HTTP status 200
Load time 0.453 s
Memory usage 3.35 MiB
JS errors None
Resource errors None

WPCargo → Client Email Settings

Page screenshot: WPCargo → Client Email Settings
URL /wp-admin/admin.php?page=wpcargo-email-settings
Aspect menu-item
HTTP status 200
Load time 0.202 s
Memory usage 3.29 MiB
JS errors None
Resource errors None

WPCargo → Admin Email Settings

Page screenshot: WPCargo → Admin Email Settings
URL /wp-admin/admin.php?page=wpcargo-admin-email-settings
Aspect menu-item
HTTP status 200
Load time 0.175 s
Memory usage 3.28 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.444 s
Memory usage 3.06 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.293 s0.481 s+0.188 s3.08 MiB3.31 MiB+ 233.46 KiB
/wp-admin/edit.php0.171 s0.205 s+0.034 s3.11 MiB3.34 MiB+ 235.47 KiB
/wp-admin/post-new.php0.755 s0.866 s+0.111 s5.27 MiB5.49 MiB+ 233.09 KiB
/wp-admin/upload.php0.372 s0.340 s-0.032 s3.03 MiB3.25 MiB+ 229.41 KiB
/wp-admin/options-writing.php0.141 s0.164 s+0.023 s3.02 MiB3.23 MiB+ 213.93 KiB
/wp-admin/media-new.php0.454 s0.210 s-0.244 s3.01 MiB3.23 MiB+ 229.53 KiB
/wp-admin/edit-tags.php?taxonomy=category0.176 s0.254 s+0.078 s3.04 MiB3.26 MiB+ 229.81 KiB
/wp-admin/post-new.php?post_type=page0.635 s0.659 s+0.024 s5.26 MiB5.48 MiB+ 228.68 KiB
/wp-admin/options-discussion.php0.239 s0.319 s+0.080 s3 MiB3.23 MiB+ 230.44 KiB
/wp-admin/edit-comments.php0.219 s0.211 s-0.008 s3.04 MiB3.27 MiB+ 228.48 KiB
/0.287 s0.259 s-0.028 s2.91 MiB3.06 MiB+ 156.14 KiB
Average 0.340 s0.361 s+0.021 s3.43 MiB3.65 MiB+ 222.59 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.

JavaScript
PO File
PHP
CSS
SVG
Language % Lines of code Comment lines Files
JavaScript32.1%12,7062,0988
PO File23.7%9,3765,50011
PHP17.5%6,94339358
CSS15.3%6,0631409
SVG11.3%4,482123
Total 39,570 8,143 89

PHP Code Analysis | More results »

Lines of code 4,932
Total complexity 844
Median class complexity 13.0
Median method complexity 2.0
Most complex class WPCargo
Most complex function WPC_Export::wpc_export_request()
Classes 17
Methods 130
Functions 114

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 7

Custom Post Types 1

ID Name
wpcargo_shipmentShipment

Meta Boxes

{
    "wpcargo_shipment": {
        "wpc_add_meta_box": {
            "title": "Shipment Details",
            "context": "advanced"
        },
        "wpcargo_shipment_history": {
            "title": "Shipment History",
            "context": "advanced"
        },
        "wpcargo-multiple-package": {
            "title": "Packages",
            "context": "advanced"
        },
        "wpcargo_shipment_designation": {
            "title": "Assign shipment to",
            "context": "side"
        }
    }
}

Roles 3

ID Name
cargo_agentWPCargo Agent
wpcargo_employeeWPCargo Employee
wpcargo_clientWPCargo Client

Capabilities 1

PHP Error Log 17 lines

[21-Sep-2021 00:21:42 UTC] PHP Fatal error:  Uncaught Error: Call to undefined function wpcpq_dimension_unit() in /wp-content/plugins/wpcargo/includes/packages.php:166
Stack trace:
#0 /wp-includes/class-wp-hook.php(303): wpcargo_after_package_details_script_callback()
#1 /wp-includes/class-wp-hook.php(327): WP_Hook->apply_filters()
#2 /wp-includes/plugin.php(470): WP_Hook->do_action()
#3 /wp-content/plugins/wpcargo/includes/packages.php(154): do_action()
#4 /wp-includes/class-wp-hook.php(303): wpcargo_after_package_details_callback()
#5 /wp-includes/class-wp-hook.php(327): WP_Hook->apply_filters()
#6 /wp-includes/plugin.php(470): WP_Hook->do_action()
#7 /wp-content/plugins/wpcargo/admin/templates/package-metabox.tpl.php(60): do_action()
#8 /opt/bitnami/ in /wp-content/plugins/wpcargo/includes/packages.php on line 166
[21-Sep-2021 00:21:45 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/wpcargo/admin/templates/settings-option.tpl.php on line 81
[21-Sep-2021 00:21:45 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/wpcargo/admin/templates/settings-option.tpl.php on line 81
[21-Sep-2021 00:21:45 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/wpcargo/admin/templates/settings-option.tpl.php on line 81
[21-Sep-2021 00:21:45 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/wpcargo/admin/templates/settings-option.tpl.php on line 81
[21-Sep-2021 00:21:45 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/wpcargo/admin/templates/settings-option.tpl.php on line 81
[21-Sep-2021 00:21:45 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/wpcargo/admin/templates/settings-option.tpl.php on line 81
See also: All tests for this plugin, How to Hide WPCargo Admin Menus and Meta Boxes