84% real-time-email-checker

Code Review | Email Checker

WordPress plugin Email Checker scored 84% from 54 tests.

About plugin

  • Plugin page: real-time-email-c...
  • Plugin version: 1.1
  • PHP version: 7.4.16
  • WordPress compatibility: 3.1.0-4.7.2
  • WordPress version: 6.3.1
  • First release: Jan 3, 2017
  • Latest release: Feb 10, 2017
  • Number of updates: 9
  • Update frequency: every 5.4 days
  • Top authors: virtab (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active / 1,189 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Install script ran successfully

Server metrics [RAM: ▼0.27MB] [CPU: ▼8.26ms] Passed 4 tests

This is a short check of server-side resources used by Email Checker
This plugin has minimal impact on server resources
PageMemory (MB)CPU Time (ms)
Home /3.47 ▲0.0139.49 ▼20.18
Dashboard /wp-admin3.31 ▲0.0146.71 ▼0.90
Posts /wp-admin/edit.php3.36 ▲0.0152.94 ▼1.29
Add New Post /wp-admin/post-new.php4.78 ▼1.1015,058.68 ▲14,945.74
Media Library /wp-admin/upload.php3.23 ▲0.0136.83 ▼10.67
Email Checker /wp-admin/options-general.php?page=real-time-email-checker/menus.inc.php_display_contents3.2036.68

Server storage [IO: ▲0.01MB] [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: 5 new files
Database: no new tables, 7 new options
New WordPress options
widget_theysaidso_widget
db_upgraded
can_compress_scripts
ec_array
theysaidso_admin_options
widget_recent-comments
widget_recent-posts

Browser metrics Passed 4 tests

Email Checker: an overview of browser usage
Normal browser usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,819 ▲8313.39 ▼1.022.03 ▲0.25138.54 ▼9.20
Dashboard /wp-admin2,204 ▼04.83 ▼0.19214.60 ▲13.14164.71 ▲4.77
Posts /wp-admin/edit.php2,093 ▲42.03 ▼0.0168.98 ▼10.69141.11 ▲11.38
Add New Post /wp-admin/post-new.php1,410 ▲4117.55 ▼4.68871.75 ▲22.06269.36 ▲69.86
Media Library /wp-admin/upload.php1,380 ▼54.13 ▼0.06145.69 ▼60.28146.15 ▲16.41
Email Checker /wp-admin/options-general.php?page=real-time-email-checker/menus.inc.php_display_contents8062.2382.99172.15

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

🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
These items require your attention
  • Zombie WordPress options detected upon uninstall: 7 options
    • ec_array
    • theysaidso_admin_options
    • widget_recent-comments
    • db_upgraded
    • can_compress_scripts
    • widget_theysaidso_widget
    • widget_recent-posts

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

SRP 50% from 2 tests

🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
The following issues need your attention
  • 1× GET requests to PHP files have triggered server-side errors or warnings:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/real-time-email-checker/plugin1.php:27

User-side errors Passed 1 test

🔹 Test weight: 20 | This is a shallow check for browser errors
There were no browser issues found

Optimizations

Plugin configuration 93% from 29 tests

readme.txt Passed 16 tests

Often overlooked, readme.txt is one of the most important files in your plugin
10 plugin tags: prevent bot, stop bot, verify email, email verification, stop spam...

real-time-email-checker/plugin1.php 85% from 13 tests

"Email Checker" version 1.1's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
Please take the time to fix the following:
  • Description: Please keep the plugin description shorter than 140 characters (currently 194 characters long)
  • Main file name: The principal plugin file should be the same as the plugin slug ("real-time-email-checker.php" instead of "plugin1.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
There were no executable files found in this plugin113 lines of code in 4 files:
LanguageFilesBlank linesComment linesLines of code
PHP43516113

PHP code Passed 2 tests

This is a short overview of cyclomatic complexity and code structure for this plugin
This plugin has no cyclomatic complexity issues
Cyclomatic complexity
Average complexity per logical line of code0.20
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%
Functions6
▷ Named functions6100.00%
▷ Anonymous functions00.00%
Constants0
▷ Global constants00.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

Often times overlooked, PNG files can occupy unnecessary space in your plugin
There were not PNG files found in your plugin