Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Installer ran successfully
Server metrics [RAM: ▲0.70MB] [CPU: ▼280.52ms] Passed 4 tests
An overview of server-side resources used by Really Simple SSL
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.67 ▲0.16 | 86.90 ▲5.72 |
Dashboard /wp-admin | 4.33 ▲0.92 | 70.10 ▲26.24 |
Posts /wp-admin/edit.php | 4.56 ▲0.91 | 75.89 ▲20.91 |
Add New Post /wp-admin/post-new.php | 7.77 ▲0.80 | 124.29 ▼1,174.96 |
Media Library /wp-admin/upload.php | 4.22 ▲0.92 | 67.18 ▲27.45 |
SSL1 /wp-admin/options-general.php?page=rlrsssl_really_simple_ssl | 3.81 | 19.06 |
Server storage [IO: ▲2.06MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
There were no storage issued detected upon installing this plugin
Filesystem: 403 new files
Database: no new tables, 7 new options
New WordPress options |
---|
rsssl_activated_plugin |
rsssl_remaining_tasks |
rsssl_current_version |
rsssl_port_check_8443 |
rsssl_port_check_2222 |
rlrsssl_options |
rsssl_port_check_2082 |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Really Simple SSL
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,972 ▲218 | 16.04 ▲0.55 | 11.21 ▲2.62 | 3.73 ▼0.05 |
Dashboard /wp-admin | 3,075 ▲196 | 6.50 ▲0.09 | 195.39 ▼11.40 | 240.33 ▲8.53 |
Posts /wp-admin/edit.php | 2,853 ▲162 | 3.57 ▲0.13 | 85.52 ▼0.43 | 216.42 ▲29.23 |
Add New Post /wp-admin/post-new.php | 1,647 ▲16 | 16.63 ▼5.66 | 675.31 ▲49.07 | 203.11 ▼9.95 |
Media Library /wp-admin/upload.php | 1,850 ▲161 | 5.78 ▲0.04 | 218.33 ▲2.42 | 290.27 ▲23.60 |
SSL1 /wp-admin/options-general.php?page=rlrsssl_really_simple_ssl | 2,182 | 2.94 | 79.92 | 252.09 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
You still need to fix the following
- This plugin did not uninstall successfully, leaving 6 options in the database
- rsssl_port_check_8443
- rsssl_activated_plugin
- rsssl_remaining_tasks
- rsssl_port_check_2222
- rsssl_port_check_2082
- rsssl_current_version
Smoke tests 25% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
These server-side errors were triggered
- > GET request to /wp-admin/options-general.php?page=rlrsssl_really_simple_ssl
- > Warning in wp-content/plugins/really-simple-ssl/lets-encrypt/functions.php+206
fsockopen(): unable to connect to 127.0.0.1:2082 (Connection refused)
- > GET request to /wp-admin/options-general.php?page=rlrsssl_really_simple_ssl
- > Warning in wp-content/plugins/really-simple-ssl/lets-encrypt/functions.php+206
fsockopen(): unable to connect to 127.0.0.1:8443 (Connection refused)
- > GET request to /wp-admin/options-general.php?page=rlrsssl_really_simple_ssl
- > Warning in wp-content/plugins/really-simple-ssl/lets-encrypt/functions.php+206
fsockopen(): unable to connect to 127.0.0.1:2222 (Connection refused)
SRP 0% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Please fix the following items
- 33× PHP files perform the action of outputting non-empty strings when accessed directly (only 10 are shown):
- > /wp-content/plugins/really-simple-ssl/grid/templates/header.php
- > /wp-content/plugins/really-simple-ssl/class-rsssl-wp-cli.php
- > /wp-content/plugins/really-simple-ssl/lets-encrypt/class-letsencrypt-handler.php
- > /wp-content/plugins/really-simple-ssl/class-cache.php
- > /wp-content/plugins/really-simple-ssl/class-certificate.php
- > /wp-content/plugins/really-simple-ssl/grid/templates/grid-element.php
- > /wp-content/plugins/really-simple-ssl/class-server.php
- > /wp-content/plugins/really-simple-ssl/lets-encrypt/wizard/templates/section.php
- > /wp-content/plugins/really-simple-ssl/lets-encrypt/wizard/class-wizard.php
- > /wp-content/plugins/really-simple-ssl/class-site-health.php
- 8× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/really-simple-ssl/lets-encrypt/wizard/notices.php:2
- > PHP Fatal error
require_once(): Failed opening required 'rsssl_le_pathvendor/autoload.php' (include_path='.:/usr/share/php') in wp-content/plugins/really-simple-ssl/lets-encrypt/integrations/plesk/plesk.php on line 28
- > PHP Warning
Use of undefined constant rsssl_le_path - assumed 'rsssl_le_path' (this will throw an Error in a future version of PHP) in wp-content/plugins/really-simple-ssl/lets-encrypt/integrations/plesk/plesk.php on line 28
- > PHP Fatal error
Uncaught Error: Class 'PleskX\\Api\\Struct' not found in wp-content/plugins/really-simple-ssl/lets-encrypt/vendor/plesk/api-php-lib/src/Api/Struct/SecretKey/Info.php:6
- > PHP Warning
Use of undefined constant rsssl_url - assumed 'rsssl_url' (this will throw an Error in a future version of PHP) in wp-content/plugins/really-simple-ssl/grid/templates/our-plugins-header.php on line 3
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/really-simple-ssl/lets-encrypt/wizard/templates/menu.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/really-simple-ssl/grid/templates/grid-container.php:6
- > PHP Warning
require_once(rsssl_le_pathvendor/autoload.php): failed to open stream: No such file or directory in wp-content/plugins/really-simple-ssl/lets-encrypt/integrations/plesk/plesk.php on line 28
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
These attributes need your attention:
- Tags: You are using too many tags: 11 tag instead of maximum 10
really-simple-ssl/rlrsssl-really-simple-ssl.php 92% from 13 tests
The main PHP file in "Really Simple SSL" ver. 5.3.1 adds more information about the plugin and also serves as the entry point for this plugin
The following require your attention:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("really-simple-ssl.php" instead of "rlrsssl-really-simple-ssl.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
Success! There were no dangerous files found in this plugin36,333 lines of code in 354 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 184 | 3,831 | 3,966 | 16,830 |
JavaScript | 124 | 2,589 | 736 | 10,144 |
CSS | 20 | 62 | 199 | 5,321 |
LESS | 9 | 579 | 182 | 3,610 |
JSON | 4 | 0 | 0 | 192 |
Markdown | 3 | 67 | 0 | 137 |
XML | 2 | 2 | 1 | 47 |
YAML | 4 | 3 | 0 | 31 |
HTML | 1 | 0 | 0 | 9 |
Bourne Shell | 1 | 1 | 1 | 6 |
Dockerfile | 1 | 1 | 0 | 5 |
SVG | 1 | 0 | 0 | 1 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.43 |
Average class complexity | 16.46 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 651.00 |
Average method complexity | 3.55 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 49.00 |
Code structure | ||
---|---|---|
Namespaces | 32 | |
Interfaces | 0 | |
Traits | 1 | |
Classes | 131 | |
▷ Abstract classes | 13 | 9.92% |
▷ Concrete classes | 118 | 90.08% |
▷ Final classes | 0 | 0.00% |
Methods | 797 | |
▷ Static methods | 59 | 7.40% |
▷ Public methods | 711 | 89.21% |
▷ Protected methods | 43 | 5.40% |
▷ Private methods | 43 | 5.40% |
Functions | 86 | |
▷ Named functions | 78 | 90.70% |
▷ Anonymous functions | 8 | 9.30% |
Constants | 48 | |
▷ Global constants | 20 | 41.67% |
▷ Class constants | 28 | 58.33% |
▷ Public constants | 23 | 82.14% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
6 PNG files occupy 0.06MB with 0.02MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
upgrade/img/definitions.png | 12.93KB | 6.84KB | ▼ 47.09% |
upgrade/img/really-simple-ssl.png | 18.51KB | 5.85KB | ▼ 68.41% |
assets/icon-128x128.png | 4.62KB | 4.82KB | 0.00% |
assets/really-simple-plugins.png | 5.21KB | 5.94KB | 0.00% |
upgrade/img/burst.png | 5.13KB | 2.20KB | ▼ 57.17% |