Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Install script ran successfully
Server metrics [RAM: ▲0.13MB] [CPU: ▲0.04ms] Passed 4 tests
Server-side resources used by Email Subscribers - Group Selector
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.60 ▲0.14 | 35.21 ▼2.41 |
Dashboard /wp-admin | 3.44 ▲0.13 | 44.83 ▼0.50 |
Posts /wp-admin/edit.php | 3.55 ▲0.19 | 47.77 ▲1.88 |
Add New Post /wp-admin/post-new.php | 6.02 ▲0.13 | 92.21 ▲1.20 |
Media Library /wp-admin/upload.php | 3.36 ▲0.13 | 37.57 ▲4.28 |
Server storage [IO: ▲0.08MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin was installed successfully
Filesystem: 13 new files
Database: 1 new table, 8 new options
New tables |
---|
wp_es_advanced_form |
New WordPress options |
---|
widget_email-subscribers-advanced-form |
es_af_pluginversion |
can_compress_scripts |
theysaidso_admin_options |
widget_recent-posts |
widget_theysaidso_widget |
widget_recent-comments |
db_upgraded |
Browser metrics Passed 4 tests
Checking browser requirements for Email Subscribers - Group Selector
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,821 ▲75 | 13.30 ▼1.16 | 1.71 ▼0.04 | 40.91 ▲1.01 |
Dashboard /wp-admin | 2,225 ▲37 | 4.86 ▼0.03 | 105.18 ▲0.36 | 41.92 ▼0.10 |
Posts /wp-admin/edit.php | 2,108 ▲19 | 2.04 ▼0.02 | 41.09 ▲0.53 | 44.06 ▲8.05 |
Add New Post /wp-admin/post-new.php | 1,385 ▼134 | 17.41 ▼5.51 | 557.03 ▼71.22 | 51.32 ▼0.43 |
Media Library /wp-admin/upload.php | 1,401 ▲13 | 4.23 ▲0.03 | 100.97 ▲2.81 | 43.05 ▲1.36 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
Please fix the following items
- Zombie tables detected upon uninstall: 1 table
- wp_es_advanced_form
- This plugin does not fully uninstall, leaving 8 options in the database
- es_af_pluginversion
- db_upgraded
- widget_recent-comments
- widget_email-subscribers-advanced-form
- can_compress_scripts
- widget_recent-posts
- widget_theysaidso_widget
- theysaidso_admin_options
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
Good news, no errors were detected
SRP 0% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Please fix the following items
- 4× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/email-subscribers-advanced-form/includes/form/es-af-add.php
- > /wp-content/plugins/email-subscribers-advanced-form/includes/form/es-af-edit.php
- > /wp-content/plugins/email-subscribers-advanced-form/email-subscribers-advanced-form.php
- > /wp-content/plugins/email-subscribers-advanced-form/includes/form/es-af-show.php
- 1× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function plugins_url() in wp-content/plugins/email-subscribers-advanced-form/includes/es-af-stater.php:15
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser issues were found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
Attributes that need to be fixed:
- Tags: Too many tags (12 tag instead of maximum 10); only the first 5 tags are used in your directory listing
email-subscribers-advanced-form/email-subscribers-advanced-form.php 92% from 13 tests
The primary PHP file in "Email Subscribers - Group Selector" version 1.5.1 is used by WordPress to initiate all plugin functionality
Please take the time to fix the following:
- Description: Please don't use more than 140 characters for the plugin description (currently 141 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
Everything looks great! No dangerous files found in this plugin1,231 lines of code in 9 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 7 | 156 | 39 | 1,193 |
CSS | 1 | 5 | 0 | 25 |
JavaScript | 1 | 1 | 0 | 13 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.35 |
Average class complexity | 19.60 |
▷ Minimum class complexity | 4.00 |
▷ Maximum class complexity | 55.00 |
Average method complexity | 5.65 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 42.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 5 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 5 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 20 | |
▷ Static methods | 15 | 75.00% |
▷ Public methods | 20 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 4 | |
▷ Named functions | 4 | 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
1 PNG file occupies 0.00MB with 0.00MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/images/mail.png | 0.42KB | 0.36KB | ▼ 15.31% |