90% wp-change-email-sender

Code Review | WP Change Email Sender

WordPress plugin WP Change Email Sender scored90%from 54 tests.

About plugin

  • Plugin page: wp-change-email-s...
  • Plugin version: 1.0
  • PHP compatiblity: 5.6+
  • PHP version: 7.4.16
  • WordPress compatibility: 3.7.0-6.1
  • WordPress version: 6.3.1
  • First release: Oct 2, 2020
  • Latest release: Nov 4, 2022
  • Number of updates: 11
  • Update frequency: every 69.6 days
  • Top authors: aminurislam01 (100%)

Code review

54 tests

User reviews

4 reviews

Install metrics

5,000+ active /8,946 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | The install procedure must perform silently
This plugin's installer ran successfully

Server metrics [RAM: ▲0.01MB] [CPU: ▼6.91ms] Passed 4 tests

Analyzing server-side resources used by WP Change Email Sender
Server-side resource usage in normal parameters
PageMemory (MB)CPU Time (ms)
Home /3.47 ▲0.0140.44 ▼3.24
Dashboard /wp-admin3.32 ▲0.0147.35 ▼6.62
Posts /wp-admin/edit.php3.37 ▲0.0146.64 ▼1.59
Add New Post /wp-admin/post-new.php5.90 ▲0.0182.85 ▼16.18
Media Library /wp-admin/upload.php3.24 ▲0.0140.27 ▲3.37

Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests

How much does this plugin use your filesystem and database?
This plugin installed successfully
Filesystem: 4 new files
Database: no new tables, 6 new options
New WordPress options
theysaidso_admin_options
widget_recent-comments
widget_theysaidso_widget
db_upgraded
can_compress_scripts
widget_recent-posts

Browser metrics Passed 4 tests

An overview of browser requirements for WP Change Email Sender
Minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,800 ▲5413.19 ▼1.181.70 ▼0.1243.93 ▼0.61
Dashboard /wp-admin2,206 ▲154.84 ▼1.02110.32 ▲5.9342.19 ▲4.14
Posts /wp-admin/edit.php2,089 ▼02.06 ▲0.0734.82 ▼4.7433.67 ▼0.57
Add New Post /wp-admin/post-new.php1,537 ▲423.23 ▲0.18699.41 ▲32.3162.92 ▲10.21
Media Library /wp-admin/upload.php1,382 ▼94.19 ▲0.02100.70 ▲0.0241.42 ▼3.68

Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests

🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
These items require your attention
  • The uninstall procedure has failed, leaving 6 options in the database
    • widget_theysaidso_widget
    • db_upgraded
    • theysaidso_admin_options
    • widget_recent-posts
    • widget_recent-comments
    • can_compress_scripts

Smoke tests Passed 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Even though no errors were found, this is by no means an exhaustive test

SRP Passed 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
The SRP test was a success

User-side errors Passed 1 test

🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
Everything seems fine on the user side

Optimizations

Plugin configuration 97% from 29 tests

readme.txt 94% 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
These attributes need your attention: The official readme.txt might help

wp-change-email-sender/wp-change-email-sender.php Passed 13 tests

"WP Change Email Sender" version 1.0's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
99 characters long description:
This plugin which allows you to change WordPress default mail sender name and email address easily.

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
There were no executable files found in this plugin58 lines of code in 2 files:
LanguageFilesBlank linesComment linesLines of code
PHP2244058

PHP code Passed 2 tests

An overview of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity issues
Cyclomatic complexity
Average complexity per logical line of code0.04
Average class complexity0.00
▷ Minimum class complexity0.00
▷ Maximum class complexity0.00
Average method complexity0.00
▷ Minimum method complexity0.00
▷ Maximum method complexity0.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes0
▷ Abstract classes00.00%
▷ Concrete classes00.00%
▷ Final classes00.00%
Methods0
▷ Static methods00.00%
▷ Public methods00.00%
▷ Protected methods00.00%
▷ Private methods00.00%
Functions8
▷ Named functions8100.00%
▷ Anonymous functions00.00%
Constants1
▷ Global constants1100.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

PNG files should be compressed to save space and minimize bandwidth usage
PNG images were not found in this plugin