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 gracefully, with no errors
Server metrics [RAM: ▲0.02MB] [CPU: ▼3.73ms] Passed 4 tests
This is a short check of server-side resources used by Change Admin Email
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.50 ▲0.04 | 37.35 ▼1.04 |
Dashboard /wp-admin | 3.33 ▼0.01 | 44.99 ▼12.99 |
Posts /wp-admin/edit.php | 3.39 ▲0.03 | 47.70 ▲1.77 |
Add New Post /wp-admin/post-new.php | 5.92 ▲0.03 | 91.05 ▼1.79 |
Media Library /wp-admin/upload.php | 3.26 ▲0.03 | 33.78 ▲0.92 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin installed successfully
Filesystem: 2 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
widget_theysaidso_widget |
can_compress_scripts |
theysaidso_admin_options |
widget_recent-comments |
db_upgraded |
Browser metrics Passed 4 tests
A check of browser resources used by Change Admin Email
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,789 ▲28 | 14.23 ▼0.36 | 1.60 ▼0.05 | 37.11 ▼5.20 |
Dashboard /wp-admin | 2,198 ▲24 | 5.63 ▲0.02 | 91.09 ▲3.36 | 42.08 ▲4.01 |
Posts /wp-admin/edit.php | 2,100 ▼0 | 2.02 ▲0.01 | 39.84 ▲5.04 | 35.44 ▼2.08 |
Add New Post /wp-admin/post-new.php | 1,526 ▼2 | 23.18 ▼0.07 | 653.18 ▼31.51 | 63.29 ▲4.07 |
Media Library /wp-admin/upload.php | 1,400 ▲6 | 4.19 ▲0.04 | 93.09 ▼7.08 | 40.24 ▼3.32 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
You still need to fix the following
- Zombie WordPress options detected upon uninstall: 6 options
- widget_recent-posts
- widget_theysaidso_widget
- can_compress_scripts
- db_upgraded
- theysaidso_admin_options
- widget_recent-comments
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
The smoke test was a success, however most plugin functionality was not tested
SRP 50% from 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Please fix the following items
- 1× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function ChangeAdminEmail\\add_action() in wp-content/plugins/change-admin-email-setting-without-outbound-email/change-admin-email.php:33
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 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
4 plugin tags: admin_email, email, rollback, change_admin_email
change-admin-email-setting-without-outbound-email/change-admin-email.php 85% from 13 tests
"Change Admin Email" version 3.3's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
You should first fix the following items:
- Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 184 characters long)
- Main file name: Name the main plugin file the same as the plugin slug ("change-admin-email-setting-without-outbound-email.php" instead of "change-admin-email.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
Success! There were no dangerous files found in this plugin101 lines of code in 1 file:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 18 | 20 | 101 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.20 |
Average class complexity | 5.00 |
▷ Minimum class complexity | 4.00 |
▷ Maximum class complexity | 6.00 |
Average method complexity | 1.54 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 4.00 |
Code structure | ||
---|---|---|
Namespaces | 1 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 14 | |
▷ Static methods | 5 | 35.71% |
▷ Public methods | 13 | 92.86% |
▷ Protected methods | 1 | 7.14% |
▷ Private methods | 0 | 0.00% |
Functions | 1 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 1 | 100.00% |
Constants | 1 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 1 | 100.00% |
▷ Public constants | 1 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
No PNG images were found in this plugin