Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Installer ran successfully
Server metrics [RAM: ▲5.11MB] [CPU: ▲32.11ms] 75% from 4 tests
Analyzing server-side resources used by Custom Login Page Customizer
Please have a look at the following items
- Extra RAM: Try to keep extra memory usage under 5MB (currently 5.11MB on /wp-admin/admin.php?page=login-customizer-help)
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 8.94 ▲5.47 | 70.15 ▲26.86 |
Dashboard /wp-admin | 8.96 ▲5.61 | 79.58 ▲18.63 |
Posts /wp-admin/edit.php | 8.96 ▲5.60 | 89.54 ▲40.33 |
Add New Post /wp-admin/post-new.php | 9.63 ▲3.74 | 144.53 ▲49.28 |
Media Library /wp-admin/upload.php | 8.96 ▲5.73 | 76.93 ▲42.61 |
Freemius Debug [v.2.6.0] /wp-admin/admin.php?page=freemius | 8.96 | 68.00 |
Custom Login Page Customizer /wp-admin/admin.php?page=login-customizer | 8.96 | 66.83 |
Settings /wp-admin/admin.php?page=login-customizer-settings | 8.96 | 63.91 |
Help /wp-admin/admin.php?page=login-customizer-help | 8.96 | 65.67 |
Server storage [IO: ▲3.68MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
There were no storage issued detected upon installing this plugin
Filesystem: 284 new files
Database: no new tables, 12 new options
New WordPress options |
---|
db_upgraded |
fs_debug_mode |
widget_theysaidso_widget |
logincust_setting |
fs_accounts |
widget_recent-posts |
login_customizer_options |
login_customizer_settings |
widget_recent-comments |
theysaidso_admin_options |
... |
Browser metrics Passed 4 tests
An overview of browser requirements for Custom Login Page Customizer
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,845 ▲98 | 14.66 ▲0.38 | 1.80 ▲0.04 | 27.71 ▼14.56 |
Dashboard /wp-admin | 2,248 ▲71 | 5.64 ▼0.01 | 93.38 ▲9.41 | 45.01 ▲7.01 |
Posts /wp-admin/edit.php | 2,151 ▲48 | 2.04 ▲0.10 | 39.54 ▼1.18 | 39.78 ▲4.05 |
Add New Post /wp-admin/post-new.php | 1,558 ▲32 | 23.17 ▼0.03 | 620.68 ▼66.48 | 59.55 ▲0.99 |
Media Library /wp-admin/upload.php | 1,453 ▲53 | 4.18 ▼0.07 | 102.23 ▼8.72 | 44.13 ▼3.75 |
Freemius Debug [v.2.6.0] /wp-admin/admin.php?page=freemius | 1,084 | 1.69 | 24.99 | 25.71 |
Custom Login Page Customizer /wp-admin/admin.php?page=login-customizer | 989 | 1.85 | 28.02 | 62.25 |
Settings /wp-admin/admin.php?page=login-customizer-settings | 970 | 1.97 | 33.78 | 33.62 |
Help /wp-admin/admin.php?page=login-customizer-help | 850 | 2.02 | 22.48 | 32.00 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
You still need to fix the following
- Uninstall procedure validation failed for this plugin
- > Notice in wp-content/plugins/login-customizer/freemius/includes/class-freemius.php+8546
Undefined property: stdClass::$plugins
- This plugin did not uninstall successfully, leaving 12 options in the database
- widget_theysaidso_widget
- fs_accounts
- widget_recent-posts
- fs_debug_mode
- logincust_setting
- login_customizer_options
- can_compress_scripts
- login_customizer_settings
- fs_active_plugins
- db_upgraded
- ...
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 everything seems fine, this is not 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
The following issues need your attention
- 46× GET requests to PHP files trigger server-side errors or Error 500 responses (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'WP_Customize_Control' not found in wp-content/plugins/login-customizer/src/Customizer/Panel/Controls/Toggle.php:30
- > PHP Warning
Use of undefined constant ABSPATH - assumed 'ABSPATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/login-customizer/src/Customizer/Panel/Controls/Range_Slider.php on line 27
- > PHP Warning
include_once(ABSPATHwp-includes/class-wp-customize-control.php): failed to open stream: No such file or directory in wp-content/plugins/login-customizer/src/Customizer/Panel/Controls/Padding.php on line 12
- > PHP Warning
include_once(ABSPATHwp-includes/class-wp-customize-control.php): failed to open stream: No such file or directory in wp-content/plugins/login-customizer/src/Customizer/Panel/Controls/Toggle.php on line 28
- > PHP Fatal error
Uncaught Error: Call to undefined function is_customize_preview() in wp-content/plugins/login-customizer/src/Customizer/template-login-customizer.php:12
- > PHP Fatal error
Uncaught Error: Class 'LoginCustomizer\\Essentials' not found in wp-content/plugins/login-customizer/src/Customizer/Initial_Setup.php:7
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/login-customizer/vendor/codeinwp/themeisle-sdk/load.php:35
- > PHP Warning
include_once(): Failed opening 'ABSPATHwp-includes/class-wp-customize-control.php' for inclusion (include_path='.:/usr/share/php') in wp-content/plugins/login-customizer/src/Customizer/Panel/Sections/Templates.php on line 18
- > PHP Warning
include_once(): Failed opening 'ABSPATHwp-includes/class-wp-customize-control.php' for inclusion (include_path='.:/usr/share/php') in wp-content/plugins/login-customizer/src/Customizer/Panel/Controls/Radio_Images.php on line 28
- > PHP Fatal error
Uncaught Error: Class 'WP_Customize_Control' not found in wp-content/plugins/login-customizer/src/Customizer/Panel/Controls/Range_Slider.php:29
- > PHP Fatal error
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 93% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
Please fix the following attributes:
- Tags: Please delete some tags, you are using 13 tag instead of maximum 10
login-customizer/login-customizer.php 92% from 13 tests
The main PHP file in "Custom Login Page Customizer" ver. 2.3.1 adds more information about the plugin and also serves as the entry point for this plugin
You should first fix the following items:
- Requires at least: Required version does not match the one declared in readme.txt ("4.0" instead of "5.0")
Code Analysis 97% from 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
There were no executable files found in this plugin43,861 lines of code in 226 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 186 | 9,579 | 20,078 | 41,158 |
JavaScript | 10 | 190 | 99 | 1,373 |
CSS | 21 | 58 | 81 | 866 |
Markdown | 4 | 123 | 0 | 326 |
JSON | 4 | 0 | 0 | 126 |
SVG | 1 | 0 | 0 | 12 |
PHP code 50% from 2 tests
This plugin's cyclomatic complexity and code structure detailed below
Please fix the following
- Class cyclomatic complexity should be reduced to less than 1000 (currently 3,096)
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.58 |
Average class complexity | 50.44 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 3,096.00 |
Average method complexity | 4.27 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 94.00 |
Code structure | ||
---|---|---|
Namespaces | 10 | |
Interfaces | 1 | |
Traits | 0 | |
Classes | 104 | |
▷ Abstract classes | 4 | 3.85% |
▷ Concrete classes | 100 | 96.15% |
▷ Final classes | 2 | 2.00% |
Methods | 1,617 | |
▷ Static methods | 217 | 13.42% |
▷ Public methods | 1,175 | 72.67% |
▷ Protected methods | 28 | 1.73% |
▷ Private methods | 414 | 25.60% |
Functions | 115 | |
▷ Named functions | 110 | 95.65% |
▷ Anonymous functions | 5 | 4.35% |
Constants | 159 | |
▷ Global constants | 105 | 66.04% |
▷ Class constants | 54 | 33.96% |
▷ Public constants | 54 | 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
9 PNG files occupy 0.12MB with 0.04MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
src/Customizer/Templates/Material/assets/logo.png | 6.62KB | 4.18KB | ▼ 36.81% |
freemius/assets/img/plugin-icon.png | 9.16KB | 5.26KB | ▼ 42.58% |
freemius/assets/img/theme-icon.png | 10.97KB | 5.78KB | ▼ 47.37% |
src/Customizer/Templates/Material/assets/material.png | 22.55KB | 11.99KB | ▼ 46.85% |
src/Customizer/Panel/Controls/Assets/img/transparency-grid.png | 2.58KB | 2.80KB | 0.00% |