Benchmarks
Plugin footprint 81% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Install script ran successfully
Server metrics [RAM: ▲0.78MB] [CPU: ▲5.58ms] Passed 4 tests
Server-side resources used by MailChimp Subscribe Form, Optin Builder, PopUp Builder, Form Builder
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.26 ▲0.80 | 44.18 ▼0.51 |
Dashboard /wp-admin | 4.11 ▲0.81 | 55.45 ▲9.00 |
Posts /wp-admin/edit.php | 4.17 ▲0.81 | 61.54 ▲11.14 |
Add New Post /wp-admin/post-new.php | 6.65 ▲0.76 | 97.55 ▲3.13 |
Media Library /wp-admin/upload.php | 3.97 ▲0.74 | 43.25 ▲10.69 |
Form Submissions /wp-admin/edit.php?post_type=pluginops_forms&page=page-builder-smfb-form-submissions | 3.95 | 38.53 |
Blank Page /wp-admin/edit.php?post_type=pluginops_forms&page=optin-builder-new-optin-page | 4.03 | 34.62 |
Dashboard /wp-admin/edit.php?post_type=pluginops_forms&page=page-builder-dashboard-smfb | 3.96 | 44.14 |
Campaigns /wp-admin/edit.php?post_type=pluginops_forms | 4.02 | 61.46 |
Add New /wp-admin/post-new.php?post_type=pluginops_forms | 4.16 | 46.88 |
Go Pro /wp-admin/edit.php?post_type=pluginops_forms&page=page-builder-extensions-smfb | 3.98 | 40.45 |
Server storage [IO: ▲8.83MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin installed successfully
Filesystem: 440 new files
Database: no new tables, 10 new options
New WordPress options |
---|
cpt_reset_msf_pluginops |
widget_ssm_form_widget |
msfpluginops_prem_plugin_ver |
widget_recent-comments |
can_compress_scripts |
theysaidso_admin_options |
widget_recent-posts |
widget_theysaidso_widget |
db_upgraded |
msfpluginops_activation_date |
Browser metrics 25% from 4 tests
Checking browser requirements for MailChimp Subscribe Form, Optin Builder, PopUp Builder, Form Builder
A great user experience is important, so you should focus on the following
- Nodes: For the best user experience, please reduce the number of DOM nodes under 25,000 (currently 115,230 on /wp-admin/post-new.php?post_type=pluginops_forms)
- Script duration: Try to keep JavaScript execution under 1,500.00ms (currently 2,978.45ms on /wp-admin/edit.php?post_type=pluginops_forms&page=optin-builder-new-optin-page)
- Memory: Browser memory usage must be limited to 75.00MB (currently 80.55MB on /wp-admin/edit.php?post_type=pluginops_forms&page=page-builder-dashboard-smfb)
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,936 ▲174 | 14.72 ▲0.49 | 1.82 ▲0.11 | 37.88 ▼7.16 |
Dashboard /wp-admin | 2,313 ▲141 | 5.66 ▼0.02 | 96.82 ▼25.10 | 51.45 ▲9.34 |
Posts /wp-admin/edit.php | 2,232 ▲132 | 2.15 ▲0.20 | 43.57 ▲3.65 | 41.50 ▲4.04 |
Add New Post /wp-admin/post-new.php | 1,613 ▲85 | 23.20 ▼0.05 | 605.13 ▼64.09 | 50.11 ▲5.18 |
Media Library /wp-admin/upload.php | 1,515 ▲118 | 4.21 ▲0.01 | 96.71 ▲2.08 | 45.75 ▲5.57 |
Form Submissions /wp-admin/edit.php?post_type=pluginops_forms&page=page-builder-smfb-form-submissions | 957 | 1.85 | 32.85 | 38.07 |
Blank Page /wp-admin/edit.php?post_type=pluginops_forms&page=optin-builder-new-optin-page | 114,382 | 32.22 | 2,978.45 | 189.46 |
Dashboard /wp-admin/edit.php?post_type=pluginops_forms&page=page-builder-dashboard-smfb | 6,795 | 80.55 | 2,016.18 | 149.16 |
Campaigns /wp-admin/edit.php?post_type=pluginops_forms | 1,214 | 2.07 | 47.54 | 51.46 |
Add New /wp-admin/post-new.php?post_type=pluginops_forms | 115,230 | 31.35 | 2,905.62 | 112.98 |
Go Pro /wp-admin/edit.php?post_type=pluginops_forms&page=page-builder-extensions-smfb | 1,319 | 2.06 | 27.71 | 45.59 |
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
You still need to fix the following
- Zombie WordPress options were found after uninstall: 9 options
- theysaidso_admin_options
- msfpluginops_prem_plugin_ver
- msfpluginops_activation_date
- widget_theysaidso_widget
- widget_recent-comments
- db_upgraded
- widget_recent-posts
- widget_ssm_form_widget
- can_compress_scripts
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
Almost there, just fix the following server-side errors
- 22 occurences, only the last one shown
- > GET request to /wp-admin/edit.php?post_type=pluginops_forms&page=optin-builder-new-optin-page
- > Notice in wp-content/plugins/mailchimp-subscribe-sm/admin/views/UI/side-panel.php+234
Undefined variable: post
- 2 occurences, only the last one shown
- > GET request to /wp-admin/edit.php?post_type=pluginops_forms&page=optin-builder-new-optin-page
- > Notice in wp-content/plugins/mailchimp-subscribe-sm/admin/views/UI/admin-ui.php+22
Trying to get property 'post_name' of non-object
- 20 occurences, only the last one shown
- > GET request to /wp-admin/edit.php?post_type=pluginops_forms&page=optin-builder-new-optin-page
- > Notice in wp-content/plugins/mailchimp-subscribe-sm/admin/views/UI/side-panel.php+234
Trying to get property 'ID' of non-object
SRP 0% from 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
The following issues need your attention
- 1× PHP files output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/mailchimp-subscribe-sm/admin/views/UI/widgets/widget-close-link.php
- 25× GET requests to PHP files have triggered server-side errors or warnings (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Call to undefined function get_post_meta() in wp-content/plugins/mailchimp-subscribe-sm/admin/views/admin-ui-pageType.php:2
- > PHP Notice
Undefined variable: selectedOptinType in wp-content/plugins/mailchimp-subscribe-sm/public/templates/scripts/optinDisplayScript.php on line 2
- > PHP Notice
Undefined variable: popupPosition in wp-content/plugins/mailchimp-subscribe-sm/public/templates/scripts/optinDisplayScript.php on line 3
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_url() in wp-content/plugins/mailchimp-subscribe-sm/mun/views/welcome.php:4
- > PHP Notice
Undefined variable: this_popup_unique_Id in wp-content/plugins/mailchimp-subscribe-sm/public/templates/scripts/optinDisplayScript.php on line 51
- > PHP Fatal error
Uncaught Error: Class 'AWeberResponse' not found in wp-content/plugins/mailchimp-subscribe-sm/integrations/aweber_api/aweber_collection.php:2
- > PHP Notice
Undefined variable: this_popup_unique_Id in wp-content/plugins/mailchimp-subscribe-sm/public/templates/scripts/optinDisplayScript.php on line 55
- > PHP Notice
Undefined variable: this_popup_unique_Id in wp-content/plugins/mailchimp-subscribe-sm/public/templates/scripts/optinDisplayScript.php on line 28
- > PHP Notice
Undefined variable: this_popup_unique_Id in wp-content/plugins/mailchimp-subscribe-sm/public/templates/scripts/optinDisplayScript.php on line 48
- > PHP Notice
Undefined variable: this_popup_unique_Id in wp-content/plugins/mailchimp-subscribe-sm/public/templates/scripts/optinDisplayScript.php on line 20
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
There are user-side issues you should fix
- 2 occurences, only the last one shown
- > GET request to /wp-admin/post-new.php?post_type=pluginops_forms
- > Network (severe)
wp-content/plugins/mailchimp-subscribe-sm/public/templates/animate.min.css?ver=6.3.1 - Failed to load resource: the server responded with a status of 404 (Not Found)
- 2 occurences, only the last one shown
- > GET request to /wp-admin/post-new.php?post_type=pluginops_forms
- > Network (severe)
wp-content/plugins/mailchimp-subscribe-sm/images/menu/menu-style-1.png - Failed to load resource: the server responded with a status of 404 (Not Found)
- 2 occurences, only the last one shown
- > GET request to /wp-admin/post-new.php?post_type=pluginops_forms
- > Network (severe)
wp-content/plugins/mailchimp-subscribe-sm/images/menu/menu-style-2.png - Failed to load resource: the server responded with a status of 404 (Not Found)
- 2 occurences, only the last one shown
- > GET request to /wp-admin/post-new.php?post_type=pluginops_forms
- > Network (severe)
wp-content/plugins/mailchimp-subscribe-sm/images/menu/menu-style-4.png - Failed to load resource: the server responded with a status of 404 (Not Found)
- 2 occurences, only the last one shown
- > GET request to /wp-admin/post-new.php?post_type=pluginops_forms
- > Network (severe)
wp-content/plugins/mailchimp-subscribe-sm/images/menu/menu-style-3.png - Failed to load resource: the server responded with a status of 404 (Not Found)
- 4 occurences, only the last one shown
- > GET request to /wp-admin/post-new.php?post_type=pluginops_forms
- > Console-api (warning) in wp-content/plugins/mailchimp-subscribe-sm/js/aceSRC/ace.js+26:58043
Automatically scrolling cursor into view after selection change" "this will be disabled in the next version" "set editor.$blockScrolling = Infinity to disable this message
- 2 occurences, only the last one shown
- > GET request to /wp-admin/post-new.php?post_type=pluginops_forms
- > Network (severe)
wp-content/plugins/mailchimp-subscribe-sm/images/templates/widgetBlocks/29.png - Failed to load resource: the server responded with a status of 404 (Not Found)
- 2 occurences, only the last one shown
- > GET request to /wp-admin/post-new.php?post_type=pluginops_forms
- > Network (severe)
wp-content/plugins/mailchimp-subscribe-sm/images/templates/widgetBlocks/30.png - Failed to load resource: the server responded with a status of 404 (Not Found)
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
Attributes that need to be fixed:
- Screenshots: Please add images for these screenshots: #3 ( MailChimp Subscribe Form Template ), #4 ( MailChimp Subscribe Form Template ), #5 ( MailChimp Subscribe Form Template ), #6 ( MailChimp Subscribe Form Template ), #7 ( MailChimp Subscribe Form Template ), #8 ( MailChimp Subscribe Form Template )
- Screenshots: Please add descriptions for these screenshots #10, #11, #12, #13, #14, #15, #16, #17, #18, #19, #20, #21, #22, #23, #24, #25, #26, #27, #28, #29, #30, #31, #32, #33, #34, #35, #36, #37, #38, #39, #40, #41, #42, #43, #44, #45, #46, #47, #48, #49, #50, #51, #52, #53, #54, #55, #56, #57, #58, #59, #60, #61, #62, #63 in mailchimp-subscribe-sm/assets to your readme.txt
mailchimp-subscribe-sm/subcribe-me.php 92% from 13 tests
"MailChimp Subscribe Form, Optin Builder, PopUp Builder, Form Builder" version 4.0.9.6's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
Please make the necessary changes and fix the following:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("mailchimp-subscribe-sm.php" instead of "subcribe-me.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
Good job! No executable or dangerous file extensions detected74,558 lines of code in 295 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 62 | 8,287 | 3,231 | 41,425 |
PHP | 128 | 6,485 | 6,154 | 28,802 |
CSS | 12 | 607 | 323 | 3,919 |
Sass | 11 | 48 | 6 | 295 |
JSON | 81 | 0 | 0 | 81 |
SVG | 1 | 0 | 0 | 36 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.32 |
Average class complexity | 20.39 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 340.00 |
Average method complexity | 2.71 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 67.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 3 | |
Traits | 0 | |
Classes | 59 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 59 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 628 | |
▷ Static methods | 9 | 1.43% |
▷ Public methods | 590 | 93.95% |
▷ Protected methods | 31 | 4.94% |
▷ Private methods | 7 | 1.11% |
Functions | 29 | |
▷ Named functions | 27 | 93.10% |
▷ Anonymous functions | 2 | 6.90% |
Constants | 39 | |
▷ Global constants | 39 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
127 compressed PNG files occupy 0.70MB
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/icons/optin-types-icon-flyIn.png | 0.88KB | 0.82KB | ▼ 6.35% |
images/templates/thumbs/template-59.png | 3.75KB | 3.72KB | ▼ 0.68% |
images/templates/thumbs/template-24.png | 1.10KB | 1.22KB | 0.00% |
images/templates/thumbs/template-23.png | 17.32KB | 17.04KB | ▼ 1.64% |
images/icons/5.png | 2.73KB | 2.73KB | 0.00% |