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.04MB] [CPU: ▼2.96ms] Passed 4 tests
An overview of server-side resources used by MotorDesk
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.50 ▲0.03 | 36.64 ▼0.61 |
Dashboard /wp-admin | 3.35 ▲0.04 | 43.36 ▼5.10 |
Posts /wp-admin/edit.php | 3.40 ▲0.04 | 47.14 ▲0.91 |
Add New Post /wp-admin/post-new.php | 5.93 ▲0.04 | 81.82 ▼6.44 |
Media Library /wp-admin/upload.php | 3.27 ▲0.04 | 33.50 ▲0.30 |
Server storage [IO: ▲0.10MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin installed successfully
Filesystem: 24 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
widget_recent-posts |
widget_recent-comments |
db_upgraded |
can_compress_scripts |
theysaidso_admin_options |
Browser metrics Passed 4 tests
MotorDesk: an overview of browser usage
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,801 ▲40 | 14.16 ▼0.19 | 1.54 ▼0.02 | 36.04 ▼5.04 |
Dashboard /wp-admin | 2,207 ▲27 | 5.51 ▼0.14 | 83.27 ▼5.29 | 36.66 ▼1.48 |
Posts /wp-admin/edit.php | 2,112 ▲12 | 2.00 ▲0.00 | 35.06 ▼0.90 | 29.84 ▼2.68 |
Add New Post /wp-admin/post-new.php | 1,536 ▲4 | 23.29 ▲0.59 | 690.32 ▲44.25 | 65.51 ▲17.61 |
Media Library /wp-admin/upload.php | 1,406 ▲3 | 4.23 ▼0.03 | 93.98 ▼0.92 | 40.30 ▼3.63 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
These items require your attention
- This plugin did not uninstall without warnings or errors
- > Notice in wp-content/plugins/motordesk/uninstall.php+29
Undefined variable: index_keys
- Zombie WordPress options detected upon uninstall: 6 options
- widget_recent-posts
- db_upgraded
- theysaidso_admin_options
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-comments
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
The smoke test was a success, however most plugin functionality was not tested
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
Please fix the following
- 4× PHP files output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/motordesk/template/motordesk_vehicle_template_search_form.php
- > /wp-content/plugins/motordesk/template/motordesk_vehicle_template_latest.php
- > /wp-content/plugins/motordesk/template/motordesk_vehicle_template_search_embed.php
- > /wp-content/plugins/motordesk/template/motordesk_vehicle_template_search.php
- 327× GET requests to PHP files have triggered server-side errors or warnings (only 10 are shown):
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/motordesk/template/motordesk_vehicle_template_search_form.php on line 116
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/motordesk/template/motordesk_vehicle_template_search_form.php on line 123
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/motordesk/template/motordesk_vehicle_template_search_form.php on line 9
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/motordesk/template/motordesk_vehicle_template_search_form.php on line 81
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/motordesk/template/motordesk_vehicle_template_search_form.php on line 39
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/motordesk/template/motordesk_vehicle_template_search_form.php on line 39
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/motordesk/template/motordesk_vehicle_template_search_form.php on line 88
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/motordesk/template/motordesk_vehicle_template_search_form.php on line 81
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/motordesk/template/motordesk_vehicle_template_search_form.php on line 137
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/motordesk/template/motordesk_vehicle_template_search_form.php on line 55
- > PHP Notice
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 93% from 29 tests
readme.txt 94% from 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
Attributes that need to be fixed:
- Tags: There were no tags found
motordesk/motordesk.php 92% from 13 tests
Analyzing the main PHP file in "MotorDesk" version 1.0.9
Please make the necessary changes and fix the following:
- Description: Please keep the plugin description shorter than 140 characters (currently 230 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
Good job! No executable or dangerous file extensions detected1,843 lines of code in 17 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 15 | 924 | 194 | 1,726 |
CSS | 1 | 17 | 1 | 82 |
JavaScript | 1 | 15 | 3 | 35 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.50 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 33 | |
▷ Named functions | 33 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 2 | |
▷ Global constants | 2 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
No PNG files were detected