Benchmarks
Plugin footprint 82% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Install script ran successfully
Server metrics [RAM: ▲5.87MB] [CPU: ▲24.68ms] 75% from 4 tests
Analyzing server-side resources used by SSL Zen – Free SSL Certificate & HTTP/SSL to HTTPS/SSL Redirect WordPress Plugin
Please have a look at the following items
- Extra RAM: The extra memory usage should kept under 5MB (currently 5.87MB on /wp-admin/admin.php?page=freemius)
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 9.41 ▲5.94 | 72.22 ▲25.27 |
Dashboard /wp-admin | 9.43 ▲6.12 | 80.20 ▲27.24 |
Posts /wp-admin/edit.php | 9.43 ▲6.07 | 88.19 ▲40.47 |
Add New Post /wp-admin/post-new.php | 11.23 ▲5.35 | 105.70 ▲10.54 |
Media Library /wp-admin/upload.php | 9.43 ▲6.20 | 73.30 ▲35.68 |
Freemius Debug [v.2.5.10] /wp-admin/admin.php?page=freemius | 9.43 | 73.39 |
Server storage [IO: ▲9.30MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin was installed successfully
Filesystem: 603 new files
Database: no new tables, 9 new options
New WordPress options |
---|
fs_accounts |
can_compress_scripts |
widget_recent-posts |
theysaidso_admin_options |
fs_active_plugins |
fs_debug_mode |
db_upgraded |
widget_theysaidso_widget |
widget_recent-comments |
Browser metrics Passed 4 tests
A check of browser resources used by SSL Zen – Free SSL Certificate & HTTP/SSL to HTTPS/SSL Redirect WordPress Plugin
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,827 ▲41 | 14.18 ▼0.38 | 1.63 ▼0.40 | 28.65 ▼15.83 |
Dashboard /wp-admin | 2,233 ▲65 | 5.56 ▼0.06 | 83.48 ▼17.07 | 43.45 ▼0.03 |
Posts /wp-admin/edit.php | 2,139 ▲39 | 2.02 ▼0.02 | 37.06 ▼0.58 | 33.60 ▼2.00 |
Add New Post /wp-admin/post-new.php | 1,557 ▲22 | 24.28 ▲1.10 | 611.75 ▼44.71 | 76.02 ▲17.89 |
Media Library /wp-admin/upload.php | 1,438 ▲38 | 4.21 ▲0.00 | 102.46 ▲2.36 | 49.71 ▲3.85 |
Freemius Debug [v.2.5.10] /wp-admin/admin.php?page=freemius | 1,093 | 1.70 | 28.39 | 31.31 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
The following items require your attention
- This plugin does not fully uninstall, leaving 10 options in the database
- ssl_zen_deactivated
- theysaidso_admin_options
- widget_recent-posts
- fs_accounts
- db_upgraded
- fs_debug_mode
- can_compress_scripts
- widget_recent-comments
- fs_active_plugins
- widget_theysaidso_widget
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Everything seems fine, however this is by no means an exhaustive test
SRP 0% 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 items
- 1× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/ssl-zen/ssl_zen.php
- 83× GET requests to PHP files trigger server-side errors or Error 500 responses (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'DomainConnect\\Exception\\DomainConnectException' not found in wp-content/plugins/ssl-zen/vendor/gaalferov/php-ext-domain-connect/src/Exception/NoDomainConnectRecordException.php:8
- > PHP Fatal error
Uncaught Error: Class 'Tests\\Services\\BaseServiceTest' not found in wp-content/plugins/ssl-zen/vendor/gaalferov/php-ext-domain-connect/tests/Services/DnsServiceTest.php:7
- > PHP Fatal error
Uncaught Error: Class 'GuzzleHttp\\Cookie\\CookieJar' not found in wp-content/plugins/ssl-zen/vendor/guzzlehttp/guzzle/src/Cookie/FileCookieJar.php:7
- > PHP Fatal error
require(): Failed opening required 'wp-content/plugins/ssl-zen/vendor/layershifter/tld-support/tests/../vendor/autoload.php' (include_path='.:/usr/share/php') in wp-content/plugins/ssl-zen/vendor/layershifter/tld-support/tests/bootstrap.php on line 11
- > PHP Fatal error
Uncaught Error: Interface 'GuzzleHttp\\Promise\\PromisorInterface' not found in wp-content/plugins/ssl-zen/vendor/guzzlehttp/guzzle/src/Pool.php:20
- > PHP Fatal error
Uncaught Error: Interface 'Psr\\Http\\Message\\StreamInterface' not found in wp-content/plugins/ssl-zen/vendor/guzzlehttp/psr7/src/PumpStream.php:17
- > PHP Fatal error
Uncaught Error: Class 'GuzzleHttp\\Exception\\TransferException' not found in wp-content/plugins/ssl-zen/vendor/guzzlehttp/guzzle/src/Exception/RequestException.php:12
- > PHP Fatal error
Uncaught Error: Class 'LayerShifter\\TLDDatabase\\Exceptions\\Exception' not found in wp-content/plugins/ssl-zen/vendor/layershifter/tld-database/src/Exceptions/UpdateException.php:16
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/ssl-zen/ssl_zen/classes/class.ssl_zen_scripts.php:52
- > PHP Fatal error
Uncaught Error: Class 'LEClient\\Exceptions\\LEException' not found in wp-content/plugins/ssl-zen/ssl_zen/lib/Exceptions/LEAuthorizationException.php:38
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
There were no browser issues found
Optimizations
Plugin configuration 90% from 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
9 plugin tags: free ssl, mixed content, ssl certificate, insecure content, ssl...
ssl-zen/ssl_zen.php 77% from 13 tests
The primary PHP file in "SSL Zen – Free SSL Certificate & HTTP/SSL to HTTPS/SSL Redirect WordPress Plugin" version 4.5.3 is used by WordPress to initiate all plugin functionality
Please make the necessary changes and fix the following:
- Domain Path: You should use only dashes and lowercase characters for the domain path ("ssl_zen/languages")
- Description: Keep the plugin description shorter than 140 characters (currently 146 characters long)
- Main file name: The principal plugin file should be the same as the plugin slug ("ssl-zen.php" instead of "ssl_zen.php")
Code Analysis 0% from 3 tests
File types 0% from 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
Almost there! Just fix the following issues
- Do not include executable or dangerous files in your plugin
- .crt - Security Certificate in Firefox, IE, Chrome, Safari
- ☣ wp-content/plugins/ssl-zen/ssl_zen/keys/cabundle.crt
- ☣ wp-content/plugins/ssl-zen/ssl_zen/cabundle/cabundle.crt
- .crt - Security Certificate in Firefox, IE, Chrome, Safari
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 333 | 11,856 | 27,880 | 81,590 |
PO File | 13 | 7,540 | 9,172 | 16,492 |
Markdown | 17 | 1,203 | 0 | 3,745 |
SVG | 78 | 0 | 0 | 3,107 |
JavaScript | 10 | 324 | 363 | 1,984 |
CSS | 19 | 375 | 70 | 1,914 |
JSON | 15 | 0 | 0 | 1,294 |
XML | 3 | 1 | 0 | 57 |
YAML | 4 | 15 | 0 | 50 |
Dockerfile | 1 | 8 | 0 | 10 |
make | 1 | 4 | 0 | 9 |
PHP code 0% from 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
Please fix the following
- Cyclomatic complexity of classes should be reduced to less than 1000 (currently 3,073)
- Cyclomatic complexity of methods should be reduced to less than 100 (currently 179)
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.57 |
Average class complexity | 33.75 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 3,073.00 |
Average method complexity | 4.10 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 179.00 |
Code structure | ||
---|---|---|
Namespaces | 28 | |
Interfaces | 17 | |
Traits | 2 | |
Classes | 201 | |
▷ Abstract classes | 5 | 2.49% |
▷ Concrete classes | 196 | 97.51% |
▷ Final classes | 31 | 15.82% |
Methods | 2,424 | |
▷ Static methods | 543 | 22.40% |
▷ Public methods | 1,839 | 75.87% |
▷ Protected methods | 22 | 0.91% |
▷ Private methods | 563 | 23.23% |
Functions | 324 | |
▷ Named functions | 217 | 66.98% |
▷ Anonymous functions | 107 | 33.02% |
Constants | 360 | |
▷ Global constants | 151 | 41.94% |
▷ Class constants | 209 | 58.06% |
▷ Public constants | 209 | 100.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
7 PNG files occupy 0.04MB with 0.01MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
freemius/assets/img/theme-icon.png | 10.97KB | 5.78KB | ▼ 47.37% |
ssl_zen/img/checkbox_banner.png | 0.44KB | 0.42KB | ▼ 4.25% |
ssl_zen/img/pointer.png | 3.63KB | 1.77KB | ▼ 51.17% |
freemius/assets/img/plugin-icon.png | 9.16KB | 5.26KB | ▼ 42.58% |
ssl_zen/img/close-circle.png | 0.46KB | 0.37KB | ▼ 19.11% |