Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Installer ran successfully
Server metrics [RAM: ▼0.95MB] [CPU: ▼36.21ms] Passed 4 tests
Server-side resources used by HTTPS Domain Alias
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 40.63 ▲3.02 |
Dashboard /wp-admin | 3.00 ▼0.31 | 22.48 ▼26.27 |
Posts /wp-admin/edit.php | 3.00 ▼0.36 | 24.35 ▼28.84 |
Add New Post /wp-admin/post-new.php | 3.00 ▼2.89 | 24.82 ▼78.46 |
Media Library /wp-admin/upload.php | 3.00 ▼0.23 | 23.02 ▼11.25 |
HTTPS Domain Alias /wp-admin/options-general.php?page=https-domain-alias/https-domain-alias.php | 3.00 | 20.60 |
Server storage [IO: ▲0.06MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
The plugin installed successfully
Filesystem: 12 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
widget_theysaidso_widget |
theysaidso_admin_options |
db_upgraded |
can_compress_scripts |
widget_recent-comments |
Browser metrics Passed 4 tests
An overview of browser requirements for HTTPS Domain Alias
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,804 ▲47 | 13.15 ▼1.23 | 1.61 ▼0.55 | 38.42 ▼9.56 |
Dashboard /wp-admin | 2,210 ▲22 | 5.85 ▲0.78 | 105.56 ▼4.23 | 41.95 ▼3.20 |
Posts /wp-admin/edit.php | 2,096 ▲10 | 1.99 ▼0.05 | 40.06 ▲0.90 | 35.39 ▼0.83 |
Add New Post /wp-admin/post-new.php | 1,517 ▼25 | 17.70 ▼0.62 | 670.98 ▲44.91 | 59.92 ▼0.44 |
Media Library /wp-admin/upload.php | 1,395 ▲7 | 4.25 ▲0.03 | 94.77 ▼3.34 | 40.81 ▼4.87 |
HTTPS Domain Alias /wp-admin/options-general.php?page=https-domain-alias/https-domain-alias.php | 879 | 2.04 | 22.99 | 41.55 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
The following items require your attention
- Uninstall procedure had uncaught errors
- > User notice in wp-includes/functions.php+5905
Function add_submenu_page was called incorrectly. The seventh parameter passed to add_submenu_page() should be numeric representing menu position. Please see Debugging in WordPress for more information. (This message was added in version 5.3.0.)
- The uninstall procedure has failed, leaving 6 options in the database
- widget_theysaidso_widget
- theysaidso_admin_options
- can_compress_scripts
- db_upgraded
- widget_recent-posts
- widget_recent-comments
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Please fix the following server-side errors
- > GET request to /wp-admin/options-general.php?page=https-domain-alias/https-domain-alias.php
- > User notice in wp-includes/functions.php+5905
Function add_submenu_page was called incorrectly. The seventh parameter passed to add_submenu_page() should be numeric representing menu position. Please see Debugging in WordPress for more information. (This message was added in version 5.3.0.)
SRP 50% 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
The following issues need your attention
- 5× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Warning
require_once(/tmp/wordpress-tests-lib/includes/functions.php): failed to open stream: No such file or directory in wp-content/plugins/https-domain-alias/tests/bootstrap.php on line 16
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/https-domain-alias/https-domain-alias.php:304
- > PHP Fatal error
Uncaught Error: Class 'WP_UnitTestCase' not found in wp-content/plugins/https-domain-alias/tests/test-plugin.php:3
- > PHP Fatal error
require_once(): Failed opening required '/tmp/wordpress-tests-lib/includes/functions.php' (include_path='.:/usr/share/php') in wp-content/plugins/https-domain-alias/tests/bootstrap.php on line 16
- > Constant HTTPS_DOMAIN_ALIAS is not defined
- > PHP Warning
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
There were no browser issues found
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
6 plugin tags: tls, ssl, https, seravo, domain...
https-domain-alias/https-domain-alias.php 92% from 13 tests
The main PHP script in "HTTPS Domain Alias" version 1.4.3 is automatically included on every request by WordPress
Please make the necessary changes and fix the following:
- Description: Please don't use more than 140 characters for the plugin description (currently 153 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
Success! There were no dangerous files found in this plugin359 lines of code in 10 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 4 | 69 | 200 | 256 |
JSON | 1 | 0 | 0 | 27 |
HTML | 1 | 8 | 0 | 25 |
YAML | 1 | 10 | 5 | 24 |
XML | 1 | 0 | 0 | 14 |
JavaScript | 1 | 0 | 7 | 7 |
Markdown | 1 | 3 | 0 | 6 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.45 |
Average class complexity | 1.00 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 1.00 |
Average method complexity | 1.00 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 1.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 | 20 | |
▷ Named functions | 20 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 6 | |
▷ Global constants | 6 | 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
There are no PNG files in this plugin