Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
This plugin's installer ran successfully
Server metrics [RAM: ▲0.12MB] [CPU: ▼25.38ms] Passed 4 tests
An overview of server-side resources used by LTL Freight Quotes - ABF Freight Edition
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.64 ▲1.18 | 46.03 ▲6.44 |
Dashboard /wp-admin | 4.07 ▲0.76 | 34.64 ▼17.58 |
Posts /wp-admin/edit.php | 4.07 ▲0.71 | 36.51 ▼10.58 |
Add New Post /wp-admin/post-new.php | 4.07 ▼1.82 | 38.05 ▼69.20 |
Media Library /wp-admin/upload.php | 4.07 ▲0.83 | 34.60 ▼4.16 |
Server storage [IO: ▲0.69MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
No storage issues were detected
Filesystem: 62 new files
Database: no new tables, 9 new options
New WordPress options |
---|
db_upgraded |
widget_recent-posts |
en_async_orders_exporting_process |
widget_theysaidso_widget |
can_compress_scripts |
en_orders_ids_flag |
widget_recent-comments |
theysaidso_admin_options |
en_orders_ids |
Browser metrics Passed 4 tests
An overview of browser requirements for LTL Freight Quotes - ABF Freight Edition
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,969 ▲198 | 13.84 ▼0.44 | 6.14 ▲3.94 | 41.59 ▼2.72 |
Dashboard /wp-admin | 2,269 ▲92 | 5.05 ▼0.86 | 116.85 ▼11.33 | 44.71 ▼3.74 |
Posts /wp-admin/edit.php | 2,152 ▲63 | 2.23 ▲0.17 | 45.02 ▲6.33 | 47.72 ▲10.65 |
Add New Post /wp-admin/post-new.php | 1,423 ▼110 | 21.15 ▼2.14 | 578.89 ▼110.41 | 42.87 ▼13.18 |
Media Library /wp-admin/upload.php | 1,442 ▲54 | 4.36 ▲0.09 | 125.23 ▲13.82 | 53.74 ▲8.73 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
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 has failed, leaving 10 options in the database
- widget_theysaidso_widget
- db_upgraded
- can_compress_scripts
- en_async_orders_exporting_process
- widget_recent-comments
- abf_quotes_web_hook_plan_requests
- en_orders_ids
- widget_recent-posts
- theysaidso_admin_options
- en_orders_ids_flag
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Good news, no errors were detected
SRP 0% from 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
The following issues need your attention
- 1× PHP files perform the action of outputting non-empty strings when accessed directly:
- > /wp-content/plugins/ltl-freight-quotes-abf-freight-edition/logs/en-json-tree-view/en-jtv.php
- 6× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/ltl-freight-quotes-abf-freight-edition/product/en-product-detail.php:23
- > PHP Fatal error
Uncaught Error: Class 'ABF_Curl_Request' not found in wp-content/plugins/ltl-freight-quotes-abf-freight-edition/logs/en-logs.php:42
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/ltl-freight-quotes-abf-freight-edition/template/csv-export.php:9
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/ltl-freight-quotes-abf-freight-edition/order/en-order-widget.php:16
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/ltl-freight-quotes-abf-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-abf-freight-edition/order/rates/order-rates.php:13
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
There were no browser issues found
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
Attributes that need to be fixed:
- Tags: You are using too many tags: 16 tag instead of maximum 10
ltl-freight-quotes-abf-freight-edition/ltl-freight-quotes-abf-freight-edition.php 85% from 13 tests
"LTL Freight Quotes - ABF Freight Edition" version 3.2.1's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
Please make the necessary changes and fix the following:
- Text Domain: The text domain must be the same as the plugin slug, although optional since WordPress version 4.6
- Requires at least: The required version number must 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 | Executable files are considered dangerous and should not be included with any WordPress plugin
Everything looks great! No dangerous files found in this plugin10,234 lines of code in 49 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 38 | 1,106 | 1,259 | 6,271 |
JavaScript | 7 | 502 | 708 | 2,509 |
CSS | 4 | 283 | 58 | 1,454 |
PHP code 50% from 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
These items need your attention
- Method cyclomatic complexity has to be reduced to less than 100 (currently 128)
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.51 |
Average class complexity | 44.13 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 219.00 |
Average method complexity | 6.80 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 128.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 23 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 23 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 171 | |
▷ Static methods | 1 | 0.58% |
▷ Public methods | 171 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 45 | |
▷ Named functions | 45 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 3 | |
▷ Global constants | 3 | 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
4 PNG files occupy 0.01MB with 0.01MB in potential savings
Potential savings
Compression of 4 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
asset/edit.png | 3.09KB | 0.70KB | ▼ 77.43% |
warehouse-dropship/wild/assets/images/edit.png | 3.09KB | 0.70KB | ▼ 77.43% |
asset/delete.png | 3.49KB | 0.86KB | ▼ 75.41% |
warehouse-dropship/wild/assets/images/delete.png | 3.49KB | 0.86KB | ▼ 75.41% |