Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Installer ran successfully
Server metrics [RAM: ▼1.22MB] [CPU: ▼334.75ms] Passed 4 tests
Server-side resources used by L7 Login Customizer
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.54 ▲0.02 | 55.06 ▲6.32 |
Dashboard /wp-admin | 3.11 ▼0.30 | 17.24 ▼17.17 |
Posts /wp-admin/edit.php | 3.11 ▼0.53 | 17.69 ▼33.46 |
Add New Post /wp-admin/post-new.php | 3.11 ▼3.86 | 17.01 ▼1,272.95 |
Media Library /wp-admin/upload.php | 3.11 ▼0.19 | 15.79 ▼15.43 |
Custom Login /wp-admin/options-general.php?page=l7-login-customizer/includes/options-page | 3.11 | 18.22 |
Server storage [IO: ▲0.51MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin installed successfully
Filesystem: 26 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
Checking browser requirements for L7 Login Customizer
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,793 ▲71 | 15.89 ▼0.11 | 6.11 ▼0.35 | 2.43 ▲0.07 |
Dashboard /wp-admin | 2,897 ▲39 | 6.14 ▼0.03 | 118.01 ▼21.25 | 155.41 ▼5.51 |
Posts /wp-admin/edit.php | 2,693 ▲5 | 3.24 ▲0.02 | 63.72 ▲2.38 | 143.00 ▲5.69 |
Add New Post /wp-admin/post-new.php | 1,671 ▼40 | 18.90 ▼2.40 | 378.31 ▼57.94 | 156.11 ▼6.92 |
Media Library /wp-admin/upload.php | 1,703 ▲5 | 5.52 ▲0.05 | 139.06 ▲1.73 | 184.49 ▼6.98 |
Custom Login /wp-admin/options-general.php?page=l7-login-customizer/includes/options-page | 2,274 | 12.45 | 160.70 | 129.42 |
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 cannot be uninstalled
- > User notice in wp-includes/functions.php+5768
add_submenu_page was called incorrectly. The seventh parameter passed to add_submenu_page() should be an integer representing menu position. Please see Debugging in WordPress for more information. (This message was added in version 5.3.0.)
Smoke tests 75% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
These server-side errors were triggered
- > GET request to /wp-admin/options-general.php?page=l7-login-customizer/includes/options-page
- > User notice in wp-includes/functions.php+5768
add_submenu_page was called incorrectly. The seventh parameter passed to add_submenu_page() should be an integer representing menu position. Please see Debugging in WordPress for more information. (This message was added in version 5.3.0.)
- 2 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=l7-login-customizer/includes/options-page
- > Notice in wp-content/plugins/l7-login-customizer/includes/admin-functions.php+293
Trying to access array offset on value of type bool
- > GET request to /wp-admin/options-general.php?page=l7-login-customizer/includes/options-page
- > User deprecated in wp-includes/functions.php+5691
login_headertitle is deprecated since version 5.2.0! Use login_headertext instead. Usage of the title attribute on the login logo is not recommended for accessibility reasons. Use the link text instead.
SRP Passed 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
Everything seems fine, however this is by no means an exhaustive test
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine on the user side
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 88% 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 need to be fixed:
- Screenshots: Please a description for screenshot #6 in l7-login-customizer/assets to your readme.txt
- Tags: Please reduce the number of tags, currently 14 tag instead of maximum 10
l7-login-customizer/l7-login-customizer.php Passed 13 tests
The entry point to "L7 Login Customizer" version 2.4.0 is a PHP file that has certain tags in its header comment area
101 characters long description:
For customizing the login, logout, and register pages. Add a custom logo and background image easily.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
Success! There were no dangerous files found in this plugin9,089 lines of code in 14 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 4 | 54 | 22 | 7,058 |
JavaScript | 2 | 46 | 57 | 1,117 |
PHP | 6 | 142 | 473 | 635 |
PO File | 2 | 100 | 108 | 279 |
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.22 |
Average class complexity | 14.00 |
▷ Minimum class complexity | 3.00 |
▷ Maximum class complexity | 26.00 |
Average method complexity | 2.08 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 17.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 4 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 4 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 48 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 48 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.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 Passed 2 tests
Image compression Passed 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
5 PNG files occupy 0.02MB with 0.01MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/images/bootstrap-colorpicker/hue.png | 2.90KB | 0.50KB | ▼ 82.71% |
assets/images/bootstrap-colorpicker/alpha.png | 3.19KB | 1.68KB | ▼ 47.45% |
assets/images/bootstrap-colorpicker/alpha-horizontal.png | 3.55KB | 1.62KB | ▼ 54.44% |
assets/images/bootstrap-colorpicker/hue-horizontal.png | 2.77KB | 0.47KB | ▼ 83.15% |
assets/images/bootstrap-colorpicker/saturation.png | 8.61KB | 5.13KB | ▼ 40.41% |