Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Installer ran successfully
Server metrics [RAM: ▲0.15MB] [CPU: ▼1.55ms] Passed 4 tests
This is a short check of server-side resources used by WP Custom Admin Login Lite - Free WordPress plugin to make a customized admin login page
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.62 ▲0.16 | 43.28 ▲1.52 |
Dashboard /wp-admin | 3.46 ▲0.16 | 46.15 ▲0.28 |
Posts /wp-admin/edit.php | 3.51 ▲0.15 | 51.85 ▲9.74 |
Add New Post /wp-admin/post-new.php | 6.04 ▲0.15 | 85.89 ▼10.46 |
Media Library /wp-admin/upload.php | 3.38 ▲0.15 | 34.73 ▲2.45 |
General Settings /wp-admin/admin.php?page=wp-custom-admin-login-lite | 3.33 | 31.78 |
How to use /wp-admin/admin.php?page=wcal-how-to | 3.34 | 32.01 |
Server storage [IO: ▲2.88MB] [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: 104 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
can_compress_scripts |
theysaidso_admin_options |
widget_recent-comments |
widget_recent-posts |
db_upgraded |
Browser metrics Passed 4 tests
This is an overview of browser requirements for WP Custom Admin Login Lite - Free WordPress plugin to make a customized admin login page
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,975 ▲240 | 13.28 ▼1.12 | 2.01 ▲0.41 | 49.01 ▲6.97 |
Dashboard /wp-admin | 2,242 ▲50 | 5.85 ▲0.91 | 96.50 ▼30.01 | 39.24 ▼11.66 |
Posts /wp-admin/edit.php | 2,125 ▲36 | 2.07 ▲0.02 | 39.77 ▼0.09 | 40.78 ▲8.24 |
Add New Post /wp-admin/post-new.php | 1,543 ▲1 | 23.26 ▲5.05 | 640.66 ▼7.58 | 56.64 ▼9.93 |
Media Library /wp-admin/upload.php | 1,418 ▲33 | 4.21 ▼0.08 | 98.55 ▼8.42 | 43.59 ▼0.26 |
General Settings /wp-admin/admin.php?page=wp-custom-admin-login-lite | 1,116 | 4.38 | 103.26 | 58.81 |
How to use /wp-admin/admin.php?page=wcal-how-to | 1,533 | 4.72 | 123.09 | 50.36 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
It is recommended to fix the following
- This plugin did not uninstall successfully, leaving 6 options in the database
- theysaidso_admin_options
- widget_theysaidso_widget
- widget_recent-posts
- widget_recent-comments
- db_upgraded
- can_compress_scripts
Smoke tests 25% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
The smoke test was a success, however most plugin functionality was not tested
SRP 0% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Please fix the following items
- 4× PHP files output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/wp-custom-admin-login-lite/inc/classes/admin/wcal-admin.php
- > /wp-content/plugins/wp-custom-admin-login-lite/inc/views/backend/wcal-settings.php
- > /wp-content/plugins/wp-custom-admin-login-lite/wp-custom-admin-login-lite.php
- > /wp-content/plugins/wp-custom-admin-login-lite/inc/classes/admin/wcal-how-to.php
- 25× GET requests to PHP files have triggered server-side errors or warnings (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/wp-custom-admin-login-lite/inc/classes/wcal-frontend-components/wcal-remember-me.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/wp-custom-admin-login-lite/inc/classes/wcal-frontend-components/wcal-registration.php:2
- > PHP Fatal error
Uncaught Error: Class 'WCAL_Admin_Login_Core' not found in wp-content/plugins/wp-custom-admin-login-lite/inc/classes/wcal-templates/wcal-template-5.php:4
- > PHP Warning
require_once(WCAL_PATHinc/classes/customizer-class/wcal-customizer-tabs/tab-class.php): failed to open stream: No such file or directory in wp-content/plugins/wp-custom-admin-login-lite/inc/classes/customizer-class/wcal-customizer-tabs/init.php on line 4
- > PHP Fatal error
Uncaught Error: Class 'WP_Customize_Control' not found in wp-content/plugins/wp-custom-admin-login-lite/inc/classes/wcal-customizer.php:4
- > PHP Fatal error
Uncaught Error: Class 'WCAL_Library' not found in wp-content/plugins/wp-custom-admin-login-lite/inc/classes/wcal-admin-login-core.php:4
- > PHP Fatal error
Uncaught Error: Class 'WCAL_Admin_Login_Core' not found in wp-content/plugins/wp-custom-admin-login-lite/inc/classes/wcal-templates/wcal-template-2.php:4
- > PHP Fatal error
Uncaught Error: Class 'WCAL_Admin_Login_Core' not found in wp-content/plugins/wp-custom-admin-login-lite/inc/classes/wcal-templates/wcal-template-4.php:4
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/wp-custom-admin-login-lite/inc/classes/wcal-frontend-components/wcal-customizer-css.php:2
- > PHP Warning
Use of undefined constant WCAL_PATH - assumed 'WCAL_PATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/wp-custom-admin-login-lite/inc/classes/customizer-class/wcal-customizer-tabs/init.php on line 4
- > 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)
Please take a look at the following user-side issues
- > GET request to /wp-admin/admin.php?page=wp-custom-admin-login-lite
- > Security (warning) in unknown
security - Error with Permissions-Policy header: Unrecognized feature: 'ambient-light-sensor'.
- > GET request to /wp-admin/admin.php?page=wp-custom-admin-login-lite
- > Security (warning) in unknown
security - Error with Permissions-Policy header: Unrecognized feature: 'bluetooth'.
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
Attributes that need to be fixed:
- Tags: Please reduce the number of tags, currently 15 tag instead of maximum 10
wp-custom-admin-login-lite/wp-custom-admin-login-lite.php 92% from 13 tests
The principal PHP file in "WP Custom Admin Login Lite - Free WordPress plugin to make a customized admin login page" v. 1.0.1 is loaded by WordPress automatically on each request
It is important to fix the following:
- Plugin Name: Please don't use more than 70 characters for the plugin name (currently 88 characters long)
Code Analysis Passed 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 plugin23,777 lines of code in 60 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 9 | 313 | 117 | 14,153 |
PHP | 37 | 522 | 362 | 4,952 |
SVG | 1 | 0 | 0 | 2,671 |
JavaScript | 12 | 334 | 330 | 1,659 |
PO File | 1 | 158 | 172 | 342 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.33 |
Average class complexity | 7.95 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 37.00 |
Average method complexity | 2.56 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 36.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 20 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 20 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 89 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 86 | 96.63% |
▷ Protected methods | 2 | 2.25% |
▷ Private methods | 1 | 1.12% |
Functions | 1 | |
▷ Named functions | 1 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 7 | |
▷ Global constants | 7 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
35 PNG files occupy 0.82MB with 0.50MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/customize-images/wcal-template-26.png | 10.36KB | 4.58KB | ▼ 55.84% |
images/customize-images/wcal-template-17.png | 35.26KB | 17.72KB | ▼ 49.76% |
images/customize-images/wcal-template-11.png | 17.42KB | 7.31KB | ▼ 58.05% |
images/customize-images/wcal-template-7.png | 7.72KB | 3.53KB | ▼ 54.21% |
images/template-3/cancel1.png | 1.12KB | 0.18KB | ▼ 83.58% |