84% disable-sslverify

Code Review | Disable sslverify

WordPress plugin Disable sslverify scored84%from 54 tests.

About plugin

  • Plugin page: disable-sslverify
  • Plugin version: 1.0
  • PHP compatiblity: 5.6+
  • PHP version: 7.4.16
  • WordPress compatibility: 2.8-5.8.1
  • WordPress version: 6.3.1
  • First release: Oct 6, 2021
  • Latest release: Oct 6, 2021
  • Number of updates: 2
  • Update frequency: every 0.5 days
  • Top authors: upsell (100%)

Code review

54 tests

User reviews

1 review

Install metrics

50+ active /591 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: ▼4.47ms] Passed 4 tests

Analyzing server-side resources used by Disable sslverify
No issues were detected with server-side resource usage
PageMemory (MB)CPU Time (ms)
Home /3.46 ▲0.0141.52 ▼7.43
Dashboard /wp-admin3.31 ▲0.0044.81 ▼3.31
Posts /wp-admin/edit.php3.36 ▲0.0046.83 ▲1.89
Add New Post /wp-admin/post-new.php5.89 ▲0.0081.00 ▼9.04
Media Library /wp-admin/upload.php3.23 ▲0.0036.58 ▲4.42

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

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

Browser metrics Passed 4 tests

A check of browser resources used by Disable sslverify
Normal browser usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,800 ▲6513.20 ▼1.234.30 ▲2.6040.07 ▼11.53
Dashboard /wp-admin2,209 ▲184.81 ▼1.0999.82 ▼1.6238.79 ▼4.43
Posts /wp-admin/edit.php2,089 ▼32.00 ▼0.0235.49 ▼5.2330.20 ▼4.10
Add New Post /wp-admin/post-new.php1,542 ▲918.00 ▼5.34633.17 ▼22.5951.87 ▼7.35
Media Library /wp-admin/upload.php1,391 ▲64.21 ▲0.0495.21 ▼2.4841.89 ▼9.61

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

🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
Please fix the following items
  • The uninstall procedure has failed, leaving 6 options in the database
    • can_compress_scripts
    • theysaidso_admin_options
    • widget_recent-comments
    • db_upgraded
    • widget_recent-posts
    • widget_theysaidso_widget

Smoke tests 75% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though no errors were found, this is by no means an exhaustive test

SRP 50% from 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
Please fix the following
  • 1× PHP files trigger errors when accessed directly with GET requests:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/disable-sslverify/disable-sslverify.php:12

User-side errors Passed 1 test

🔹 Test weight: 20 | This is a shallow check for browser errors
No browser issues were found

Optimizations

Plugin configuration Passed 29 tests

readme.txt Passed 16 tests

The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
3 plugin tags: sslverify, ssl, le

disable-sslverify/disable-sslverify.php Passed 13 tests

"Disable sslverify" version 1.0's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
91 characters long description:
Disables sslverify for outgoing connections (dedicated for DST Root CA X3 Expiration issue)

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

PHP code Passed 2 tests

An short overview of logical lines of code, cyclomatic complexity, and other code metrics
There were no cyclomatic complexity issued detected
Cyclomatic complexity
Average complexity per logical line of code0.00
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%
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

Using a strong compression for your PNG files is a great way to speed-up your plugin
No PNG files were detected