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.07MB] [CPU: ▼5.31ms] Passed 4 tests
Analyzing server-side resources used by Ultimate Popup Free
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.52 ▲0.06 | 38.36 ▼4.87 |
Dashboard /wp-admin | 3.38 ▲0.08 | 49.89 ▼0.56 |
Posts /wp-admin/edit.php | 3.43 ▲0.07 | 52.30 ▲1.33 |
Add New Post /wp-admin/post-new.php | 5.98 ▲0.09 | 87.78 ▼10.73 |
Media Library /wp-admin/upload.php | 3.30 ▲0.07 | 36.16 ▼5.09 |
Popups /wp-admin/edit.php?post_type=ultimate-popup-free | 3.35 | 37.79 |
Add New /wp-admin/post-new.php?post_type=ultimate-popup-free | 3.85 | 50.17 |
Server storage [IO: ▲2.79MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin was installed successfully
Filesystem: 311 new files
Database: no new tables, 8 new options
New WordPress options |
---|
ppm_side_popup_free_help |
ppm_side_popup_free_global |
db_upgraded |
widget_theysaidso_widget |
widget_recent-comments |
can_compress_scripts |
theysaidso_admin_options |
widget_recent-posts |
Browser metrics Passed 4 tests
An overview of browser requirements for Ultimate Popup Free
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,944 ▲198 | 13.74 ▼0.70 | 5.52 ▲3.80 | 38.85 ▼4.00 |
Dashboard /wp-admin | 2,260 ▲72 | 4.89 ▼1.00 | 114.22 ▲4.08 | 42.86 ▲1.68 |
Posts /wp-admin/edit.php | 2,143 ▲54 | 2.09 ▲0.09 | 40.80 ▼0.05 | 35.94 ▼1.13 |
Add New Post /wp-admin/post-new.php | 1,562 ▲29 | 23.25 ▲0.01 | 662.58 ▲48.41 | 57.87 ▲6.30 |
Media Library /wp-admin/upload.php | 1,436 ▲45 | 4.32 ▲0.14 | 96.11 ▼4.11 | 44.16 ▼6.06 |
Popups /wp-admin/edit.php?post_type=ultimate-popup-free | 1,116 | 2.03 | 39.17 | 30.46 |
Add New /wp-admin/post-new.php?post_type=ultimate-popup-free | 2,276 | 4.23 | 92.87 | 65.58 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
The following items require your attention
- Zombie WordPress options detected upon uninstall: 8 options
- can_compress_scripts
- widget_recent-comments
- ppm_side_popup_free_global
- ppm_side_popup_free_help
- db_upgraded
- widget_theysaidso_widget
- theysaidso_admin_options
- widget_recent-posts
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 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Please fix the following
- 7× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/ultimate-popup-free/inc/cmb2/init.php:119
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/ultimate-popup-free/inc/settings-api/ppm-popup-options.php:84
- > PHP Fatal error
Uncaught Error: Class 'WeDevs_Settings_API' not found in wp-content/plugins/ultimate-popup-free/inc/settings-api/settings-api.php:14
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/ultimate-popup-free/inc/cmb2/init.php:119
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/ultimate-popup-free/inc/popup-content/ppm-popup-content-global.php:4
- > PHP Fatal error
Uncaught Error: Call to undefined function do_action() in wp-content/plugins/ultimate-popup-free/inc/cmb2/bootstrap.php:17
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/ultimate-popup-free/ultimate-popup-free.php:15
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser errors were detected
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
These attributes need your attention:
- Plugin Name: Please replace "Plugin Name" with the name of your plugin on the first line (
=== ultimate-popup-free ===
) - Screenshots: Add images for these screenshots: #1 (PopUp in website), #2 (Each popup settings), #3 (Each popup settings), #4 (Global popup settings)
ultimate-popup-free/ultimate-popup-free.php Passed 13 tests
The main PHP file in "Ultimate Popup Free" ver. 1.0 adds more information about the plugin and also serves as the entry point for this plugin
69 characters long description:
This plugin will enable an awesome side popup in your wordpress site.
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
Good job! No executable or dangerous file extensions detected37,547 lines of code in 151 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PO File | 119 | 12,614 | 16,209 | 28,917 |
CSS | 5 | 1,013 | 1,023 | 4,009 |
PHP | 20 | 1,123 | 2,123 | 3,774 |
JavaScript | 7 | 205 | 156 | 847 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.48 |
Average class complexity | 37.53 |
▷ Minimum class complexity | 3.00 |
▷ Maximum class complexity | 113.00 |
Average method complexity | 3.56 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 16.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 15 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 15 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 214 | |
▷ Static methods | 21 | 9.81% |
▷ Public methods | 204 | 95.33% |
▷ Protected methods | 7 | 3.27% |
▷ Private methods | 3 | 1.40% |
Functions | 34 | |
▷ Named functions | 34 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 6 | |
▷ Global constants | 4 | 66.67% |
▷ Class constants | 2 | 33.33% |
▷ Public constants | 2 | 100.00% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
33 PNG files occupy 0.70MB with 0.16MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
inc/cmb2/images/ui-bg_highlight-soft_75_cccccc_1x100.png | 0.10KB | 0.17KB | 0.00% |
inc/cmb2/images/ui-bg_glass_75_dadada_1x400.png | 0.11KB | 0.16KB | 0.00% |
img/theme_1.png | 10.88KB | 4.72KB | ▼ 56.60% |
inc/cmb2/images/ui-icons_cd0a0a_256x240.png | 4.27KB | 4.11KB | ▼ 3.78% |
inc/cmb2/images/ui-bg_flat_75_ffffff_40x100.png | 0.17KB | 0.08KB | ▼ 51.12% |