Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
The following installer errors require your attention
- Install procedure had errors
- > Warning in wp-content/plugins/custom-wp-admin-login/admin/lib/ReduxCore/inc/class.redux_filesystem.php+28
Creating default object from empty value
Server metrics [RAM: ▼0.72MB] [CPU: ▼49.54ms] Passed 4 tests
Analyzing server-side resources used by Custom WP Admin Login
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.26 ▼0.20 | 17.61 ▼26.50 |
Dashboard /wp-admin | 3.28 ▼0.02 | 13.31 ▼41.96 |
Posts /wp-admin/edit.php | 3.28 ▼0.07 | 15.47 ▼37.29 |
Add New Post /wp-admin/post-new.php | 3.28 ▼2.60 | 13.86 ▼92.39 |
Media Library /wp-admin/upload.php | 3.28 ▲0.06 | 12.75 ▼23.39 |
Redux Framework /wp-admin/tools.php?page=redux-about | 3.28 | 13.60 |
Server storage [IO: ▲3.70MB] [DB: ▲0.07MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin was installed successfully
Filesystem: 421 new files
Database: no new tables, 9 new options
New WordPress options |
---|
custom_wp_admin_login-transients |
widget_recent-posts |
db_upgraded |
theysaidso_admin_options |
widget_theysaidso_widget |
custom_wp_admin_login |
widget_recent-comments |
can_compress_scripts |
redux_version_upgraded_from |
Browser metrics Passed 4 tests
A check of browser resources used by Custom WP Admin Login
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,875 ▲114 | 14.35 ▲0.01 | 1.86 ▲0.16 | 40.13 ▼6.44 |
Dashboard /wp-admin | 2,277 ▲99 | 5.64 ▲0.07 | 84.23 ▼18.30 | 37.44 ▼8.05 |
Posts /wp-admin/edit.php | 2,120 ▲20 | 2.03 ▲0.07 | 36.44 ▼4.82 | 34.71 ▲0.55 |
Add New Post /wp-admin/post-new.php | 1,542 ▲15 | 23.14 ▼0.11 | 642.31 ▼16.35 | 59.25 ▲7.63 |
Media Library /wp-admin/upload.php | 1,414 ▲17 | 4.15 ▼0.14 | 91.55 ▼6.63 | 42.48 ▲1.22 |
Redux Framework /wp-admin/tools.php?page=redux-about | 1,056 | 3.64 | 73.59 | 66.11 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.07MB] 50% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
These items require your attention
- This plugin cannot be uninstalled
- > Warning in wp-content/plugins/custom-wp-admin-login/admin/lib/ReduxCore/inc/class.redux_filesystem.php+28
Creating default object from empty value
- Zombie WordPress options were found after uninstall: 9 options
- widget_theysaidso_widget
- can_compress_scripts
- redux_version_upgraded_from
- db_upgraded
- widget_recent-posts
- custom_wp_admin_login-transients
- widget_recent-comments
- custom_wp_admin_login
- theysaidso_admin_options
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Almost there, just fix the following server-side errors
- > GET request to /wp-admin/tools.php?page=redux-about
- > Warning in wp-content/plugins/custom-wp-admin-login/admin/lib/ReduxCore/inc/class.redux_filesystem.php+28
Creating default object from empty value
SRP 50% from 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Please take a closer look at the following
- 22× PHP files trigger errors when accessed directly with GET requests (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'WP_Customize_Section' not found in wp-content/plugins/custom-wp-admin-login/admin/lib/ReduxCore/inc/extensions/customizer/inc/customizer_section.php:12
- > PHP Fatal error
Uncaught Error: Class 'WP_Customize_Section' not found in wp-content/plugins/custom-wp-admin-login/admin/lib/ReduxCore/inc/extensions/customizer/inc/customizer_devs.php:12
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/custom-wp-admin-login/admin/apply-css.php:17
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html() in wp-content/plugins/custom-wp-admin-login/admin/lib/ReduxCore/inc/welcome/views/extensions.php:64
- > PHP Fatal error
Uncaught Error: Class 'WP_Customize_Control' not found in wp-content/plugins/custom-wp-admin-login/admin/lib/ReduxCore/inc/extensions/customizer/inc/customizer_control.php:4
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/custom-wp-admin-login/admin/lib/ReduxCore/inc/welcome/views/about.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_attr() in wp-content/plugins/custom-wp-admin-login/admin/lib/ReduxCore/templates/panel/header_stickybar.tpl.php:14
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/custom-wp-admin-login/admin/lib/ReduxCore/inc/fields/select/elusive-icons.php:312
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/custom-wp-admin-login/custom-wp-admin-login.php:40
- > PHP Fatal error
Uncaught Error: Interface 'themecheck' not found in wp-content/plugins/custom-wp-admin-login/admin/lib/ReduxCore/inc/themecheck/checks/embedded.php:3
- > PHP Fatal error
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)
Everything seems fine on the user side
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
These attributes need to be fixed:
- Tags: You are using too many tags: 29 tag instead of maximum 10
custom-wp-admin-login/custom-wp-admin-login.php Passed 13 tests
The entry point to "Custom WP Admin Login" version 1.0 is a PHP file that has certain tags in its header comment area
106 characters long description:
Custom WP Admin Login plugin allows you to easily customize your admin login page according to your needs.
Code Analysis 97% from 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
Everything looks great! No dangerous files found in this plugin37,280 lines of code in 295 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 107 | 3,699 | 5,415 | 15,634 |
JavaScript | 85 | 2,593 | 1,949 | 11,982 |
Sass | 54 | 1,182 | 60 | 7,571 |
SVG | 1 | 0 | 0 | 934 |
JSON | 1 | 184 | 0 | 909 |
CSS | 46 | 9 | 35 | 197 |
LESS | 1 | 0 | 0 | 53 |
PHP code 50% from 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
Please fix the following
- Please reduce cyclomatic complexity of methods to less than 100 (currently 113)
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.62 |
Average class complexity | 32.38 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 880.00 |
Average method complexity | 6.55 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 113.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 102 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 102 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 578 | |
▷ Static methods | 100 | 17.30% |
▷ Public methods | 437 | 75.61% |
▷ Protected methods | 91 | 15.74% |
▷ Private methods | 50 | 8.65% |
Functions | 12 | |
▷ Named functions | 11 | 91.67% |
▷ Anonymous functions | 1 | 8.33% |
Constants | 63 | |
▷ Global constants | 6 | 9.52% |
▷ Class constants | 57 | 90.48% |
▷ Public constants | 57 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
30 PNG files occupy 0.06MB with 0.02MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
admin/lib/ReduxCore/inc/fields/spinner/arrow_right.png | 0.15KB | 0.12KB | ▼ 18.18% |
admin/lib/ReduxCore/assets/img/2cl.png | 2.91KB | 0.24KB | ▼ 91.79% |
admin/lib/ReduxCore/assets/img/toggle_tabs.png | 0.35KB | 0.35KB | 0.00% |
admin/lib/ReduxCore/assets/img/2-col-portfolio.png | 1.02KB | 0.15KB | ▼ 85.07% |
admin/lib/ReduxCore/assets/css/vendor/jquery-ui-bootstrap/images/ui-bg_glass_65_ffffff_1x400.png | 0.10KB | 0.10KB | ▼ 5.71% |