Benchmarks
Plugin footprint 65% 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: ▲3.72MB] [CPU: ▲16.34ms] 75% from 4 tests
This is a short check of server-side resources used by Popup Builder - Create highly converting, mobile friendly marketing popups.
It is recommended to improve the following
- CPU: Total CPU usage should be kept under 500.00ms (currently 579.10ms on /wp-admin/edit.php?post_type=popupbuilder&page=sgpbSettings)
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 6.89 ▲3.43 | 55.74 ▲11.60 |
Dashboard /wp-admin | 7.15 ▲3.81 | 74.59 ▲11.86 |
Posts /wp-admin/edit.php | 7.17 ▲3.81 | 82.16 ▲35.67 |
Add New Post /wp-admin/post-new.php | 9.81 ▲3.92 | 106.74 ▲18.38 |
Media Library /wp-admin/upload.php | 7.06 ▲3.83 | 59.13 ▲23.50 |
Settings /wp-admin/edit.php?post_type=popupbuilder&page=sgpbSettings | 7.12 | 579.10 |
All Popups /wp-admin/edit.php?post_type=popupbuilder | 7.16 | 68.15 |
Server storage [IO: ▲5.46MB] [DB: ▲0.01MB] Passed 3 tests
Input-output and database impact of this plugin
No storage issues were detected
Filesystem: 348 new files
Database: 2 new tables, 16 new options
New tables |
---|
wp_sgpb_subscription_error_log |
wp_sgpb_subscribers |
New WordPress options |
---|
SGPBUsageDays |
db_upgraded |
SGPBOpenNextTime |
SGPB_INACTIVE_EXTENSIONS |
sgpbPopupBuilderRegisteredPlugins |
sgpbUnsubscribeColumnFixed |
sgpbModifiedRegisteredPluginsPaths2 |
sgpb-all-notifications-data |
SGPBMaxOpenCount |
widget_recent-posts |
... |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Popup Builder - Create highly converting, mobile friendly marketing popups.
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,040 ▲293 | 14.92 ▲0.78 | 1.63 ▼0.05 | 36.61 ▼7.97 |
Dashboard /wp-admin | 2,449 ▲269 | 6.71 ▲1.11 | 127.70 ▲35.65 | 41.87 ▲0.48 |
Posts /wp-admin/edit.php | 2,383 ▲283 | 3.68 ▲1.72 | 63.11 ▲24.74 | 33.60 ▲1.12 |
Add New Post /wp-admin/post-new.php | 1,592 ▲56 | 22.39 ▼0.65 | 676.82 ▼3.10 | 39.71 ▼16.35 |
Media Library /wp-admin/upload.php | 1,509 ▲106 | 4.48 ▲0.25 | 85.70 ▼19.13 | 40.39 ▼6.62 |
Settings /wp-admin/edit.php?post_type=popupbuilder&page=sgpbSettings | 1,319 | 3.78 | 67.68 | 88.62 |
All Popups /wp-admin/edit.php?post_type=popupbuilder | 1,488 | 3.68 | 58.55 | 67.97 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
Please fix the following items
- This plugin did not uninstall without warnings or errors
- > Notice in wp-content/plugins/popup-builder/com/helpers/AdminHelper.php+601
Undefined property: stdClass::$roles
- Zombie WordPress options detected upon uninstall: 14 options
- SGPBMaxOpenCount
- SGPBInstallDate
- sgpbModifiedRegisteredPluginsPaths2
- SGPBUsageDays
- theysaidso_admin_options
- sgpb-all-notifications-data
- db_upgraded
- widget_theysaidso_widget
- SGPBOpenNextTime
- SGPB_INACTIVE_EXTENSIONS
- ...
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Even though no errors were found, this is by no means an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
The following issues need your attention
- 66× PHP files trigger errors when accessed directly with GET requests (only 10 are shown):
- > PHP Fatal error
require_once(): Failed opening required 'SG_POPUP_LIBS_PATHparsers.php' (include_path='.:/usr/share/php') in wp-content/plugins/popup-builder/com/libs/Importer.php on line 12
- > PHP Warning
Use of undefined constant SGPB_POPUP_PKG_SILVER - assumed 'SGPB_POPUP_PKG_SILVER' (this will throw an Error in a future version of PHP) in wp-content/plugins/popup-builder/com/helpers/PopupBuilderActivePackage.php on line 14
- > PHP Warning
require_once(SG_POPUP_CLASSES_PATH/Ajax.php): failed to open stream: No such file or directory in wp-content/plugins/popup-builder/com/classes/dataTable/Subscribers.php on line 2
- > PHP Warning
require_once(SG_POPUP_HELPERS_PATHConfigDataHelper.php): failed to open stream: No such file or directory in wp-content/plugins/popup-builder/com/config/dataConfig.php on line 2
- > PHP Warning
require_once(ABSPATHwp-admin/includes/plugin.php): failed to open stream: No such file or directory in wp-content/plugins/popup-builder/com/classes/popups/SubscriptionPopup.php on line 4
- > PHP Fatal error
Uncaught Error: Using $this when not in object context in wp-content/plugins/popup-builder/public/views/license.php:5
- > PHP Fatal error
require_once(): Failed opening required 'SG_POPUP_EXTENSION_PATHSgpbPopupExtensionRegister.php' (include_path='.:/usr/share/php') in wp-content/plugins/popup-builder/PopupBuilderInit.php on line 43
- > PHP Fatal error
require_once(): Failed opening required 'ABSPATHwp-admin/includes/plugin.php' (include_path='.:/usr/share/php') in wp-content/plugins/popup-builder/com/classes/popups/SubscriptionPopup.php on line 4
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html_e() in wp-content/plugins/popup-builder/public/views/main/image.php:3
- > PHP Fatal error
require_once(): Failed opening required 'SG_POPUP_CLASSES_PATH/dataTable/Subscribers.php' (include_path='.:/usr/share/php') in wp-content/plugins/popup-builder/public/views/subscribers.php on line 3
- > PHP Fatal error
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
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
7 plugin tags: exit popup, wordpress popup plugin, popup maker, wordpress popup, popup...
popup-builder/popup-builder.php 92% from 13 tests
"Popup Builder - Create highly converting, mobile friendly marketing popups." version 4.2.2's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
The following require your attention:
- Description: Please don't use more than 140 characters for the plugin description (currently 148 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
Success! There were no dangerous files found in this plugin34,450 lines of code in 233 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 87 | 3,151 | 1,951 | 20,434 |
CSS | 12 | 838 | 90 | 6,552 |
JavaScript | 21 | 473 | 108 | 3,919 |
Sass | 16 | 118 | 0 | 2,440 |
SVG | 96 | 21 | 0 | 908 |
HTML | 1 | 3 | 11 | 197 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.34 |
Average class complexity | 48.56 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 355.00 |
Average method complexity | 3.89 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 52.00 |
Code structure | ||
---|---|---|
Namespaces | 2 | |
Interfaces | 1 | |
Traits | 0 | |
Classes | 53 | |
▷ Abstract classes | 1 | 1.89% |
▷ Concrete classes | 52 | 98.11% |
▷ Final classes | 0 | 0.00% |
Methods | 877 | |
▷ Static methods | 253 | 28.85% |
▷ Public methods | 754 | 85.97% |
▷ Protected methods | 22 | 2.51% |
▷ Private methods | 101 | 11.52% |
Functions | 21 | |
▷ Named functions | 1 | 4.76% |
▷ Anonymous functions | 20 | 95.24% |
Constants | 30 | |
▷ Global constants | 30 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.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
78 PNG files occupy 1.90MB with 0.65MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
public/img/bannerMegaphone.png | 5.88KB | 3.59KB | ▼ 38.83% |
public/img/theme_5/close.png | 0.75KB | 0.24KB | ▼ 68.58% |
public/img/sgpbLogo.png | 19.20KB | 7.04KB | ▼ 63.34% |
public/img/subscriptionTypeIcon.png | 9.68KB | 9.69KB | 0.00% |
public/img/rateUsBanner2.png | 11.64KB | 11.78KB | 0.00% |