78% bulk-verify-email

Code Review | Bulk-verify-email

WordPress plugin Bulk-verify-email scored78%from 54 tests.

About plugin

  • Plugin page: bulk-verify-email
  • Plugin version: 1.0.4
  • PHP compatiblity: 7.0+
  • PHP version: 7.4.16
  • WordPress compatibility: 4.7-5.8
  • WordPress version: 6.3.1
  • First release: Apr 16, 2021
  • Latest release: Aug 11, 2021
  • Number of updates: 44
  • Update frequency: every 2.7 days
  • Top authors: sun3454044 (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active /10,281 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Install script ran successfully

Server metrics [RAM: ▲0.06MB] [CPU: ▼6.13ms] Passed 4 tests

A check of server-side resources used by Bulk-verify-email
This plugin has minimal impact on server resources
PageMemory (MB)CPU Time (ms)
Home /3.52 ▲0.0637.49 ▼3.93
Dashboard /wp-admin3.36 ▲0.0649.89 ▼5.47
Posts /wp-admin/edit.php3.47 ▲0.1248.42 ▲2.59
Add New Post /wp-admin/post-new.php5.96 ▲0.0781.29 ▼16.25
Media Library /wp-admin/upload.php3.28 ▲0.0537.83 ▲1.13

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

A short overview of filesystem and database impact
This plugin installed successfully
Filesystem: 5,585 new files
Database: no new tables, 6 new options
New WordPress options
widget_recent-comments
theysaidso_admin_options
can_compress_scripts
widget_recent-posts
db_upgraded
widget_theysaidso_widget

Browser metrics Passed 4 tests

This is an overview of browser requirements for Bulk-verify-email
Normal browser usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,929 ▲14314.08 ▼0.278.79 ▲6.6436.96 ▼7.30
Dashboard /wp-admin2,218 ▲385.54 ▼0.06109.84 ▲7.9451.66 ▲5.99
Posts /wp-admin/edit.php2,135 ▲352.59 ▲0.5646.25 ▲11.7950.65 ▲14.24
Add New Post /wp-admin/post-new.php1,708 ▲18223.64 ▲0.04708.72 ▲41.1745.73 ▼5.26
Media Library /wp-admin/upload.php1,432 ▲295.01 ▲0.84103.59 ▼1.6150.41 ▲5.78

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

🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
These items require your attention
  • The uninstall procedure has failed, leaving 6 options in the database
    • db_upgraded
    • theysaidso_admin_options
    • widget_recent-comments
    • widget_recent-posts
    • can_compress_scripts
    • widget_theysaidso_widget

Smoke tests 50% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | A smoke test targeting server-side errors
The smoke test was a success, however most plugin functionality was not tested

SRP 0% from 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
Please fix the following items
  • 6× PHP files output non-empty strings when accessed directly via GET requests:
    • > /wp-content/plugins/bulk-verify-email/admin/assets/ckeditor/plugins/codesnippetgeshi/dev/geshi/contrib/langcheck.php
    • > /wp-content/plugins/bulk-verify-email/admin/assets/ckeditor/plugins/codesnippetgeshi/dev/colorize.php
    • > /wp-content/plugins/bulk-verify-email/admin/partials/bulk-verify-email-admin-display.php
    • > /wp-content/plugins/bulk-verify-email/admin/assets/ckeditor/plugins/codesnippetgeshi/dev/geshi/contrib/example.php
    • > /wp-content/plugins/bulk-verify-email/admin/assets/ckeditor/plugins/codesnippetgeshi/dev/geshi/contrib/cssgen2.php
    • > /wp-content/plugins/bulk-verify-email/public/partials/bulk-verify-email-public-display.php
  • 1811× PHP files trigger errors when accessed directly with GET requests (only 10 are shown):
    • > PHP Warning
      Use of undefined constant GESHI_REPLACE - assumed 'GESHI_REPLACE' (this will throw an Error in a future version of PHP) in wp-content/plugins/bulk-verify-email/admin/assets/ckeditor/plugins/codesnippetgeshi/dev/geshi/geshi/sas.php on line 270
    • > PHP Warning
      Use of undefined constant GESHI_NUMBER_FLT_SCI_ZERO - assumed 'GESHI_NUMBER_FLT_SCI_ZERO' (this will throw an Error in a future version of PHP) in wp-content/plugins/bulk-verify-email/admin/assets/ckeditor/plugins/codesnippetgeshi/dev/geshi/geshi/php-brief.php on line 138
    • > PHP Warning
      Use of undefined constant GESHI_AFTER - assumed 'GESHI_AFTER' (this will throw an Error in a future version of PHP) in wp-content/plugins/bulk-verify-email/admin/assets/ckeditor/plugins/codesnippetgeshi/dev/geshi/geshi/rails.php on line 377
    • > PHP Warning
      Use of undefined constant GESHI_CAPS_NO_CHANGE - assumed 'GESHI_CAPS_NO_CHANGE' (this will throw an Error in a future version of PHP) in wp-content/plugins/bulk-verify-email/admin/assets/ckeditor/plugins/codesnippetgeshi/dev/geshi/geshi/io.php on line 45
    • > PHP Warning
      Use of undefined constant GESHI_CLASS - assumed 'GESHI_CLASS' (this will throw an Error in a future version of PHP) in wp-content/plugins/bulk-verify-email/admin/assets/ckeditor/plugins/codesnippetgeshi/dev/geshi/geshi/reg.php on line 164
    • > PHP Warning
      Use of undefined constant GESHI_NUMBER_OCT_PREFIX - assumed 'GESHI_NUMBER_OCT_PREFIX' (this will throw an Error in a future version of PHP) in wp-content/plugins/bulk-verify-email/admin/assets/ckeditor/plugins/codesnippetgeshi/dev/geshi/geshi/autoconf.php on line 50
    • > PHP Warning
      Use of undefined constant GESHI_NEVER - assumed 'GESHI_NEVER' (this will throw an Error in a future version of PHP) in wp-content/plugins/bulk-verify-email/admin/assets/ckeditor/plugins/codesnippetgeshi/dev/geshi/geshi/mpasm.php on line 157
    • > PHP Warning
      Use of undefined constant GESHI_MODIFIERS - assumed 'GESHI_MODIFIERS' (this will throw an Error in a future version of PHP) in wp-content/plugins/bulk-verify-email/admin/assets/ckeditor/plugins/codesnippetgeshi/dev/geshi/geshi/reg.php on line 170
    • > PHP Warning
      Use of undefined constant GESHI_NEVER - assumed 'GESHI_NEVER' (this will throw an Error in a future version of PHP) in wp-content/plugins/bulk-verify-email/admin/assets/ckeditor/plugins/codesnippetgeshi/dev/geshi/geshi/postgresql.php on line 261
    • > PHP Warning
      Use of undefined constant GESHI_ALWAYS - assumed 'GESHI_ALWAYS' (this will throw an Error in a future version of PHP) in wp-content/plugins/bulk-verify-email/admin/assets/ckeditor/plugins/codesnippetgeshi/dev/geshi/geshi/klonec.php on line 237

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, but this is not an exhaustive test

Optimizations

Plugin configuration Passed 29 tests

readme.txt Passed 16 tests

You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
9 plugin tags: email marketing, newsletter, email verifier, smtp, verify email...

bulk-verify-email/bulk-verify-email.php Passed 13 tests

The entry point to "Bulk-verify-email" version 1.0.4 is a PHP file that has certain tags in its header comment area
102 characters long description:
Email Verifier Online is an online tool that helps customers to verify their email address validation.

Code Analysis 97% from 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 plugin257,366 lines of code in 4,873 files:
LanguageFilesBlank linesComment linesLines of code
JavaScript4,41117,10257,917132,259
PHP2422,51214,09554,093
CSS1243,9852,64222,378
HTML551,92827717,835
SVG10161614,397
JSON70011,949
Markdown181,24804,162
YAML53617280
INI1176013

PHP code 50% from 2 tests

This is a very shot review of cyclomatic complexity and code structure
It is recommended to fix the following
  • Please reduce cyclomatic complexity of methods to less than 100 (currently 199)
Cyclomatic complexity
Average complexity per logical line of code0.46
Average class complexity80.88
▷ Minimum class complexity1.00
▷ Maximum class complexity637.00
Average method complexity6.42
▷ Minimum method complexity1.00
▷ Maximum method complexity199.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes8
▷ Abstract classes00.00%
▷ Concrete classes8100.00%
▷ Final classes00.00%
Methods118
▷ Static methods21.69%
▷ Public methods11395.76%
▷ Protected methods00.00%
▷ Private methods54.24%
Functions18
▷ Named functions18100.00%
▷ Anonymous functions00.00%
Constants64
▷ Global constants64100.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size 50% from 2 tests

Image compression 50% from 2 tests

PNG files should be compressed to save space and minimize bandwidth usage
616 PNG files occupy 1.23MB with 0.61MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant
FileSize - originalSize - compressedSavings
admin/assets/ckeditor/skins/moono/icons/hidpi/newpage-rtl.png1.17KB0.52KB▼ 55.64%
admin/assets/ckeditor/skins/moono/images/refresh.png1.03KB0.45KB▼ 55.71%
admin/assets/ckeditor/plugins/sourcearea/icons/hidpi/source.png1.02KB0.46KB▼ 54.27%
admin/assets/ckeditor/skins/kama/icons/button.png0.32KB0.24KB▼ 25.77%
admin/assets/ckeditor/plugins/clipboard/icons/hidpi/paste-rtl.png0.83KB0.37KB▼ 55.15%