Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
Install script ran successfully
Server metrics [RAM: ▲0.26MB] [CPU: ▼175.44ms] Passed 4 tests
An overview of server-side resources used by WP Popup Lite - Responsive popup plugin for WordPress
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.16 ▲0.33 | 28.04 ▲5.78 |
Dashboard /wp-admin | 3.37 ▲0.31 | 37.29 ▲0.32 |
Posts /wp-admin/edit.php | 3.42 ▲0.31 | 38.58 ▲2.30 |
Add New Post /wp-admin/post-new.php | 5.65 ▲0.21 | 73.57 ▼707.19 |
Media Library /wp-admin/upload.php | 3.23 ▲0.22 | 26.33 ▲2.81 |
Add New Popup /wp-admin/admin.php?page=wpp-new-popup | 3.75 | 29.88 |
Contact Form log /wp-admin/admin.php?page=wpp-cf-log | 3.24 | 25.85 |
All Popups /wp-admin/admin.php?page=wpp | 3.27 | 26.26 |
About /wp-admin/admin.php?page=wpp-about | 3.24 | 23.95 |
Popup settings /wp-admin/admin.php?page=wpp-setting | 3.26 | 150.36 |
Activate /wp-admin/admin.php?page=wpp-activation | 3.20 | 21.26 |
Server storage [IO: ▲5.90MB] [DB: ▲0.02MB] Passed 3 tests
Filesystem and database footprint
This plugin was installed successfully
Filesystem: 141 new files
Database: 3 new tables, 3 new options
New tables |
---|
wp_popup_banners_form_log |
wp_popup_banners_subscription_log |
wp_popup_banners |
New WordPress options |
---|
wpb_default_settings |
wpb_typo_fonts |
wpb_popup_fields |
Browser metrics 75% from 4 tests
An overview of browser requirements for WP Popup Lite - Responsive popup plugin for WordPress
Please improve the following
- Nodes: Limit the number of DOM nodes under 25,000 (currently 34,323 on /wp-admin/admin.php?page=wpp-new-popup)
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 4,122 ▲511 | 18.55 ▲3.19 | 9.86 ▲4.98 | 75.98 ▼1.32 |
Dashboard /wp-admin | 3,222 ▲326 | 7.85 ▲1.72 | 163.24 ▲31.03 | 200.55 ▲25.61 |
Posts /wp-admin/edit.php | 3,066 ▲323 | 5.28 ▲2.06 | 89.65 ▲24.45 | 156.83 ▲14.94 |
Add New Post /wp-admin/post-new.php | 1,962 ▼1,964 | 15.40 ▼3.90 | 386.99 ▼101.84 | 161.74 ▼10.36 |
Media Library /wp-admin/upload.php | 1,846 ▲94 | 6.30 ▲0.78 | 122.08 ▼23.97 | 205.04 ▲19.73 |
Add New Popup /wp-admin/admin.php?page=wpp-new-popup | 34,323 | 7.87 | 212.90 | 204.25 |
Contact Form log /wp-admin/admin.php?page=wpp-cf-log | 1,606 | 5.37 | 83.64 | 126.21 |
All Popups /wp-admin/admin.php?page=wpp | 1,625 | 5.42 | 79.66 | 134.59 |
About /wp-admin/admin.php?page=wpp-about | 1,840 | 9.25 | 164.56 | 216.77 |
Popup settings /wp-admin/admin.php?page=wpp-setting | 2,314 | 5.47 | 80.82 | 147.64 |
Activate /wp-admin/admin.php?page=wpp-activation | 1,343 | 5.05 | 76.92 | 116.36 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.02MB] 50% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
Please fix the following items
- Zombie tables detected upon uninstall: 3 tables
- wp_popup_banners_subscription_log
- wp_popup_banners_form_log
- wp_popup_banners
- This plugin does not fully uninstall, leaving 3 options in the database
- wpb_popup_fields
- wpb_typo_fonts
- wpb_default_settings
Smoke tests 0% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Please fix the following server-side errors
- 15 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=wpp-new-popup
- > POST request to /wp-admin/admin-ajax.php
- > Notice in wp-content/plugins/wp-popup-lite/inc/theme/theme-1/theme-1-fields.php+319
Undefined variable: buildin_theme
- 30 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=wpp-new-popup
- > POST request to /wp-admin/admin-ajax.php
- > Notice in wp-content/plugins/wp-popup-lite/inc/theme/theme-1/theme-1-fields.php+319
Trying to access array offset on value of type null
- > GET request to /wp-admin/admin.php?page=wpp-setting
- > Warning in wp-content/plugins/wp-popup-lite/inc/backend/tabs/setting.php+87
include(setting-fields/recaptcha-setting.php): failed to open stream: No such file or directory
- > GET request to /wp-admin/admin.php?page=wpp-setting
- > Warning in wp-content/plugins/wp-popup-lite/inc/backend/tabs/setting.php+87
include(): Failed opening 'setting-fields/recaptcha-setting.php' for inclusion (include_path='.:/usr/share/php')
- > GET request to /wp-admin/admin.php?page=wpp-activation
- > Warning in wp-content/plugins/wp-popup-lite/wp-popup-lite.php+133
include_once(inc/backend/cores/activate.php): failed to open stream: No such file or directory
- > GET request to /wp-admin/admin.php?page=wpp-activation
- > Warning in wp-content/plugins/wp-popup-lite/wp-popup-lite.php+133
include_once(): Failed opening 'inc/backend/cores/activate.php' for inclusion (include_path='.:/usr/share/php')
SRP 0% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Please fix the following items
- 33× GET requests to PHP files return non-empty strings (only 10 are shown):
- > /wp-content/plugins/wp-popup-lite/inc/backend/popup-inner/popup-build-box/popup-build-field.php
- > /wp-content/plugins/wp-popup-lite/inc/frontend/custom/custom-generator.php
- > /wp-content/plugins/wp-popup-lite/inc/backend/tabs/header.php
- > /wp-content/plugins/wp-popup-lite/inc/theme/theme-25/theme-25.php
- > /wp-content/plugins/wp-popup-lite/inc/backend/cores/get_db_data.php
- > /wp-content/plugins/wp-popup-lite/inc/theme/theme-31/theme-31.php
- > /wp-content/plugins/wp-popup-lite/inc/backend/tabs/setting.php
- > /wp-content/plugins/wp-popup-lite/inc/backend/popup-inner/popup-generator.php
- > /wp-content/plugins/wp-popup-lite/inc/backend/tabs/manage-option.php
- > /wp-content/plugins/wp-popup-lite/inc/backend/tabs/sidebar.php
- 20× PHP files trigger server-side errors or warnings when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/wp-popup-lite/inc/theme/theme-24/theme-24-fields.php:4
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/wp-popup-lite/inc/theme/theme-2/theme-2-fields.php:4
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/wp-popup-lite/inc/theme/theme-1/theme-1-fields.php:4
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/wp-popup-lite/inc/theme/theme-30/theme-30-fields.php:4
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/wp-popup-lite/inc/backend/tabs/setting-fields/admin-notification-setting.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/wp-popup-lite/inc/theme/theme-3/theme-3-fields.php:4
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/wp-popup-lite/inc/backend/tabs/setting-fields/external-subscription-setting.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/wp-popup-lite/inc/theme/theme-5/theme-5-fields.php:4
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/wp-popup-lite/inc/backend/tabs/setting-fields/mail-setting.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_attr() in wp-content/plugins/wp-popup-lite/inc/frontend/custom/custom-generator-css.php:2
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
These are user-side errors you should fix
- 6 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=wpp-activation
- > Javascript (severe) in unknown
/wp-content/plugins/wp-popup-lite/js/wp-color-picker-alpha.js?ver=1.0.8 23:16 Uncaught ReferenceError: wpColorPickerL10n is not defined
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
Attributes that need to be fixed:
- Screenshots: These screenshots need descriptions #5, #6, #7 in wp-popup-lite/assets to your readme.txt
wp-popup-lite/wp-popup-lite.php 92% from 13 tests
"WP Popup Lite - Responsive popup plugin for WordPress" version 1.0.8's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
The following require your attention:
- Domain Path: The domain path folder does not exist ("/languages/")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
There were no executable files found in this plugin33,959 lines of code in 65 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 6 | 617 | 568 | 16,675 |
PHP | 55 | 362 | 516 | 15,199 |
JavaScript | 3 | 167 | 246 | 1,520 |
SVG | 1 | 0 | 0 | 565 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.82 |
Average class complexity | 54.67 |
▷ Minimum class complexity | 38.00 |
▷ Maximum class complexity | 85.00 |
Average method complexity | 3.56 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 34.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 3 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 3 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 63 | |
▷ Static methods | 1 | 1.59% |
▷ Public methods | 60 | 95.24% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 3 | 4.76% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 8 | |
▷ Global constants | 8 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
52 PNG files occupy 1.91MB with 0.74MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/social-link.png | 1.08KB | 0.41KB | ▼ 62.07% |
css/images/ui-icons_cc0000_256x240.png | 4.52KB | 4.18KB | ▼ 7.56% |
images/temp-1.png | 128.90KB | 43.88KB | ▼ 65.96% |
images/submit.png | 1.34KB | 0.63KB | ▼ 53.13% |
css/images/ui-icons_228ef1_256x240.png | 4.44KB | 4.17KB | ▼ 6.02% |