Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.06MB] [CPU: ▼0.19ms] Passed 4 tests
Analyzing server-side resources used by Custom Email Sender
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.52 ▲0.06 | 41.60 ▼6.86 |
Dashboard /wp-admin | 3.36 ▲0.06 | 52.30 ▲2.35 |
Posts /wp-admin/edit.php | 3.47 ▲0.12 | 52.78 ▲4.41 |
Add New Post /wp-admin/post-new.php | 5.94 ▲0.06 | 111.62 ▲17.39 |
Media Library /wp-admin/upload.php | 3.28 ▲0.06 | 36.29 ▼0.65 |
Email Sender /wp-admin/options-general.php?page=custom-email-sender-admin | 3.27 | 33.68 |
Server storage [IO: ▲1.14MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
The plugin installed successfully
Filesystem: 29 new files
Database: no new tables, 7 new options
New WordPress options |
---|
db_upgraded |
_custom_email_sender |
theysaidso_admin_options |
widget_recent-comments |
widget_theysaidso_widget |
can_compress_scripts |
widget_recent-posts |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Custom Email Sender
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,804 ▲33 | 13.29 ▼1.01 | 4.24 ▲2.09 | 41.93 ▼1.57 |
Dashboard /wp-admin | 2,210 ▲22 | 5.90 ▲0.04 | 105.90 ▼1.96 | 39.77 ▼5.62 |
Posts /wp-admin/edit.php | 2,093 ▲4 | 2.00 ▼0.17 | 41.32 ▲0.54 | 34.14 ▼2.14 |
Add New Post /wp-admin/post-new.php | 1,536 ▲22 | 23.30 ▲5.51 | 650.38 ▼34.65 | 51.76 ▲0.08 |
Media Library /wp-admin/upload.php | 1,386 ▲1 | 4.19 ▼0.03 | 98.47 ▼12.98 | 46.90 ▼3.11 |
Email Sender /wp-admin/options-general.php?page=custom-email-sender-admin | 870 | 2.02 | 24.37 | 54.57 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
You still need to fix the following
- Zombie WordPress options were found after uninstall: 6 options
- db_upgraded
- widget_theysaidso_widget
- widget_recent-posts
- theysaidso_admin_options
- can_compress_scripts
- widget_recent-comments
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
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
Almost there! Just fix the following items
- 1× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Using $this when not in object context in wp-content/plugins/custom-email-sender/admin/partials/custom-email-sender-admin-options.php:26
- > 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 an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
These attributes need your attention:
- Screenshots: Please add an image for screenshot #1 (A general view of the plugin "options" page.)
custom-email-sender/custom-email-sender.php Passed 13 tests
The primary PHP file in "Custom Email Sender" version 2.5.5 is used by WordPress to initiate all plugin functionality
100 characters long description:
Change the default email address and sender name output for all message sent from your WP dashboard.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
Good job! No executable or dangerous file extensions detected1,084 lines of code in 15 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 3 | 118 | 44 | 737 |
PHP | 10 | 61 | 360 | 342 |
JavaScript | 2 | 0 | 0 | 5 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.33 |
Average class complexity | 4.50 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 17.00 |
Average method complexity | 1.81 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 9.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 6 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 6 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 26 | |
▷ Static methods | 2 | 7.69% |
▷ Public methods | 22 | 84.62% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 4 | 15.38% |
Functions | 3 | |
▷ Named functions | 3 | 100.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
Often times overlooked, PNG files can occupy unnecessary space in your plugin
1 PNG file occupies 0.07MB with 0.05MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-1.png | 71.10KB | 22.18KB | ▼ 68.80% |