90% hide-google-recaptcha-logo

Code Review | Hide Google reCAPTCHA Logo

WordPress plugin Hide Google reCAPTCHA Logo scored90%from 54 tests.

About plugin

  • Plugin page: hide-google-recap...
  • Plugin version: 1.1.1
  • PHP compatiblity: 7.0+
  • PHP version: 7.4.16
  • WordPress compatibility: 3.0.0-6.2
  • WordPress version: 6.3.1
  • First release: Feb 26, 2022
  • Latest release: Apr 6, 2023
  • Number of updates: 4
  • Update frequency: every 101.0 days
  • Top authors: biggidroid (100%)

Code review

54 tests

User reviews

1 review

Install metrics

200+ active /809 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | Checking the installer triggered no errors
This plugin's installer ran successfully

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

Analyzing server-side resources used by Hide Google reCAPTCHA Logo
Server-side resource usage in normal parameters
PageMemory (MB)CPU Time (ms)
Home /3.47 ▲0.0142.32 ▼1.41
Dashboard /wp-admin3.31 ▲0.0145.40 ▼3.90
Posts /wp-admin/edit.php3.36 ▲0.0046.72 ▼0.21
Add New Post /wp-admin/post-new.php5.89 ▲0.0080.20 ▼16.02
Media Library /wp-admin/upload.php3.23 ▲0.0034.42 ▼4.55

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

How much does this plugin use your filesystem and database?
There were no storage issued detected upon installing this plugin
Filesystem: 4 new files
Database: no new tables, 6 new options
New WordPress options
theysaidso_admin_options
widget_recent-posts
can_compress_scripts
widget_theysaidso_widget
widget_recent-comments
db_upgraded

Browser metrics Passed 4 tests

This is an overview of browser requirements for Hide Google reCAPTCHA Logo
Normal browser usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,803 ▲6814.43 ▲0.051.71 ▼0.1743.48 ▲0.78
Dashboard /wp-admin2,206 ▲155.85 ▲1.00111.33 ▲3.9437.80 ▼4.23
Posts /wp-admin/edit.php2,089 ▼02.02 ▲0.0442.26 ▲4.0837.45 ▲3.77
Add New Post /wp-admin/post-new.php1,527 ▼918.38 ▼4.99596.55 ▼16.6852.62 ▼5.95
Media Library /wp-admin/upload.php1,388 ▼34.28 ▲0.0899.67 ▼1.4940.32 ▼3.11

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
  • This plugin does not fully uninstall, leaving 6 options in the database
    • db_upgraded
    • theysaidso_admin_options
    • widget_theysaidso_widget
    • can_compress_scripts
    • widget_recent-comments
    • widget_recent-posts

Smoke tests Passed 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Good news, no errors were detected

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 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
No browser issues were found

Optimizations

Plugin configuration Passed 29 tests

readme.txt Passed 16 tests

Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
8 plugin tags: hide recaptcha, hidden recaptcha, hide google recaptcha, recaptcha, recaptcha hide...

hide-google-recaptcha-logo/hide-google-recaptcha-logo.php Passed 13 tests

The main PHP file in "Hide Google reCAPTCHA Logo" ver. 1.1.1 adds more information about the plugin and also serves as the entry point for this plugin
79 characters long description:
This plugin hides the Google reCAPTCHA logo from the front end of your website.

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
No dangerous file extensions were detected30 lines of code in 2 files:
LanguageFilesBlank linesComment linesLines of code
PHP261530

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.20
Average class complexity1.00
▷ Minimum class complexity1.00
▷ Maximum class complexity1.00
Average method complexity1.00
▷ Minimum method complexity1.00
▷ Maximum method complexity1.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes1
▷ Abstract classes00.00%
▷ Concrete classes1100.00%
▷ Final classes00.00%
Methods2
▷ Static methods00.00%
▷ Public methods2100.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

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