Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
Installer ran successfully
Server metrics [RAM: ▲0.31MB] [CPU: ▼24.95ms] Passed 4 tests
A check of server-side resources used by LTL Freight Quotes - For Customers of FedEx Freight
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.85 ▲1.39 | 44.95 ▲4.88 |
Dashboard /wp-admin | 4.26 ▲0.91 | 34.41 ▼25.73 |
Posts /wp-admin/edit.php | 4.26 ▲0.90 | 35.34 ▼13.58 |
Add New Post /wp-admin/post-new.php | 4.26 ▼1.63 | 35.84 ▼61.09 |
Media Library /wp-admin/upload.php | 4.26 ▲1.03 | 37.12 ▲0.62 |
Server storage [IO: ▲0.77MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin installed successfully
Filesystem: 62 new files
Database: no new tables, 9 new options
New WordPress options |
---|
widget_recent-comments |
theysaidso_admin_options |
en_orders_ids |
widget_theysaidso_widget |
widget_recent-posts |
en_orders_ids_flag |
en_async_orders_exporting_process |
db_upgraded |
can_compress_scripts |
Browser metrics Passed 4 tests
An overview of browser requirements for LTL Freight Quotes - For Customers of FedEx Freight
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,949 ▲203 | 13.90 ▼0.90 | 5.31 ▲3.58 | 38.95 ▼5.55 |
Dashboard /wp-admin | 2,271 ▲83 | 5.29 ▲0.41 | 110.89 ▲9.30 | 43.77 ▲5.60 |
Posts /wp-admin/edit.php | 2,160 ▲71 | 2.31 ▲0.31 | 45.35 ▲9.66 | 41.49 ▲2.13 |
Add New Post /wp-admin/post-new.php | 1,428 ▼100 | 20.79 ▲2.49 | 572.61 ▼53.12 | 65.66 ▲14.32 |
Media Library /wp-admin/upload.php | 1,447 ▲59 | 4.34 ▲0.12 | 105.66 ▼0.32 | 44.36 ▲1.68 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
It is recommended to fix the following
- Uninstall procedure validation failed for this plugin
- > Warning in wp-admin/includes/plugin.php+294
opendir(wp-content/plugins/woocommerce): failed to open dir: No such file or directory
- This plugin did not uninstall successfully, leaving 10 options in the database
- db_upgraded
- en_async_orders_exporting_process
- en_orders_ids_flag
- fedex_freight_web_hook_plan_requests
- can_compress_scripts
- widget_recent-comments
- widget_theysaidso_widget
- widget_recent-posts
- theysaidso_admin_options
- en_orders_ids
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
The smoke test was a success, however most plugin functionality was not tested
SRP 0% from 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Almost there! Just fix the following items
- 1× PHP files output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/ltl-freight-quotes-fedex-freight-edition/logs/en-json-tree-view/en-jtv.php
- 9× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/ltl-freight-quotes-fedex-freight-edition/template/csv-export.php:9
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/ltl-freight-quotes-fedex-freight-edition/product/en-product-detail.php:26
- > PHP Fatal error
Uncaught Error: Class 'FedEx_Feight_Curl_Request' not found in wp-content/plugins/ltl-freight-quotes-fedex-freight-edition/logs/en-logs.php:14
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/ltl-freight-quotes-fedex-freight-edition/order/rates/order-rates.php:13
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/ltl-freight-quotes-fedex-freight-edition/order/en-order-export.php:14
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/ltl-freight-quotes-fedex-freight-edition/order/en-order-widget.php:16
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/ltl-freight-quotes-fedex-freight-edition/direct-service/connection-setting-direct-freight.php:10
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/ltl-freight-quotes-fedex-freight-edition/direct-service/direct-service-request.php:10
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/ltl-freight-quotes-fedex-freight-edition/direct-service/quote-setting-direct-freight.php:10
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
There were no browser issues found
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
Please fix the following attributes:
- Tags: There are too many tags (16 tag instead of maximum 10)
ltl-freight-quotes-fedex-freight-edition/ltl-freight-quotes-fedex-freight-edition.php 85% from 13 tests
"LTL Freight Quotes - For Customers of FedEx Freight" version 3.2.4's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
Please take the time to fix the following:
- Requires at least: Required version does not match the one declared in readme.txt ("6.2" instead of "6.4")
- Text Domain: Since WordPress version 4.6 the text domain is optional; if specified, it must be the same as the plugin slug
Code Analysis 97% from 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
Everything looks great! No dangerous files found in this plugin12,235 lines of code in 56 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 43 | 1,323 | 1,280 | 7,932 |
JavaScript | 7 | 540 | 660 | 2,896 |
CSS | 6 | 204 | 51 | 1,407 |
PHP code 50% from 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
These items need your attention
- Cyclomatic complexity of methods should be reduced to less than 100 (currently 130)
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.51 |
Average class complexity | 39.37 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 256.00 |
Average method complexity | 6.95 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 130.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 27 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 27 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 175 | |
▷ Static methods | 1 | 0.57% |
▷ Public methods | 175 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 51 | |
▷ Named functions | 49 | 96.08% |
▷ Anonymous functions | 2 | 3.92% |
Constants | 4 | |
▷ Global constants | 4 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
2 PNG files occupy 0.01MB with 0.00MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
warehouse-dropship/wild/assets/images/delete.png | 3.49KB | 0.86KB | ▼ 75.41% |
warehouse-dropship/wild/assets/images/edit.png | 3.09KB | 0.70KB | ▼ 77.43% |