Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Install script ran successfully
Server metrics [RAM: ▲0.12MB] [CPU: ▼0.95ms] Passed 4 tests
A check of server-side resources used by BCC All Emails
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.58 ▲0.12 | 36.42 ▼3.50 |
Dashboard /wp-admin | 3.43 ▲0.12 | 48.92 ▲1.40 |
Posts /wp-admin/edit.php | 3.54 ▲0.18 | 49.01 ▼2.00 |
Add New Post /wp-admin/post-new.php | 6.01 ▲0.12 | 92.24 ▲5.37 |
Media Library /wp-admin/upload.php | 3.35 ▲0.12 | 35.67 ▲0.28 |
BCC All Emails /wp-admin/options-general.php?page=bccemails_settings | 3.37 | 29.44 |
Server storage [IO: ▲0.06MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin was installed successfully
Filesystem: 28 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
can_compress_scripts |
db_upgraded |
theysaidso_admin_options |
widget_recent-comments |
widget_recent-posts |
Browser metrics Passed 4 tests
A check of browser resources used by BCC All Emails
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,794 ▲7 | 14.20 ▼0.53 | 1.68 ▼0.22 | 36.07 ▼10.55 |
Dashboard /wp-admin | 2,199 ▲32 | 5.57 ▼0.12 | 89.86 ▼19.41 | 38.71 ▼5.39 |
Posts /wp-admin/edit.php | 2,104 ▲1 | 2.01 ▲0.06 | 38.57 ▼2.94 | 37.18 ▼1.14 |
Add New Post /wp-admin/post-new.php | 1,529 ▲3 | 23.54 ▲0.52 | 618.19 ▲24.20 | 63.16 ▲11.59 |
Media Library /wp-admin/upload.php | 1,404 ▲10 | 4.17 ▼0.04 | 95.74 ▼0.57 | 41.87 ▲0.24 |
BCC All Emails /wp-admin/options-general.php?page=bccemails_settings | 799 | 2.00 | 26.13 | 27.37 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
You still need to fix the following
- Zombie WordPress options were found after uninstall: 6 options
- db_upgraded
- widget_theysaidso_widget
- can_compress_scripts
- theysaidso_admin_options
- widget_recent-comments
- widget_recent-posts
Smoke tests 75% 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 50% from 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Please fix the following
- 16× PHP files trigger server errors when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'WatchTheDot\\Plugins\\Dependencies\\Watchthedot\\Library\\Settings\\Field\\Field' not found in wp-content/plugins/bcc-all-emails/third-party/src/Field/Textarea.php:6
- > PHP Fatal error
Uncaught Error: Class 'WatchTheDot\\Plugins\\Dependencies\\Watchthedot\\Library\\Settings\\Field\\Choice\\Select' not found in wp-content/plugins/bcc-all-emails/third-party/src/Field/Choice/Checkbox.php:7
- > PHP Fatal error
Uncaught Error: Class 'WatchTheDot\\Plugins\\Dependencies\\Watchthedot\\Library\\Settings\\Field\\Field' not found in wp-content/plugins/bcc-all-emails/third-party/src/Field/Choice/TrueFalse.php:7
- > PHP Fatal error
Uncaught Error: Class 'WatchTheDot\\Plugins\\Dependencies\\Watchthedot\\Library\\Settings\\Field\\Field' not found in wp-content/plugins/bcc-all-emails/third-party/src/Field/Color.php:7
- > PHP Fatal error
Uncaught Error: Class 'WatchTheDot\\Plugins\\Dependencies\\Watchthedot\\Library\\Settings\\Field\\Field' not found in wp-content/plugins/bcc-all-emails/third-party/src/Field/Image.php:7
- > PHP Fatal error
Uncaught Error: Class 'WatchTheDot\\Plugins\\Dependencies\\Watchthedot\\Library\\Settings\\Field\\Text' not found in wp-content/plugins/bcc-all-emails/third-party/src/Field/Number/Integer.php:7
- > PHP Fatal error
Uncaught Error: Class 'WatchTheDot\\Plugins\\Dependencies\\Watchthedot\\Library\\Settings\\Field\\TextSecret' not found in wp-content/plugins/bcc-all-emails/third-party/src/Field/Password.php:6
- > PHP Fatal error
Uncaught Error: Class 'WatchTheDot\\Plugins\\Dependencies\\Watchthedot\\Library\\Settings\\Field\\Choice\\Select' not found in wp-content/plugins/bcc-all-emails/third-party/src/Field/Choice/Radio.php:6
- > PHP Fatal error
Uncaught Error: Class 'WatchTheDot\\Plugins\\Dependencies\\Watchthedot\\Library\\Settings\\Field\\Field' not found in wp-content/plugins/bcc-all-emails/third-party/src/Field/Choice/Select.php:7
- > PHP Fatal error
Uncaught Error: Class 'WatchTheDot\\Plugins\\Dependencies\\Watchthedot\\Library\\Settings\\Field\\Text' not found in wp-content/plugins/bcc-all-emails/third-party/src/Field/TextSecret.php:9
- > PHP Fatal error
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 93% from 29 tests
readme.txt 94% from 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
Please fix the following attributes:
- Donate link: Please fix this invalid url: ""
bcc-all-emails/bcc-emails.php 92% from 13 tests
The main file in "BCC All Emails" v. 1.1.1 serves as a complement to information provided in readme.txt and as the entry point to the plugin
You should first fix the following items:
- Main file name: The principal plugin file should be the same as the plugin slug ("bcc-all-emails.php" instead of "bcc-emails.php")
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
No dangerous file extensions were detected1,393 lines of code in 26 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 21 | 83 | 123 | 1,023 |
Markdown | 1 | 58 | 0 | 281 |
JavaScript | 2 | 14 | 4 | 70 |
CSS | 2 | 2 | 0 | 19 |
PHP code Passed 2 tests
A short 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.27 |
Average class complexity | 4.70 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 22.00 |
Average method complexity | 1.84 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 10.00 |
Code structure | ||
---|---|---|
Namespaces | 5 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 20 | |
▷ Abstract classes | 2 | 10.00% |
▷ Concrete classes | 18 | 90.00% |
▷ Final classes | 0 | 0.00% |
Methods | 91 | |
▷ Static methods | 1 | 1.10% |
▷ Public methods | 82 | 90.11% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 9 | 9.89% |
Functions | 2 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 2 | 100.00% |
Constants | 5 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 5 | 100.00% |
▷ Public constants | 3 | 60.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
There are no PNG files in this plugin