Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.01MB] [CPU: ▼20.70ms] Passed 4 tests
Server-side resources used by Onclick show popup
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 52.06 ▼21.90 |
Dashboard /wp-admin | 3.32 ▲0.01 | 68.66 ▼47.33 |
Posts /wp-admin/edit.php | 3.37 ▲0.01 | 61.21 ▼17.88 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.01 | 133.07 ▲5.47 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 48.59 ▲4.32 |
Onclick show popup /wp-admin/options-general.php?page=onclick-show-popup | 3.28 | 65.05 |
Server storage [IO: ▲0.19MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
The plugin installed successfully
Filesystem: 52 new files
Database: 1 new table, 11 new options
New tables |
---|
wp_onclick_show_popup |
New WordPress options |
---|
widget_recent-comments |
OnclickShowPopup_random |
theysaidso_admin_options |
OnclickShowPopup_title_yes |
OnclickShowPopup_theme |
widget_recent-posts |
OnclickShowPopup_title |
can_compress_scripts |
widget_theysaidso_widget |
OnclickShowPopup_widget |
... |
Browser metrics Passed 4 tests
Onclick show popup: an overview of browser usage
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,901 ▲150 | 14.52 ▲0.25 | 6.32 ▲3.51 | 59.08 ▼25.34 |
Dashboard /wp-admin | 2,199 ▲28 | 5.70 ▲0.05 | 146.71 ▼50.60 | 63.89 ▼18.84 |
Posts /wp-admin/edit.php | 2,104 ▲4 | 1.94 ▼0.08 | 58.67 ▼19.13 | 55.50 ▼27.47 |
Add New Post /wp-admin/post-new.php | 1,407 ▲3 | 17.81 ▼0.04 | 1,013.72 ▲187.58 | 63.77 ▲7.13 |
Media Library /wp-admin/upload.php | 1,401 ▲4 | 4.17 ▲0.00 | 167.69 ▼5.19 | 67.07 ▲3.66 |
Onclick show popup /wp-admin/options-general.php?page=onclick-show-popup | 983 | 1.99 | 36.34 | 36.67 |
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 did not uninstall successfully, leaving 6 options in the database
- theysaidso_admin_options
- can_compress_scripts
- widget_recent-posts
- widget_recent-comments
- db_upgraded
- widget_theysaidso_widget
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
The smoke test was a success, however most plugin functionality was not tested
SRP 50% from 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
The following issues need your attention
- 5× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/onclick-show-popup/pages/content-management-add.php
- > /wp-content/plugins/onclick-show-popup/pages/content-management-edit.php
- > /wp-content/plugins/onclick-show-popup/pages/content-management-show.php
- > /wp-content/plugins/onclick-show-popup/pages/content-setting.php
- > /wp-content/plugins/onclick-show-popup/onclick-show-popup.php
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 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
3 plugin tags: popup, onclick, prettyphoto
onclick-show-popup/onclick-show-popup.php 92% from 13 tests
The principal PHP file in "Onclick show popup" v. 8.2 is loaded by WordPress automatically on each request
Please take the time to fix the following:
- Description: The description should be shorter than 140 characters (currently 202 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
Everything looks great! No dangerous files found in this plugin1,970 lines of code in 11 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 6 | 100 | 33 | 853 |
JavaScript | 2 | 186 | 95 | 676 |
PO File | 2 | 114 | 174 | 271 |
CSS | 1 | 0 | 0 | 170 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
Great job! No cyclomatic complexity issues were detected in this plugin
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 | 13 | |
▷ Named functions | 13 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 6 | |
▷ Global constants | 6 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
27 PNG files occupy 0.04MB with 0.02MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/prettyPhoto/facebook/contentPatternLeft.png | 0.13KB | 0.10KB | ▼ 24.82% |
images/prettyPhoto/light_square/btnPrevious.png | 1.41KB | 1.19KB | ▼ 15.74% |
images/prettyPhoto/dark_rounded/sprite.png | 3.98KB | 2.56KB | ▼ 35.79% |
images/prettyPhoto/facebook/btnPrevious.png | 0.81KB | 0.58KB | ▼ 27.90% |
images/prettyPhoto/default/sprite_next.png | 1.33KB | 0.39KB | ▼ 70.69% |