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
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.86 ▲0.03 | 41.79 ▼1.39 |
Dashboard /wp-admin | 3.10 ▲0.04 | 57.60 ▲5.69 |
Posts /wp-admin/edit.php | 3.18 ▲0.08 | 50.25 ▲0.16 |
Add New Post /wp-admin/post-new.php | 5.46 ▲0.02 | 95.01 ▼569.89 |
Media Library /wp-admin/upload.php | 3.04 ▲0.04 | 40.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
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,707 ▲135 | 15.86 ▲0.23 | 14.88 ▲4.38 | 51.33 ▲4.58 |
Dashboard /wp-admin | 2,970 ▲36 | 5.97 ▼0.10 | 150.09 ▼11.93 | 118.40 ▲4.51 |
Posts /wp-admin/edit.php | 2,739 ▼0 | 2.72 ▲0.02 | 78.68 ▲6.01 | 83.16 ▼10.01 |
Add New Post /wp-admin/post-new.php | 1,683 ▼0 | 18.40 ▼0.36 | 380.71 ▼63.10 | 119.66 ▲4.58 |
Media Library /wp-admin/upload.php | 1,807 ▼0 | 5.04 ▲0.02 | 178.60 ▲18.02 | 127.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:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 78 | 147 | 159 |
PO File | 1 | 7 | 7 | 49 |
CSS | 1 | 0 | 0 | 3 |
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 code | 0.45 |
Average class complexity | 6.00 |
▷ Minimum class complexity | 6.00 |
▷ Maximum class complexity | 6.00 |
Average method complexity | 2.00 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 5.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 5 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 5 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 9 | |
▷ Named functions | 9 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 3 | |
▷ Global constants | 3 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.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