90% remove-google-captcha-in-divi

Code Review | Remove Google Captcha - Divi

WordPress plugin Remove Google Captcha - Divi scored90%from 54 tests.

About plugin

  • Plugin page: remove-google-cap...
  • Plugin version: 1.0
  • PHP compatiblity: 7.0+
  • PHP version: 7.4.16
  • WordPress compatibility: 4.6-5.9
  • WordPress version: 6.3.1
  • First release: Mar 1, 2022
  • Latest release: Mar 1, 2022
  • Number of updates: 2
  • Update frequency: every 2.5 days
  • Top authors: skybrushmedia (100%)

Code review

54 tests

User reviews

2 reviews

Install metrics

400+ active /883 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
This plugin's installer ran successfully

Server metrics [RAM: ▲0.00MB] [CPU: ▼5.73ms] Passed 4 tests

Analyzing server-side resources used by Remove Google Captcha - Divi
This plugin does not affect your website's performance
PageMemory (MB)CPU Time (ms)
Home /3.51 ▲0.0038.78 ▼1.71
Dashboard /wp-admin3.35 ▲0.0048.54 ▲1.47
Posts /wp-admin/edit.php3.40 ▲0.0048.85 ▼5.56
Add New Post /wp-admin/post-new.php5.95 ▲0.0286.83 ▼15.99
Media Library /wp-admin/upload.php3.27 ▲0.0033.90 ▲0.36

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

Filesystem and database footprint
The plugin installed successfully
Filesystem: 2 new files
Database: no new tables, 6 new options
New WordPress options
widget_recent-posts
db_upgraded
theysaidso_admin_options
can_compress_scripts
widget_recent-comments
widget_theysaidso_widget

Browser metrics Passed 4 tests

This is an overview of browser requirements for Remove Google Captcha - Divi
Minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,789 ▲2814.34 ▼0.011.65 ▼0.1138.47 ▼6.76
Dashboard /wp-admin2,195 ▲215.62 ▲0.0990.41 ▲1.0637.07 ▼1.95
Posts /wp-admin/edit.php2,103 ▼02.00 ▼0.0340.34 ▼1.5435.53 ▼0.97
Add New Post /wp-admin/post-new.php1,528 ▲223.20 ▼0.09647.27 ▼7.9067.33 ▲9.96
Media Library /wp-admin/upload.php1,397 ▼04.22 ▲0.04104.95 ▼0.2344.04 ▲0.61

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

🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
These items require your attention
  • The uninstall procedure has failed, leaving 6 options in the database
    • widget_recent-comments
    • can_compress_scripts
    • db_upgraded
    • widget_theysaidso_widget
    • widget_recent-posts
    • theysaidso_admin_options

Smoke tests Passed 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though everything seems fine, this is not an exhaustive test

SRP Passed 2 tests

🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Looking good! No server-side errors or output on direct access of PHP files

User-side errors Passed 1 test

🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser errors were detected

Optimizations

Plugin configuration 96% from 29 tests

readme.txt Passed 16 tests

Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
5 plugin tags: google, remove, roboto, divi, font

remove-google-captcha-in-divi/remove-captcha-divi.php 92% from 13 tests

The primary PHP file in "Remove Google Captcha - Divi" version 1.0 is used by WordPress to initiate all plugin functionality
The following require your attention:
  • Main file name: The principal plugin file should be the same as the plugin slug ("remove-google-captcha-in-divi.php" instead of "remove-captcha-divi.php")

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
Everything looks great! No dangerous files found in this plugin12 lines of code in 1 file:
LanguageFilesBlank linesComment linesLines of code
PHP12712

PHP code Passed 2 tests

Cyclomatic complexity and code structure are the fingerprint of this plugin
Everything seems fine, there were no complexity issues found
Cyclomatic complexity
Average complexity per logical line of code0.17
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%
Functions1
▷ Named functions1100.00%
▷ Anonymous functions00.00%
Constants0
▷ Global constants00.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

It is recommended to compress PNG files in your plugin to minimize bandwidth usage
PNG images were not found in this plugin