Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Please fix the following installer errors
- Install procedure had errors
- > Notice in wp-content/plugins/auto-install-free-ssl/FreeSSLAuto/src/Admin/Factory.php+1152
Trying to access array offset on value of type bool
Server metrics [RAM: ▲6.46MB] [CPU: ▲44.16ms] 75% from 4 tests
This is a short check of server-side resources used by WordPress Free SSL Certificate Plugin, HTTPS Redirect, Renewal Reminder – Auto-Install Free SSL
It is recommended to improve the following
- Extra RAM: The extra memory usage must be under 5MB (currently 6.46MB on /wp-admin/admin.php?page=auto_install_free_ssl-free-vs-premium)
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 9.47 ▲6.00 | 83.08 ▲42.94 |
Dashboard /wp-admin | 9.93 ▲6.62 | 159.66 ▲111.61 |
Posts /wp-admin/edit.php | 9.95 ▲6.59 | 100.31 ▲52.13 |
Add New Post /wp-admin/post-new.php | 12.60 ▲6.71 | 117.81 ▲22.39 |
Media Library /wp-admin/upload.php | 9.87 ▲6.64 | 91.16 ▲59.17 |
Freemius Debug [v.2.6.0] /wp-admin/admin.php?page=freemius | 9.98 | 73.28 |
Free vs. Premium /wp-admin/admin.php?page=auto_install_free_ssl-free-vs-premium | 9.59 | 68.04 |
Server storage [IO: ▲3.90MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin was installed successfully
Filesystem: 235 new files
Database: no new tables, 21 new options
New WordPress options |
---|
db_upgraded |
cpanel_settings_auto_install_free_ssl |
basic_settings_auto_install_free_ssl |
aifs_display_discount_offer_existing_users |
all_domains_auto_install_free_ssl |
aifs_display_free_premium_offer |
theysaidso_admin_options |
aifs_user_since_free_only_version |
add_cron_job_auto_install_free_ssl |
fs_accounts |
... |
Browser metrics Passed 4 tests
This is an overview of browser requirements for WordPress Free SSL Certificate Plugin, HTTPS Redirect, Renewal Reminder – Auto-Install Free SSL
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,829 ▲67 | 14.23 ▲0.21 | 1.54 ▼0.40 | 40.79 ▼4.65 |
Dashboard /wp-admin | 2,248 ▲68 | 5.56 ▼0.06 | 95.26 ▼4.66 | 68.28 ▲23.12 |
Posts /wp-admin/edit.php | 2,169 ▲69 | 1.97 ▼0.10 | 37.87 ▼0.26 | 30.91 ▼6.80 |
Add New Post /wp-admin/post-new.php | 1,549 ▲23 | 22.13 ▼1.23 | 680.99 ▲36.80 | 63.04 ▲10.94 |
Media Library /wp-admin/upload.php | 1,465 ▲62 | 4.18 ▲0.03 | 102.67 ▲2.55 | 66.94 ▲22.30 |
Freemius Debug [v.2.6.0] /wp-admin/admin.php?page=freemius | 1,091 | 1.66 | 29.46 | 26.19 |
Free vs. Premium /wp-admin/admin.php?page=auto_install_free_ssl-free-vs-premium | 1,004 | 1.66 | 28.77 | 40.59 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% 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
- Uninstall procedure had uncaught errors
- > Notice in wp-content/plugins/auto-install-free-ssl/freemius/includes/class-freemius.php+8546
Undefined property: stdClass::$plugins
- The uninstall procedure has failed, leaving 21 options in the database
- aifs_generate_ssl_manually
- aifs_admin_notice_display_counter
- can_compress_scripts
- widget_recent-comments
- theysaidso_admin_options
- aifs_display_free_premium_offer
- fs_accounts
- db_upgraded
- all_domains_auto_install_free_ssl
- aifs_display_discount_offer_existing_users
- ...
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Good news, no errors were detected
SRP 0% from 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
Please take a closer look at the following
- 2× PHP files perform the task of outputting text when accessed with GET requests:
- > /wp-content/plugins/auto-install-free-ssl/vendor/usrflo/registered-domain-libs/generateEffectiveTLDs.php
- > /wp-content/plugins/auto-install-free-ssl/vendor/usrflo/registered-domain-libs/PHP/test-regDomain.php
- 4× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Notice
Undefined index: argc in wp-content/plugins/auto-install-free-ssl/vendor/usrflo/registered-domain-libs/PHP/test-regDomain.php on line 29
- > PHP Fatal error
Uncaught Error: Interface 'AutoInstallFreeSSL\\FreeSSLAuto\\Acme\\ClientInterface' not found in wp-content/plugins/auto-install-free-ssl/FreeSSLAuto/src/Acme/Client.php:31
- > PHP Notice
Undefined index: argc in wp-content/plugins/auto-install-free-ssl/vendor/usrflo/registered-domain-libs/generateEffectiveTLDs.php on line 17
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/auto-install-free-ssl/auto-install-free-ssl.php:44
- > PHP Notice
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine on the user side
Optimizations
Plugin configuration 96% 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
5 plugin tags: ssl certificate, https redirect, free ssl certificate, ssl, free ssl
auto-install-free-ssl/auto-install-free-ssl.php 92% from 13 tests
Analyzing the main PHP file in "WordPress Free SSL Certificate Plugin, HTTPS Redirect, Renewal Reminder – Auto-Install Free SSL" version 3.6.8
You should first fix the following items:
- Description: Please keep the plugin description shorter than 140 characters (currently 171 characters long)
Code Analysis 97% from 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
There were no executable files found in this plugin49,124 lines of code in 178 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 154 | 9,452 | 20,545 | 48,188 |
CSS | 14 | 62 | 6 | 540 |
JavaScript | 4 | 45 | 67 | 227 |
JSON | 3 | 0 | 0 | 118 |
Markdown | 2 | 39 | 0 | 43 |
Bourne Shell | 1 | 1 | 0 | 8 |
PHP code 50% from 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
It is recommended to fix the following
- Please reduce cyclomatic complexity of classes to less than 1000 (currently 3,096)
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.60 |
Average class complexity | 73.63 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 3,096.00 |
Average method complexity | 4.68 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 94.00 |
Code structure | ||
---|---|---|
Namespaces | 6 | |
Interfaces | 2 | |
Traits | 0 | |
Classes | 71 | |
▷ Abstract classes | 2 | 2.82% |
▷ Concrete classes | 69 | 97.18% |
▷ Final classes | 0 | 0.00% |
Methods | 1,473 | |
▷ Static methods | 218 | 14.80% |
▷ Public methods | 1,064 | 72.23% |
▷ Protected methods | 17 | 1.15% |
▷ Private methods | 392 | 26.61% |
Functions | 161 | |
▷ Named functions | 148 | 91.93% |
▷ Anonymous functions | 13 | 8.07% |
Constants | 158 | |
▷ Global constants | 111 | 70.25% |
▷ Class constants | 47 | 29.75% |
▷ Public constants | 47 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
3 PNG files occupy 0.05MB with 0.03MB in potential savings
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
freemius/assets/img/plugin-icon.png | 9.16KB | 5.26KB | ▼ 42.58% |
freemius/assets/img/theme-icon.png | 10.97KB | 5.78KB | ▼ 47.37% |
freemius/assets/img/auto-install-free-ssl.png | 31.13KB | 12.33KB | ▼ 60.39% |