Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.08MB] [CPU: ▼5.11ms] Passed 4 tests
This is a short check of server-side resources used by LTL Freight Quotes - TQL Edition
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.56 ▲0.09 | 37.34 ▼2.42 |
Dashboard /wp-admin | 3.39 ▲0.05 | 45.91 ▼15.99 |
Posts /wp-admin/edit.php | 3.51 ▲0.15 | 47.60 ▲2.42 |
Add New Post /wp-admin/post-new.php | 5.97 ▲0.09 | 91.22 ▼2.81 |
Media Library /wp-admin/upload.php | 3.32 ▲0.09 | 33.94 ▲0.78 |
Server storage [IO: ▲1.11MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin installed successfully
Filesystem: 142 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
theysaidso_admin_options |
widget_recent-comments |
widget_recent-posts |
db_upgraded |
can_compress_scripts |
Browser metrics Passed 4 tests
LTL Freight Quotes - TQL Edition: an overview of browser usage
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲38 | 14.63 ▲0.39 | 1.67 ▼0.08 | 38.55 ▼4.48 |
Dashboard /wp-admin | 2,205 ▲28 | 5.61 ▼0.01 | 91.77 ▲0.50 | 42.12 ▼2.41 |
Posts /wp-admin/edit.php | 2,111 ▲11 | 2.03 ▼0.11 | 39.57 ▼2.29 | 36.84 ▼0.95 |
Add New Post /wp-admin/post-new.php | 1,545 ▲19 | 25.24 ▲2.02 | 621.29 ▼50.68 | 61.62 ▲13.61 |
Media Library /wp-admin/upload.php | 1,410 ▲10 | 4.25 ▲0.10 | 97.36 ▼2.02 | 42.75 ▼2.25 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
You still need to fix the following
- This plugin does not fully uninstall, leaving 6 options in the database
- widget_recent-posts
- can_compress_scripts
- db_upgraded
- theysaidso_admin_options
- widget_theysaidso_widget
- widget_recent-comments
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)
Even though no errors were found, this is by no means an exhaustive test
SRP 0% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
The following issues need your attention
- 1× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/ltl-freight-quotes-tql-edition/admin/tab/logs/en-json-tree-view/en-jtv.php
- 3× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function register_activation_hook() in wp-content/plugins/ltl-freight-quotes-tql-edition/en-install.php:12
- > PHP Fatal error
Uncaught Error: Class 'EnTqlCurl\\EnTqlCurl' not found in wp-content/plugins/ltl-freight-quotes-tql-edition/admin/tab/logs/en-logs.php:39
- > PHP Fatal error
Uncaught Error: Class 'WC_Settings_Page' not found in wp-content/plugins/ltl-freight-quotes-tql-edition/admin/tab/en-tab.php:14
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
These attributes need to be fixed:
- Tags: Please reduce the number of tags, currently 16 tag instead of maximum 10
ltl-freight-quotes-tql-edition/ltl-freight-quotes-tql-edition.php 85% from 13 tests
"LTL Freight Quotes - TQL Edition" version 1.2.0's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
The following require your attention:
- 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 Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
Success! There were no dangerous files found in this plugin7,350 lines of code in 61 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 51 | 1,012 | 1,531 | 5,261 |
JavaScript | 5 | 251 | 244 | 1,371 |
CSS | 3 | 121 | 38 | 701 |
JSON | 2 | 0 | 0 | 17 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.45 |
Average class complexity | 17.70 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 114.00 |
Average method complexity | 4.61 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 46.00 |
Code structure | ||
---|---|---|
Namespaces | 37 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 44 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 44 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 204 | |
▷ Static methods | 100 | 49.02% |
▷ Public methods | 201 | 98.53% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 3 | 1.47% |
Functions | 32 | |
▷ Named functions | 29 | 90.62% |
▷ Anonymous functions | 3 | 9.38% |
Constants | 56 | |
▷ Global constants | 56 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size 0% from 2 tests
Image compression 0% from 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
74 PNG files occupy 0.64MB with 0.36MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
admin/tab/carriers/assets/rlca.png | 2.98KB | 2.07KB | ▼ 30.55% |
(invalid) admin/tab/carriers/assets/EQXT.png | 7.94KB | 0.00KB | ▼ 100.00% |
admin/tab/carriers/assets/smtl.png | 10.44KB | 4.67KB | ▼ 55.30% |
admin/tab/carriers/assets/ulrd.png | 7.43KB | 3.99KB | ▼ 46.30% |
admin/tab/carriers/assets/rblt.png | 6.40KB | 2.97KB | ▼ 53.50% |