Benchmarks
Plugin footprint 64% 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: ▲5.56MB] [CPU: ▲22.13ms] 50% from 4 tests
This is a short check of server-side resources used by WP Encryption - One Click Free SSL Certificate & SSL / HTTPS Redirect to Force HTTPS, SSL Score
The following require your attention
- CPU: The total CPU usage must kept under 500.00ms (currently 976.94ms on /wp-admin/admin.php?page=wp_encryption_log)
- Extra RAM: Extra memory usage should kept under 5MB (currently 5.56MB on /wp-admin/admin.php?page=wp_encryption_faq)
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 9.19 ▲5.73 | 79.86 ▲38.32 |
Dashboard /wp-admin | 9.21 ▲5.87 | 73.95 ▲12.11 |
Posts /wp-admin/edit.php | 9.21 ▲5.86 | 76.26 ▲24.96 |
Add New Post /wp-admin/post-new.php | 10.67 ▲4.78 | 117.23 ▲14.24 |
Media Library /wp-admin/upload.php | 9.21 ▲5.98 | 69.19 ▲37.21 |
Freemius Debug [v.2.5.10] /wp-admin/admin.php?page=freemius | 9.21 | 60.92 |
How-To Videos /wp-admin/admin.php?page=wp_encryption_howto_videos | 9.21 | 60.49 |
Debug log /wp-admin/admin.php?page=wp_encryption_log | 9.21 | 976.94 |
FAQ /wp-admin/admin.php?page=wp_encryption_faq | 9.21 | 62.06 |
Server storage [IO: ▲4.51MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin installed successfully
Filesystem: 253 new files
Database: no new tables, 12 new options
New WordPress options |
---|
wple_opts |
can_compress_scripts |
wple_have_cpanel |
theysaidso_admin_options |
fs_debug_mode |
wple_version |
db_upgraded |
widget_recent-posts |
widget_theysaidso_widget |
fs_accounts |
... |
Browser metrics Passed 4 tests
WP Encryption - One Click Free SSL Certificate & SSL / HTTPS Redirect to Force HTTPS, SSL Score: an overview of browser usage
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,854 ▲107 | 14.36 ▼0.29 | 1.77 ▲0.15 | 32.09 ▼10.71 |
Dashboard /wp-admin | 2,256 ▲75 | 5.78 ▼0.11 | 89.45 ▼20.86 | 90.17 ▲49.28 |
Posts /wp-admin/edit.php | 2,162 ▲59 | 2.06 ▲0.04 | 37.77 ▲0.50 | 38.56 ▲6.60 |
Add New Post /wp-admin/post-new.php | 1,564 ▲38 | 21.65 ▼1.64 | 783.47 ▲86.76 | 38.79 ▼17.78 |
Media Library /wp-admin/upload.php | 1,452 ▲49 | 4.29 ▲0.09 | 108.64 ▲12.41 | 75.69 ▲34.29 |
Freemius Debug [v.2.5.10] /wp-admin/admin.php?page=freemius | 1,110 | 1.82 | 30.17 | 27.20 |
How-To Videos /wp-admin/admin.php?page=wp_encryption_howto_videos | 3,671 | 30.22 | 1,034.20 | 95.21 |
Debug log /wp-admin/admin.php?page=wp_encryption_log | 871 | 2.10 | 28.16 | 34.66 |
FAQ /wp-admin/admin.php?page=wp_encryption_faq | 1,057 | 2.10 | 28.69 | 35.36 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
These items require your attention
- This plugin cannot be uninstalled
- > Notice in wp-content/plugins/wp-letsencrypt-ssl/freemius/includes/class-freemius.php+8486
Undefined property: stdClass::$plugins
- This plugin does not fully uninstall, leaving 10 options in the database
- widget_recent-posts
- db_upgraded
- can_compress_scripts
- theysaidso_admin_options
- fs_accounts
- widget_theysaidso_widget
- fs_debug_mode
- wple_opts
- fs_active_plugins
- widget_recent-comments
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Good news, no errors were detected
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
Almost there! Just fix the following items
- 1× PHP files output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/wp-letsencrypt-ssl/wp-letsencrypt.php
- 25× PHP files trigger errors when accessed directly with GET requests (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'WPLEClient\\Exceptions\\LEException' not found in wp-content/plugins/wp-letsencrypt-ssl/lib/Exceptions/LEFunctionsException.php:38
- > PHP Warning
require_once(WPLE_DIRadmin/le_admin_page_wrapper.php): failed to open stream: No such file or directory in wp-content/plugins/wp-letsencrypt-ssl/admin/le_admin_pages.php on line 27
- > PHP Warning
require_once(WPLE_DIRclasses/le-advanced-scanner.php): failed to open stream: No such file or directory in wp-content/plugins/wp-letsencrypt-ssl/classes/le-scanner.php on line 12
- > PHP Warning
Use of undefined constant WPLE_DIR - assumed 'WPLE_DIR' (this will throw an Error in a future version of PHP) in wp-content/plugins/wp-letsencrypt-ssl/classes/le-scanner.php on line 12
- > PHP Fatal error
require_once(): Failed opening required 'WPLE_DIRadmin/le_admin_page_wrapper.php' (include_path='.:/usr/share/php') in wp-content/plugins/wp-letsencrypt-ssl/admin/le_admin_pages.php on line 27
- > PHP Fatal error
Uncaught Error: Class 'WPLEClient\\Exceptions\\LEException' not found in wp-content/plugins/wp-letsencrypt-ssl/lib/Exceptions/LEOrderException.php:38
- > PHP Warning
Use of undefined constant WPLE_DIR - assumed 'WPLE_DIR' (this will throw an Error in a future version of PHP) in wp-content/plugins/wp-letsencrypt-ssl/admin/le_admin_page_wrapper.php on line 27
- > PHP Fatal error
require_once(): Failed opening required 'WPLE_DIRclasses/le-trait.php' (include_path='.:/usr/share/php') in wp-content/plugins/wp-letsencrypt-ssl/classes/le-subdir-challenge.php on line 27
- > PHP Warning
Use of undefined constant WPLE_DIR - assumed 'WPLE_DIR' (this will throw an Error in a future version of PHP) in wp-content/plugins/wp-letsencrypt-ssl/admin/le_admin_pages.php on line 27
- > PHP Warning
require_once(WPLE_DIRclasses/le-core.php): failed to open stream: No such file or directory in wp-content/plugins/wp-letsencrypt-ssl/admin/le_handlers.php on line 3
- > PHP Fatal error
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 Passed 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
9 plugin tags: force https, free ssl, ssl, ssl certificate, https redirect...
wp-letsencrypt-ssl/wp-letsencrypt.php 77% from 13 tests
The entry point to "WP Encryption - One Click Free SSL Certificate & SSL / HTTPS Redirect to Force HTTPS, SSL Score" version 6.4.0 is a PHP file that has certain tags in its header comment area
Please take the time to fix the following:
- Main file name: Name the main plugin file the same as the plugin slug ("wp-letsencrypt-ssl.php" instead of "wp-letsencrypt.php")
- Description: Please don't use more than 140 characters for the plugin description (currently 203 characters long)
- Domain Path: The domain path points to a folder that does not exist ("/languages")
Code Analysis 3% from 3 tests
File types 0% from 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
Please make sure to remedy the following
- Do not include executable or dangerous files in your plugin
- .crt - Security Certificate in Firefox, IE, Chrome, Safari
- ☣ wp-content/plugins/wp-letsencrypt-ssl/cabundle/ca.crt
- .crt - Security Certificate in Firefox, IE, Chrome, Safari
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 153 | 8,978 | 19,298 | 39,050 |
CSS | 15 | 562 | 42 | 3,294 |
JavaScript | 6 | 120 | 109 | 792 |
JSON | 1 | 0 | 0 | 1 |
PHP code 50% from 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
Please tend to the following items
- Cyclomatic complexity of classes has to be reduced to less than 1000 (currently 3,073)
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.60 |
Average class complexity | 71.53 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 3,073.00 |
Average method complexity | 4.70 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 94.00 |
Code structure | ||
---|---|---|
Namespaces | 3 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 77 | |
▷ Abstract classes | 2 | 2.60% |
▷ Concrete classes | 75 | 97.40% |
▷ Final classes | 0 | 0.00% |
Methods | 1,489 | |
▷ Static methods | 255 | 17.13% |
▷ Public methods | 1,065 | 71.52% |
▷ Protected methods | 22 | 1.48% |
▷ Private methods | 402 | 27.00% |
Functions | 110 | |
▷ Named functions | 104 | 94.55% |
▷ Anonymous functions | 6 | 5.45% |
Constants | 178 | |
▷ Global constants | 107 | 60.11% |
▷ Class constants | 71 | 39.89% |
▷ Public constants | 71 | 100.00% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
28 PNG files occupy 0.70MB with 0.45MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
admin/assets/cookieless-analytics.png | 8.42KB | 3.86KB | ▼ 54.19% |
admin/assets/warning.png | 3.58KB | 1.47KB | ▼ 58.89% |
admin/assets/goviral-logo.png | 5.99KB | 2.02KB | ▼ 66.32% |
admin/assets/icon.png | 2.13KB | 0.25KB | ▼ 88.47% |
admin/assets/Install.png | 26.06KB | 12.64KB | ▼ 51.51% |