WordPress plugin Change Admin Email scored84%from 54 tests.

About plugin

  • Plugin page: change-admin-emai...
  • Plugin version: 3.3
  • PHP compatiblity: 5.6+
  • PHP version: 7.4.16
  • WordPress compatibility: 4.9-6.2.2
  • WordPress version: 6.3.1
  • First release: Mar 15, 2018
  • Latest release: Jun 7, 2023
  • Number of updates: 18
  • Update frequency: every 106.1 days
  • Top authors: johndeebdd (83.33%)deployer (22.22%)

Code review

54 tests

User reviews

95 reviews

Install metrics

40,000+ active /177,865 total downloads

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
PageMemory (MB)CPU Time (ms)
Home /3.50 ▲0.0437.35 ▼1.04
Dashboard /wp-admin3.33 ▼0.0144.99 ▼12.99
Posts /wp-admin/edit.php3.39 ▲0.0347.70 ▲1.77
Add New Post /wp-admin/post-new.php5.92 ▲0.0391.05 ▼1.79
Media Library /wp-admin/upload.php3.26 ▲0.0333.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
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,789 ▲2814.23 ▼0.361.60 ▼0.0537.11 ▼5.20
Dashboard /wp-admin2,198 ▲245.63 ▲0.0291.09 ▲3.3642.08 ▲4.01
Posts /wp-admin/edit.php2,100 ▼02.02 ▲0.0139.84 ▲5.0435.44 ▼2.08
Add New Post /wp-admin/post-new.php1,526 ▼223.18 ▼0.07653.18 ▼31.5163.29 ▲4.07
Media Library /wp-admin/upload.php1,400 ▲64.19 ▲0.0493.09 ▼7.0840.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

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:
LanguageFilesBlank linesComment linesLines of code
PHP11820101

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 code0.20
Average class complexity5.00
▷ Minimum class complexity4.00
▷ Maximum class complexity6.00
Average method complexity1.54
▷ Minimum method complexity1.00
▷ Maximum method complexity4.00
Code structure
Namespaces1
Interfaces0
Traits0
Classes2
▷ Abstract classes00.00%
▷ Concrete classes2100.00%
▷ Final classes00.00%
Methods14
▷ Static methods535.71%
▷ Public methods1392.86%
▷ Protected methods17.14%
▷ Private methods00.00%
Functions1
▷ Named functions00.00%
▷ Anonymous functions1100.00%
Constants1
▷ Global constants00.00%
▷ Class constants1100.00%
▷ Public constants1100.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