Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Installer ran successfully
Server metrics [RAM: ▲1.00MB] [CPU: ▼156.76ms] Passed 4 tests
Server-side resources used by Popup Builder by OptinMonster - WordPress Popups for Optins, Email Newsletters and Lead Generation
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.09 ▲0.57 | 63.30 ▲6.75 |
Dashboard /wp-admin | 4.54 ▲1.14 | 50.16 ▲13.55 |
Posts /wp-admin/edit.php | 4.75 ▲1.11 | 54.79 ▲13.39 |
Add New Post /wp-admin/post-new.php | 8.31 ▲1.34 | 651.32 ▼655.63 |
Media Library /wp-admin/upload.php | 4.47 ▲1.17 | 38.09 ▲8.44 |
University /wp-admin/admin.php?page=optin-monster-university | 4.51 | 36.19 |
Settings /wp-admin/admin.php?page=optin-monster-settings | 4.51 | 42.03 |
Upgrade to Pro /wp-admin/admin.php?page=optin-monster-upgrade | 4.26 | 32.20 |
Social Proof Widget /wp-admin/admin.php?page=optin-monster-trustpulse | 4.46 | 38.67 |
OptinMonster /wp-admin/admin.php?page=optin-monster-api-settings | 4.26 | 32.11 |
Templates /wp-admin/admin.php?page=optin-monster-templates | 4.51 | 38.51 |
Personalization /wp-admin/admin.php?page=optin-monster-personalization | 4.51 | 38.00 |
Integrations /wp-admin/admin.php?page=optin-monster-integrations | 4.51 | 39.19 |
Dashboard /wp-admin/admin.php?page=optin-monster-dashboard | 4.51 | 35.95 |
Subscribers /wp-admin/admin.php?page=optin-monster-monsterleads | 4.51 | 46.68 |
Server storage [IO: ▲20.10MB] [DB: ▲0.13MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
No storage issues were detected
Filesystem: 298 new files
Database: no new tables, 4 new options
New WordPress options |
---|
optinmonster_upgrade_completed |
omapi_review |
widget_optin-monster-api |
optin_monster_api |
Browser metrics Passed 4 tests
A check of browser resources used by Popup Builder by OptinMonster - WordPress Popups for Optins, Email Newsletters and Lead Generation
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,993 ▲271 | 16.22 ▲0.58 | 6.28 ▲0.62 | 1.97 ▼1.09 |
Dashboard /wp-admin | 3,110 ▲249 | 6.30 ▲0.14 | 120.29 ▼19.18 | 188.16 ▲27.75 |
Posts /wp-admin/edit.php | 2,825 ▲134 | 3.30 ▲0.06 | 68.10 ▲5.41 | 151.20 ▲9.30 |
Add New Post /wp-admin/post-new.php | 1,777 ▲116 | 17.51 ▼0.33 | 464.57 ▲73.90 | 150.09 ▼1.29 |
Media Library /wp-admin/upload.php | 1,871 ▲173 | 5.61 ▲0.12 | 140.89 ▼1.47 | 197.28 ▲1.97 |
University /wp-admin/admin.php?page=optin-monster-university | 2,348 | 12.20 | 337.98 | 165.24 |
Settings /wp-admin/admin.php?page=optin-monster-settings | 2,269 | 12.23 | 301.47 | 224.41 |
Upgrade to Pro /wp-admin/admin.php?page=optin-monster-upgrade | 402 | 3.72 | 90.62 | 60.77 |
Social Proof Widget /wp-admin/admin.php?page=optin-monster-trustpulse | 2,169 | 2.77 | 54.89 | 169.97 |
OptinMonster /wp-admin/admin.php?page=optin-monster-api-settings | 2,766 | 13.07 | 145.20 | 201.18 |
Templates /wp-admin/admin.php?page=optin-monster-templates | 3,391 | 21.13 | 152.18 | 198.04 |
Personalization /wp-admin/admin.php?page=optin-monster-personalization | 2,359 | 13.16 | 145.97 | 210.80 |
Integrations /wp-admin/admin.php?page=optin-monster-integrations | 2,872 | 16.09 | 148.40 | 196.47 |
Dashboard /wp-admin/admin.php?page=optin-monster-dashboard | 2,696 | 12.93 | 145.98 | 201.03 |
Subscribers /wp-admin/admin.php?page=optin-monster-monsterleads | 2,188 | 12.18 | 148.20 | 144.56 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.13MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
The following items require your attention
- This plugin does not fully uninstall, leaving 3 options in the database
- widget_optin-monster-api
- omapi_review
- optinmonster_upgrade_completed
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Good news, no errors were detected
SRP 0% 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
- 5× PHP files perform the task of outputting text when accessed with GET requests:
- > /wp-content/plugins/optinmonster/views/shortcode-modal-css.php
- > /wp-content/plugins/optinmonster/views/upgrade-link-css.php
- > /wp-content/plugins/optinmonster/views/woocommerce-marketing-card-css.php
- > /wp-content/plugins/optinmonster/views/archie-loading.php
- > /wp-content/plugins/optinmonster/views/jiggle-css.php
- 13× PHP files trigger server-side errors or warnings when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Using $this when not in object context in wp-content/plugins/optinmonster/views/woocommerce-marketing-card.php:9
- > PHP Fatal error
Uncaught Error: Class 'Elementor\\Widget_Base' not found in wp-content/plugins/optinmonster/OMAPI/Elementor/Widget.php:20
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_url() in wp-content/plugins/optinmonster/views/trustpulse-banner.php:4
- > PHP Fatal error
Uncaught Error: Class 'Elementor\\Widget_Button' not found in wp-content/plugins/optinmonster/OMAPI/Elementor/ButtonWidget.php:20
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html_e() in wp-content/plugins/optinmonster/views/constantcontact.php:166
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_kses() in wp-content/plugins/optinmonster/views/inline-campaign-shortcode-modal.php:5
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_url() in wp-content/plugins/optinmonster/views/not-connected-buttons.php:8
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_url() in wp-content/plugins/optinmonster/views/trustpulse-settings-page.php:6
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_url() in wp-content/plugins/optinmonster/views/plugin-banner.php:8
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/optinmonster/views/coupon-metabox.php:8
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine on the user side
Optimizations
Plugin configuration 73% from 29 tests
readme.txt 88% from 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
Attributes that require attention:
- Tags: You are using too many tags: 13 tag instead of maximum 10
- Screenshots: Screenshot #1 (Select a Campaign type (popup, full screen, floating bar, slide-in, inline or Gamified)) image not found
optinmonster/optin-monster-wp-api.php 54% from 13 tests
The primary PHP file in "Popup Builder by OptinMonster - WordPress Popups for Optins, Email Newsletters and Lead Generation" version 2.6.12 is used by WordPress to initiate all plugin functionality
It is important to fix the following:
- Description: Please don't use more than 140 characters for the plugin description (currently 175 characters long)
- Domain Path: The domain path must begin with a forward slash character ("/languages")
- Domain Path: Note that the domain path follows the same naming rules as the domain name, using only dashes and lowercase characters ("languages")
- Requires at least: Required version must be the same as the one declared in readme.txt ("4.7.0" instead of "3.2.0")
- Text Domain: The text domain is optional since WordPress version 4.6; if you do specify it, it must be the same as the plugin slug
- Main file name: It is recommended to name the main PHP file as the plugin slug ("optinmonster.php" instead of "optin-monster-wp-api.php")
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
No dangerous file extensions were detected13,431 lines of code in 212 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 64 | 2,189 | 6,136 | 8,678 |
SVG | 82 | 1 | 1 | 1,982 |
CSS | 22 | 66 | 22 | 1,102 |
JavaScript | 41 | 192 | 642 | 1,009 |
Markdown | 1 | 142 | 0 | 514 |
JSON | 2 | 0 | 0 | 146 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.42 |
Average class complexity | 24.72 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 129.00 |
Average method complexity | 3.34 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 27.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 47 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 47 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 477 | |
▷ Static methods | 78 | 16.35% |
▷ Public methods | 435 | 91.19% |
▷ Protected methods | 40 | 8.39% |
▷ Private methods | 2 | 0.42% |
Functions | 4 | |
▷ Named functions | 4 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 19 | |
▷ Global constants | 11 | 57.89% |
▷ Class constants | 8 | 42.11% |
▷ Public constants | 8 | 100.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
43 PNG files occupy 3.09MB with 0.68MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/images/about/plugin-rafflepress.png | 3.52KB | 2.82KB | ▼ 19.95% |
vue/dist/img/convert-abandon.bbbb1867.png | 19.84KB | 20.41KB | 0.00% |
assets/images/about/plugin-aioseo.png | 1.47KB | 1.55KB | 0.00% |
assets/css/images/logo-om.png | 23.15KB | 8.65KB | ▼ 62.62% |
vue/dist/img/templates-limit-exceeded.3dbb21ff.png | 815.68KB | 593.10KB | ▼ 27.29% |