Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
This plugin's installer ran successfully
Server metrics [RAM: ▲0.01MB] [CPU: ▼5.93ms] Passed 4 tests
Server-side resources used by WP Change Default From Email
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.02 | 43.36 ▲2.33 |
Dashboard /wp-admin | 3.33 ▼0.02 | 51.41 ▼10.44 |
Posts /wp-admin/edit.php | 3.44 ▲0.08 | 49.86 ▲2.69 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.02 | 89.73 ▼18.31 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 40.67 ▲4.94 |
Change From Email /wp-admin/options-general.php?page=wcdfe_settings | 3.27 | 31.64 |
Server storage [IO: ▲0.24MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin was installed successfully
Filesystem: 22 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
db_upgraded |
widget_recent-comments |
can_compress_scripts |
widget_theysaidso_widget |
theysaidso_admin_options |
Browser metrics Passed 4 tests
Checking browser requirements for WP Change Default From Email
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,806 ▲60 | 13.29 ▼1.32 | 1.65 ▼0.11 | 43.68 ▼2.19 |
Dashboard /wp-admin | 2,212 ▲24 | 5.81 ▼0.04 | 101.94 ▼11.87 | 47.08 ▲8.80 |
Posts /wp-admin/edit.php | 2,098 ▲9 | 2.01 ▼0.00 | 40.79 ▲5.16 | 34.09 ▼1.48 |
Add New Post /wp-admin/post-new.php | 1,533 ▼9 | 22.99 ▲4.68 | 675.25 ▲38.16 | 48.21 ▼4.26 |
Media Library /wp-admin/upload.php | 1,394 ▲6 | 4.18 ▼0.05 | 96.29 ▼7.73 | 40.59 ▼4.17 |
Change From Email /wp-admin/options-general.php?page=wcdfe_settings | 929 | 1.85 | 29.88 | 56.68 |
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
- The uninstall procedure has failed, leaving 6 options in the database
- db_upgraded
- widget_theysaidso_widget
- widget_recent-comments
- widget_recent-posts
- theysaidso_admin_options
- can_compress_scripts
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
The following issues need your attention
- 1× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/wp-change-default-from-email/admin/pages/settings.php:1
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
There were no browser issues found
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
These attributes need your attention:
- Screenshots: These screenshots do not have images: #1 (**Settings Page** - Here you can set 'From Email' and 'From Name'.), #2 (**Help Page** - List of FAQ and support contact information.)
wp-change-default-from-email/WCDFE.php 85% from 13 tests
The primary PHP file in "WP Change Default From Email" version 1.1.5 is used by WordPress to initiate all plugin functionality
Please make the necessary changes and fix the following:
- Text Domain: The text domain name must use dashes instead of underscores, and it must be lowercase
- Main file name: Name the main plugin file the same as the plugin slug ("wp-change-default-from-email.php" instead of "WCDFE.php")
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 detected715 lines of code in 11 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PO File | 5 | 116 | 247 | 327 |
PHP | 5 | 59 | 127 | 273 |
CSS | 1 | 1 | 1 | 115 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.30 |
Average class complexity | 10.50 |
▷ Minimum class complexity | 8.00 |
▷ Maximum class complexity | 13.00 |
Average method complexity | 2.27 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 7.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 15 | |
▷ Static methods | 2 | 13.33% |
▷ Public methods | 15 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 4 | |
▷ Global constants | 4 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
No PNG files were detected