10% make-disable-admin-email-verification-prompt

Code Review | Make Disable Admin Email Verification Prompt| Aims Infosoft

WordPress plugin Make Disable Admin Email Verification Prompt| Aims Infosoft scored10%from 54 tests.

About plugin

  • Plugin page: make-disable-admi...
  • Plugin version: 1.0.5
  • PHP compatiblity: 7.0+
  • PHP version: 7.4.16
  • WordPress compatibility: 5.3-6.3
  • WordPress version: 6.3.1
  • First release: Feb 3, 2020
  • Latest release: Oct 5, 2023
  • Number of updates: 14
  • Update frequency: every 96.0 days
  • Top authors: aimsinfosofts (100%)

Code review

54 tests

User reviews

2 reviews

Install metrics

700+ active /2,410 total downloads

Benchmarks

Plugin footprint 40% from 16 tests

Installer 0% from 1 test

🔺 Critical test (weight: 50) | The install procedure must perform silently
The following installer errors require your attention
  • Install procedure had errors
    • > User notice in wp-includes/functions.php+5905
    Function register_uninstall_hook was called incorrectly. Only a static class method or function can be used in an uninstall hook. Please see Debugging in WordPress for more information. (This message was added in version 3.1.0.)

Server metrics [RAM: ▼1.87MB] [CPU: ▼51.41ms] Passed 4 tests

Analyzing server-side resources used by Make Disable Admin Email Verification Prompt| Aims Infosoft
Server-side resource usage in normal parameters
PageMemory (MB)CPU Time (ms)
Home /3.48 ▲0.0137.74 ▼2.21
Dashboard /wp-admin2.08 ▼1.266.60 ▼53.90
Posts /wp-admin/edit.php2.08 ▼1.276.15 ▼37.22
Add New Post /wp-admin/post-new.php2.08 ▼3.805.76 ▼84.21
Media Library /wp-admin/upload.php2.08 ▼1.146.37 ▼30.29

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

A short overview of filesystem and database impact
No storage issues were detected
Filesystem: 2 new files
Database: no new tables, 6 new options
New WordPress options
widget_recent-comments
widget_theysaidso_widget
widget_recent-posts
can_compress_scripts
db_upgraded
theysaidso_admin_options

Browser metrics Passed 4 tests

This is an overview of browser requirements for Make Disable Admin Email Verification Prompt| Aims Infosoft
This plugin has a minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,789 ▲4314.43 ▼0.221.80 ▲0.0144.01 ▼1.30
Dashboard /wp-admin2,198 ▲215.59 ▲0.0886.99 ▼14.4042.16 ▼3.33
Posts /wp-admin/edit.php2,103 ▼01.97 ▼0.0334.60 ▲0.3634.31 ▼0.09
Add New Post /wp-admin/post-new.php1,526 ▼023.10 ▼0.03694.06 ▲11.2161.85 ▲6.74
Media Library /wp-admin/upload.php1,403 ▲34.17 ▼0.07107.37 ▲13.3648.80 ▲6.77

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

🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
The following items require your attention
  • This plugin cannot be uninstalled
    • > User notice in wp-includes/functions.php+5905
    Function register_uninstall_hook was called incorrectly. Only a static class method or function can be used in an uninstall hook. Please see Debugging in WordPress for more information. (This message was added in version 3.1.0.)
  • The uninstall procedure has failed, leaving 6 options in the database
    • widget_recent-posts
    • theysaidso_admin_options
    • widget_recent-comments
    • db_upgraded
    • can_compress_scripts
    • widget_theysaidso_widget

Smoke tests Passed 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)
Everything seems fine, however this is by no means an exhaustive test

SRP Passed 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 SRP test was a success

User-side errors Passed 1 test

🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine on the user side

Optimizations

Plugin configuration 90% from 29 tests

readme.txt Passed 16 tests

The readme.txt file uses markdown syntax to describe your plugin to the world
8 plugin tags: prompt, disable, verification, admin, make...

make-disable-admin-email-verification-prompt/make disable admin email verification prompt.php 77% from 13 tests

"Make Disable Admin Email Verification Prompt| Aims Infosoft" version 1.0.5's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
The following require your attention:
  • Text Domain: Since WordPress version 4.6 the text domain is optional; if specified, it must be the same as the plugin slug
  • Main file name: The principal plugin file should be the same as the plugin slug ("make-disable-admin-email-verification-prompt.php" instead of "make disable admin email verification prompt.php")
  • Description: Keep the plugin description shorter than 140 characters (currently 168 characters long)

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
Everything looks great! No dangerous files found in this plugin68 lines of code in 1 file:
LanguageFilesBlank linesComment linesLines of code
PHP1212568

PHP code Passed 2 tests

A short review of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity issues
Cyclomatic complexity
Average complexity per logical line of code0.25
Average class complexity3.00
▷ Minimum class complexity3.00
▷ Maximum class complexity3.00
Average method complexity1.25
▷ Minimum method complexity1.00
▷ Maximum method complexity2.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes1
▷ Abstract classes00.00%
▷ Concrete classes1100.00%
▷ Final classes00.00%
Methods8
▷ Static methods00.00%
▷ Public methods8100.00%
▷ Protected methods00.00%
▷ Private methods00.00%
Functions0
▷ Named functions00.00%
▷ Anonymous functions00.00%
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
No PNG images were found in this plugin