100% fx-ssl

Code Review | f(x) SSL

WordPress plugin f(x) SSL scored 100% from 54 tests.

About plugin

  • Plugin page: fx-ssl
  • Plugin version: 1.1.0
  • PHP version: 7.4.16
  • WordPress compatibility: 4.0-4.7
  • WordPress version: 5.8.1
  • First release: Jan 16, 2016
  • Latest release: Aug 1, 2016
  • Number of updates: 9
  • Update frequency: every 37.0 days
  • Top authors: turtlepod (100%)

Code review

54 tests

User reviews

4 reviews

Install metrics

70+ active / 2,415 total downloads

Benchmarks

Plugin footprint Passed 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | The install procedure must perform silently
Installer ran successfully

Server metrics [RAM: ▲0.03MB] [CPU: ▼141.99ms] Passed 4 tests

Analyzing server-side resources used by f(x) SSL
No issues were detected with server-side resource usage
PageMemory (MB)CPU Time (ms)
Home /2.86 ▲0.0341.79 ▼1.39
Dashboard /wp-admin3.10 ▲0.0457.60 ▲5.69
Posts /wp-admin/edit.php3.18 ▲0.0850.25 ▲0.16
Add New Post /wp-admin/post-new.php5.46 ▲0.0295.01 ▼569.89
Media Library /wp-admin/upload.php3.04 ▲0.0440.57 ▲3.18

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

Input-output and database impact of this plugin
The plugin installed successfully
Filesystem: 8 new files
Database: no new tables, no new options

Browser metrics Passed 4 tests

A check of browser resources used by f(x) SSL
Normal browser usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /3,707 ▲13515.86 ▲0.2314.88 ▲4.3851.33 ▲4.58
Dashboard /wp-admin2,970 ▲365.97 ▼0.10150.09 ▼11.93118.40 ▲4.51
Posts /wp-admin/edit.php2,739 ▼02.72 ▲0.0278.68 ▲6.0183.16 ▼10.01
Add New Post /wp-admin/post-new.php1,683 ▼018.40 ▼0.36380.71 ▼63.10119.66 ▲4.58
Media Library /wp-admin/upload.php1,807 ▼05.04 ▲0.02178.60 ▲18.02127.10 ▲11.09

Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests

🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
Uninstall script ran successfully

Smoke tests Passed 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Everything seems fine, however this is by no means an exhaustive test

SRP Passed 2 tests

🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Everything seems fine, however this is by no means an exhaustive test

User-side errors Passed 1 test

🔹 Test weight: 20 | A shallow check that no browser errors were triggered
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: private site, members only, protect rss

fx-ssl/fx-ssl.php Passed 13 tests

The main PHP file in "f(x) SSL" ver. 1.1.0 adds more information about the plugin and also serves as the entry point for this plugin
25 characters long description:
Simple SSL(HTTPS) Plugin.

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
Good job! No executable or dangerous file extensions detected211 lines of code in 5 files:
LanguageFilesBlank linesComment linesLines of code
PHP378147159
PO File17749
CSS1003

PHP code Passed 2 tests

Analyzing cyclomatic complexity and code structure
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity
Average complexity per logical line of code0.45
Average class complexity6.00
▷ Minimum class complexity6.00
▷ Maximum class complexity6.00
Average method complexity2.00
▷ Minimum method complexity1.00
▷ Maximum method complexity5.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes1
▷ Abstract classes00.00%
▷ Concrete classes1100.00%
▷ Final classes00.00%
Methods5
▷ Static methods00.00%
▷ Public methods5100.00%
▷ Protected methods00.00%
▷ Private methods00.00%
Functions9
▷ Named functions9100.00%
▷ Anonymous functions00.00%
Constants3
▷ Global constants3100.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