Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
This plugin's installer ran successfully
Server metrics [RAM: ▲0.19MB] [CPU: ▼8.64ms] Passed 4 tests
This is a short check of server-side resources used by Popup Dialog Box - Responsive Message Box
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.67 ▲0.20 | 45.02 ▼4.83 |
Dashboard /wp-admin | 3.48 ▲0.13 | 52.76 ▼15.37 |
Posts /wp-admin/edit.php | 3.58 ▲0.22 | 53.28 ▼1.82 |
Add New Post /wp-admin/post-new.php | 6.19 ▲0.30 | 80.73 ▼12.55 |
Media Library /wp-admin/upload.php | 3.42 ▲0.19 | 39.60 ▼0.32 |
Popup Dialog Box /wp-admin/admin.php?page=popup-dialog-box-settings | 3.51 | 38.88 |
Basic Settings /wp-admin/admin.php?page=popup-dialog-box-basic-settings | 3.35 | 36.60 |
About /wp-admin/admin.php?page=popup-dialog-box-about | 3.43 | 35.02 |
Server storage [IO: ▲0.17MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
No storage issues were detected
Filesystem: 37 new files
Database: no new tables, 47 new options
New WordPress options |
---|
xyz_dbx_positioning |
xyz_dbx_display_position |
widget_recent-comments |
xyz_dbx_border_color |
xyz_dbx_repeat_interval_timing |
xyz_dbx_bottom_dim |
can_compress_scripts |
xyz_dbx_mode |
xyz_dbx_position_predefined |
xyz_dbx_delay |
... |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Popup Dialog Box - Responsive Message Box
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,941 ▲195 | 13.44 ▼0.71 | 10.56 ▲8.56 | 45.48 ▲3.31 |
Dashboard /wp-admin | 2,217 ▲40 | 5.60 ▼0.07 | 92.84 ▼5.53 | 75.02 ▲29.82 |
Posts /wp-admin/edit.php | 2,140 ▲37 | 2.03 ▲0.02 | 38.19 ▲0.86 | 38.15 ▲4.11 |
Add New Post /wp-admin/post-new.php | 1,555 ▲20 | 23.13 ▲5.06 | 669.79 ▲58.73 | 66.39 ▲5.90 |
Media Library /wp-admin/upload.php | 1,428 ▲31 | 4.15 ▼0.09 | 107.74 ▲4.11 | 72.78 ▲30.42 |
Popup Dialog Box /wp-admin/admin.php?page=popup-dialog-box-settings | 3,009 | 6.93 | 155.55 | 131.23 |
Basic Settings /wp-admin/admin.php?page=popup-dialog-box-basic-settings | 1,264 | 1.69 | 24.31 | 43.27 |
About /wp-admin/admin.php?page=popup-dialog-box-about | 1,850 | 1.70 | 26.10 | 49.01 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
You still need to fix the following
- Zombie WordPress options detected upon uninstall: 14 options
- xyz_dbx_bottom_dim
- xyz_dbx_title
- xyz_dbx_free_version
- widget_recent-comments
- xyz_dbx_bottom
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-posts
- xyz_dbx_right
- xyz_dbx_title_color
- ...
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Everything seems fine, however this is by no means an exhaustive test
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 fix the following items
- 2× PHP files perform the task of outputting text when accessed with GET requests:
- > /wp-content/plugins/popup-dialog-box/admin/footer.php
- > /wp-content/plugins/popup-dialog-box/popup-dialog-box.php
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine on the user side
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 88% from 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
These attributes need your attention:
- Screenshots: A description for screenshot #2 is missing in popup-dialog-box/assets to your readme.txt
- Tags: You are using too many tags: 12 tag instead of maximum 10
popup-dialog-box/popup-dialog-box.php 92% from 13 tests
The main PHP script in "Popup Dialog Box - Responsive Message Box" version 1.2.2 is automatically included on every request by WordPress
It is important to fix the following:
- Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 417 characters long)
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
Success! There were no dangerous files found in this plugin2,391 lines of code in 19 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 16 | 376 | 51 | 1,915 |
CSS | 1 | 110 | 3 | 438 |
JavaScript | 2 | 7 | 2 | 38 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.26 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 26 | |
▷ Named functions | 26 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 1 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
17 PNG files occupy 0.06MB with 0.01MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/facebook.png | 0.65KB | 0.65KB | ▼ 0.75% |
images/gplus.png | 1.06KB | 0.91KB | ▼ 13.85% |
images/tick.png | 0.91KB | 0.87KB | ▼ 4.30% |
images/xyz_logo.png | 9.26KB | 3.02KB | ▼ 67.36% |
images/popup-dialog-box.png | 0.64KB | 0.68KB | 0.00% |