Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲2.54MB] [CPU: ▲8.34ms] Passed 4 tests
Server-side resources used by WP Popups - WordPress Popup builder
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 5.58 ▲2.07 | 54.48 ▲7.13 |
Dashboard /wp-admin | 6.10 ▲2.71 | 72.33 ▲10.94 |
Posts /wp-admin/edit.php | 6.15 ▲2.75 | 74.02 ▲24.65 |
Add New Post /wp-admin/post-new.php | 8.62 ▲2.69 | 107.22 ▼7.66 |
Media Library /wp-admin/upload.php | 5.96 ▲2.69 | 60.11 ▲22.95 |
Addons /wp-admin/admin.php?page=wppopups-addons | 5.96 | 59.68 |
Welcome to WPPopups /wp-admin/index.php?page=wppopups-getting-started | 5.96 | 53.64 |
Settings /wp-admin/admin.php?page=wppopups-settings | 6.01 | 56.18 |
Add New /wp-admin/admin.php?page=wppopups-builder | 6.68 | 84.47 |
Tools /wp-admin/admin.php?page=wppopups-tools | 5.96 | 61.05 |
Info /wp-admin/admin.php?page=wppopups-page | 5.96 | 56.83 |
All Popups /wp-admin/admin.php?page=wppopups-overview | 6.02 | 60.51 |
Server storage [IO: ▲5.20MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
The plugin installed successfully
Filesystem: 212 new files
Database: no new tables, 10 new options
New WordPress options |
---|
widget_theysaidso_widget |
wppopups_version |
widget_recent-comments |
theysaidso_admin_options |
can_compress_scripts |
wppopups_activated |
widget_recent-posts |
wppopups_preview_page |
db_upgraded |
wppopups_review |
Browser metrics Passed 4 tests
This is an overview of browser requirements for WP Popups - WordPress Popup builder
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,939 ▲193 | 13.56 ▼0.72 | 10.95 ▲9.08 | 37.82 ▼5.22 |
Dashboard /wp-admin | 2,247 ▲69 | 5.52 ▼0.19 | 88.09 ▼13.31 | 40.15 ▲3.91 |
Posts /wp-admin/edit.php | 2,155 ▲52 | 1.98 ▲0.00 | 37.94 ▼1.92 | 34.83 ▼6.11 |
Add New Post /wp-admin/post-new.php | 1,559 ▲22 | 23.20 ▲4.97 | 669.05 ▲27.15 | 52.39 ▼11.58 |
Media Library /wp-admin/upload.php | 1,459 ▲59 | 4.19 ▼0.04 | 95.61 ▼6.09 | 43.79 ▲0.83 |
Addons /wp-admin/admin.php?page=wppopups-addons | 1,435 | 3.69 | 53.85 | 81.04 |
Welcome to WPPopups /wp-admin/index.php?page=wppopups-getting-started | 1,799 | 3.33 | 40.68 | 78.29 |
Settings /wp-admin/admin.php?page=wppopups-settings | 1,130 | 3.33 | 44.11 | 75.99 |
Add New /wp-admin/admin.php?page=wppopups-builder | 3,289 | 9.41 | 211.42 | 110.05 |
Tools /wp-admin/admin.php?page=wppopups-tools | 1,099 | 3.30 | 41.21 | 67.11 |
Info /wp-admin/admin.php?page=wppopups-page | 1,026 | 3.18 | 44.57 | 48.70 |
All Popups /wp-admin/admin.php?page=wppopups-overview | 1,260 | 3.35 | 39.87 | 81.30 |
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
The following items require your attention
- This plugin does not fully uninstall, leaving 10 options in the database
- wppopups_preview_page
- wppopups_activated
- widget_recent-comments
- db_upgraded
- theysaidso_admin_options
- wppopups_review
- can_compress_scripts
- widget_theysaidso_widget
- wppopups_version
- widget_recent-posts
Smoke tests 25% 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
- 83 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=wppopups-overview
- > POST request to /wp-cron.php?doing_wp_cron=1697551793.8827230930328369140625
- > Warning in wp-content/plugins/easy-age-verifier/lib/extras/wpApi.php+48
file_get_contents(): php_network_getaddresses: getaddrinfo failed: Name or service not known
- 83 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=wppopups-overview
- > POST request to /wp-cron.php?doing_wp_cron=1697551793.8827230930328369140625
- > Warning in wp-content/plugins/easy-age-verifier/lib/extras/wpApi.php+48
file_get_contents(http://www.fillyourtaproom.com/wp-json/wp/v2/posts?per_page=10): failed to open stream: php_network_getaddresses: getaddrinfo failed: Name or service not known
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
Please fix the following
- 1× PHP files perform the task of outputting text when accessed with GET requests:
- > /wp-content/plugins/wp-popups-lite/src/vendor/mobiledetect/mobiledetectlib/export/exportToJSON.php
- 51× GET requests to PHP files trigger server-side errors or Error 500 responses (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'WPPopups_Field' not found in wp-content/plugins/wp-popups-lite/src/includes/fields/class-textarea.php:8
- > PHP Fatal error
Uncaught Error: Class 'WPPopups_Field' not found in wp-content/plugins/wp-popups-lite/src/includes/fields/class-radio.php:8
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/wp-popups-lite/src/includes/providers/class-optin-fields.php:16
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/wp-popups-lite/src/includes/admin/class-tools.php:61
- > PHP Fatal error
Uncaught Error: Class 'WPPopups_Builder_Panel' not found in wp-content/plugins/wp-popups-lite/src/includes/admin/builder/panels/class-providers.php:12
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/wp-popups-lite/src/includes/admin/class-addons.php:32
- > PHP Fatal error
Uncaught Error: Class 'WPPopups_Field' not found in wp-content/plugins/wp-popups-lite/src/includes/fields/class-number.php:8
- > PHP Fatal error
Uncaught Error: Class 'WP_List_Table' not found in wp-content/plugins/wp-popups-lite/src/includes/admin/overview/class-overview-table.php:11
- > PHP Fatal error
Uncaught Error: Class 'WPPopups_Builder_Panel' not found in wp-content/plugins/wp-popups-lite/src/includes/admin/builder/panels/class-settings.php:12
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/wp-popups-lite/src/includes/admin/class-menu.php:22
- > PHP Fatal error
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 87% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
These attributes need to be fixed:
- Screenshots: Screenshot #4 (Popups Back end - appearance) image required
- Tags: You are using too many tags: 34 tag instead of maximum 10
wp-popups-lite/wp-popups-lite.php 85% from 13 tests
The main PHP file in "WP Popups - WordPress Popup builder" ver. 2.1.5.5 adds more information about the plugin and also serves as the entry point for this plugin
The following require your attention:
- Domain Path: Use only dashes and lowercase characters for the domain path ("languages")
- Domain Path: The domain path must begin with a forward slash character ("/languages")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
No dangerous file extensions were detected61,634 lines of code in 164 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 84 | 4,478 | 8,187 | 19,328 |
JSON | 9 | 0 | 0 | 16,371 |
JavaScript | 26 | 1,961 | 2,891 | 9,979 |
CSS | 14 | 1,736 | 275 | 9,030 |
PO File | 7 | 1,455 | 1,600 | 3,679 |
SVG | 17 | 0 | 2 | 2,843 |
Markdown | 6 | 164 | 0 | 384 |
XML | 1 | 0 | 0 | 20 |
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.45 |
Average class complexity | 36.01 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 271.00 |
Average method complexity | 4.66 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 98.00 |
Code structure | ||
---|---|---|
Namespaces | 5 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 68 | |
▷ Abstract classes | 6 | 8.82% |
▷ Concrete classes | 62 | 91.18% |
▷ Final classes | 1 | 1.61% |
Methods | 651 | |
▷ Static methods | 71 | 10.91% |
▷ Public methods | 553 | 84.95% |
▷ Protected methods | 77 | 11.83% |
▷ Private methods | 21 | 3.23% |
Functions | 116 | |
▷ Named functions | 106 | 91.38% |
▷ Anonymous functions | 10 | 8.62% |
Constants | 110 | |
▷ Global constants | 9 | 8.18% |
▷ Class constants | 101 | 91.82% |
▷ Public constants | 101 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
21 compressed PNG files occupy 0.41MB
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
lite/assets/images/addon-icon-geolocation.png | 12.00KB | 12.62KB | 0.00% |
src/assets/images/builder-default-arrow.png | 2.32KB | 2.49KB | 0.00% |
lite/assets/images/addon-icon-post-submissions.png | 4.03KB | 4.14KB | 0.00% |
src/assets/images/youtube-play.png | 5.76KB | 5.78KB | 0.00% |
src/assets/images/flags.png | 17.42KB | 18.16KB | 0.00% |