Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
This plugin's installer ran successfully
Server metrics [RAM: ▼0.76MB] [CPU: ▼33.65ms] Passed 4 tests
Server-side resources used by LTL Freight Quotes - SEFL Edition
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.77 ▲0.31 | 41.51 ▼9.82 |
Dashboard /wp-admin | 3.20 ▼0.15 | 27.63 ▼41.89 |
Posts /wp-admin/edit.php | 3.20 ▼0.16 | 28.64 ▼21.72 |
Add New Post /wp-admin/post-new.php | 3.20 ▼2.69 | 29.95 ▼61.16 |
Media Library /wp-admin/upload.php | 3.20 ▼0.03 | 27.42 ▼8.58 |
Server storage [IO: ▲0.56MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin installed successfully
Filesystem: 51 new files
Database: no new tables, 9 new options
New WordPress options |
---|
theysaidso_admin_options |
en_orders_ids_flag |
can_compress_scripts |
db_upgraded |
en_orders_ids |
en_async_orders_exporting_process |
widget_recent-comments |
widget_theysaidso_widget |
widget_recent-posts |
Browser metrics Passed 4 tests
LTL Freight Quotes - SEFL Edition: an overview of browser usage
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,979 ▲208 | 13.79 ▼0.46 | 5.70 ▲3.90 | 41.08 ▼3.63 |
Dashboard /wp-admin | 2,276 ▲70 | 5.03 ▲0.13 | 109.99 ▼12.74 | 45.90 ▲2.86 |
Posts /wp-admin/edit.php | 2,159 ▲59 | 2.35 ▲0.38 | 41.85 ▲3.45 | 47.93 ▲11.22 |
Add New Post /wp-admin/post-new.php | 1,430 ▼115 | 20.67 ▼2.56 | 552.67 ▼124.44 | 76.42 ▲21.62 |
Media Library /wp-admin/upload.php | 1,452 ▲49 | 4.32 ▲0.13 | 107.28 ▼1.32 | 45.95 ▼2.78 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
The following items require your attention
- Uninstall procedure had uncaught errors
- > Warning in wp-admin/includes/plugin.php+294
opendir(wp-content/plugins/woocommerce): failed to open dir: No such file or directory
- This plugin does not fully uninstall, leaving 10 options in the database
- widget_recent-comments
- en_async_orders_exporting_process
- widget_recent-posts
- can_compress_scripts
- widget_theysaidso_widget
- en_orders_ids
- en_orders_ids_flag
- theysaidso_admin_options
- db_upgraded
- sefl_quotes_web_hook_plan_requests
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Good news, no errors were detected
SRP 50% 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
Please fix the following
- 5× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/ltl-freight-quotes-sefl-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-sefl-edition/product/en-product-detail.php:23
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/ltl-freight-quotes-sefl-edition/template/csv-export.php:9
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/ltl-freight-quotes-sefl-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-sefl-edition/order/rates/order-rates.php:13
- > 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
Often overlooked, readme.txt is one of the most important files in your plugin
These attributes need to be fixed:
- Tags: Please reduce the number of tags, currently 18 tag instead of maximum 10
ltl-freight-quotes-sefl-edition/ltl-freight-quotes-sefl-edition.php 77% from 13 tests
"LTL Freight Quotes - SEFL Edition" version 3.1.9's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
It is important to fix the following:
- 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
- Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 143 characters long)
- Requires at least: Required version 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 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
Good job! No executable or dangerous file extensions detected8,404 lines of code in 42 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 34 | 960 | 1,092 | 5,749 |
JavaScript | 5 | 397 | 607 | 1,797 |
CSS | 3 | 159 | 47 | 858 |
PHP code 50% from 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
The following items need your attention
- Cyclomatic complexity of methods has to be reduced to less than 100 (currently 101)
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.53 |
Average class complexity | 41.80 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 186.00 |
Average method complexity | 6.51 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 101.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 20 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 20 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 148 | |
▷ Static methods | 1 | 0.68% |
▷ Public methods | 148 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 43 | |
▷ Named functions | 43 | 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
All PNG images should be compressed to minimize bandwidth usage for end users
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% |