Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Install script ran successfully
Server metrics [RAM: ▲0.08MB] [CPU: ▲1.71ms] Passed 4 tests
An overview of server-side resources used by Easy HTTPS Redirection (SSL)
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.54 ▲0.08 | 45.79 ▲5.46 |
Dashboard /wp-admin | 3.39 ▲0.09 | 50.22 ▼0.36 |
Posts /wp-admin/edit.php | 3.50 ▲0.15 | 48.22 ▲0.70 |
Add New Post /wp-admin/post-new.php | 5.97 ▲0.08 | 103.54 ▲11.18 |
Media Library /wp-admin/upload.php | 3.31 ▲0.08 | 36.81 ▲1.02 |
HTTPS Redirection /wp-admin/options-general.php?page=https-redirection | 3.26 | 34.21 |
Server storage [IO: ▲0.12MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
The plugin installed successfully
Filesystem: 12 new files
Database: no new tables, 7 new options
New WordPress options |
---|
db_upgraded |
widget_recent-comments |
can_compress_scripts |
widget_theysaidso_widget |
httpsrdrctn_options |
theysaidso_admin_options |
widget_recent-posts |
Browser metrics Passed 4 tests
A check of browser resources used by Easy HTTPS Redirection (SSL)
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,804 ▲47 | 14.48 ▲0.12 | 1.85 ▼0.25 | 47.49 ▲1.58 |
Dashboard /wp-admin | 2,210 ▲22 | 5.85 ▼0.01 | 104.46 ▼13.38 | 42.06 ▼0.53 |
Posts /wp-admin/edit.php | 2,093 ▲4 | 2.04 ▼0.00 | 33.80 ▼2.97 | 33.73 ▲0.79 |
Add New Post /wp-admin/post-new.php | 1,517 ▼3 | 17.66 ▼5.36 | 606.27 ▼64.62 | 51.32 ▼5.35 |
Media Library /wp-admin/upload.php | 1,389 ▼2 | 4.19 ▲0.06 | 96.03 ▼8.92 | 44.24 ▲1.21 |
HTTPS Redirection /wp-admin/options-general.php?page=https-redirection | 942 | 1.72 | 25.80 | 33.00 |
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 6 options in the database
- theysaidso_admin_options
- db_upgraded
- widget_recent-comments
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-posts
Smoke tests 75% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
These server-side errors were triggered
- > GET request to /wp-admin/options-general.php?page=https-redirection
- > Notice in wp-content/plugins/https-redirection/https-redirection-settings.php+62
Undefined variable: message
SRP Passed 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
No output text or server-side errors detected on direct access of PHP files
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser issues were found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 88% from 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
These attributes need your attention:
- Tags: There are too many tags (12 tag instead of maximum 10)
- Screenshots: Screenshot #1 (Plugin settings page.) image missing
https-redirection/https-redirection.php Passed 13 tests
"Easy HTTPS Redirection (SSL)" version 1.9.2's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
100 characters long description:
The plugin HTTPS Redirection allows an automatic redirection to the "HTTPS" version/URL of the site.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
Success! There were no dangerous files found in this plugin604 lines of code in 7 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 4 | 91 | 70 | 466 |
PO File | 1 | 173 | 351 | 88 |
CSS | 1 | 2 | 3 | 30 |
JavaScript | 1 | 0 | 1 | 20 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.41 |
Average class complexity | 31.00 |
▷ Minimum class complexity | 31.00 |
▷ Maximum class complexity | 31.00 |
Average method complexity | 8.50 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 14.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 4 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 4 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 16 | |
▷ Named functions | 16 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 0 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.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
3 PNG files occupy 0.06MB with 0.04MB in potential savings
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/status-icons.png | 3.16KB | 0.49KB | ▼ 84.48% |
images/px.png | 2.73KB | 0.09KB | ▼ 96.60% |
screenshot-1.png | 57.90KB | 52.32KB | ▼ 9.63% |