Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.01MB] [CPU: ▼3.46ms] Passed 4 tests
An overview of server-side resources used by Banckle Helpdesk
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 36.61 ▼0.02 |
Dashboard /wp-admin | 3.32 ▼0.02 | 43.73 ▼15.67 |
Posts /wp-admin/edit.php | 3.38 ▲0.02 | 45.44 ▲2.26 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.02 | 87.55 ▼0.42 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 35.80 ▲2.88 |
Server storage [IO: ▲0.01MB] [DB: ▲0.07MB] Passed 3 tests
Filesystem and database footprint
No storage issues were detected
Filesystem: 2 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_bhticketcaptureformwidget |
theysaidso_admin_options |
widget_theysaidso_widget |
widget_recent-comments |
can_compress_scripts |
widget_recent-posts |
db_upgraded |
Browser metrics Passed 4 tests
Banckle Helpdesk: an overview of browser usage
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,789 ▲43 | 14.32 ▼0.05 | 1.58 ▼0.03 | 41.39 ▼0.13 |
Dashboard /wp-admin | 2,198 ▲21 | 5.59 ▼0.08 | 82.13 ▼8.07 | 36.24 ▼2.50 |
Posts /wp-admin/edit.php | 2,100 ▼0 | 1.96 ▲0.00 | 34.86 ▼0.17 | 33.02 ▼4.99 |
Add New Post /wp-admin/post-new.php | 1,526 ▼2 | 23.12 ▼0.07 | 667.27 ▼0.67 | 57.53 ▲0.58 |
Media Library /wp-admin/upload.php | 1,400 ▼3 | 4.22 ▼0.09 | 109.36 ▲14.94 | 45.84 ▲4.42 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.07MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
Please fix the following items
- Zombie WordPress options were found after uninstall: 7 options
- widget_bhticketcaptureformwidget
- theysaidso_admin_options
- widget_recent-comments
- widget_recent-posts
- db_upgraded
- widget_theysaidso_widget
- can_compress_scripts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though everything seems fine, this is not an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Please fix the following items
- 1× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/banckle-helpdesk/bhticketcaptureform.php:26
- > PHP Fatal error
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)
No browser issues were found
Optimizations
Plugin configuration 87% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
These attributes need to be fixed:
- Screenshots: These screenshots have no corresponding images in /assets: #1 (Banckle Helpdesk Contact Capture Form Widget Code.), #2 (Banckle Helpdesk Dashboard.), #3 (Banckle Helpdesk Deals.)
- Tags: There are too many tags (24 tag instead of maximum 10)
banckle-helpdesk/bhticketcaptureform.php 85% from 13 tests
"Banckle Helpdesk" version 1.0's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
Please take the time to fix the following:
- Description: Please don't use more than 140 characters for the plugin description (currently 332 characters long)
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("banckle-helpdesk.php" instead of "bhticketcaptureform.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
Everything looks great! No dangerous files found in this plugin63 lines of code in 1 file:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 28 | 26 | 63 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.04 |
Average class complexity | 2.00 |
▷ Minimum class complexity | 2.00 |
▷ Maximum class complexity | 2.00 |
Average method complexity | 1.20 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 2.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 | 5 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 5 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ 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
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
There are no PNG files in this plugin