Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Install script ran successfully
Server metrics [RAM: ▲0.49MB] [CPU: ▲1.75ms] Passed 4 tests
Analyzing server-side resources used by SSL Mixed Content Fix
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.96 ▲0.50 | 44.53 ▲1.47 |
Dashboard /wp-admin | 3.79 ▲0.49 | 55.09 ▲1.32 |
Posts /wp-admin/edit.php | 3.90 ▲0.54 | 58.60 ▲11.22 |
Add New Post /wp-admin/post-new.php | 6.38 ▲0.49 | 99.39 ▼1.63 |
Media Library /wp-admin/upload.php | 3.72 ▲0.48 | 42.05 ▲5.85 |
HTTP/HTTPs Removal Settings /wp-admin/options-general.php?page=httphttpsRemoval | 3.73 | 39.47 |
Server storage [IO: ▲0.54MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
The plugin installed successfully
Filesystem: 126 new files
Database: no new tables, 12 new options
New WordPress options |
---|
_tifm_disable_feature_forever |
can_compress_scripts |
widget_theysaidso_widget |
db_upgraded |
jr_plugin_version |
analyst_cache |
_tifm_feature_enabled |
widget_recent-comments |
widget_recent-posts |
theysaidso_admin_options |
... |
Browser metrics Passed 4 tests
SSL Mixed Content Fix: an overview of browser usage
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,119 ▲357 | 14.33 ▲0.07 | 1.76 ▲0.05 | 38.55 ▼8.83 |
Dashboard /wp-admin | 2,526 ▲349 | 5.76 ▲0.14 | 96.76 ▼6.39 | 75.00 ▲27.40 |
Posts /wp-admin/edit.php | 2,444 ▲344 | 2.32 ▲0.31 | 44.96 ▲8.45 | 45.71 ▲10.62 |
Add New Post /wp-admin/post-new.php | 1,925 ▲399 | 22.26 ▼0.97 | 611.18 ▼70.19 | 43.51 ▼16.56 |
Media Library /wp-admin/upload.php | 1,731 ▲328 | 4.29 ▲0.04 | 108.70 ▲11.05 | 76.39 ▲33.55 |
HTTP/HTTPs Removal Settings /wp-admin/options-general.php?page=httphttpsRemoval | 2,263 | 2.48 | 50.27 | 109.97 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
You still need to fix the following
- This plugin did not uninstall successfully, leaving 13 options in the database
- analyst_cache
- httpHttpsRemovalOptions
- db_upgraded
- _tifm_disable_feature_forever
- widget_theysaidso_widget
- widget_recent-posts
- jr_plugin_version
- _tifm_force_disable_feature_fix
- _tifm_feature_enabled
- can_compress_scripts
- ...
Smoke tests 25% 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 | 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 items
- 4× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/http-https-remover/analyst/templates/forms/deactivate.php
- > /wp-content/plugins/http-https-remover/analyst/templates/forms/install.php
- > /wp-content/plugins/http-https-remover/analyst/templates/optout.php
- > /wp-content/plugins/http-https-remover/analyst/templates/optin.php
- 23× GET requests to PHP files trigger server-side errors or Error 500 responses (only 10 are shown):
- > PHP Notice
Undefined variable: smileImage in wp-content/plugins/http-https-remover/analyst/templates/forms/deactivate.php on line 11
- > PHP Notice
Undefined variable: shieldImage in wp-content/plugins/http-https-remover/analyst/templates/forms/install.php on line 6
- > PHP Fatal error
Uncaught Error: Class 'Analyst\\Http\\Requests\\AbstractLoggerRequest' not found in wp-content/plugins/http-https-remover/analyst/src/Http/Requests/ActivateRequest.php:18
- > PHP Fatal error
Uncaught Error: Interface 'Analyst\\Contracts\\RequestorContract' not found in wp-content/plugins/http-https-remover/analyst/src/ApiRequestor.php:9
- > PHP Fatal error
Uncaught Error: Class 'Analyst\\Http\\Requests\\AbstractLoggerRequest' not found in wp-content/plugins/http-https-remover/analyst/src/Http/Requests/OptOutRequest.php:18
- > PHP Fatal error
Uncaught Error: Class 'Analyst\\Http\\Requests\\AbstractLoggerRequest' not found in wp-content/plugins/http-https-remover/analyst/src/Http/Requests/InstallRequest.php:14
- > PHP Fatal error
Uncaught Error: Interface 'Analyst\\Contracts\\HttpClientContract' not found in wp-content/plugins/http-https-remover/analyst/src/Http/DummyHttpClient.php:8
- > PHP Fatal error
Uncaught Error: Class 'Analyst\\Http\\Requests\\AbstractLoggerRequest' not found in wp-content/plugins/http-https-remover/analyst/src/Http/Requests/UninstallRequest.php:14
- > PHP Fatal error
Uncaught Error: Call to a member function getPluginName() on null in wp-content/plugins/http-https-remover/analyst/templates/notice.php:3
- > PHP Fatal error
Uncaught Error: Interface 'Analyst\\Contracts\\AnalystContract' not found in wp-content/plugins/http-https-remover/analyst/src/Analyst.php:9
- > PHP Notice
User-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
There are user-side issues you should fix
- > GET request to /wp-admin/options-general.php?page=httphttpsRemoval
- > Other (warning) in unknown
/wp-admin/options-general.php?page=httphttpsRemoval - Failed to decode downloaded font: https://fonts.googleapis.com/css2?family=Josefin+Sans&display=swap
- > GET request to /wp-admin/options-general.php?page=httphttpsRemoval
- > Other (warning) in unknown
/wp-admin/options-general.php?page=httphttpsRemoval - OTS parsing error: invalid sfntVersion: 791289974
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
Attributes that require attention:
- Tags: There are too many tags (11 tag instead of maximum 10)
http-https-remover/http-https-remover.php Passed 13 tests
"SSL Mixed Content Fix" version 3.2.6's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
79 characters long description:
This Plugin creates protocol relative urls by removing http + https from links.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
Success! There were no dangerous files found in this plugin3,604 lines of code in 97 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 63 | 920 | 1,459 | 3,117 |
CSS | 3 | 42 | 5 | 271 |
SVG | 28 | 0 | 2 | 177 |
JavaScript | 3 | 4 | 1 | 39 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.28 |
Average class complexity | 6.00 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 60.00 |
Average method complexity | 1.83 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 18.00 |
Code structure | ||
---|---|---|
Namespaces | 9 | |
Interfaces | 6 | |
Traits | 0 | |
Classes | 25 | |
▷ Abstract classes | 2 | 8.00% |
▷ Concrete classes | 23 | 92.00% |
▷ Final classes | 0 | 0.00% |
Methods | 215 | |
▷ Static methods | 23 | 10.70% |
▷ Public methods | 186 | 86.51% |
▷ Protected methods | 10 | 4.65% |
▷ Private methods | 19 | 8.84% |
Functions | 24 | |
▷ Named functions | 9 | 37.50% |
▷ Anonymous functions | 15 | 62.50% |
Constants | 5 | |
▷ Global constants | 2 | 40.00% |
▷ Class constants | 3 | 60.00% |
▷ Public constants | 3 | 100.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
28 PNG files occupy 0.30MB with 0.06MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
banner/views/projects/red/imgs/big-colored-logo-rr.png | 8.54KB | 4.02KB | ▼ 52.89% |
banner/views/projects/cdp/imgs/background-texture-grey.png | 4.97KB | 4.98KB | 0.00% |
analyst/assets/img/shield_question.png | 22.05KB | 11.19KB | ▼ 49.26% |
banner/views/projects/bmi/imgs/background-images.png | 4.10KB | 4.09KB | 0.07% |
banner/views/projects/fit/imgs/face3.png | 2.33KB | 2.29KB | ▼ 1.47% |