Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
These installer errors require your attention
- Install procedure had errors
- > Notice in wp-content/plugins/viral-coming-soon/include-aweber.php+30
Trying to access array offset on value of type bool
Server metrics [RAM: ▼1.95MB] [CPU: ▼52.55ms] Passed 4 tests
This is a short check of server-side resources used by Coming Soon Viral Page by Growtheme
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.03 ▼1.43 | 7.21 ▼33.30 |
Dashboard /wp-admin | 2.05 ▼1.25 | 6.91 ▼41.81 |
Posts /wp-admin/edit.php | 2.05 ▼1.30 | 7.53 ▼41.01 |
Add New Post /wp-admin/post-new.php | 2.05 ▼3.83 | 6.78 ▼94.09 |
Media Library /wp-admin/upload.php | 2.05 ▼1.18 | 6.55 ▼23.70 |
Coming Soon Page /wp-admin/admin.php?page=viral_coming_soon_options&tab=5 | 2.05 | 7.49 |
Exit Intent Popup /wp-admin/admin.php?page=viral_coming_soon_options&tab=6 | 2.05 | 7.13 |
Styling /wp-admin/admin.php?page=viral_coming_soon_options&tab=3 | 2.05 | 7.62 |
General /wp-admin/admin.php?page=viral_coming_soon_options&tab=1 | 2.05 | 7.69 |
Redux Framework /wp-admin/tools.php?page=redux-about | 2.05 | 6.46 |
Confirmation Page /wp-admin/admin.php?page=viral_coming_soon_options&tab=7 | 2.05 | 7.64 |
Thank You Page /wp-admin/admin.php?page=viral_coming_soon_options&tab=8 | 2.05 | 8.15 |
Email Optin /wp-admin/admin.php?page=viral_coming_soon_options&tab=2 | 2.05 | 13.44 |
Options Object /wp-admin/admin.php?page=viral_coming_soon_options&tab=10 | 2.05 | 5.77 |
Import / Export /wp-admin/admin.php?page=viral_coming_soon_options&tab=11 | 2.05 | 6.08 |
Server storage [IO: ▲5.28MB] [DB: ▲0.07MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin was installed successfully
Filesystem: 758 new files
Database: no new tables, 9 new options
New WordPress options |
---|
widget_theysaidso_widget |
viral_coming_soon-transients |
theysaidso_admin_options |
can_compress_scripts |
viral_coming_soon |
widget_recent-comments |
db_upgraded |
redux_version_upgraded_from |
widget_recent-posts |
Browser metrics Passed 4 tests
A check of browser resources used by Coming Soon Viral Page by Growtheme
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,360 ▲614 | 15.87 ▲1.49 | 21.30 ▲19.73 | 48.18 ▲3.96 |
Dashboard /wp-admin | 2,505 ▲314 | 6.54 ▲1.65 | 122.48 ▲18.11 | 45.84 ▼0.99 |
Posts /wp-admin/edit.php | 2,349 ▲260 | 3.35 ▲1.29 | 55.46 ▲14.16 | 36.70 ▼1.36 |
Add New Post /wp-admin/post-new.php | 1,599 ▲85 | 23.06 ▲5.54 | 639.99 ▲24.19 | 47.98 ▼3.41 |
Media Library /wp-admin/upload.php | 1,488 ▲100 | 4.20 ▼0.06 | 77.55 ▼20.05 | 42.63 ▲1.52 |
Coming Soon Page /wp-admin/admin.php?page=viral_coming_soon_options&tab=5 | 3,871 | 10.91 | 253.34 | 77.37 |
Exit Intent Popup /wp-admin/admin.php?page=viral_coming_soon_options&tab=6 | 3,897 | 11.03 | 219.00 | 69.48 |
Styling /wp-admin/admin.php?page=viral_coming_soon_options&tab=3 | 4,507 | 12.79 | 272.50 | 50.77 |
General /wp-admin/admin.php?page=viral_coming_soon_options&tab=1 | 3,984 | 12.29 | 250.69 | 85.96 |
Redux Framework /wp-admin/tools.php?page=redux-about | 1,339 | 4.73 | 86.37 | 65.57 |
Confirmation Page /wp-admin/admin.php?page=viral_coming_soon_options&tab=7 | 3,899 | 11.06 | 218.07 | 80.60 |
Thank You Page /wp-admin/admin.php?page=viral_coming_soon_options&tab=8 | 3,902 | 10.95 | 211.10 | 76.54 |
Email Optin /wp-admin/admin.php?page=viral_coming_soon_options&tab=2 | 4,006 | 12.03 | 228.80 | 53.17 |
Options Object /wp-admin/admin.php?page=viral_coming_soon_options&tab=10 | 3,881 | 10.94 | 208.93 | 46.52 |
Import / Export /wp-admin/admin.php?page=viral_coming_soon_options&tab=11 | 3,878 | 10.98 | 212.54 | 46.56 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.07MB] 50% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
The following items require your attention
- This plugin did not uninstall without warnings or errors
- > Notice in wp-content/plugins/viral-coming-soon/include-aweber.php+30
Undefined index: email-marketing-provider
- Zombie WordPress options were found after uninstall: 9 options
- widget_recent-comments
- theysaidso_admin_options
- viral_coming_soon
- redux_version_upgraded_from
- can_compress_scripts
- widget_recent-posts
- viral_coming_soon-transients
- db_upgraded
- widget_theysaidso_widget
Smoke tests 0% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Smoke test failed, please fix the following
- 38 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=viral_coming_soon_options&tab=11
- > Notice in wp-content/plugins/viral-coming-soon/include-custom-html.php+135
Undefined index: email-marketing-provider
- 19 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=viral_coming_soon_options&tab=11
- > Warning in wp-content/plugins/viral-coming-soon/admin/ReduxCore/inc/class.redux_filesystem.php+29
Creating default object from empty value
- 8 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=viral_coming_soon_options&tab=10
- > Error in wp-includes/Requests/src/Exception/InvalidArgument.php+29
Uncaught WpOrg\Requests\Exception\InvalidArgument: WpOrg\Requests\Cookie::__construct(): Argument #1 ($name) must be of type string, integer given in wp-includes/Requests/src/Exception/InvalidArgument.php:29
Stack trace:
#0 wp-includes/Requests/src/Cookie.php(84): WpOrg\Requests\Exception\InvalidArgument::create()
#1 wp-includes/class-wp-http.php(472): WpOrg\Requests\Cookie->__construct()
#2 wp-includes/class-wp-http.php(352): WP_Http::normalize_cookies()
#3 wp-includes/http.php(150): WP_Http->request()
#4 wp-content/plugins/viral-coming-soon/admin/ReduxCore/inc/class.p.php(229): wp_remote_request()
#5 wp-includes/class-wp-hook.php(310): Redux_P->proxy()
#6 wp-includes/class-wp-hook.php(334): WP_Hook->apply_filters()
#7 wp-includes/plugin.php(517): WP_Hook->do_action()
#8 wp-admin/admin-ajax.php(188): do_action()
#9 {main}
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
- 83× GET requests to PHP files return non-empty strings (only 10 are shown):
- > /wp-content/plugins/viral-coming-soon/admin/api/campaignmonitor/samples/list/get_segments.php
- > /wp-content/plugins/viral-coming-soon/admin/api/campaignmonitor/samples/client/get_scheduled.php
- > /wp-content/plugins/viral-coming-soon/admin/api/campaignmonitor/samples/segment/add_rule.php
- > /wp-content/plugins/viral-coming-soon/admin/api/campaignmonitor/samples/client/suppress.php
- > /wp-content/plugins/viral-coming-soon/admin/api/campaignmonitor/samples/segment/get.php
- > /wp-content/plugins/viral-coming-soon/admin/api/campaignmonitor/samples/list/test_webhook.php
- > /wp-content/plugins/viral-coming-soon/admin/api/campaignmonitor/samples/segment/update.php
- > /wp-content/plugins/viral-coming-soon/admin/api/campaignmonitor/samples/client/get_suppressionlist.php
- > /wp-content/plugins/viral-coming-soon/admin/api/campaignmonitor/samples/subscriber/delete.php
- > /wp-content/plugins/viral-coming-soon/admin/api/campaignmonitor/samples/list/get.php
- 150× PHP files trigger server-side errors or warnings when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Interface 'Psr\\Http\\Message\\StreamInterface' not found in wp-content/plugins/viral-coming-soon/admin/api/convertkit/vendor/guzzlehttp/psr7/src/BufferStream.php:14
- > PHP Fatal error
Uncaught Error: Class 'PHPUnit_Framework_TestCase' not found in wp-content/plugins/viral-coming-soon/admin/api/convertkit/vendor/guzzlehttp/promises/tests/RejectionExceptionTest.php:30
- > PHP Fatal error
Uncaught Error: Class 'GuzzleHttp\\Exception\\RequestException' not found in wp-content/plugins/viral-coming-soon/admin/api/convertkit/vendor/guzzlehttp/guzzle/src/Exception/ConnectException.php:11
- > PHP Fatal error
Uncaught Error: Class 'VCS_AWeberResponse' not found in wp-content/plugins/viral-coming-soon/admin/api/aweber/aweber_collection.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html_e() in wp-content/plugins/viral-coming-soon/admin/ReduxCore/inc/welcome/views/changelog.php:2
- > PHP Fatal error
Uncaught Error: Class 'GuzzleHttp\\Exception\\TransferException' not found in wp-content/plugins/viral-coming-soon/admin/api/convertkit/vendor/guzzlehttp/guzzle/src/Exception/RequestException.php:11
- > PHP Fatal error
Uncaught Error: Interface 'GuzzleHttp\\Cookie\\CookieJarInterface' not found in wp-content/plugins/viral-coming-soon/admin/api/convertkit/vendor/guzzlehttp/guzzle/src/Cookie/CookieJar.php:10
- > PHP Fatal error
Uncaught Error: Class 'GuzzleHttp\\Promise\\RejectionException' not found in wp-content/plugins/viral-coming-soon/admin/api/convertkit/vendor/guzzlehttp/promises/src/AggregateException.php:7
- > PHP Fatal error
Uncaught Error: Class 'WP_Customize_Section' not found in wp-content/plugins/viral-coming-soon/admin/ReduxCore/inc/extensions/customizer/inc/customizer_section.php:12
- > PHP Warning
count(): Parameter must be an array or an object that implements Countable in wp-content/plugins/viral-coming-soon/admin/api/campaignmonitor/samples/subscriber/import.php on line 70
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Please fix the following user-side errors
- 8 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=viral_coming_soon_options&tab=10
- > Network (severe)
wp-admin/admin-ajax.php?action=redux_p&nonce=e19771e923&url=http%3A%2F%2Fads.reduxframework.com%2Fapi%2Findex.php%3Fjs%26g%261%26v%3D2&proxy=http%3A%2F%2Fwp.com%2Fwp-admin%2Fadmin-ajax.php%3Faction%3Dredux_p%26nonce%3De19771e923%26url%3D - Failed to load resource: the server responded with a status of 500 (Internal Server Error)
- > GET request to /wp-admin/admin.php?page=viral_coming_soon_options&tab=5
- > Security (severe) in unknown
/wp-admin/admin.php?page=viral_coming_soon_options&tab=5 - Refused to execute script from '/wp-admin/admin-ajax.php?action=redux_p&nonce=e19771e923&url=http%3A%2F%2Fads.reduxframework.com%2Fapi%2Findex.php%3Fjs%26g%261%26v%3D2&proxy=http%3A%2F%2Fwp.com%2Fwp-admin%2Fadmin-ajax.php%3Faction%3Dredux_p%26nonce%3De19771e923%26url%3D' because its MIME type ('text/html') is not executable, and strict MIME type checking is enabled.
- > GET request to /wp-admin/admin.php?page=viral_coming_soon_options&tab=6
- > Security (severe) in unknown
/wp-admin/admin.php?page=viral_coming_soon_options&tab=6 - Refused to execute script from '/wp-admin/admin-ajax.php?action=redux_p&nonce=e19771e923&url=http%3A%2F%2Fads.reduxframework.com%2Fapi%2Findex.php%3Fjs%26g%261%26v%3D2&proxy=http%3A%2F%2Fwp.com%2Fwp-admin%2Fadmin-ajax.php%3Faction%3Dredux_p%26nonce%3De19771e923%26url%3D' because its MIME type ('text/html') is not executable, and strict MIME type checking is enabled.
- > GET request to /wp-admin/admin.php?page=viral_coming_soon_options&tab=3
- > Security (severe) in unknown
/wp-admin/admin.php?page=viral_coming_soon_options&tab=3 - Refused to execute script from '/wp-admin/admin-ajax.php?action=redux_p&nonce=e19771e923&url=http%3A%2F%2Fads.reduxframework.com%2Fapi%2Findex.php%3Fjs%26g%261%26v%3D2&proxy=http%3A%2F%2Fwp.com%2Fwp-admin%2Fadmin-ajax.php%3Faction%3Dredux_p%26nonce%3De19771e923%26url%3D' because its MIME type ('text/html') is not executable, and strict MIME type checking is enabled.
- > GET request to /wp-admin/admin.php?page=viral_coming_soon_options&tab=1
- > Security (severe) in unknown
/wp-admin/admin.php?page=viral_coming_soon_options&tab=1 - Refused to execute script from '/wp-admin/admin-ajax.php?action=redux_p&nonce=e19771e923&url=http%3A%2F%2Fads.reduxframework.com%2Fapi%2Findex.php%3Fjs%26g%261%26v%3D2&proxy=http%3A%2F%2Fwp.com%2Fwp-admin%2Fadmin-ajax.php%3Faction%3Dredux_p%26nonce%3De19771e923%26url%3D' because its MIME type ('text/html') is not executable, and strict MIME type checking is enabled.
- > GET request to /wp-admin/admin.php?page=viral_coming_soon_options&tab=7
- > Security (severe) in unknown
/wp-admin/admin.php?page=viral_coming_soon_options&tab=7 - Refused to execute script from '/wp-admin/admin-ajax.php?action=redux_p&nonce=e19771e923&url=http%3A%2F%2Fads.reduxframework.com%2Fapi%2Findex.php%3Fjs%26g%261%26v%3D2&proxy=http%3A%2F%2Fwp.com%2Fwp-admin%2Fadmin-ajax.php%3Faction%3Dredux_p%26nonce%3De19771e923%26url%3D' because its MIME type ('text/html') is not executable, and strict MIME type checking is enabled.
- > GET request to /wp-admin/admin.php?page=viral_coming_soon_options&tab=8
- > Security (severe) in unknown
/wp-admin/admin.php?page=viral_coming_soon_options&tab=8 - Refused to execute script from '/wp-admin/admin-ajax.php?action=redux_p&nonce=e19771e923&url=http%3A%2F%2Fads.reduxframework.com%2Fapi%2Findex.php%3Fjs%26g%261%26v%3D2&proxy=http%3A%2F%2Fwp.com%2Fwp-admin%2Fadmin-ajax.php%3Faction%3Dredux_p%26nonce%3De19771e923%26url%3D' because its MIME type ('text/html') is not executable, and strict MIME type checking is enabled.
- > GET request to /wp-admin/admin.php?page=viral_coming_soon_options&tab=2
- > Security (severe) in unknown
/wp-admin/admin.php?page=viral_coming_soon_options&tab=2 - Refused to execute script from '/wp-admin/admin-ajax.php?action=redux_p&nonce=e19771e923&url=http%3A%2F%2Fads.reduxframework.com%2Fapi%2Findex.php%3Fjs%26g%261%26v%3D2&proxy=http%3A%2F%2Fwp.com%2Fwp-admin%2Fadmin-ajax.php%3Faction%3Dredux_p%26nonce%3De19771e923%26url%3D' because its MIME type ('text/html') is not executable, and strict MIME type checking is enabled.
- > GET request to /wp-admin/admin.php?page=viral_coming_soon_options&tab=10
- > Security (severe) in unknown
/wp-admin/admin.php?page=viral_coming_soon_options&tab=10 - Refused to execute script from '/wp-admin/admin-ajax.php?action=redux_p&nonce=e19771e923&url=http%3A%2F%2Fads.reduxframework.com%2Fapi%2Findex.php%3Fjs%26g%261%26v%3D2&proxy=http%3A%2F%2Fwp.com%2Fwp-admin%2Fadmin-ajax.php%3Faction%3Dredux_p%26nonce%3De19771e923%26url%3D' because its MIME type ('text/html') is not executable, and strict MIME type checking is enabled.
Optimizations
Plugin configuration 86% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
Please fix the following attributes:
- Tags: Please reduce the number of tags, currently 18 tag instead of maximum 10
viral-coming-soon/viral_coming_soon.php 77% from 13 tests
"Coming Soon Viral Page by Growtheme" version 1.1.15'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 149 characters long)
- Text Domain: The text domain name must use dashes instead of underscores, and it must be lowercase
- Main file name: It is recommended to name the main PHP file as the plugin slug ("viral-coming-soon.php" instead of "viral_coming_soon.php")
Code Analysis 97% from 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
Success! There were no dangerous files found in this plugin63,798 lines of code in 650 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 359 | 7,590 | 13,483 | 35,636 |
JavaScript | 99 | 2,940 | 2,186 | 12,930 |
Sass | 49 | 617 | 60 | 5,511 |
Markdown | 15 | 1,006 | 0 | 3,395 |
CSS | 52 | 374 | 169 | 2,238 |
JSON | 56 | 2 | 0 | 1,458 |
SVG | 1 | 0 | 0 | 934 |
LESS | 3 | 82 | 79 | 715 |
PO File | 1 | 183 | 187 | 569 |
HTML | 6 | 41 | 18 | 189 |
Stylus | 1 | 19 | 2 | 102 |
YAML | 5 | 19 | 0 | 73 |
make | 2 | 11 | 0 | 31 |
XML | 1 | 0 | 0 | 17 |
PHP code 50% from 2 tests
Analyzing cyclomatic complexity and code structure
It is recommended to fix the following
- Method cyclomatic complexity has to be reduced to less than 100 (currently 113)
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.40 |
Average class complexity | 16.07 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 856.00 |
Average method complexity | 3.40 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 113.00 |
Code structure | ||
---|---|---|
Namespaces | 15 | |
Interfaces | 16 | |
Traits | 2 | |
Classes | 269 | |
▷ Abstract classes | 10 | 3.72% |
▷ Concrete classes | 259 | 96.28% |
▷ Final classes | 4 | 1.54% |
Methods | 1,973 | |
▷ Static methods | 143 | 7.25% |
▷ Public methods | 1,717 | 87.02% |
▷ Protected methods | 113 | 5.73% |
▷ Private methods | 143 | 7.25% |
Functions | 412 | |
▷ Named functions | 113 | 27.43% |
▷ Anonymous functions | 299 | 72.57% |
Constants | 128 | |
▷ Global constants | 35 | 27.34% |
▷ Class constants | 93 | 72.66% |
▷ Public constants | 93 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
34 PNG files occupy 0.06MB with 0.03MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
admin/ReduxCore/assets/img/1c.png | 0.13KB | 0.13KB | ▼ 0.72% |
admin/ReduxCore/assets/img/4-col-portfolio.png | 1.01KB | 0.17KB | ▼ 83.45% |
admin/ReduxCore/assets/img/3cl.png | 3.08KB | 0.33KB | ▼ 89.13% |
admin/ReduxCore/inc/fields/spinner/arrow_left.png | 0.15KB | 0.12KB | ▼ 16.67% |
admin/ReduxCore/assets/img/3cr.png | 2.98KB | 0.34KB | ▼ 88.66% |