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
This plugin's installer ran successfully
Server metrics [RAM: ▲0.29MB] [CPU: ▼3.09ms] Passed 4 tests
Analyzing server-side resources used by WP Help Desk
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.75 ▲0.28 | 45.28 ▲2.04 |
Dashboard /wp-admin | 3.58 ▲0.28 | 50.55 ▲0.17 |
Posts /wp-admin/edit.php | 3.70 ▲0.34 | 49.59 ▼1.22 |
Add New Post /wp-admin/post-new.php | 6.26 ▲0.37 | 87.74 ▼12.04 |
Media Library /wp-admin/upload.php | 3.51 ▲0.27 | 35.73 ▲0.74 |
Add New /wp-admin/post-new.php?post_type=article | 6.25 | 80.79 |
All Articles /wp-admin/edit.php?post_type=article | 3.55 | 35.97 |
Topics /wp-admin/edit-tags.php?taxonomy=topic&post_type=article | 3.50 | 34.49 |
Server storage [IO: ▲0.27MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin was installed successfully
Filesystem: 27 new files
Database: no new tables, 9 new options
New WordPress options |
---|
can_compress_scripts |
widget_wp_help_desk_search_widget |
widget_recent-comments |
theysaidso_admin_options |
widget_recent-posts |
widget_wp_help_desk_widget |
widget_theysaidso_widget |
wp_help_desk_version |
db_upgraded |
Browser metrics Passed 4 tests
WP Help Desk: 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,942 ▲196 | 13.63 ▼0.95 | 8.66 ▲6.90 | 43.38 ▼2.36 |
Dashboard /wp-admin | 2,234 ▲43 | 5.97 ▲0.07 | 98.33 ▼15.03 | 42.25 ▲0.88 |
Posts /wp-admin/edit.php | 2,120 ▲31 | 1.99 ▼0.02 | 34.13 ▼3.30 | 31.57 ▼3.16 |
Add New Post /wp-admin/post-new.php | 1,559 ▲37 | 23.11 ▼0.07 | 629.32 ▼19.02 | 48.75 ▼6.05 |
Media Library /wp-admin/upload.php | 1,422 ▲34 | 4.19 ▲0.01 | 95.64 ▼2.51 | 43.49 ▲0.91 |
Add New /wp-admin/post-new.php?post_type=article | 6,185 | 24.43 | 964.07 | 30.15 |
All Articles /wp-admin/edit.php?post_type=article | 1,098 | 1.93 | 29.45 | 30.77 |
Topics /wp-admin/edit-tags.php?taxonomy=topic&post_type=article | 1,293 | 2.13 | 27.36 | 26.94 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
These items require your attention
- The uninstall procedure has failed, leaving 9 options in the database
- theysaidso_admin_options
- widget_wp_help_desk_search_widget
- can_compress_scripts
- widget_recent-posts
- wp_help_desk_version
- widget_recent-comments
- db_upgraded
- widget_theysaidso_widget
- widget_wp_help_desk_widget
Smoke tests Passed 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)
Everything seems fine, however this is by no means an exhaustive test
SRP Passed 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
Everything seems fine, however this is by no means an exhaustive test
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser issues were found
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 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
3 plugin tags: template, plugin, wordpress
wp-help-desk/wp-help-desk.php 92% from 13 tests
The main file in "WP Help Desk" v. 0.1.0 serves as a complement to information provided in readme.txt and as the entry point to the plugin
It is important to fix the following:
- Domain Path: The domain path is invalid: folder "/lang/" does not exist
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
There were no executable files found in this plugin7,432 lines of code in 22 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JSON | 2 | 0 | 0 | 6,242 |
PHP | 10 | 280 | 672 | 919 |
JavaScript | 7 | 84 | 86 | 205 |
Markdown | 1 | 23 | 0 | 36 |
Sass | 1 | 1 | 1 | 29 |
CSS | 1 | 0 | 0 | 1 |
PHP code Passed 2 tests
A short 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.35 |
Average class complexity | 15.12 |
▷ Minimum class complexity | 4.00 |
▷ Maximum class complexity | 61.00 |
Average method complexity | 3.22 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 43.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 8 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 8 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 51 | |
▷ Static methods | 2 | 3.92% |
▷ Public methods | 49 | 96.08% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 2 | 3.92% |
Functions | 6 | |
▷ Named functions | 3 | 50.00% |
▷ Anonymous functions | 3 | 50.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
PNG files should be compressed to save space and minimize bandwidth usage
No PNG images were found in this plugin