Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Installer ran successfully
Server metrics [RAM: ▲0.08MB] [CPU: ▼1.08ms] Passed 4 tests
An overview of server-side resources used by CLP - Custom Login Page by NiteoThemes
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.55 ▲0.09 | 36.67 ▼2.55 |
Dashboard /wp-admin | 3.38 ▲0.08 | 46.09 ▼1.70 |
Posts /wp-admin/edit.php | 3.49 ▲0.14 | 49.86 ▲0.94 |
Add New Post /wp-admin/post-new.php | 5.96 ▲0.08 | 87.94 ▼0.40 |
Media Library /wp-admin/upload.php | 3.30 ▲0.08 | 34.98 ▲0.32 |
CLP Customize /wp-admin/admin.php?page=clp-customize | 3.24 | 33.19 |
CLP Settings /wp-admin/admin.php?page=clp-settings | 3.34 | 35.44 |
Server storage [IO: ▲1.21MB] [DB: ▲0.01MB] Passed 3 tests
Input-output and database impact of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 70 new files
Database: no new tables, 7 new options
New WordPress options |
---|
db_upgraded |
widget_recent-posts |
widget_recent-comments |
can_compress_scripts |
clp_version |
theysaidso_admin_options |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
Checking browser requirements for CLP - Custom Login Page by NiteoThemes
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,900 ▲165 | 14.38 ▼0.24 | 1.72 ▲0.13 | 43.93 ▼1.11 |
Dashboard /wp-admin | 2,233 ▲51 | 4.84 ▼1.21 | 107.89 ▼1.10 | 38.26 ▼6.26 |
Posts /wp-admin/edit.php | 2,116 ▲27 | 2.04 ▼0.00 | 40.26 ▼0.48 | 36.45 ▲0.10 |
Add New Post /wp-admin/post-new.php | 1,559 ▲26 | 23.18 ▲0.27 | 659.02 ▲55.26 | 63.22 ▲14.00 |
Media Library /wp-admin/upload.php | 1,415 ▲27 | 4.25 ▲0.05 | 100.94 ▲6.74 | 42.82 ▲1.74 |
CLP Customize /wp-admin/admin.php?page=clp-customize | 20,537 | 41.48 | 1,313.10 | 268.52 |
CLP Settings /wp-admin/admin.php?page=clp-settings | 1,164 | 1.72 | 28.50 | 35.16 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.01MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
The following items require your attention
- This plugin does not fully uninstall, leaving 7 options in the database
- theysaidso_admin_options
- widget_theysaidso_widget
- widget_recent-comments
- widget_recent-posts
- can_compress_scripts
- clp_version
- db_upgraded
Smoke tests 0% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
These server-side errors were triggered
- > GET request to /wp-admin/admin.php?page=clp-customize
- > Warning in wp-includes/class-wp-hook.php+310
call_user_func_array() expects parameter 1 to be a valid callback, function 'false' not found or invalid function name
SRP 0% 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 fix the following
- 7× PHP files perform the task of outputting text when accessed with GET requests:
- > /wp-content/plugins/clp-custom-login-page/includes/render-html/dom-manipulations.php
- > /wp-content/plugins/clp-custom-login-page/includes/admin/setings-basic.php
- > /wp-content/plugins/clp-custom-login-page/includes/render-html/footer-video-scripts.php
- > /wp-content/plugins/clp-custom-login-page/includes/render-html/form-width-fix.php
- > /wp-content/plugins/clp-custom-login-page/includes/render-html/logo.php
- > /wp-content/plugins/clp-custom-login-page/includes/update.php
- > /wp-content/plugins/clp-custom-login-page/includes/render-html/page-footer.php
- 14× GET requests to PHP files have triggered server-side errors or warnings (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'WP_Customize_Control' not found in wp-content/plugins/clp-custom-login-page/includes/controls/class-clp-customizer-toggle-control.php:6
- > PHP Fatal error
Uncaught Error: Class 'WP_Customize_Control' not found in wp-content/plugins/clp-custom-login-page/includes/controls/class-clp-customizer-template-control.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/clp-custom-login-page/includes/template-customization.php:3
- > PHP Fatal error
Uncaught Error: Class 'WP_Customize_Control' not found in wp-content/plugins/clp-custom-login-page/includes/controls/class-clp-customizer-unsplash-control.php:7
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/clp-custom-login-page/includes/admin/sidebar.php:11
- > PHP Fatal error
Uncaught Error: Class 'WP_Customize_Control' not found in wp-content/plugins/clp-custom-login-page/includes/controls/class-clp-customizer-google-fonts-control.php:3
- > PHP Fatal error
Uncaught Error: Class 'WP_Customize_Control' not found in wp-content/plugins/clp-custom-login-page/includes/controls/class-clp-customizer-range-value-control.php:2
- > PHP Warning
Use of undefined constant CLP_PLUGIN_PATH - assumed 'CLP_PLUGIN_PATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/clp-custom-login-page/includes/admin/sidebar.php on line 7
- > PHP Fatal error
Uncaught Error: Class 'WP_Error' not found in wp-content/plugins/clp-custom-login-page/includes/customizer-login-template.php:251
- > PHP Fatal error
Uncaught Error: Class 'WP_Customize_Control' not found in wp-content/plugins/clp-custom-login-page/includes/controls/class-clp-customizer-import-export-control.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/admin.php?page=clp-customize
- > Security (warning) in unknown
/?customize_changeset_uuid=33fc8f6f-203f-49b2-a33a-fa7eccc3dbb9&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.
- > GET request to /wp-admin/admin.php?page=clp-customize
- > Security (warning) in unknown
/?clp-customize=true&action=login&customize_changeset_uuid=33fc8f6f-203f-49b2-a33a-fa7eccc3dbb9&customize_theme=twentytwentyone&customize_messenger_channel=preview-1 - An iframe which has both allow-scripts and allow-same-origin for its sandbox attribute can escape its sandboxing.
- > GET request to /wp-admin/admin.php?page=clp-customize
- > Console-api (warning) in unknown
/wp-includes/js/jquery/jquery.min.js?ver=3.7.0 1:28609 "jQuery.Deferred exception: _customizePartialRefreshExports is not defined" "ReferenceError: _customizePartialRefreshExports is not defined\n at Function.\u003Canonymous> (/wp-includes/js/customize-selective-refresh.min.js?ver=6.3.1:2:9028)\n at c (/wp-includes/js/jquery/jquery.min.js?ver=3.7.0:2:25266)\n at Object.fireWith (/wp-includes/js/jquery/jquery.min.js?ver=3.7.0:2:26015)\n at Function.trigger (/wp-includes/js/customize-base.min.js?ver=6.3.1:2:994)\n at HTMLDocument.\u003Canonymous> (/wp-includes/js/customize-preview.min.js?ver=6.3.1:2:10628)\n at e (/wp-includes/js/jquery/jquery.min.js?ver=3.7.0:2:26990)\n at t (/wp-includes/js/jquery/jquery.min.js?ver=3.7.0:2:27292)" undefined
- > GET request to /wp-admin/admin.php?page=clp-customize
- > Javascript (severe) in unknown
/wp-includes/js/jquery/jquery.min.js?ver=3.7.0 1:28721 Uncaught ReferenceError: _customizePartialRefreshExports is not defined
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
Attributes that require attention:
- Screenshots: Please a description for screenshot #5 in clp-custom-login-page/assets to your readme.txt
clp-custom-login-page/clp-custom-login-page.php Passed 13 tests
The principal PHP file in "CLP - Custom Login Page by NiteoThemes" v. 1.5.5 is loaded by WordPress automatically on each request
52 characters long description:
Best plugin to customize login and Registration page
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
Good job! No executable or dangerous file extensions detected8,083 lines of code in 48 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 33 | 660 | 668 | 4,711 |
JavaScript | 8 | 241 | 88 | 1,841 |
CSS | 5 | 192 | 32 | 954 |
PO File | 1 | 256 | 316 | 576 |
SVG | 1 | 0 | 0 | 1 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.35 |
Average class complexity | 9.29 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 28.00 |
Average method complexity | 2.50 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 26.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 21 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 21 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 116 | |
▷ Static methods | 30 | 25.86% |
▷ Public methods | 106 | 91.38% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 10 | 8.62% |
Functions | 14 | |
▷ Named functions | 13 | 92.86% |
▷ Anonymous functions | 1 | 7.14% |
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
All PNG images should be compressed to minimize bandwidth usage for end users
12 compressed PNG files occupy 0.57MB
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/img/transparency-grid.png | 2.58KB | 2.80KB | 0.00% |
assets/img/patterns/gray_sand.png | 16.58KB | 19.53KB | 0.00% |
assets/img/patterns/photography.png | 0.98KB | 1.07KB | 0.00% |
assets/img/patterns/white_sand.png | 17.49KB | 20.10KB | 0.00% |
assets/img/patterns/sakura.png | 223.70KB | 106.69KB | ▼ 52.31% |