Benchmarks
Plugin footprint 83% 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.15MB] [CPU: ▼7.85ms] Passed 4 tests
Server-side resources used by Hellodialog
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.64 ▲0.17 | 49.82 ▲14.37 |
Dashboard /wp-admin | 3.47 ▲0.12 | 49.97 ▼9.86 |
Posts /wp-admin/edit.php | 3.58 ▲0.22 | 44.95 ▼3.73 |
Add New Post /wp-admin/post-new.php | 6.06 ▲0.16 | 80.62 ▼18.12 |
Media Library /wp-admin/upload.php | 3.39 ▲0.16 | 35.50 ▲0.31 |
Placeholders /wp-admin/admin.php?page=hd-placeholders | 3.36 | 31.12 |
All forms /wp-admin/edit.php?post_type=hellodialog_form | 3.43 | 36.22 |
Settings /wp-admin/admin.php?page=hd-settings | 3.38 | 32.37 |
Server storage [IO: ▲1.77MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
The plugin installed successfully
Filesystem: 34 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
widget_recent-posts |
widget_theysaidso_widget |
can_compress_scripts |
widget_recent-comments |
theysaidso_admin_options |
Browser metrics Passed 4 tests
An overview of browser requirements for Hellodialog
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,949 ▲163 | 13.71 ▼0.64 | 13.33 ▲11.49 | 41.96 ▲1.02 |
Dashboard /wp-admin | 2,232 ▲55 | 5.58 ▼0.04 | 94.43 ▲8.21 | 42.46 ▼2.15 |
Posts /wp-admin/edit.php | 2,134 ▲34 | 2.01 ▲0.03 | 37.23 ▲2.69 | 31.33 ▼2.20 |
Add New Post /wp-admin/post-new.php | 1,557 ▲29 | 23.32 ▲0.20 | 666.78 ▼2.75 | 60.41 ▲1.40 |
Media Library /wp-admin/upload.php | 1,440 ▲37 | 4.24 ▲0.08 | 97.72 ▼7.98 | 41.27 ▼4.29 |
Placeholders /wp-admin/admin.php?page=hd-placeholders | 800 | 2.00 | 26.49 | 22.71 |
All forms /wp-admin/edit.php?post_type=hellodialog_form | 1,101 | 1.96 | 28.64 | 28.60 |
Settings /wp-admin/admin.php?page=hd-settings | 940 | 2.03 | 22.26 | 26.13 |
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
It is recommended to fix the following
- This plugin did not uninstall successfully, leaving 6 options in the database
- can_compress_scripts
- widget_recent-posts
- widget_recent-comments
- widget_theysaidso_widget
- db_upgraded
- theysaidso_admin_options
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
The smoke test was a success, however most plugin functionality was not tested
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
Everything seems fine, however this is by no means an exhaustive test
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
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
These attributes need your attention:
- Plugin Name: You should set the name of your plugin on the first line (
=== hellodialog ===
)
hellodialog/index.php 92% from 13 tests
This is the main PHP file of "Hellodialog" version 1.7.11, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
It is important to fix the following:
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("hellodialog.php" instead of "index.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
Success! There were no dangerous files found in this plugin12,799 lines of code in 22 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 7 | 20 | 27 | 7,455 |
JavaScript | 6 | 1,089 | 691 | 3,889 |
PHP | 7 | 155 | 247 | 1,003 |
SVG | 1 | 0 | 0 | 288 |
PO File | 1 | 62 | 63 | 164 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.33 |
Average class complexity | 37.50 |
▷ Minimum class complexity | 7.00 |
▷ Maximum class complexity | 68.00 |
Average method complexity | 2.89 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 16.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 38 | |
▷ Static methods | 1 | 2.63% |
▷ Public methods | 37 | 97.37% |
▷ Protected methods | 1 | 2.63% |
▷ Private methods | 0 | 0.00% |
Functions | 1 | |
▷ Named functions | 1 | 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
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
1 compressed PNG file occupies 0.00MB
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/rsz_hellodialog.png | 1.06KB | 1.16KB | 0.00% |