Benchmarks
Plugin footprint 23% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Please fix the following installer errors
- This plugin did not install gracefully
- > Notice in wp-content/plugins/ltl-freight-quotes-worldwide-express-edition/carrier_list.php+27
Undefined offset: 0
Server metrics [RAM: ▲0.56MB] [CPU: ▼19.29ms] Passed 4 tests
This is a short check of server-side resources used by LTL Freight Quotes - Worldwide Express Edition
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 5.14 ▲1.68 | 56.24 ▲13.51 |
Dashboard /wp-admin | 4.50 ▲1.20 | 35.42 ▼16.26 |
Posts /wp-admin/edit.php | 4.50 ▲1.15 | 32.79 ▼18.65 |
Add New Post /wp-admin/post-new.php | 4.50 ▼1.38 | 38.59 ▼48.51 |
Media Library /wp-admin/upload.php | 4.50 ▲1.27 | 42.19 ▲6.25 |
Server storage [IO: ▲1.44MB] [DB: ▲0.01MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin was installed successfully
Filesystem: 132 new files
Database: 2 new tables, 19 new options
New tables |
---|
wp_wp_freights |
wp_warehouse |
New WordPress options |
---|
widget_recent-posts |
wwe_ltl_packages_quotes_package |
prevent_proceed_checkout_eniture |
en_orders_ids_flag |
theysaidso_admin_options |
wwe_quests_store_type |
eniture_plugin_2 |
wc_pervent_proceed_checkout_eniture |
wwe_ltl_package_expire_days |
wwe_ltl_package_expire_date |
... |
Browser metrics Passed 4 tests
LTL Freight Quotes - Worldwide Express Edition: an overview of browser usage
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,938 ▲177 | 13.56 ▼0.79 | 8.87 ▲7.12 | 41.61 ▼5.05 |
Dashboard /wp-admin | 2,232 ▲55 | 4.92 ▼0.71 | 88.79 ▼10.66 | 36.66 ▼7.47 |
Posts /wp-admin/edit.php | 2,144 ▲41 | 2.43 ▲0.46 | 42.28 ▲3.98 | 37.81 ▲4.85 |
Add New Post /wp-admin/post-new.php | 1,566 ▲40 | 23.08 ▼0.33 | 622.78 ▼36.05 | 33.47 ▼23.70 |
Media Library /wp-admin/upload.php | 1,440 ▲40 | 4.49 ▲0.28 | 117.60 ▲9.07 | 44.19 ▼2.87 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.01MB] 25% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
The following items require your attention
- This plugin did not uninstall without warnings or errors
- > Warning in wp-admin/includes/plugin.php+294
opendir(wp-content/plugins/woocommerce): failed to open dir: No such file or directory
- The uninstall procedure failed, leaving 2 tables in the database
- wp_warehouse
- wp_wp_freights
- This plugin did not uninstall successfully, leaving 15 options in the database
- en_wwe_ltl_update_now
- wwe_quests_web_hook_plan_requests
- en_async_orders_exporting_process
- en_old_user_dropship_status
- widget_theysaidso_widget
- en_old_user_warehouse_status
- can_compress_scripts
- theysaidso_admin_options
- en_orders_ids_flag
- en_orders_ids
- ...
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Good news, no errors were detected
SRP 0% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Please fix the following items
- 1× PHP files perform the task of outputting text when accessed with GET requests:
- > /wp-content/plugins/ltl-freight-quotes-worldwide-express-edition/logs/en-json-tree-view/en-jtv.php
- 7× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/ltl-freight-quotes-worldwide-express-edition/product/en-common-product-detail.php:26
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/ltl-freight-quotes-worldwide-express-edition/order/en-order-export.php:14
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/ltl-freight-quotes-worldwide-express-edition/template/csv-export.php:9
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/ltl-freight-quotes-worldwide-express-edition/order/rates/order-rates.php:13
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/ltl-freight-quotes-worldwide-express-edition/product/en-product-detail.php:27
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/ltl-freight-quotes-worldwide-express-edition/order/en-order-widget.php:15
- > PHP Fatal error
Uncaught Error: Class 'WWE_LTL_Curl_Request' not found in wp-content/plugins/ltl-freight-quotes-worldwide-express-edition/logs/en-logs.php:14
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser errors were detected
Optimizations
Plugin configuration 86% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
These attributes need to be fixed:
- Tags: Too many tags (17 tag instead of maximum 10); only the first 5 tags are used in your directory listing
ltl-freight-quotes-worldwide-express-edition/woocommercefrieght.php 77% from 13 tests
The main file in "LTL Freight Quotes - Worldwide Express Edition" v. 5.0.7 serves as a complement to information provided in readme.txt and as the entry point to the plugin
Please take the time to fix the following:
- Main file name: Name the main plugin file the same as the plugin slug ("ltl-freight-quotes-worldwide-express-edition.php" instead of "woocommercefrieght.php")
- Text Domain: If you choose to specify the text domain, it must be the same as the plugin slug; optional since WordPress version 4.6
- Requires at least: Required version does not match the one declared in readme.txt ("6.2" instead of "6.4")
Code Analysis 97% from 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
Good job! No executable or dangerous file extensions detected13,097 lines of code in 55 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 44 | 1,469 | 1,622 | 8,989 |
JavaScript | 6 | 470 | 635 | 2,488 |
CSS | 5 | 306 | 49 | 1,620 |
PHP code 50% from 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
The following items need your attention
- Cyclomatic complexity of methods should be reduced to less than 100 (currently 208)
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.52 |
Average class complexity | 49.21 |
▷ Minimum class complexity | 3.00 |
▷ Maximum class complexity | 330.00 |
Average method complexity | 7.11 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 208.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 29 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 29 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 229 | |
▷ Static methods | 2 | 0.87% |
▷ Public methods | 229 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 53 | |
▷ Named functions | 52 | 98.11% |
▷ Anonymous functions | 1 | 1.89% |
Constants | 7 | |
▷ Global constants | 7 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
70 PNG files occupy 0.63MB with 0.41MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
Carrier_Logos/fwdn.png | 7.01KB | 2.52KB | ▼ 64.06% |
Carrier_Logos/pitd.png | 14.05KB | 4.96KB | ▼ 64.67% |
Carrier_Logos/pyle.png | 15.53KB | 5.18KB | ▼ 66.67% |
Carrier_Logos/pmli.png | 3.75KB | 1.39KB | ▼ 63.03% |
Carrier_Logos/stdf.png | 11.41KB | 3.76KB | ▼ 67.04% |