83% network-upgrade-ssl-fixer

Code Review | Network Upgrade SSL fixer

WordPress plugin Network Upgrade SSL fixer scored 83% from 54 tests.

About plugin

  • Plugin page: network-upgrade-s...
  • Plugin version: 1.0
  • PHP version: 7.4.16
  • WordPress compatibility: 3.0.1-4.9.7
  • WordPress version: 6.3.1
  • First release: Jul 14, 2018
  • Latest release: Jul 14, 2018
  • Number of updates: 5
  • Update frequency: N/A
  • Top authors: senpaixdoge (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active / 759 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 gracefully, with no errors

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

Server-side resources used by Network Upgrade SSL fixer
This plugin has minimal impact on server resources
PageMemory (MB)CPU Time (ms)
Home /3.47 ▲0.0135.50 ▼4.25
Dashboard /wp-admin3.31 ▲0.0148.18 ▼2.70
Posts /wp-admin/edit.php3.36 ▲0.0052.36 ▲2.77
Add New Post /wp-admin/post-new.php5.89 ▲0.0089.21 ▼13.36
Media Library /wp-admin/upload.php3.23 ▲0.0035.46 ▼15.75

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

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

Browser metrics Passed 4 tests

Checking browser requirements for Network Upgrade SSL fixer
This plugin renders optimally with no browser resource issues detected
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,800 ▲6514.48 ▼0.081.76 ▲0.0745.36 ▼0.55
Dashboard /wp-admin2,206 ▲185.80 ▲0.9798.31 ▼11.0936.73 ▼1.96
Posts /wp-admin/edit.php2,068 ▼212.04 ▲0.0034.74 ▼3.1430.77 ▲0.19
Add New Post /wp-admin/post-new.php1,543 ▲118.53 ▲0.26627.22 ▲6.4573.20 ▼14.72
Media Library /wp-admin/upload.php1,382 ▼64.23 ▼0.0297.69 ▼15.3142.50 ▼3.39

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

🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
It is recommended to fix the following
  • Zombie WordPress options detected upon uninstall: 6 options
    • theysaidso_admin_options
    • widget_recent-posts
    • db_upgraded
    • widget_recent-comments
    • can_compress_scripts
    • 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
The smoke test was a success, however most plugin functionality was not tested

SRP 50% from 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
The following issues need your attention
  • 1× GET requests to PHP files trigger server-side errors or Error 500 responses:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/network-upgrade-ssl-fixer/network-upgrade.php:10

User-side errors Passed 1 test

🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser errors were detected

Optimizations

Plugin configuration 90% from 29 tests

readme.txt 88% from 16 tests

Often overlooked, readme.txt is one of the most important files in your plugin
Please fix the following attributes:
  • Donate link: Invalid URI ("")
  • Requires php: Invalid version format
You can take inspiration from this readme.txt

network-upgrade-ssl-fixer/network-upgrade.php 92% from 13 tests

Analyzing the main PHP file in "Network Upgrade SSL fixer" version 1.0
Please make the necessary changes and fix the following:
  • Main file name: Name the main plugin file the same as the plugin slug ("network-upgrade-ssl-fixer.php" instead of "network-upgrade.php")

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
Success! There were no dangerous files found in this plugin4 lines of code in 1 file:
LanguageFilesBlank linesComment linesLines of code
PHP1084

PHP code Passed 2 tests

An short overview of logical lines of code, cyclomatic complexity, and other code metrics
This plugin has no cyclomatic complexity issues
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
There are no PNG files in this plugin