Benchmarks
Plugin footprint Passed 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
This plugin's installer ran successfully
Server metrics [RAM: ▲0.22MB] [CPU: ▼142.22ms] Passed 4 tests
An overview of server-side resources used by DWP Loginizer
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.98 ▲0.26 | 37.29 ▲16.33 |
Dashboard /wp-admin | 3.33 ▲0.28 | 51.85 ▲4.44 |
Posts /wp-admin/edit.php | 3.38 ▲0.27 | 51.50 ▲4.49 |
Add New Post /wp-admin/post-new.php | 5.60 ▲0.17 | 89.18 ▼577.03 |
Media Library /wp-admin/upload.php | 3.19 ▲0.18 | 33.62 ▼0.78 |
DWP Loginizer /wp-admin/options-general.php?page=dwp-loginizer | 3.19 | 35.38 |
Server storage [IO: ▲0.49MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin installed successfully
Filesystem: 30 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
A check of browser resources used by DWP Loginizer
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 4,060 ▲464 | 18.63 ▲3.01 | 14.37 ▲5.18 | 46.51 ▲1.83 |
Dashboard /wp-admin | 3,225 ▲294 | 7.95 ▲1.77 | 186.49 ▲40.49 | 139.08 ▲33.92 |
Posts /wp-admin/edit.php | 3,013 ▲274 | 4.48 ▲1.78 | 92.01 ▲25.11 | 91.39 ▲4.74 |
Add New Post /wp-admin/post-new.php | 1,632 ▲17 | 18.62 ▼2.81 | 366.88 ▲72.26 | 48.33 ▼52.85 |
Media Library /wp-admin/upload.php | 1,859 ▲52 | 5.45 ▲0.43 | 130.32 ▼20.77 | 117.89 ▲8.66 |
DWP Loginizer /wp-admin/options-general.php?page=dwp-loginizer | 3,495 | 4.65 | 147.02 | 73.73 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
Uninstaller ran successfully
Smoke tests 25% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though everything seems fine, this is not an exhaustive test
SRP 0% from 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Please fix the following
- 1× PHP files perform the task of outputting text when accessed with GET requests:
- > /wp-content/plugins/dwp-loginizer/public/partials/dwp-loginizer-public-display.php
- 1× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html_e() in wp-content/plugins/dwp-loginizer/admin/partials/dwp-loginizer-admin-display.php:19
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
There are user-side issues you should fix
- > GET request to /wp-admin/options-general.php?page=dwp-loginizer
- > Javascript (severe) in unknown
/wp-content/plugins/dwp-loginizer/admin/inc/codemirror/lib/codemirror.js?ver=5.8.1 5931:29 Uncaught TypeError: Cannot read properties of null (reading 'value')
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
7 plugin tags: dwp loginizer, login customizer, loginizer, branding, login...
dwp-loginizer/dwp-loginizer.php Passed 13 tests
The main PHP file in "DWP Loginizer" ver. 1.0.0 adds more information about the plugin and also serves as the entry point for this plugin
70 characters long description:
DWP Loginizer allows you to customize the default wordpress login page
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
There were no executable files found in this plugin9,883 lines of code in 24 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 8 | 966 | 1,049 | 8,693 |
PHP | 12 | 256 | 670 | 827 |
CSS | 4 | 69 | 45 | 363 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.34 |
Average class complexity | 10.14 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 63.00 |
Average method complexity | 2.88 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 28.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 7 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 7 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 34 | |
▷ Static methods | 2 | 5.88% |
▷ Public methods | 28 | 82.35% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 6 | 17.65% |
Functions | 3 | |
▷ Named functions | 3 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 1 | 100.00% |
▷ Public constants | 1 | 100.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
PNG images were not found in this plugin