Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Installer ran successfully
Server metrics [RAM: ▲0.18MB] [CPU: ▲12.15ms] Passed 4 tests
Analyzing server-side resources used by Help Desk WP
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.63 ▲0.17 | 48.49 ▼2.65 |
Dashboard /wp-admin | 3.48 ▲0.17 | 68.22 ▲13.48 |
Posts /wp-admin/edit.php | 3.60 ▲0.24 | 71.96 ▲22.02 |
Add New Post /wp-admin/post-new.php | 6.46 ▲0.57 | 143.21 ▲44.79 |
Media Library /wp-admin/upload.php | 3.38 ▲0.16 | 53.35 ▲15.75 |
Server storage [IO: ▲1.60MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
No storage issues were detected
Filesystem: 83 new files
Database: no new tables, 9 new options
New WordPress options |
---|
theysaidso_admin_options |
can_compress_scripts |
widget_recent-comments |
widget_recent-posts |
widget_theysaidso_widget |
ticket_priority_children |
ticket_status_children |
ticket_type_children |
db_upgraded |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Help Desk WP
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,951 ▲162 | 14.73 ▼0.00 | 1.84 ▼1.20 | 42.39 ▼5.44 |
Dashboard /wp-admin | 2,357 ▲148 | 6.45 ▲0.61 | 135.83 ▲31.84 | 41.83 ▲1.54 |
Posts /wp-admin/edit.php | 2,263 ▲177 | 3.36 ▲1.38 | 52.17 ▲16.03 | 30.29 ▼3.26 |
Add New Post /wp-admin/post-new.php | 1,549 ▲12 | 18.51 ▼4.75 | 637.03 ▼9.78 | 36.60 ▼29.93 |
Media Library /wp-admin/upload.php | 1,405 ▲23 | 4.13 ▼0.18 | 81.45 ▼24.12 | 43.07 ▼0.89 |
Uninstaller [IO: ✅] [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
- This plugin did not uninstall successfully, leaving 9 options in the database
- can_compress_scripts
- widget_recent-posts
- db_upgraded
- ticket_priority_children
- ticket_status_children
- ticket_type_children
- widget_theysaidso_widget
- widget_recent-comments
- theysaidso_admin_options
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Even though no errors were found, this is by no means an exhaustive test
SRP Passed 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Looking good! No server-side errors or output on direct access of PHP files
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
Everything seems fine on the user side
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
These attributes need your attention:
- Screenshots: No descriptions were found for these screenshots #1, #2, #3, #4, #5, #6, #7 in helpdeskwp/assets to your readme.txt
helpdeskwp/helpdeskwp.php Passed 13 tests
The main PHP script in "Help Desk WP" version 1.2.0 is automatically included on every request by WordPress
30 characters long description:
Help Desk and customer support
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
Success! There were no dangerous files found in this plugin7,152 lines of code in 78 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 39 | 445 | 2 | 4,153 |
PHP | 22 | 428 | 655 | 1,718 |
Sass | 5 | 197 | 0 | 1,039 |
CSS | 5 | 17 | 3 | 235 |
SVG | 7 | 0 | 0 | 7 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.28 |
Average class complexity | 9.53 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 29.00 |
Average method complexity | 2.13 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 28.00 |
Code structure | ||
---|---|---|
Namespaces | 3 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 15 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 15 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 113 | |
▷ Static methods | 25 | 22.12% |
▷ Public methods | 100 | 88.50% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 13 | 11.50% |
Functions | 4 | |
▷ Named functions | 4 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 3 | |
▷ Global constants | 3 | 100.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