90% mailcheck-co

Code Review | MailCheck.co: Validate emails in one click

WordPress plugin MailCheck.co: Validate emails in one click scored90%from 54 tests.

About plugin

  • Plugin page: mailcheck-co
  • Plugin version: 1.1
  • PHP compatiblity: 7.0+
  • PHP version: 7.4.16
  • WordPress compatibility: 4.7.0-6.0
  • WordPress version: 6.3.1
  • First release: Nov 6, 2020
  • Latest release: Dec 19, 2022
  • Number of updates: 10
  • Update frequency: every 77.3 days
  • Top authors: mailcheckco (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active /1,076 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed gracefully, with no errors

Server metrics [RAM: ▲0.05MB] [CPU: ▼4.46ms] Passed 4 tests

A check of server-side resources used by MailCheck.co: Validate emails in one click
Server-side resource usage in normal parameters
PageMemory (MB)CPU Time (ms)
Home /3.54 ▲0.0847.20 ▲1.09
Dashboard /wp-admin3.36 ▲0.0648.29 ▼4.19
Posts /wp-admin/edit.php3.41 ▲0.0550.71 ▼1.81
Add New Post /wp-admin/post-new.php5.94 ▲0.0584.50 ▼10.72
Media Library /wp-admin/upload.php3.28 ▲0.0538.53 ▼1.10
MailCheck.co /wp-admin/options-general.php?page=mailcheckco-settings3.2634.34

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

A short overview of filesystem and database impact
The plugin installed successfully
Filesystem: 4 new files
Database: no new tables, 13 new options
New WordPress options
mailcheckco_enable_core
widget_recent-posts
mailcheckco_enable_elementor
widget_theysaidso_widget
db_upgraded
mailcheckco_enable_woo
mailcheckco_enable_mailpoet
mailcheckco_enable_acf
mailcheckco_enable_cf7
widget_recent-comments
...

Browser metrics Passed 4 tests

A check of browser resources used by MailCheck.co: Validate emails in one click
Minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,811 ▲5014.39 ▼0.001.91 ▲0.1942.25 ▲0.03
Dashboard /wp-admin2,214 ▲345.57 ▼0.0389.52 ▲0.6741.63 ▼11.22
Posts /wp-admin/edit.php2,123 ▲232.14 ▲0.1641.87 ▲4.8837.92 ▲2.68
Add New Post /wp-admin/post-new.php1,542 ▲1623.09 ▼0.44664.66 ▼34.6958.95 ▼10.90
Media Library /wp-admin/upload.php1,422 ▲224.23 ▼0.01102.01 ▼13.7348.52 ▲0.60
MailCheck.co /wp-admin/options-general.php?page=mailcheckco-settings9601.8223.9528.52

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 13 options in the database
    • mailcheckco_enable_elementor
    • mailcheckco_enable_acf
    • widget_recent-comments
    • mailcheckco_enable_core
    • db_upgraded
    • mailcheckco_trust_rate
    • mailcheckco_enable_mailpoet
    • mailcheckco_enable_cf7
    • widget_recent-posts
    • widget_theysaidso_widget
    • ...

Smoke tests Passed 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Everything seems fine, however this is by no means an exhaustive test

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
Everything seems fine, however this is by no means an exhaustive 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 is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
10 plugin tags: email validation, no bounces, validation, email check, mailcheck...

mailcheck-co/mailcheck-co.php Passed 13 tests

This is the main PHP file of "MailCheck.co: Validate emails in one click" version 1.1, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
22 characters long description:
Check Email Trust Rate

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
Success! There were no dangerous files found in this plugin312 lines of code in 3 files:
LanguageFilesBlank linesComment linesLines of code
PHP34614312

PHP code Passed 2 tests

A brief analysis of cyclomatic complexity and code structure for this plugin
Everything seems fine, there were no complexity issues found
Cyclomatic complexity
Average complexity per logical line of code0.34
Average class complexity27.00
▷ Minimum class complexity27.00
▷ Maximum class complexity27.00
Average method complexity3.60
▷ Minimum method complexity1.00
▷ Maximum method complexity9.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes1
▷ Abstract classes00.00%
▷ Concrete classes1100.00%
▷ Final classes00.00%
Methods10
▷ Static methods00.00%
▷ Public methods10100.00%
▷ Protected methods00.00%
▷ Private methods00.00%
Functions5
▷ Named functions5100.00%
▷ Anonymous functions00.00%
Constants1
▷ Global constants00.00%
▷ Class constants1100.00%
▷ Public constants1100.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

It is recommended to compress PNG files in your plugin to minimize bandwidth usage
There are no PNG files in this plugin