Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Installer ran successfully
Server metrics [RAM: ▲0.20MB] [CPU: ▼5.38ms] Passed 4 tests
Server-side resources used by Quick Box - Onclick Popup Notification Box
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.67 ▲0.21 | 34.28 ▼6.10 |
Dashboard /wp-admin | 3.48 ▲0.18 | 43.38 ▼6.58 |
Posts /wp-admin/edit.php | 3.58 ▲0.23 | 46.60 ▼2.37 |
Add New Post /wp-admin/post-new.php | 6.19 ▲0.31 | 85.80 ▼6.47 |
Media Library /wp-admin/upload.php | 3.42 ▲0.19 | 40.11 ▲4.69 |
Basic Settings /wp-admin/admin.php?page=quickbox-basic-settings | 3.36 | 30.41 |
About /wp-admin/admin.php?page=quickbox-about | 3.40 | 35.28 |
Quick Box /wp-admin/admin.php?page=quickbox-settings | 3.50 | 36.29 |
Server storage [IO: ▲0.17MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
The plugin installed successfully
Filesystem: 37 new files
Database: no new tables, 38 new options
New WordPress options |
---|
xyz_qbx_page_count |
xyz_qbx_display_position |
xyz_qbx_font |
xyz_qbx_height |
widget_recent-posts |
xyz_qbx_border_width |
xyz_qbx_title_color |
widget_recent-comments |
xyz_qbx_width_dim |
xyz_qbx_adds_enable |
... |
Browser metrics Passed 4 tests
Quick Box - Onclick Popup Notification Box: an overview of browser usage
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,959 ▲202 | 13.55 ▼0.45 | 11.75 ▲9.77 | 38.97 ▼3.77 |
Dashboard /wp-admin | 2,240 ▲52 | 5.84 ▼0.22 | 96.35 ▼12.47 | 90.76 ▲48.69 |
Posts /wp-admin/edit.php | 2,129 ▲40 | 2.05 ▲0.05 | 42.10 ▲1.09 | 33.42 ▼2.05 |
Add New Post /wp-admin/post-new.php | 1,696 ▲175 | 22.48 ▼0.57 | 668.37 ▲8.95 | 51.60 ▲1.77 |
Media Library /wp-admin/upload.php | 1,410 ▲22 | 4.17 ▼0.09 | 95.38 ▼17.01 | 73.30 ▲25.88 |
Basic Settings /wp-admin/admin.php?page=quickbox-basic-settings | 1,246 | 1.69 | 25.17 | 54.11 |
About /wp-admin/admin.php?page=quickbox-about | 1,779 | 1.79 | 25.00 | 54.09 |
Quick Box /wp-admin/admin.php?page=quickbox-settings | 2,632 | 6.96 | 145.13 | 133.07 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
These items require your attention
- This plugin does not fully uninstall, leaving 11 options in the database
- xyz_credit_link
- xyz_qbx_title
- widget_theysaidso_widget
- widget_recent-comments
- xyz_qbx_title_color
- can_compress_scripts
- widget_recent-posts
- db_upgraded
- theysaidso_admin_options
- xyz_qbx_font
- ...
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Good news, no errors were detected
SRP Passed 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
No output text or server-side errors detected on direct access of PHP files
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine on the user side
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
These attributes need to be fixed:
- Tags: Please reduce the number of tags, currently 12 tag instead of maximum 10
quick-box-popup/quick-box-popup.php 92% from 13 tests
The main PHP script in "Quick Box - Onclick Popup Notification Box" version 1.2.2 is automatically included on every request by WordPress
Please take the time to fix the following:
- Description: The description should be shorter than 140 characters (currently 412 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
There were no executable files found in this plugin2,446 lines of code in 19 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 16 | 347 | 57 | 1,967 |
CSS | 1 | 110 | 3 | 441 |
JavaScript | 2 | 10 | 1 | 38 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.32 |
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
All PNG images should be compressed to minimize bandwidth usage for end users
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/tick.png | 0.91KB | 0.87KB | ▼ 4.30% |
images/facebook.png | 0.65KB | 0.65KB | ▼ 0.75% |
images/xyz_logo.png | 9.26KB | 3.02KB | ▼ 67.36% |
images/gplus.png | 1.06KB | 0.91KB | ▼ 13.85% |
images/twitter.png | 0.98KB | 0.85KB | ▼ 13.70% |