Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Install script ran successfully
Server metrics [RAM: ▲0.20MB] [CPU: ▼147.48ms] Passed 4 tests
This is a short check of server-side resources used by Custom Login Page | WebHunt Infotech
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.02 ▲0.30 | 37.22 ▲14.29 |
Dashboard /wp-admin | 3.25 ▲0.19 | 55.62 ▲19.65 |
Posts /wp-admin/edit.php | 3.33 ▲0.23 | 47.44 ▼4.54 |
Add New Post /wp-admin/post-new.php | 5.61 ▲0.17 | 92.38 ▼597.12 |
Media Library /wp-admin/upload.php | 3.19 ▲0.19 | 31.67 ▼2.56 |
Server storage [IO: ▲2.93MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin installed successfully
Filesystem: 86 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
This is an overview of browser requirements for Custom Login Page | WebHunt Infotech
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,721 ▲125 | 15.76 ▲0.28 | 6.98 ▼1.86 | 50.66 ▼5.94 |
Dashboard /wp-admin | 2,981 ▲47 | 5.96 ▲0.01 | 134.88 ▼14.21 | 131.28 ▲3.66 |
Posts /wp-admin/edit.php | 2,759 ▲20 | 2.69 ▲0.00 | 64.87 ▼5.10 | 82.32 ▼21.85 |
Add New Post /wp-admin/post-new.php | 3,702 ▲2,087 | 14.99 ▼6.59 | 421.60 ▲124.01 | 113.51 ▲11.61 |
Media Library /wp-admin/upload.php | 1,827 ▲20 | 5.03 ▲0.03 | 144.40 ▼7.30 | 123.75 ▲1.99 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
These items require your attention
- Uninstall procedure had uncaught errors
- > Notice in wp-content/plugins/wp-login-page-customizer/functions/unintall.php+3
Trying to access array offset on value of type bool
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
The smoke test was a success, however most plugin functionality was not tested
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
The following issues need your attention
- 13× PHP files perform the task of outputting text when accessed with GET requests (only 10 are shown):
- > /wp-content/plugins/wp-login-page-customizer/pages/logo-settings.php
- > /wp-content/plugins/wp-login-page-customizer/pages/help.php
- > /wp-content/plugins/wp-login-page-customizer/pages/input-fields.php
- > /wp-content/plugins/wp-login-page-customizer/pages/google-captcha.php
- > /wp-content/plugins/wp-login-page-customizer/pages/import-export.php
- > /wp-content/plugins/wp-login-page-customizer/pages/footer.php
- > /wp-content/plugins/wp-login-page-customizer/pages/welcome-messages.php
- > /wp-content/plugins/wp-login-page-customizer/pages/button-beauty.php
- > /wp-content/plugins/wp-login-page-customizer/pages/dashboard.php
- > /wp-content/plugins/wp-login-page-customizer/pages/pre-design.php
- 12× PHP files trigger errors when accessed directly with GET requests (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_basename() in wp-content/plugins/wp-login-page-customizer/wp-login-page-customizer.php:11
- > PHP Fatal error
Uncaught Error: Using $this when not in object context in wp-content/plugins/wp-login-page-customizer/assets/css/style-login.php:66
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/wp-login-page-customizer/functions/unintall.php:2
- > PHP Warning
Use of undefined constant WEBHUNT_LPC_ROOT_PATH - assumed 'WEBHUNT_LPC_ROOT_PATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/wp-login-page-customizer/assets/css/style-presets.php on line 9
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/wp-login-page-customizer/redirect.php:5
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_url() in wp-content/plugins/wp-login-page-customizer/pages/plugins.php:42
- > PHP Fatal error
Uncaught Error: Call to undefined function lpc_first_presets() in wp-content/plugins/wp-login-page-customizer/assets/css/style-presets.php:10
- > PHP Warning
include_once(WEBHUNT_LPC_ROOT_PATHassets/css/themes/default-1.php): failed to open stream: No such file or directory in wp-content/plugins/wp-login-page-customizer/assets/css/style-presets.php on line 9
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/wp-login-page-customizer/class-gcaptcha.php:19
- > PHP Fatal error
Uncaught Error: Class 'cl_lpc_system_info' not found in wp-content/plugins/wp-login-page-customizer/pages/system-info.php:8
- > 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 on the user side
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
5 plugin tags: customize wordpress login page, wp login page customizer, admin login page, login page, custom login page
wp-login-page-customizer/wp-login-page-customizer.php Passed 13 tests
The main PHP script in "Custom Login Page | WebHunt Infotech" version 1.0.5 is automatically included on every request by WordPress
120 characters long description:
Plugin allows you to easily customize Login Screen. You can design beautiful and eye catching login page in few minutes.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
No dangerous file extensions were detected18,664 lines of code in 50 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 8 | 1,429 | 125 | 11,405 |
PHP | 28 | 592 | 386 | 4,800 |
JavaScript | 7 | 296 | 560 | 1,161 |
SVG | 1 | 0 | 0 | 655 |
PO File | 1 | 296 | 318 | 638 |
JSON | 5 | 0 | 0 | 5 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.23 |
Average class complexity | 28.67 |
▷ Minimum class complexity | 9.00 |
▷ Maximum class complexity | 60.00 |
Average method complexity | 4.77 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 16.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 3 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 3 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 22 | |
▷ Static methods | 2 | 9.09% |
▷ Public methods | 21 | 95.45% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 1 | 4.55% |
Functions | 17 | |
▷ Named functions | 17 | 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
Using a strong compression for your PNG files is a great way to speed-up your plugin
10 PNG files occupy 0.45MB with 0.30MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/img/plugin/smg.png | 94.99KB | 24.34KB | ▼ 74.38% |
assets/img/WordPress.png | 99.59KB | 30.34KB | ▼ 69.53% |
assets/img/dashboard-icon.png | 2.05KB | 1.50KB | ▼ 26.63% |
assets/img/your-logo.png | 29.09KB | 4.89KB | ▼ 83.19% |
assets/img/plugin/universal.png | 31.07KB | 8.42KB | ▼ 72.89% |