Benchmarks
Plugin footprint 82% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
Install script ran successfully
Server metrics [RAM: ▲0.04MB] [CPU: ▼2.79ms] 75% from 4 tests
Server-side resources used by White Label Custom WordPress Login Page
It is recommended to improve the following
- CPU: Total CPU usage should be kept under 500.00ms (currently 634.81ms on /wp-admin/admin.php?page=wll-useful-plugins)
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.03 | 42.05 ▲1.20 |
Dashboard /wp-admin | 3.35 ▲0.04 | 48.21 ▲0.94 |
Posts /wp-admin/edit.php | 3.46 ▲0.10 | 46.69 ▼0.99 |
Add New Post /wp-admin/post-new.php | 5.95 ▲0.06 | 83.33 ▼7.19 |
Media Library /wp-admin/upload.php | 3.27 ▲0.04 | 32.89 ▼3.91 |
Background /wp-admin/admin.php?page=wll-background | 3.42 | 38.30 |
CSS /wp-admin/admin.php?page=wll-css | 3.26 | 32.52 |
White Label Login /wp-admin/customize.php?url=http%3A%2F%2Fwp.com%2Fwp-login.php | 6.27 | 181.31 |
Useful Plugins /wp-admin/admin.php?page=wll-useful-plugins | 3.58 | 634.81 |
Logo /wp-admin/admin.php?page=wll-white-label-options | 3.28 | 37.59 |
Server storage [IO: ▲3.12MB] [DB: ▲0.01MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin was installed successfully
Filesystem: 93 new files
Database: no new tables, 10 new options
New WordPress options |
---|
wpwll_custom_css |
can_compress_scripts |
db_upgraded |
wpwll_background |
theysaidso_admin_options |
wpwll_options |
widget_theysaidso_widget |
widget_recent-posts |
widget_recent-comments |
wpwll_logo |
Browser metrics Passed 4 tests
Checking browser requirements for White Label Custom WordPress Login Page
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,881 ▲135 | 14.40 ▲0.43 | 1.79 ▼0.10 | 30.42 ▼14.97 |
Dashboard /wp-admin | 2,254 ▲66 | 5.86 ▼0.02 | 94.34 ▼21.97 | 39.60 ▼0.72 |
Posts /wp-admin/edit.php | 2,137 ▲48 | 2.16 ▲0.19 | 34.22 ▼0.79 | 33.78 ▲3.27 |
Add New Post /wp-admin/post-new.php | 1,554 ▲35 | 23.25 ▲0.23 | 626.36 ▲8.70 | 61.90 ▲6.94 |
Media Library /wp-admin/upload.php | 1,436 ▲45 | 4.20 ▲0.01 | 99.44 ▲0.92 | 44.98 ▼0.63 |
Background /wp-admin/admin.php?page=wll-background | 1,218 | 3.09 | 43.01 | 49.95 |
CSS /wp-admin/admin.php?page=wll-css | 899 | 2.10 | 27.90 | 36.25 |
White Label Login /wp-admin/customize.php?url=http%3A%2F%2Fwp.com%2Fwp-login.php | 8,131 | 30.69 | 747.92 | 165.12 |
Useful Plugins /wp-admin/admin.php?page=wll-useful-plugins | 1,408 | 2.09 | 24.91 | 48.81 |
Logo /wp-admin/admin.php?page=wll-white-label-options | 1,106 | 3.05 | 40.75 | 32.39 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.01MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
It is recommended to fix the following
- Zombie WordPress options were found after uninstall: 6 options
- theysaidso_admin_options
- widget_recent-comments
- widget_theysaidso_widget
- widget_recent-posts
- db_upgraded
- can_compress_scripts
Smoke tests 0% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Please fix the following server-side errors
- 4 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=wll-useful-plugins
- > Notice in wp-content/plugins/wp-white-label-login/src/UsefulPlugins/Plugins.php+26
Undefined index: low
SRP 0% 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
Please fix the following items
- 5× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/wp-white-label-login/src/WPAdmin/example/sample-plugin/src/Admin/pages/my-plugin/my-plugin.admin.php
- > /wp-content/plugins/wp-white-label-login/src/WPAdmin/example/sample-plugin/src/Admin/pages/my-plugin/menu-two.admin.php
- > /wp-content/plugins/wp-white-label-login/src/WPAdmin/example/sample-plugin/src/Admin/pages/my-plugin/my-plugin-slug.admin.php
- > /wp-content/plugins/wp-white-label-login/src/WPAdmin/example/sample-plugin/src/Admin/pages/my-plugin/etc.admin.php
- > /wp-content/plugins/wp-white-label-login/src/Admin/pages/white-label-options/system-info.admin.php
- 19× PHP files trigger errors when accessed directly with GET requests (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Using $this when not in object context in wp-content/plugins/wp-white-label-login/src/Customize/Settings/layout.php:4
- > PHP Fatal error
Uncaught Error: Using $this when not in object context in wp-content/plugins/wp-white-label-login/src/Customize/Settings/button.php:7
- > PHP Fatal error
Uncaught Error: Class 'Connekt_Plugin_Installer' not found in wp-content/plugins/wp-white-label-login/src/UsefulPlugins/Plugins.php:10
- > PHP Fatal error
Uncaught Error: Using $this when not in object context in wp-content/plugins/wp-white-label-login/src/Customize/Settings/background.php:7
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_enqueue_media() in wp-content/plugins/wp-white-label-login/src/Admin/pages/white-label-options/background.admin.php:4
- > PHP Fatal error
Uncaught Error: Call to undefined function wpwhitelabel() in wp-content/plugins/wp-white-label-login/src/Admin/pages/white-label-options/css.admin.php:4
- > PHP Fatal error
Uncaught Error: Using $this when not in object context in wp-content/plugins/wp-white-label-login/src/Customize/Settings/css.php:5
- > PHP Fatal error
Uncaught Error: Using $this when not in object context in wp-content/plugins/wp-white-label-login/src/Customize/Settings/form.php:7
- > PHP Fatal error
Uncaught Error: Using $this when not in object context in wp-content/plugins/wp-white-label-login/src/Customize/Settings/footer.php:6
- > PHP Fatal error
Uncaught Error: Class 'WPWhiteLabel\\WPAdmin\\AdminPage' not found in wp-content/plugins/wp-white-label-login/src/Admin/WhiteLabelAdmin.php:7
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
These are user-side errors you should fix
- > GET request to /wp-admin/customize.php?url=http%3A%2F%2Fwp.com%2Fwp-login.php
- > Security (warning) in unknown
/wp-login.php?customize_changeset_uuid=a0403b97-8af5-4e62-9926-b6864d62e6f0&customize_theme=twentytwentyone&customize_messenger_channel=preview-0 - An iframe which has both allow-scripts and allow-same-origin for its sandbox attribute can escape its sandboxing.
Optimizations
Plugin configuration 90% from 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
6 plugin tags: login customizer, wordpress login, custom login page, branding, white label...
wp-white-label-login/white-label-login.php 77% from 13 tests
Analyzing the main PHP file in "White Label Custom WordPress Login Page" version 6.0.5
Please take the time to fix the following:
- Main file name: Name the main plugin file the same as the plugin slug ("wp-white-label-login.php" instead of "white-label-login.php")
- Domain Path: Please prefix the domain path with a forward slash character ("/languages")
- Domain Path: The domain path should use only dashes and lowercase characters ("languages")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
Good job! No executable or dangerous file extensions detected12,874 lines of code in 61 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 10 | 1,286 | 25 | 10,314 |
PHP | 43 | 516 | 1,385 | 2,423 |
JavaScript | 3 | 32 | 33 | 87 |
Markdown | 1 | 20 | 0 | 42 |
JSON | 1 | 0 | 0 | 5 |
HTML | 3 | 0 | 0 | 3 |
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.15 |
Average class complexity | 7.41 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 44.00 |
Average method complexity | 1.85 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 18.00 |
Code structure | ||
---|---|---|
Namespaces | 7 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 17 | |
▷ Abstract classes | 1 | 5.88% |
▷ Concrete classes | 16 | 94.12% |
▷ Final classes | 7 | 43.75% |
Methods | 126 | |
▷ Static methods | 38 | 30.16% |
▷ Public methods | 108 | 85.71% |
▷ Protected methods | 11 | 8.73% |
▷ Private methods | 7 | 5.56% |
Functions | 6 | |
▷ Named functions | 4 | 66.67% |
▷ Anonymous functions | 2 | 33.33% |
Constants | 9 | |
▷ Global constants | 7 | 77.78% |
▷ Class constants | 2 | 22.22% |
▷ Public constants | 2 | 100.00% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
3 PNG files occupy 2.17MB with 1.19MB in potential savings
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/images/screenshot/wll-customizer.png | 1,102.25KB | 459.60KB | ▼ 58.30% |
assets/images/wpwll-logo.png | 14.63KB | 7.48KB | ▼ 48.82% |
assets/images/screenshot/screenshot-2.png | 1,102.25KB | 459.60KB | ▼ 58.30% |