Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Installer ran successfully
Server metrics [RAM: ▲0.12MB] [CPU: ▼3.00ms] Passed 4 tests
Server-side resources used by Woo EDD Email Domain Blacklist
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.50 ▲0.04 | 40.90 ▲3.68 |
Dashboard /wp-admin | 3.51 ▲0.21 | 50.61 ▲1.25 |
Posts /wp-admin/edit.php | 3.56 ▲0.21 | 54.99 ▲10.24 |
Add New Post /wp-admin/post-new.php | 6.01 ▲0.12 | 81.02 ▼19.13 |
Media Library /wp-admin/upload.php | 3.35 ▲0.12 | 36.05 ▲2.20 |
Woo EDD Email Blacklist /wp-admin/options-general.php?page=woo-email-domain-blacklist | 3.35 | 36.79 |
Server storage [IO: ▲0.04MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin was installed successfully
Filesystem: 7 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_recent-posts |
theysaidso_admin_options |
db_upgraded |
can_compress_scripts |
widget_theysaidso_widget |
foa_wc_email_blacklist |
widget_recent-comments |
Browser metrics Passed 4 tests
Woo EDD Email Domain Blacklist: an overview of browser usage
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,958 ▲187 | 14.86 ▲0.21 | 1.61 ▼0.23 | 43.27 ▲4.04 |
Dashboard /wp-admin | 2,364 ▲179 | 6.63 ▲1.72 | 120.74 ▲20.62 | 38.11 ▼0.39 |
Posts /wp-admin/edit.php | 2,276 ▲187 | 3.64 ▲1.62 | 59.35 ▲22.83 | 35.44 ▲0.81 |
Add New Post /wp-admin/post-new.php | 1,688 ▲150 | 22.61 ▼0.36 | 651.17 ▼4.96 | 39.66 ▼20.21 |
Media Library /wp-admin/upload.php | 1,406 ▲15 | 4.31 ▼0.03 | 80.90 ▼20.74 | 41.76 ▼1.51 |
Woo EDD Email Blacklist /wp-admin/options-general.php?page=woo-email-domain-blacklist | 1,040 | 3.47 | 48.92 | 23.81 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
These items require your attention
- This plugin did not uninstall successfully, leaving 7 options in the database
- foa_wc_email_blacklist
- theysaidso_admin_options
- widget_theysaidso_widget
- widget_recent-posts
- widget_recent-comments
- db_upgraded
- can_compress_scripts
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Good news, no errors were detected
SRP Passed 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
Looking good! No server-side errors or output on direct access of PHP files
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser errors were detected
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
Please fix the following attributes:
- Tags: You are using too many tags: 11 tag instead of maximum 10
woo-email-domain-blacklist/woo-email-domain-blacklist.php Passed 13 tests
Analyzing the main PHP file in "Woo EDD Email Domain Blacklist" version 2.0.0
103 characters long description:
A lightweight plugin to block any email domain from WooCommerce and Easy Digital Download checkout page
Code Analysis Passed 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
There were no executable files found in this plugin545 lines of code in 5 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 5 | 170 | 198 | 545 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.37 |
Average class complexity | 27.00 |
▷ Minimum class complexity | 8.00 |
▷ Maximum class complexity | 52.00 |
Average method complexity | 2.62 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 16.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 3 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 3 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 48 | |
▷ Static methods | 4 | 8.33% |
▷ Public methods | 44 | 91.67% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 4 | 8.33% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 1 | 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
There were not PNG files found in your plugin