Benchmarks
Plugin footprint 82% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
This plugin's installer ran successfully
Server metrics [RAM: ▲0.13MB] [CPU: ▼3.01ms] Passed 4 tests
Server-side resources used by Popup - MailChimp, GetResponse and ActiveCampaign Intergrations
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.51 ▲0.05 | 40.65 ▼2.32 |
Dashboard /wp-admin | 3.46 ▲0.16 | 51.69 ▲5.13 |
Posts /wp-admin/edit.php | 3.57 ▲0.22 | 50.22 ▲5.62 |
Add New Post /wp-admin/post-new.php | 6.04 ▲0.16 | 83.15 ▼18.52 |
Media Library /wp-admin/upload.php | 3.36 ▲0.13 | 38.40 ▲3.67 |
Ultimate Popup /wp-admin/admin.php?page=wpup_options_page | 3.43 | 104.32 |
Support /wp-admin/admin.php?page=wpup_support_page | 3.31 | 32.44 |
Server storage [IO: ▲3.16MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
The plugin installed successfully
Filesystem: 98 new files
Database: 1 new table, 7 new options
New tables |
---|
wp_wpappp_subs |
New WordPress options |
---|
db_upgraded |
widget_theysaidso_widget |
widget_recent-posts |
upc_db_version |
can_compress_scripts |
theysaidso_admin_options |
widget_recent-comments |
Browser metrics 75% from 4 tests
A check of browser resources used by Popup - MailChimp, GetResponse and ActiveCampaign Intergrations
Having an awesome user experience is important, so please improve the following
- Nodes: You must limit the number of DOM nodes under 25,000 (currently 44,516 on /wp-admin/admin.php?page=wpup_options_page)
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,132 ▲397 | 18.62 ▲4.23 | 17.54 ▲15.24 | 54.84 ▲9.51 |
Dashboard /wp-admin | 2,399 ▲211 | 7.82 ▲2.94 | 141.37 ▲29.37 | 44.86 ▲1.56 |
Posts /wp-admin/edit.php | 2,305 ▲216 | 5.07 ▲3.09 | 61.87 ▲24.72 | 31.53 ▼3.46 |
Add New Post /wp-admin/post-new.php | 1,558 ▲16 | 23.75 ▲5.55 | 598.51 ▼52.49 | 34.09 ▼17.69 |
Media Library /wp-admin/upload.php | 1,439 ▲51 | 5.30 ▲1.09 | 92.53 ▼9.80 | 40.67 ▼5.35 |
Ultimate Popup /wp-admin/admin.php?page=wpup_options_page | 44,516 | 18.43 | 987.37 | 149.83 |
Support /wp-admin/admin.php?page=wpup_support_page | 1,090 | 4.75 | 53.53 | 35.32 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
Please fix the following items
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_recent-posts
- db_upgraded
- can_compress_scripts
- theysaidso_admin_options
- widget_theysaidso_widget
- widget_recent-comments
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
These server-side errors were triggered
- > GET request to /wp-admin/admin.php?page=wpup_support_page
- > Notice in wp-content/plugins/ultimate-popup-creator/ultimate-popup-creator.php+154
Undefined variable: _SESSION
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
Almost there! Just fix the following items
- 21× PHP files trigger server errors when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/ultimate-popup-creator/templates/template3.php:5
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/ultimate-popup-creator/templates/template11.php:5
- > PHP Notice
Undefined index: telephone in wp-content/plugins/ultimate-popup-creator/includes/upc_process.php on line 16
- > PHP Notice
Undefined index: email in wp-content/plugins/ultimate-popup-creator/includes/upc_process.php on line 15
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/ultimate-popup-creator/templates/template9.php:5
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/ultimate-popup-creator/templates/template13.php:5
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/ultimate-popup-creator/templates/template6.php:5
- > PHP Notice
Undefined index: enquiry in wp-content/plugins/ultimate-popup-creator/includes/upc_process.php on line 17
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/ultimate-popup-creator/templates/template14.php:5
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/ultimate-popup-creator/templates/template1.php:5
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine on the user side
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
Attributes that need to be fixed:
- Screenshots: Please add images for these screenshots: #1 (Popups Showcase), #2 (Responsive: Mobile View), #3 (How It Look: Popup Customization Page), #4 (Display Settings: Enable Popup and other displaying options), #5 (General Settings: MailChimp, Local Database and other settings), #6 (Subscriber's Tab: Export and Download Subscribers to CSV file and other related options)
- Tags: Too many tags (11 tag instead of maximum 10); only the first 5 tags are used in your directory listing
ultimate-popup-creator/ultimate-popup-creator.php Passed 13 tests
The main file in "Popup - MailChimp, GetResponse and ActiveCampaign Intergrations" v. 3.2.6 serves as a complement to information provided in readme.txt and as the entry point to the plugin
80 characters long description:
Add beautiful popups on your WordPress site to convert visitors into subscibers.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
There were no executable files found in this plugin14,922 lines of code in 39 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 22 | 1,087 | 2,348 | 5,501 |
JavaScript | 12 | 668 | 120 | 4,901 |
CSS | 5 | 769 | 45 | 4,520 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.26 |
Average class complexity | 14.00 |
▷ Minimum class complexity | 7.00 |
▷ Maximum class complexity | 21.00 |
Average method complexity | 1.22 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 19.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 117 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 117 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 16 | |
▷ Named functions | 16 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 0 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
49 PNG files occupy 1.79MB with 1.33MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/popup5-img/close.png | 1.62KB | 0.59KB | ▼ 63.71% |
images/upc_menu_icon.png | 17.04KB | 2.00KB | ▼ 88.24% |
images/popup13-img/close.png | 1.18KB | 0.30KB | ▼ 74.83% |
images/fs-sprite.png | 1.07KB | 0.18KB | ▼ 82.82% |
screenshot-5.png | 90.76KB | 33.16KB | ▼ 63.46% |