Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
The plugin installed gracefully, with no errors
Server metrics [RAM: ▼0.74MB] [CPU: ▼37.90ms] Passed 4 tests
Analyzing 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.67 ▲0.16 | 40.32 ▼1.03 |
Dashboard /wp-admin | 3.25 ▼0.13 | 28.32 ▼37.13 |
Posts /wp-admin/edit.php | 3.25 ▼0.14 | 26.90 ▼24.00 |
Add New Post /wp-admin/post-new.php | 3.25 ▼2.67 | 28.04 ▼80.60 |
Media Library /wp-admin/upload.php | 3.25 ▼0.02 | 26.99 ▼9.87 |
Custom Login /wp-admin/options-general.php?page=l7-login-customizer/includes/options-page | 3.26 | 28.70 |
Server storage [IO: ▲0.51MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
There were no storage issued detected upon installing this plugin
Filesystem: 26 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
db_upgraded |
widget_recent-posts |
widget_recent-comments |
theysaidso_admin_options |
can_compress_scripts |
Browser metrics Passed 4 tests
A check of browser resources used by L7 Login Customizer
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,796 ▲35 | 14.28 ▼0.28 | 1.78 ▲0.26 | 41.59 ▲0.67 |
Dashboard /wp-admin | 2,199 ▲19 | 5.48 ▼0.11 | 85.45 ▼2.84 | 42.32 ▼1.54 |
Posts /wp-admin/edit.php | 2,104 ▲4 | 2.01 ▲0.05 | 40.28 ▲0.40 | 36.57 ▲1.85 |
Add New Post /wp-admin/post-new.php | 1,540 ▲14 | 18.26 ▼5.33 | 622.98 ▼59.11 | 67.35 ▲15.88 |
Media Library /wp-admin/upload.php | 1,404 ▲7 | 4.21 ▼0.01 | 96.91 ▼7.46 | 44.01 ▲0.96 |
Custom Login /wp-admin/options-general.php?page=l7-login-customizer/includes/options-page | 1,739 | 11.41 | 127.34 | 75.34 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% 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+5905
Function add_submenu_page was called incorrectly. The seventh parameter passed to add_submenu_page() should be numeric representing menu position. Please see Debugging in WordPress for more information. (This message was added in version 5.3.0.)
- Zombie WordPress options were found after uninstall: 6 options
- theysaidso_admin_options
- widget_recent-posts
- can_compress_scripts
- widget_recent-comments
- db_upgraded
- widget_theysaidso_widget
Smoke tests 75% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
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+5905
Function add_submenu_page was called incorrectly. The seventh parameter passed to add_submenu_page() should be numeric 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+5828
Hook 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 | 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
The SRP test was a success
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
There were no browser issues found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 88% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
These attributes need to be fixed:
- Screenshots: A description for screenshot #6 is missing 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
"L7 Login Customizer" version 2.4.0's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
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 | Executable files are considered dangerous and should not be included with any WordPress plugin
No dangerous file extensions were detected9,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
A brief analysis of cyclomatic complexity and code structure for this plugin
Great job! No cyclomatic complexity issues were detected in 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
Often times overlooked, PNG files can occupy unnecessary space in your plugin
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/alpha-horizontal.png | 3.55KB | 1.62KB | ▼ 54.44% |
assets/images/bootstrap-colorpicker/hue.png | 2.90KB | 0.50KB | ▼ 82.71% |
assets/images/bootstrap-colorpicker/hue-horizontal.png | 2.77KB | 0.47KB | ▼ 83.15% |
assets/images/bootstrap-colorpicker/alpha.png | 3.19KB | 1.68KB | ▼ 47.45% |
assets/images/bootstrap-colorpicker/saturation.png | 8.61KB | 5.13KB | ▼ 40.41% |