Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Please fix the following installer errors
- This plugin did not install gracefully
- > User notice in wp-includes/functions.php+5768
register_uninstall_hook was called incorrectly. Only a static class method or function can be used in an uninstall hook. Please see Debugging in WordPress for more information. (This message was added in version 3.1.0.)
Server metrics [RAM: ▼2.47MB] [CPU: ▼362.82ms] Passed 4 tests
Analyzing server-side resources used by HC Custom WP-Admin URL
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 1.90 ▼1.62 | 4.18 ▼48.95 |
Dashboard /wp-admin | 1.92 ▼1.49 | 3.97 ▼30.65 |
Posts /wp-admin/edit.php | 1.92 ▼1.72 | 4.50 ▼37.34 |
Add New Post /wp-admin/post-new.php | 1.92 ▼5.05 | 5.19 ▼1,334.33 |
Media Library /wp-admin/upload.php | 1.92 ▼1.38 | 13.35 ▼17.71 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
No storage issues were detected
Filesystem: 2 new files
Database: no new tables, 1 new option
New WordPress options |
---|
hc_custom_wpadmin_url_plugin_enabled |
Browser metrics Passed 4 tests
HC Custom WP-Admin URL: an overview of browser usage
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,785 ▲32 | 15.19 ▼0.46 | 8.40 ▲2.89 | 2.36 ▼0.16 |
Dashboard /wp-admin | 2,892 ▲31 | 6.14 ▼0.14 | 120.96 ▼14.64 | 159.49 ▼4.69 |
Posts /wp-admin/edit.php | 2,685 ▼9 | 3.24 ▲0.01 | 62.56 ▼4.34 | 143.65 ▼4.40 |
Add New Post /wp-admin/post-new.php | 1,661 ▼0 | 16.28 ▲0.58 | 424.21 ▼12.33 | 176.17 ▲22.69 |
Media Library /wp-admin/upload.php | 1,695 ▼3 | 5.52 ▼0.01 | 144.92 ▲5.21 | 193.15 ▲11.24 |
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
- This plugin cannot be uninstalled
- > User notice in wp-includes/functions.php+5768
register_uninstall_hook was called incorrectly. Only a static class method or function can be used in an uninstall hook. Please see Debugging in WordPress for more information. (This message was added in version 3.1.0.)
- Zombie WordPress options detected upon uninstall: 1 option
- hc_custom_wpadmin_url_plugin_enabled
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Even though no errors were found, this is by no means an exhaustive test
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
Almost there! Just fix the following items
- 1× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/hc-custom-wp-admin-url/hc-custom-wp-admin-url.php
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
No browser errors were detected
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
8 plugin tags: plugin, login, admin, administration, wp-login...
hc-custom-wp-admin-url/hc-custom-wp-admin-url.php Passed 13 tests
The principal PHP file in "HC Custom WP-Admin URL" v. 1.4 is loaded by WordPress automatically on each request
69 characters long description:
Small and simple plugin that allows you to change the url of wp-admin
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
There were no executable files found in this plugin124 lines of code in 1 file:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 32 | 19 | 124 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.40 |
Average class complexity | 25.00 |
▷ Minimum class complexity | 25.00 |
▷ Maximum class complexity | 25.00 |
Average method complexity | 3.00 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 9.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 | 12 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 12 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 3 | |
▷ Global constants | 3 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
PNG images were not found in this plugin