Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Install script ran successfully
Server metrics [RAM: ▲0.29MB] [CPU: ▼2.73ms] Passed 4 tests
This is a short check of server-side resources used by Popup Maker - Responsive popup, Exit Intent Pop up, Email Optins, Autoresponder & More
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.73 ▲0.27 | 42.32 ▲5.81 |
Dashboard /wp-admin | 3.65 ▲0.31 | 53.00 ▼6.97 |
Posts /wp-admin/edit.php | 3.67 ▲0.31 | 48.43 ▲0.82 |
Add New Post /wp-admin/post-new.php | 6.18 ▲0.29 | 86.23 ▼10.59 |
Media Library /wp-admin/upload.php | 3.52 ▲0.29 | 39.44 ▲6.13 |
Server storage [IO: ▲1.18MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin was installed successfully
Filesystem: 34 new files
Database: no new tables, 10 new options
New WordPress options |
---|
db_upgraded |
sgpm_popup_maker_api_option |
sgpm_popup_maker_notification_engine_source |
theysaidso_admin_options |
widget_recent-posts |
sgpm_popup_maker_dismissed_notifacions |
widget_recent-comments |
sgpm_popup_maker_activation_date |
can_compress_scripts |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Popup Maker - Responsive popup, Exit Intent Pop up, Email Optins, Autoresponder & More
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,809 ▲48 | 14.38 ▼0.18 | 1.77 ▲0.02 | 44.56 ▲5.24 |
Dashboard /wp-admin | 2,218 ▲38 | 5.62 ▼0.04 | 94.41 ▲7.80 | 42.86 ▼0.86 |
Posts /wp-admin/edit.php | 2,120 ▲20 | 2.02 ▼0.02 | 33.27 ▼3.32 | 34.34 ▼1.49 |
Add New Post /wp-admin/post-new.php | 1,543 ▲15 | 23.56 ▲0.47 | 633.43 ▼64.00 | 51.26 ▼5.32 |
Media Library /wp-admin/upload.php | 1,420 ▲20 | 4.24 ▼0.02 | 95.95 ▼4.78 | 43.53 ▼1.92 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
It is recommended to fix the following
- This plugin did not uninstall successfully, leaving 6 options in the database
- db_upgraded
- widget_theysaidso_widget
- theysaidso_admin_options
- widget_recent-posts
- widget_recent-comments
- can_compress_scripts
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Even though everything seems fine, this is not an exhaustive test
SRP 0% 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
- 2× PHP files output text when accessed directly:
- > /wp-content/plugins/popup-maker-wp/com/view/templates_content.php
- > /wp-content/plugins/popup-maker-wp/com/view/sgpm_support_content.php
- 6× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Warning
Use of undefined constant SGPM_UTM_SOURCE_URL - assumed 'SGPM_UTM_SOURCE_URL' (this will throw an Error in a future version of PHP) in wp-content/plugins/popup-maker-wp/com/view/templates_content.php on line 7
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_url() in wp-content/plugins/popup-maker-wp/com/view/sgpm_api_credentials_content.php:4
- > PHP Warning
Use of undefined constant SGPM_SERVICE_URL - assumed 'SGPM_SERVICE_URL' (this will throw an Error in a future version of PHP) in wp-content/plugins/popup-maker-wp/com/view/templates_content.php on line 7
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_url() in wp-content/plugins/popup-maker-wp/com/view/settings_content.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function plugins_url() in wp-content/plugins/popup-maker-wp/config.php:5
- > PHP Warning
Use of undefined constant SGPM_IMG_URL - assumed 'SGPM_IMG_URL' (this will throw an Error in a future version of PHP) in wp-content/plugins/popup-maker-wp/com/view/templates_content.php on line 4
- > PHP Warning
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine on the user side
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
10 plugin tags: iframe popup, optin, popup maker, pop up, video popup...
popup-maker-wp/popup-maker-api.php 85% from 13 tests
The main PHP file in "Popup Maker - Responsive popup, Exit Intent Pop up, Email Optins, Autoresponder & More" ver. 1.2.8 adds more information about the plugin and also serves as the entry point for this plugin
Please take the time to fix the following:
- Description: Please don't use more than 140 characters for the plugin description (currently 172 characters long)
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("popup-maker-wp.php" instead of "popup-maker-api.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
Success! There were no dangerous files found in this plugin3,297 lines of code in 29 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 17 | 344 | 148 | 1,969 |
CSS | 6 | 168 | 30 | 957 |
JavaScript | 6 | 96 | 30 | 371 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.33 |
Average class complexity | 27.56 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 50.00 |
Average method complexity | 3.44 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 30.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 9 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 9 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 98 | |
▷ Static methods | 34 | 34.69% |
▷ Public methods | 80 | 81.63% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 18 | 18.37% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 18 | |
▷ Global constants | 17 | 94.44% |
▷ Class constants | 1 | 5.56% |
▷ Public constants | 1 | 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
2 PNG files occupy 0.81MB with 0.29MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
public/images/popup-maker-templates-black-friday.png | 821.86KB | 233.25KB | ▼ 71.62% |
public/images/popup-maker-logo-glow.png | 8.73KB | 9.13KB | 0.00% |