100% email-test

Code Review | Email Test - Check if your emails are being delivered

WordPress plugin Email Test - Check if your emails are being delivered scored 100% from 54 tests.

About plugin

  • Plugin page: email-test
  • Plugin version: 1.0.2
  • PHP compatiblity: 5.6+
  • PHP version: 7.4.16
  • WordPress compatibility: 5.5-5.7
  • WordPress version: 5.9.2
  • First release: Dec 16, 2020
  • Latest release: Mar 13, 2021
  • Number of updates: 11
  • Update frequency: every 8.0 days
  • Top authors: sitealert (72.73%)fpcorso (36.36%)

Code review

54 tests

User reviews

2 reviews

Install metrics

2,000+ active / 5,589 total downloads

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
The plugin installed gracefully, with no errors

Server metrics [RAM: ▲0.00MB] [CPU: ▼298.62ms] Passed 4 tests

Server-side resources used by Email Test - Check if your emails are being delivered
This plugin has minimal impact on server resources
PageMemory (MB)CPU Time (ms)
Home /3.54 ▲0.0353.42 ▼2.69
Dashboard /wp-admin3.43 ▲0.0334.99 ▼0.11
Posts /wp-admin/edit.php3.67 ▲0.0338.29 ▼0.18
Add New Post /wp-admin/post-new.php6.90 ▼0.0794.96 ▼1,191.49
Media Library /wp-admin/upload.php3.32 ▲0.0231.90 ▲6.81
Email Test /wp-admin/tools.php?page=email-test3.2922.63

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

A short overview of filesystem and database impact
There were no storage issued detected upon installing this plugin
Filesystem: 6 new files
Database: no new tables, no new options

Browser metrics Passed 4 tests

Checking browser requirements for Email Test - Check if your emails are being delivered
This plugin has a minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /3,800 ▲7815.70 ▼0.086.91 ▲1.352.75 ▲0.41
Dashboard /wp-admin2,897 ▲366.02 ▼0.10117.96 ▼13.86160.05 ▲7.00
Posts /wp-admin/edit.php2,662 ▼293.37 ▲0.0264.60 ▲4.55136.85 ▼16.18
Add New Post /wp-admin/post-new.php1,664 ▼8816.16 ▼4.84397.64 ▼82.12151.90 ▼6.05
Media Library /wp-admin/upload.php1,703 ▲85.48 ▼0.05141.00 ▲1.85186.05 ▼0.01
Email Test /wp-admin/tools.php?page=email-test1,0262.5154.44130.51

Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests

🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
This plugin's uninstaller ran successfully

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
Good news, no errors were detected

SRP Passed 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
Congratulations! This plugin passed the SRP test

User-side errors Passed 1 test

🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser errors were detected

Optimizations

Plugin configuration Passed 29 tests

readme.txt Passed 16 tests

The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
4 plugin tags: mail, test, email, check

email-test/email-test.php Passed 13 tests

The main PHP script in "Email Test - Check if your emails are being delivered" version 1.0.2 is automatically included on every request by WordPress
58 characters long description:
Test your site's email to make sure emails are being sent.

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
Success! There were no dangerous files found in this plugin165 lines of code in 4 files:
LanguageFilesBlank linesComment linesLines of code
PHP1175799
Markdown230041
CSS16625

PHP code Passed 2 tests

Analyzing logical lines of code, cyclomatic complexity, and other code metrics
This plugin has no cyclomatic complexity problems
Cyclomatic complexity
Average complexity per logical line of code0.37
Average class complexity12.00
▷ Minimum class complexity12.00
▷ Maximum class complexity12.00
Average method complexity2.83
▷ Minimum method complexity1.00
▷ Maximum method complexity8.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes1
▷ Abstract classes00.00%
▷ Concrete classes1100.00%
▷ Final classes00.00%
Methods6
▷ Static methods6100.00%
▷ Public methods6100.00%
▷ Protected methods00.00%
▷ Private methods00.00%
Functions0
▷ Named functions00.00%
▷ Anonymous functions00.00%
Constants0
▷ Global constants00.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
No PNG images were found in this plugin