Benchmarks
Plugin footprint Passed 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Installer ran successfully
Server metrics [RAM: ▲0.03MB] [CPU: ▼294.98ms] Passed 4 tests
Analyzing server-side resources used by Admin Email Address Changer
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.64 ▲0.12 | 58.55 ▼2.34 |
Dashboard /wp-admin | 3.47 ▲0.06 | 38.51 ▲1.94 |
Posts /wp-admin/edit.php | 3.70 ▲0.05 | 44.22 ▲1.13 |
Add New Post /wp-admin/post-new.php | 6.95 ▼0.02 | 102.39 ▼1,173.71 |
Media Library /wp-admin/upload.php | 3.35 ▲0.04 | 31.00 ▼4.99 |
Admin Email /wp-admin/options-general.php?page=admin-email-address-changer | 3.32 | 26.74 |
Server storage [IO: ▲0.12MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin was installed successfully
Filesystem: 25 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
Admin Email Address Changer: an overview of browser usage
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,881 ▲159 | 16.72 ▲1.00 | 8.46 ▲2.64 | 2.38 ▲0.08 |
Dashboard /wp-admin | 2,901 ▲47 | 6.23 ▲0.04 | 120.23 ▼16.21 | 154.19 ▼8.09 |
Posts /wp-admin/edit.php | 2,697 ▲6 | 3.36 ▲0.12 | 64.07 ▼0.33 | 143.71 ▼5.60 |
Add New Post /wp-admin/post-new.php | 1,673 ▼79 | 20.85 ▼0.78 | 426.46 ▼10.20 | 159.20 ▼0.72 |
Media Library /wp-admin/upload.php | 1,702 ▲4 | 5.54 ▲0.03 | 146.67 ▲2.27 | 186.00 ▼21.10 |
Admin Email /wp-admin/options-general.php?page=admin-email-address-changer | 1,013 | 2.41 | 54.49 | 113.52 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
Uninstall script ran successfully
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
The smoke test was a success, however most plugin functionality was not tested
SRP 50% from 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Please take a closer look at the following
- 2× PHP files perform the task of outputting text when accessed with GET requests:
- > /wp-content/plugins/admin-email-address-changer/admin/partials/admin-email-address-changer-admin-display.php
- > /wp-content/plugins/admin-email-address-changer/public/partials/admin-email-address-changer-public-display.php
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 81% from 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
Please fix the following attributes:
- Plugin Name: Please replace "Plugin Name" with the name of your plugin on the first line (
=== admin-email-address-changer ===
) - Donate link: Invalid url: ""
- Screenshots: Screenshot #1 (Quick WordPress Admin Email Change Without any confirmation) image missing
admin-email-address-changer/admin-email-address-changer.php Passed 13 tests
The entry point to "Admin Email Address Changer" version 1.0.0 is a PHP file that has certain tags in its header comment area
69 characters long description:
Change Admin Email directly from dashboard without email confirmation
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
No dangerous file extensions were detected250 lines of code in 17 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 12 | 135 | 541 | 204 |
PO File | 1 | 9 | 11 | 40 |
JavaScript | 2 | 4 | 54 | 6 |
CSS | 2 | 0 | 8 | 0 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.09 |
Average class complexity | 1.71 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 3.00 |
Average method complexity | 1.20 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 3.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 | 25 | |
▷ Static methods | 2 | 8.00% |
▷ Public methods | 20 | 80.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 5 | 20.00% |
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
Using a strong compression for your PNG files is a great way to speed-up your plugin
No PNG images were found in this plugin