Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Install script ran successfully
Server metrics [RAM: ▲0.20MB] [CPU: ▼5.89ms] Passed 4 tests
An overview of server-side resources used by Transporters.io
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.67 ▲0.20 | 39.51 ▼2.72 |
Dashboard /wp-admin | 3.51 ▲0.16 | 51.20 ▼15.57 |
Posts /wp-admin/edit.php | 3.62 ▲0.26 | 55.47 ▲3.58 |
Add New Post /wp-admin/post-new.php | 6.24 ▲0.34 | 97.50 ▼4.64 |
Media Library /wp-admin/upload.php | 3.42 ▲0.19 | 36.91 ▼0.62 |
Server storage [IO: ▲2.94MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
There were no storage issued detected upon installing this plugin
Filesystem: 82 new files
Database: no new tables, 7 new options
New WordPress options |
---|
db_upgraded |
widget_quoteform_widget |
theysaidso_admin_options |
widget_recent-comments |
can_compress_scripts |
widget_theysaidso_widget |
widget_recent-posts |
Browser metrics Passed 4 tests
Transporters.io: an overview of browser usage
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,040 ▲293 | 15.13 ▲0.97 | 9.01 ▲6.40 | 36.86 ▼6.94 |
Dashboard /wp-admin | 2,264 ▲83 | 5.84 ▲0.13 | 100.65 ▼7.30 | 100.11 ▲55.73 |
Posts /wp-admin/edit.php | 2,187 ▲87 | 2.72 ▲0.75 | 47.74 ▲2.87 | 50.71 ▲13.48 |
Add New Post /wp-admin/post-new.php | 1,571 ▲45 | 23.42 ▼0.23 | 664.34 ▲20.43 | 32.97 ▼21.91 |
Media Library /wp-admin/upload.php | 1,484 ▲81 | 5.28 ▲1.11 | 103.00 ▲5.29 | 87.30 ▲45.17 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
Please fix the following items
- Zombie WordPress options detected upon uninstall: 7 options
- widget_recent-posts
- theysaidso_admin_options
- widget_quoteform_widget
- can_compress_scripts
- db_upgraded
- widget_recent-comments
- widget_theysaidso_widget
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
The smoke test was a success, however most plugin functionality was not tested
SRP 50% 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
- 3× PHP files trigger errors when accessed directly with GET requests:
- > PHP Notice
Undefined variable: fixed in wp-content/plugins/transportersio/includes/quoteform_scripts_front.php on line 5
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/transportersio/includes/quoteform_scripts_front.php:1939
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/transportersio/includes/class-quoteform-widget.php:3
- > PHP Notice
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
There were no browser issues found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
These attributes need to be fixed:
- Tags: Please delete some tags, you are using 16 tag instead of maximum 10
transportersio/transporters-io.php 92% from 13 tests
The entry point to "Transporters.io" version 2.0.82 is a PHP file that has certain tags in its header comment area
You should first fix the following items:
- Main file name: It is recommended to name the main PHP file as the plugin slug ("transportersio.php" instead of "transporters-io.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
There were no executable files found in this plugin8,456 lines of code in 45 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 10 | 446 | 188 | 3,156 |
JavaScript | 14 | 282 | 219 | 2,033 |
PO File | 12 | 761 | 989 | 1,625 |
SVG | 2 | 0 | 0 | 943 |
CSS | 7 | 141 | 44 | 699 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.60 |
Average class complexity | 3.67 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 9.00 |
Average method complexity | 2.33 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 7.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 3 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 3 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 6 | |
▷ Static methods | 2 | 33.33% |
▷ Public methods | 6 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 20 | |
▷ Named functions | 20 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 0 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
2 PNG files occupy 0.01MB with 0.01MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/transporters-icon.png | 3.79KB | 1.09KB | ▼ 71.19% |
images/transporters-logo.png | 10.79KB | 3.46KB | ▼ 67.93% |