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.18MB] [CPU: ▼4.26ms] Passed 4 tests
This is a short check of server-side resources used by HTTPS Mixed Content Detector
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.63 ▲0.17 | 42.95 ▼1.57 |
Dashboard /wp-admin | 3.53 ▲0.22 | 52.63 ▲2.77 |
Posts /wp-admin/edit.php | 3.58 ▲0.22 | 53.72 ▲6.57 |
Add New Post /wp-admin/post-new.php | 6.05 ▲0.16 | 90.51 ▼16.80 |
Media Library /wp-admin/upload.php | 3.39 ▲0.16 | 35.25 ▼1.44 |
All Content Security Policy Reports /wp-admin/edit.php?post_type=csp-report | 3.60 | 44.07 |
Add New /wp-admin/post-new.php?post_type=csp-report | 3.42 | 42.27 |
Server storage [IO: ▲0.06MB] [DB: ▲0.01MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin was installed successfully
Filesystem: 18 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
theysaidso_admin_options |
widget_recent-comments |
can_compress_scripts |
widget_recent-posts |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
A check of browser resources used by HTTPS Mixed Content Detector
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,889 ▲128 | 14.47 ▲0.12 | 2.51 ▲0.72 | 80.30 ▲38.72 |
Dashboard /wp-admin | 2,239 ▲36 | 5.83 ▼0.02 | 108.27 ▼0.90 | 38.21 ▲1.34 |
Posts /wp-admin/edit.php | 2,124 ▲24 | 2.01 ▼0.00 | 41.47 ▲4.80 | 36.44 ▼4.66 |
Add New Post /wp-admin/post-new.php | 1,565 ▲20 | 23.32 ▲0.24 | 649.37 ▼30.45 | 51.35 ▼7.35 |
Media Library /wp-admin/upload.php | 1,424 ▲24 | 4.21 ▲0.02 | 95.79 ▼6.58 | 44.05 ▼2.88 |
All Content Security Policy Reports /wp-admin/edit.php?post_type=csp-report | 1,959 | 2.04 | 35.93 | 34.96 |
Add New /wp-admin/post-new.php?post_type=csp-report | 1,413 | 2.59 | 57.41 | 53.62 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.01MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
These items require your attention
- Zombie WordPress options were found after uninstall: 6 options
- can_compress_scripts
- db_upgraded
- widget_theysaidso_widget
- widget_recent-posts
- theysaidso_admin_options
- widget_recent-comments
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
The smoke test was a success, however most plugin functionality was not tested
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
The following issues need your attention
- 14× GET requests to PHP files have triggered server-side errors or warnings (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'MCD_Violation_Location_Content_Base' not found in wp-content/plugins/https-mixed-content-detector/violation-locations/content-filtered.php:3
- > PHP Fatal error
Uncaught Error: Class 'MCD_Violation_Location_Content_Base' not found in wp-content/plugins/https-mixed-content-detector/violation-locations/content-raw.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/https-mixed-content-detector/beacon.php:46
- > PHP Fatal error
Uncaught Error: Interface 'MCD_Violation_Location' not found in wp-content/plugins/https-mixed-content-detector/violation-locations/violation-location-base.php:3
- > PHP Fatal error
Uncaught Error: Class 'MCD_Violation_Location_Base' not found in wp-content/plugins/https-mixed-content-detector/violation-locations/content-base.php:3
- > PHP Fatal error
Uncaught Error: Class 'MCD_Violation_Location_Enqueue_Base' not found in wp-content/plugins/https-mixed-content-detector/violation-locations/enqueue-style.php:3
- > PHP Fatal error
Uncaught Error: Class 'MCD_Violation_Location_Enqueue_Base' not found in wp-content/plugins/https-mixed-content-detector/violation-locations/enqueue-script.php:3
- > PHP Fatal error
Uncaught Error: Class 'MCD_Violation_Location_Base' not found in wp-content/plugins/https-mixed-content-detector/violation-locations/enqueue-base.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/https-mixed-content-detector/policy.php:42
- > PHP Fatal error
Uncaught Error: Call to undefined function site_url() in wp-content/plugins/https-mixed-content-detector/config.php:7
- > PHP Fatal error
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 97% from 29 tests
readme.txt 94% from 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
Attributes that need to be fixed:
- Tested up to: Invalid plugin version format
https-mixed-content-detector/https-mixed-content-detector.php Passed 13 tests
Analyzing the main PHP file in "HTTPS Mixed Content Detector" version 1.2.0
88 characters long description:
A tool for proactively detecting mixed content issues in TLS enabled WordPress websites.
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
Everything looks great! No dangerous files found in this plugin921 lines of code in 17 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 17 | 238 | 1,033 | 921 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.41 |
Average class complexity | 8.13 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 38.00 |
Average method complexity | 2.67 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 18.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 1 | |
Traits | 0 | |
Classes | 14 | |
▷ Abstract classes | 3 | 21.43% |
▷ Concrete classes | 11 | 78.57% |
▷ Final classes | 0 | 0.00% |
Methods | 68 | |
▷ Static methods | 3 | 4.41% |
▷ Public methods | 57 | 83.82% |
▷ Protected methods | 11 | 16.18% |
▷ Private methods | 0 | 0.00% |
Functions | 16 | |
▷ Named functions | 16 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 5 | |
▷ Global constants | 5 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
No PNG files were detected