Benchmarks
Plugin footprint 82% 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 gracefully, with no errors
Server metrics [RAM: ▲0.10MB] [CPU: ▼4.50ms] Passed 4 tests
Server-side resources used by UserDeck Customer Support
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.57 ▲0.11 | 43.12 ▲0.28 |
Dashboard /wp-admin | 3.42 ▲0.08 | 50.90 ▼15.02 |
Posts /wp-admin/edit.php | 3.53 ▲0.18 | 54.58 ▲8.07 |
Add New Post /wp-admin/post-new.php | 6.00 ▲0.11 | 93.90 ▼6.20 |
Media Library /wp-admin/upload.php | 3.34 ▲0.11 | 40.56 ▲2.96 |
Server storage [IO: ▲0.07MB] [DB: ▲0.00MB] 67% from 3 tests
Analyzing filesystem and database footprints of this plugin
It is recommended to fix the following issues
- You have illegally modified 1 file (4.00KB) outside of "wp-content/plugins/userdeck/" and "wp-content/uploads/"
- (new file) wp-content/mgd_mirror/mgd_maximinodotpy-gitdown-test-repository
Filesystem: 4 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_recent-comments |
db_upgraded |
theysaidso_admin_options |
widget_theysaidso_widget |
can_compress_scripts |
widget_recent-posts |
userdeck |
Browser metrics Passed 4 tests
A check of browser resources used by UserDeck Customer Support
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,852 ▲106 | 13.27 ▼1.09 | 4.56 ▲2.48 | 40.03 ▼3.96 |
Dashboard /wp-admin | 2,262 ▲58 | 4.88 ▼0.09 | 100.67 ▼24.88 | 41.35 ▼2.70 |
Posts /wp-admin/edit.php | 2,137 ▲37 | 2.03 ▼0.01 | 40.60 ▲4.27 | 37.77 ▲2.62 |
Add New Post /wp-admin/post-new.php | 1,566 ▲12 | 23.03 ▲4.76 | 671.89 ▲34.42 | 60.04 ▼6.66 |
Media Library /wp-admin/upload.php | 1,438 ▲38 | 4.22 ▼0.14 | 101.25 ▼5.00 | 49.13 ▲3.27 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
Please fix the following items
- This plugin does not fully uninstall, leaving 6 options in the database
- db_upgraded
- theysaidso_admin_options
- widget_theysaidso_widget
- widget_recent-comments
- can_compress_scripts
- widget_recent-posts
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 take a closer look at the following
- 2× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_create_nonce() in wp-content/plugins/userdeck/views/admin-options.php:423
- > PHP Notice
Undefined variable: show_options in wp-content/plugins/userdeck/views/admin-options.php on line 6
- > PHP Fatal error
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 93% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
Attributes that require attention:
- Tags: Please reduce the number of tags, currently 18 tag instead of maximum 10
userdeck/userdeck.php 92% from 13 tests
This is the main PHP file of "UserDeck Customer Support" version 1.1.8, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
You should first fix the following items:
- Description: Keep the plugin description shorter than 140 characters (currently 162 characters long)
Code Analysis Passed 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
Success! There were no dangerous files found in this plugin1,018 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 292 | 69 | 954 |
JavaScript | 1 | 18 | 0 | 64 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.51 |
Average class complexity | 110.00 |
▷ Minimum class complexity | 110.00 |
▷ Maximum class complexity | 110.00 |
Average method complexity | 4.21 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 40.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 34 | |
▷ Static methods | 4 | 11.76% |
▷ Public methods | 33 | 97.06% |
▷ Protected methods | 1 | 2.94% |
▷ Private methods | 0 | 0.00% |
Functions | 1 | |
▷ Named functions | 1 | 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
Using a strong compression for your PNG files is a great way to speed-up your plugin
There were not PNG files found in your plugin