90% skip-confirmation-on

Code Review | Skip Confirmation On

WordPress plugin Skip Confirmation On scored90%from 54 tests.

About plugin

  • Plugin page: skip-confirmation-on
  • Plugin version: 1.0.2
  • PHP version: 7.4.16
  • WordPress compatibility: 4.4-6.1
  • WordPress version: 6.3.1
  • First release: Feb 5, 2016
  • Latest release: Oct 26, 2022
  • Number of updates: 29
  • Update frequency: every 84.8 days
  • Top authors: fliz (100%)

Code review

54 tests

User reviews

3 reviews

Install metrics

90+ active /3,167 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed successfully, without throwing any errors or notices

Server metrics [RAM: ▲0.01MB] [CPU: ▼4.57ms] Passed 4 tests

A check of server-side resources used by Skip Confirmation On
No issues were detected with server-side resource usage
PageMemory (MB)CPU Time (ms)
Home /3.47 ▲0.0137.51 ▼3.97
Dashboard /wp-admin3.32 ▲0.0150.47 ▼3.16
Posts /wp-admin/edit.php3.37 ▲0.0146.37 ▼3.61
Add New Post /wp-admin/post-new.php5.90 ▲0.0188.37 ▼7.55
Media Library /wp-admin/upload.php3.24 ▲0.0133.79 ▼0.96

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

How much does this plugin use your filesystem and database?
The plugin installed successfully
Filesystem: 7 new files
Database: no new tables, 6 new options
New WordPress options
theysaidso_admin_options
db_upgraded
widget_recent-comments
widget_recent-posts
can_compress_scripts
widget_theysaidso_widget

Browser metrics Passed 4 tests

Skip Confirmation On: an overview of browser usage
This plugin has a minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,800 ▲5413.73 ▼0.671.76 ▼0.0340.44 ▼5.64
Dashboard /wp-admin2,206 ▲154.86 ▼1.17104.27 ▼2.4143.25 ▲2.12
Posts /wp-admin/edit.php2,086 ▼32.02 ▼0.0036.50 ▼4.8032.47 ▼7.08
Add New Post /wp-admin/post-new.php1,535 ▼723.27 ▲5.09677.38 ▲25.1654.27 ▼12.48
Media Library /wp-admin/upload.php1,391 ▲94.17 ▼0.0494.89 ▼10.2541.57 ▲0.89

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

🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
It is recommended to fix the following
  • Zombie WordPress options detected upon uninstall: 6 options
    • widget_recent-comments
    • can_compress_scripts
    • db_upgraded
    • widget_theysaidso_widget
    • theysaidso_admin_options
    • widget_recent-posts

Smoke tests Passed 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Good news, no errors were detected

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

User-side errors Passed 1 test

🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser errors were detected

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
5 plugin tags: add new user, add existing user, email confirmation, email notification, add user

skip-confirmation-on/skip-confirmation-on.php Passed 13 tests

The main PHP file in "Skip Confirmation On" ver. 1.0.2 adds more information about the plugin and also serves as the entry point for this plugin
126 characters long description:
Changes the tickbox default to NOT send an email to a new user when adding them to a WordPress or WordPress Multisite website.

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
Everything looks great! No dangerous files found in this plugin76 lines of code in 4 files:
LanguageFilesBlank linesComment linesLines of code
PHP2124263
JavaScript201113

PHP code Passed 2 tests

An overview of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity issues
Cyclomatic complexity
Average complexity per logical line of code0.50
Average class complexity3.00
▷ Minimum class complexity3.00
▷ Maximum class complexity3.00
Average method complexity1.40
▷ Minimum method complexity1.00
▷ Maximum method complexity3.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes1
▷ Abstract classes00.00%
▷ Concrete classes1100.00%
▷ Final classes00.00%
Methods5
▷ Static methods240.00%
▷ Public methods5100.00%
▷ Protected methods00.00%
▷ Private methods00.00%
Functions0
▷ Named functions00.00%
▷ Anonymous functions00.00%
Constants0
▷ Global constants00.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

PNG files should be compressed to save space and minimize bandwidth usage
There are no PNG files in this plugin