Benchmarks
Plugin footprint 82% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
This plugin's installer ran successfully
Server metrics [RAM: ▲1.88MB] [CPU: ▼270.03ms] Passed 4 tests
Analyzing server-side resources used by Mailchimp Subscribe Form by SoursopTree
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 5.34 ▲2.21 | 73.06 ▲42.78 |
Dashboard /wp-admin | 5.20 ▲1.80 | 53.68 ▲17.43 |
Posts /wp-admin/edit.php | 5.41 ▲1.77 | 97.60 ▲60.63 |
Add New Post /wp-admin/post-new.php | 9.06 ▲2.09 | 102.32 ▼1,156.01 |
Media Library /wp-admin/upload.php | 5.17 ▲1.88 | 40.86 ▲15.70 |
Theme /wp-admin/edit.php?post_type=sstssfb_builder&page=sstssfb-theme_uploader | 5.12 | 37.35 |
New Form /wp-admin/post-new.php?post_type=sstssfb_builder | 6.22 | 61.65 |
Add-on /wp-admin/edit.php?post_type=sstssfb_builder&page=sstssfb-addons_manager_page | 5.12 | 36.12 |
Help /wp-admin/edit.php?post_type=sstssfb_builder&page=sstssfb-help_page | 5.12 | 45.28 |
Subscribe Forms /wp-admin/edit.php?post_type=sstssfb_builder | 5.21 | 40.29 |
Server storage [IO: ▲0.73MB] [DB: ▲0.00MB] 67% from 3 tests
Filesystem and database footprint
It is recommended to fix the following issues
- You have illegally modified 56 files (283.80KB) outside of "wp-content/plugins/sstsubscribeform/" and "wp-content/uploads/"
- (new file) wp-content/sstssfb_assets/addons/$cplacer-main/js/position.js
- (new file) wp-content/sstssfb_assets/addons/$bsettings-main/saverules.php
- (new file) wp-content/sstssfb_assets/addons/$adesigner-main/designer.php
- (new file) wp-content/sstssfb_assets/addons/$bsettings-main/scripts.php
- (new file) wp-content/sstssfb_assets/addons/$cplacer-main/placement.php
- (new file) wp-content/sstssfb_assets/addons/$bsettings-main/emailservice.php
- (new file) wp-content/sstssfb_assets/addons/$bsettings-main/asset-ex/admin/mailadmin.css
- (new file) wp-content/sstssfb_assets/addons/$bsettings-main/rules.php
- (new file) wp-content/sstssfb_assets/addons/$bsettings-main/asset-ex/admin/mailadmin.js
- (new file) wp-content/sstssfb_assets/addons/$bsettings-main/asset-ex/emailfrontend.js
- ...
Filesystem: 85 new files
Database: no new tables, 1 new option
New WordPress options |
---|
widget_sstssfb_optinwidget |
Browser metrics Passed 4 tests
A check of browser resources used by Mailchimp Subscribe Form by SoursopTree
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,864 ▲120 | 15.98 ▲0.05 | 6.53 ▼0.46 | 2.45 ▲0.05 |
Dashboard /wp-admin | 2,995 ▲133 | 6.16 ▲0.00 | 129.89 ▼25.63 | 207.79 ▲25.39 |
Posts /wp-admin/edit.php | 2,794 ▲100 | 3.27 ▲0.05 | 66.49 ▲0.75 | 142.03 ▲0.90 |
Add New Post /wp-admin/post-new.php | 1,701 ▼10 | 21.53 ▲0.88 | 414.14 ▼60.09 | 179.30 ▼46.25 |
Media Library /wp-admin/upload.php | 1,796 ▲98 | 5.60 ▲0.08 | 167.18 ▲17.96 | 274.13 ▲79.24 |
Theme /wp-admin/edit.php?post_type=sstssfb_builder&page=sstssfb-theme_uploader | 1,450 | 5.33 | 143.16 | 106.69 |
New Form /wp-admin/post-new.php?post_type=sstssfb_builder | 5,192 | 7.98 | 182.37 | 159.50 |
Add-on /wp-admin/edit.php?post_type=sstssfb_builder&page=sstssfb-addons_manager_page | 1,379 | 5.35 | 159.52 | 149.57 |
Help /wp-admin/edit.php?post_type=sstssfb_builder&page=sstssfb-help_page | 1,530 | 5.79 | 143.21 | 197.05 |
Subscribe Forms /wp-admin/edit.php?post_type=sstssfb_builder | 1,762 | 5.83 | 156.24 | 143.68 |
Uninstaller [IO: ▲0.28MB] [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
- This plugin does not fully uninstall, leaving 1 option in the database
- widget_sstssfb_optinwidget
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
Everything seems fine, however this is by no means an exhaustive test
SRP 50% 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 take a closer look at the following
- 5× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
require(): Failed opening required 'timezone.php' (include_path='.:/usr/share/php') in wp-content/plugins/sstsubscribeform/inc/geoip/timezone/test_timezone.php on line 3
- > PHP Warning
require_once(SSTSSFB_DIRclass-wp-list-table.php): failed to open stream: No such file or directory in wp-content/plugins/sstsubscribeform/inc/postlisttable/libs/class-wp-posts-list-table.php on line 3
- > PHP Warning
require(timezone.php): failed to open stream: No such file or directory in wp-content/plugins/sstsubscribeform/inc/geoip/timezone/test_timezone.php on line 3
- > PHP Warning
Use of undefined constant SSTSSFB_DIR - assumed 'SSTSSFB_DIR' (this will throw an Error in a future version of PHP) in wp-content/plugins/sstsubscribeform/inc/postlisttable/libs/class-wp-posts-list-table.php on line 3
- > PHP Fatal error
require_once(): Failed opening required 'SSTSSFB_DIRclass-wp-list-table.php' (include_path='.:/usr/share/php') in wp-content/plugins/sstsubscribeform/inc/postlisttable/libs/class-wp-posts-list-table.php on line 3
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Please fix the following user-side errors
- 5 occurences, only the last one shown
- > GET request to /wp-admin/edit.php?post_type=sstssfb_builder
- > Console-api (warning) in unknown
/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=5.9.2 1:31592 "jQuery.Deferred exception: this[binder] is not a function" "TypeError: this[binder] is not a function\n at s.fn.init.$.fn.tipsy (/wp-content/plugins/sstsubscribeform//js/jquery.tipsy.js?ver=1.0.0:180:25)\n at HTMLDocument.\u003Canonymous> (/wp-content/plugins/sstsubscribeform//js/admin/main.js?ver=1.0.0:4:21)\n at e (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=5.9.2:2:30038)\n at t (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=5.9.2:2:30340)" undefined
- 10 occurences, only the last one shown
- > GET request to /wp-admin/edit.php?post_type=sstssfb_builder
- > Javascript (severe) in unknown
/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=5.9.2 1:31702 Uncaught TypeError: this[binder] is not a function
- 2 occurences, only the last one shown
- > GET request to /wp-admin/edit.php?post_type=sstssfb_builder
- > Console-api (warning) in unknown
/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=5.9.2 1:31592 "jQuery.Deferred exception: this[binder] is not a function" "TypeError: this[binder] is not a function\n at s.fn.init.$.fn.tipsy (/wp-content/plugins/sstsubscribeform//js/jquery.tipsy.js?ver=1.0.0:180:25)\n at HTMLDocument.\u003Canonymous> (/wp-content/plugins/sstsubscribeform/inc//uptodate/js/main.js?ver=1.0.0:2:88)\n at e (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=5.9.2:2:30038)\n at t (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=5.9.2:2:30340)" undefined
- 2 occurences, only the last one shown
- > GET request to /wp-admin/edit.php?post_type=sstssfb_builder
- > Console-api (warning) in unknown
/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=5.9.2 1:31592 "jQuery.Deferred exception: this[binder] is not a function" "TypeError: this[binder] is not a function\n at s.fn.init.$.fn.tipsy (/wp-content/plugins/sstsubscribeform//js/jquery.tipsy.js?ver=1.0.0:180:25)\n at HTMLDocument.\u003Canonymous> (/wp-content/sstssfb_assets/addons/mailchimp/asset-ex/mchimp.js?ver=0.1:3:16)\n at e (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=5.9.2:2:30038)\n at t (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=5.9.2:2:30340)" undefined
- > GET request to /wp-admin/edit.php?post_type=sstssfb_builder&page=sstssfb-help_page
- > Network (severe)
https://apis.google.com/_/scs/apps-static/_/js/k=oz.gapi.id.W6EOS1c6tWs.O/m=auth/exm=ytsubscribe/rt=j/sv=1/d=1/ed=1/am=AQ/rs=AGLTcCPb3XmciTCqw92MwmGAXrcD8tRN1g/t=zcms/cb=gapi.loaded_1 - Failed to load resource: the server responded with a status of 404 ()
- > GET request to /wp-admin/edit.php?post_type=sstssfb_builder&page=sstssfb-help_page
- > Network (severe)
https://apis.google.com/_/scs/apps-static/_/js/k=oz.gapi.id.W6EOS1c6tWs.O/m=ytsubscribe/rt=j/sv=1/d=1/ed=1/am=AQ/rs=AGLTcCPb3XmciTCqw92MwmGAXrcD8tRN1g/t=zcms/cb=gapi.loaded_0 - Failed to load resource: the server responded with a status of 404 ()
- > GET request to /wp-admin/edit.php?post_type=sstssfb_builder&page=sstssfb-help_page
- > Network (severe)
https://apis.google.com/_/scs/apps-static/_/js/k=oz.gapi.id.W6EOS1c6tWs.O/m=gapi_iframes,gapi_iframes_style_common/rt=j/sv=1/d=1/ed=1/am=AQ/rs=AGLTcCPb3XmciTCqw92MwmGAXrcD8tRN1g/t=zcms/cb=gapi.loaded_0 - Failed to load resource: the server responded with a status of 404 ()
- > GET request to /wp-admin/edit.php?post_type=sstssfb_builder
- > Console-api (warning) in unknown
/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=5.9.2 1:31592 "jQuery.Deferred exception: this[binder] is not a function" "TypeError: this[binder] is not a function\n at s.fn.init.$.fn.tipsy (/wp-content/plugins/sstsubscribeform//js/jquery.tipsy.js?ver=1.0.0:180:25)\n at HTMLDocument.\u003Canonymous> (/wp-content/plugins/sstsubscribeform/inc/postlisttable/assets/js/listtable.js?ver=1.0.0:2:25)\n at e (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=5.9.2:2:30038)\n at t (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=5.9.2:2:30340)" undefined
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
Please fix the following attributes:
- Tags: Please delete some tags, you are using 27 tag instead of maximum 10
sstsubscribeform/simpleform.php 85% from 13 tests
The main PHP script in "Mailchimp Subscribe Form by SoursopTree" version 0.2 is automatically included on every request by WordPress
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 ("sstsubscribeform.php" instead of "simpleform.php")
- Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 370 characters long)
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
Everything looks great! No dangerous files found in this plugin15,435 lines of code in 67 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 36 | 718 | 1,121 | 10,205 |
CSS | 16 | 162 | 170 | 2,708 |
JavaScript | 12 | 344 | 804 | 2,150 |
Pascal | 2 | 59 | 1,694 | 317 |
Perl | 1 | 13 | 0 | 55 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.49 |
Average class complexity | 25.00 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 203.00 |
Average method complexity | 5.03 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 66.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 26 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 26 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 155 | |
▷ Static methods | 1 | 0.65% |
▷ Public methods | 117 | 75.48% |
▷ Protected methods | 32 | 20.65% |
▷ Private methods | 6 | 3.87% |
Functions | 7 | |
▷ Named functions | 7 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 14 | |
▷ Global constants | 14 | 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
16 compressed PNG files occupy 0.03MB
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
css/images/ui-bg_glass_100_f8f8f8_1x400.png | 0.10KB | 0.11KB | 0.00% |
css/images/ui-icons_3383bb_256x240.png | 4.27KB | 4.11KB | ▼ 3.78% |
css/images/ui-icons_454545_256x240.png | 4.27KB | 4.11KB | ▼ 3.78% |
css/images/ui-bg_flat_0_aaaaaa_40x100.png | 0.18KB | 0.08KB | ▼ 51.67% |
css/images/ui-icons_70b2e1_256x240.png | 4.27KB | 4.11KB | ▼ 3.78% |