Benchmarks
Plugin footprint 58% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
You still need to fix the following installer errors
- Install procedure validation failed for this plugin
- > Notice in wp-content/plugins/ssl-quality-checker/admin/class-ssl-labs-admin.php+314
Undefined index: cronschedule
Server metrics [RAM: ▲0.06MB] [CPU: ▼262.27ms] Passed 4 tests
Analyzing server-side resources used by SSL Quality Checker
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.87 ▲0.15 | 43.04 ▲22.23 |
Dashboard /wp-admin | 3.12 ▲0.06 | 41.72 ▼0.67 |
Posts /wp-admin/edit.php | 3.20 ▲0.10 | 41.82 ▼4.55 |
Add New Post /wp-admin/post-new.php | 5.48 ▲0.05 | 91.02 ▼1,037.80 |
Media Library /wp-admin/upload.php | 3.06 ▲0.05 | 33.16 ▼6.04 |
View Status /wp-admin/admin.php?page=ssl-labs-view-status | 3.03 | 29.58 |
Settings /wp-admin/admin.php?page=ssl-labs&tab=default_tab | 3.03 | 31.10 |
Server storage [IO: ▲0.13MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
No storage issues were detected
Filesystem: 36 new files
Database: no new tables, 1 new option
New WordPress options |
---|
ssl_quality_checker_settings |
Browser metrics Passed 4 tests
A check of browser resources used by SSL Quality Checker
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,716 ▲135 | 15.98 ▲0.44 | 8.45 ▼0.41 | 45.18 ▼7.69 |
Dashboard /wp-admin | 3,000 ▲150 | 6.16 ▲0.31 | 132.61 ▲7.14 | 99.15 ▼1.66 |
Posts /wp-admin/edit.php | 2,754 ▲48 | 2.72 ▲0.04 | 65.90 ▲1.34 | 93.25 ▼3.46 |
Add New Post /wp-admin/post-new.php | 1,614 ▼268 | 21.86 ▲2.96 | 249.98 ▼115.41 | 111.35 ▲4.16 |
Media Library /wp-admin/upload.php | 1,820 ▲48 | 5.05 ▲0.01 | 144.50 ▼3.30 | 111.18 ▼4.84 |
View Status /wp-admin/admin.php?page=ssl-labs-view-status | 1,039 | 2.37 | 54.98 | 57.38 |
Settings /wp-admin/admin.php?page=ssl-labs&tab=default_tab | 1,267 | 2.48 | 59.97 | 65.57 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
Please fix the following items
- Zombie WordPress options detected upon uninstall: 1 option
- ssl_quality_checker_settings
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though no errors were found, this is by no means an exhaustive test
SRP 0% from 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Please fix the following
- 3× PHP files output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/ssl-quality-checker/admin/partials/ssl-labs-view-status-not-ssl.php
- > /wp-content/plugins/ssl-quality-checker/public/partials/ssl-labs-public-display.php
- > /wp-content/plugins/ssl-quality-checker/admin/partials/ssl-labs-email.php
- 25× PHP files trigger server errors when accessed directly (only 10 are shown):
- > PHP Notice
Trying to get property 'endpoints' of non-object in wp-content/plugins/ssl-quality-checker/admin/partials/ssl-labs-view-status.php on line 24
- > PHP Warning
count(): Parameter must be an array or an object that implements Countable in wp-content/plugins/ssl-quality-checker/admin/partials/ssl-labs-email.php on line 100
- > PHP Notice
Trying to get property 'startTime' of non-object in wp-content/plugins/ssl-quality-checker/admin/partials/ssl-labs-view-status-not-ready.php on line 8
- > PHP Notice
Undefined variable: response in wp-content/plugins/ssl-quality-checker/admin/partials/ssl-labs-view-status-not-ready.php on line 8
- > PHP Notice
Trying to get property 'endpoints' of non-object in wp-content/plugins/ssl-quality-checker/admin/partials/ssl-labs-view-status.php on line 13
- > PHP Fatal error
Uncaught Error: Call to undefined function add_query_arg() in wp-content/plugins/ssl-quality-checker/admin/partials/ssl-labs-view-status.php:35
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html() in wp-content/plugins/ssl-quality-checker/admin/partials/ssl-labs-admin-display.php:24
- > PHP Notice
Trying to get property 'endpoints' of non-object in wp-content/plugins/ssl-quality-checker/admin/partials/ssl-labs-email.php on line 100
- > PHP Warning
count(): Parameter must be an array or an object that implements Countable in wp-content/plugins/ssl-quality-checker/admin/partials/ssl-labs-view-status.php on line 13
- > PHP Warning
Invalid argument supplied for foreach() in wp-content/plugins/ssl-quality-checker/admin/partials/ssl-labs-email.php on line 120
- > PHP Notice
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
3 plugin tags: ssl validator, qualys ssl, security
ssl-quality-checker/ssl-labs.php 85% from 13 tests
"SSL Quality Checker" version 1.0.6's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
Please take the time to fix the following:
- Text Domain: If you choose to specify the text domain, it must be the same as the plugin slug; optional since WordPress version 4.6
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("ssl-quality-checker.php" instead of "ssl-labs.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
Everything looks great! No dangerous files found in this plugin1,443 lines of code in 27 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 25 | 459 | 1,278 | 1,308 |
CSS | 1 | 8 | 4 | 122 |
JavaScript | 1 | 3 | 27 | 13 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.25 |
Average class complexity | 7.40 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 27.00 |
Average method complexity | 2.01 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 13.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 15 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 15 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 95 | |
▷ Static methods | 9 | 9.47% |
▷ Public methods | 77 | 81.05% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 18 | 18.95% |
Functions | 4 | |
▷ Named functions | 4 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 1 | 100.00% |
▷ Public constants | 1 | 100.00% |
Plugin size Passed 1 test
Image compression Passed 1 test
Using a strong compression for your PNG files is a great way to speed-up your plugin
There are no PNG files in this plugin