Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Install script ran successfully
Server metrics [RAM: ▲0.03MB] [CPU: ▼5.58ms] Passed 4 tests
Analyzing server-side resources used by WP Email Delivery
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.03 | 41.08 ▼7.88 |
Dashboard /wp-admin | 3.33 ▲0.03 | 52.29 ▼5.22 |
Posts /wp-admin/edit.php | 3.39 ▲0.03 | 50.70 ▼1.00 |
Add New Post /wp-admin/post-new.php | 5.92 ▲0.03 | 91.33 ▼8.22 |
Media Library /wp-admin/upload.php | 3.26 ▲0.03 | 39.04 ▲1.81 |
WP Email Delivery /wp-admin/options-general.php?page=wp_email_delivery_settings | 3.28 | 41.30 |
Server storage [IO: ▲0.14MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
No storage issues were detected
Filesystem: 29 new files
Database: no new tables, 7 new options
New WordPress options |
---|
theysaidso_admin_options |
wp_email_delivery_version |
widget_recent-posts |
widget_theysaidso_widget |
widget_recent-comments |
can_compress_scripts |
db_upgraded |
Browser metrics Passed 4 tests
An overview of browser requirements for WP Email Delivery
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,818 ▲32 | 14.28 ▲0.07 | 1.95 ▼0.27 | 42.22 ▼0.27 |
Dashboard /wp-admin | 2,199 ▲19 | 5.63 ▼0.06 | 89.80 ▼8.43 | 37.48 ▼5.73 |
Posts /wp-admin/edit.php | 2,104 ▲4 | 2.02 ▲0.02 | 39.06 ▲3.28 | 38.86 ▲1.55 |
Add New Post /wp-admin/post-new.php | 1,531 ▲5 | 23.08 ▼0.36 | 669.09 ▲22.93 | 56.48 ▼1.78 |
Media Library /wp-admin/upload.php | 1,404 ▲4 | 4.21 ▲0.07 | 100.87 ▼2.72 | 45.39 ▼0.00 |
WP Email Delivery /wp-admin/options-general.php?page=wp_email_delivery_settings | 1,047 | 3.15 | 56.53 | 35.69 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
The following items require your attention
- This plugin did not uninstall successfully, leaving 7 options in the database
- widget_recent-comments
- widget_recent-posts
- theysaidso_admin_options
- widget_theysaidso_widget
- can_compress_scripts
- db_upgraded
- wp_email_delivery_version
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 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Please fix the following items
- 1× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function apply_filters() in wp-content/plugins/wp-email-delivery/includes/legacy/wped.wp-mail.php:3
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine on the user side
Optimizations
Plugin configuration 97% 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
These attributes need to be fixed:
- Tags: There are too many tags (15 tag instead of maximum 10)
wp-email-delivery/wp-email-delivery.php Passed 13 tests
The main PHP script in "WP Email Delivery" version 1.20.11.23 is automatically included on every request by WordPress
36 characters long description:
Managed Email Delivery for WordPress
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 plugin2,015 lines of code in 23 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 12 | 440 | 651 | 1,588 |
JavaScript | 7 | 77 | 64 | 352 |
LESS | 1 | 3 | 0 | 33 |
HTML | 1 | 4 | 8 | 22 |
JSON | 1 | 0 | 0 | 19 |
CSS | 1 | 0 | 0 | 1 |
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.46 |
Average class complexity | 31.43 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 77.00 |
Average method complexity | 4.58 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 54.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 7 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 7 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 60 | |
▷ Static methods | 4 | 6.67% |
▷ Public methods | 56 | 93.33% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 4 | 6.67% |
Functions | 9 | |
▷ Named functions | 9 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 9 | |
▷ Global constants | 6 | 66.67% |
▷ Class constants | 3 | 33.33% |
▷ Public constants | 3 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
There were not PNG files found in your plugin