78% quickemailverification

Code Review | QuickEmailVerification

WordPress plugin QuickEmailVerification scored78%from 54 tests.

About plugin

  • Plugin page: quickemailverific...
  • Plugin version: 1.9.0
  • PHP version: 7.4.16
  • WordPress compatibility: 4.6-6.3.2
  • WordPress version: 6.3.1
  • First release: Dec 7, 2019
  • Latest release: Oct 31, 2023
  • Number of updates: 46
  • Update frequency: every 31.0 days
  • Top authors: quickemailverification (100%)

Code review

54 tests

User reviews

5 reviews

Install metrics

200+ active /3,795 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
Installer ran successfully

Server metrics [RAM: ▼0.16MB] [CPU: ▼17.39ms] Passed 4 tests

This is a short check of server-side resources used by QuickEmailVerification
This plugin does not affect your website's performance
PageMemory (MB)CPU Time (ms)
Home /3.47 ▲0.0141.72 ▲1.87
Dashboard /wp-admin3.21 ▼0.1329.82 ▼30.86
Posts /wp-admin/edit.php3.28 ▼0.0836.37 ▼13.40
Add New Post /wp-admin/post-new.php5.45 ▼0.4370.19 ▼22.67
Media Library /wp-admin/upload.php3.22 ▼0.0132.13 ▼2.64
QuickEmailVerification /wp-admin/options-general.php?page=quickemailverification3.1930.53

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

Input-output and database impact of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 14 new files
Database: no new tables, 6 new options
New WordPress options
theysaidso_admin_options
can_compress_scripts
db_upgraded
widget_theysaidso_widget
widget_recent-comments
widget_recent-posts

Browser metrics Passed 4 tests

QuickEmailVerification: an overview of browser usage
This plugin renders optimally with no browser resource issues detected
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,816 ▲7014.43 ▲0.081.78 ▲0.1045.24 ▲5.35
Dashboard /wp-admin2,219 ▲425.66 ▲0.0286.91 ▼0.6645.50 ▲6.37
Posts /wp-admin/edit.php2,124 ▲242.12 ▲0.0939.61 ▲3.7136.30 ▲3.80
Add New Post /wp-admin/post-new.php1,552 ▲2623.05 ▼0.10680.58 ▼26.3966.68 ▲8.51
Media Library /wp-admin/upload.php1,427 ▲274.32 ▲0.13107.52 ▲6.5945.77 ▼0.60
QuickEmailVerification /wp-admin/options-general.php?page=quickemailverification9951.8727.3335.19

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

🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
These items require your attention
  • Zombie WordPress options detected upon uninstall: 6 options
    • widget_recent-comments
    • can_compress_scripts
    • widget_recent-posts
    • theysaidso_admin_options
    • db_upgraded
    • widget_theysaidso_widget

Smoke tests 50% from 4 tests

Server-side errors 0% from 1 test

🔹 Test weight: 20 | This is a shallow check for server-side errors
These server-side errors were triggered
  • 3 occurences, only the last one shown
    • > GET request to /wp-admin/options-general.php?page=quickemailverification
    • > Notice in wp-content/plugins/quickemailverification/quickemailverification.php+135
    Trying to access array offset on value of type bool

SRP 50% from 2 tests

🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Please take a closer look at the following
  • 4× PHP files trigger server errors when accessed directly:
    • > PHP Warning
      include_once(ABSPATHwp-admin/includes/plugin.php): failed to open stream: No such file or directory in wp-content/plugins/quickemailverification/quickemailverification.php on line 17
    • > PHP Warning
      include_once(): Failed opening 'ABSPATHwp-admin/includes/plugin.php' for inclusion (include_path='.:/usr/share/php') in wp-content/plugins/quickemailverification/quickemailverification.php on line 17
    • > PHP Fatal error
      Uncaught Error: Call to undefined function get_option() in wp-content/plugins/quickemailverification/quickemailverification.php:792
    • > PHP Warning
      Use of undefined constant ABSPATH - assumed 'ABSPATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/quickemailverification/quickemailverification.php on line 17

User-side errors Passed 1 test

🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
There were no browser issues found

Optimizations

Plugin configuration 96% from 29 tests

readme.txt Passed 16 tests

The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
8 plugin tags: disposable email, email verification, email checker, role email, form validation...

quickemailverification/quickemailverification.php 92% from 13 tests

The main PHP file in "QuickEmailVerification" ver. 1.9.0 adds more information about the plugin and also serves as the entry point for this plugin
It is important to fix the following:
  • Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 411 characters long)

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
No dangerous file extensions were detected15,549 lines of code in 6 files:
LanguageFilesBlank linesComment linesLines of code
JavaScript33,0832,07513,658
CSS142481,222
PHP215550669

PHP code Passed 2 tests

An short overview of logical lines of code, cyclomatic complexity, and other code metrics
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity
Average complexity per logical line of code0.68
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%
Functions44
▷ Named functions4397.73%
▷ Anonymous functions12.27%
Constants1
▷ Global constants1100.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

Using a strong compression for your PNG files is a great way to speed-up your plugin
7 PNG files occupy 0.04MB with 0.01MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant
FileSize - originalSize - compressedSavings
images/ui-icons_cc0000_256x240.png4.52KB4.18KB▼ 7.56%
images/ui-icons_555555_256x240.png6.91KB4.18KB▼ 39.47%
images/info_icon.png3.38KB2.89KB▼ 14.47%
images/ui-icons_777777_256x240.png6.85KB4.18KB▼ 38.94%
images/ui-icons_777620_256x240.png4.57KB4.18KB▼ 8.43%