80% vg-protocol-removed-not-secure-connection

Code Review | VG Protocol Removed:Not Secure Connection

WordPress plugin VG Protocol Removed:Not Secure Connection scored80%from 54 tests.

About plugin

  • Plugin page: vg-protocol-remov...
  • Plugin version: 1.0.0
  • PHP version: 7.4.16
  • WordPress compatibility: 3.9-4.8
  • WordPress version: 6.3.1
  • First release: Jun 3, 2017
  • Latest release: Jun 3, 2017
  • Number of updates: 2
  • Update frequency: every 0.5 days
  • Top authors: vishalsurajpalgupta (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active /540 total downloads

Benchmarks

Plugin footprint 65% 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: ▼1.19MB] [CPU: ▼44.28ms] Passed 4 tests

An overview of server-side resources used by VG Protocol Removed:Not Secure Connection
This plugin does not affect your website's performance
PageMemory (MB)CPU Time (ms)
Home /2.79 ▼0.6813.95 ▼23.30
Dashboard /wp-admin2.84 ▼0.5115.84 ▼45.29
Posts /wp-admin/edit.php2.84 ▼0.5218.43 ▼27.09
Add New Post /wp-admin/post-new.php2.84 ▼3.0514.48 ▼81.42
Media Library /wp-admin/upload.php2.84 ▼0.3917.76 ▼14.90

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

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

Browser metrics Passed 4 tests

An overview of browser requirements for VG Protocol Removed:Not Secure Connection
Normal browser usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,789 ▲4314.25 ▼0.031.57 ▼0.0337.35 ▼2.94
Dashboard /wp-admin2,195 ▲145.62 ▼0.0299.88 ▼7.1241.57 ▲2.66
Posts /wp-admin/edit.php2,097 ▼31.97 ▼0.0239.45 ▲1.2035.23 ▲1.46
Add New Post /wp-admin/post-new.php1,526 ▼023.30 ▲0.18687.75 ▲31.0755.96 ▲1.87
Media Library /wp-admin/upload.php1,400 ▲34.19 ▲0.0196.38 ▼4.5639.71 ▼3.62

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

🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
These items require your attention
  • This plugin cannot be uninstalled
    • > Warning in wp-includes/class-wp-hook.php+310
    call_user_func_array() expects parameter 1 to be a valid callback, class 'HTML_Protocol_Remove_vgrp' does not have a method 'vgrhc_letsGo'
  • Zombie WordPress options were found after uninstall: 6 options
    • widget_recent-comments
    • widget_recent-posts
    • db_upgraded
    • widget_theysaidso_widget
    • theysaidso_admin_options
    • can_compress_scripts

Smoke tests Passed 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 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
Congratulations! This plugin passed the SRP test

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

It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
6 plugin tags: secure-conection, protcol, http-https-remove, https-remove, protocol-remove...

vg-protocol-removed-not-secure-connection/vg-protocol-removed-not-secure-connection.php Passed 13 tests

Analyzing the main PHP file in "VG Protocol Removed:Not Secure Connection" version 1.0.0
87 characters long description:
Remove Protocol from URL for resolve the Not Secure Connection issue in https protocol.

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
Success! There were no dangerous files found in this plugin42 lines of code in 1 file:
LanguageFilesBlank linesComment linesLines of code
PHP191742

PHP code Passed 2 tests

An overview of cyclomatic complexity and code structure
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity
Average complexity per logical line of code0.28
Average class complexity5.00
▷ Minimum class complexity5.00
▷ Maximum class complexity5.00
Average method complexity2.33
▷ Minimum method complexity1.00
▷ Maximum method complexity5.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes1
▷ Abstract classes00.00%
▷ Concrete classes1100.00%
▷ Final classes00.00%
Methods3
▷ Static methods00.00%
▷ Public methods3100.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

Often times overlooked, PNG files can occupy unnecessary space in your plugin
There are no PNG files in this plugin