Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
This plugin's installer ran successfully
Server metrics [RAM: ▲0.60MB] [CPU: ▼4.57ms] Passed 4 tests
An overview of server-side resources used by Login Page UI Customizer
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.09 ▲0.63 | 45.97 ▲3.70 |
Dashboard /wp-admin | 3.96 ▲0.58 | 53.26 ▼26.12 |
Posts /wp-admin/edit.php | 4.01 ▲0.66 | 50.34 ▲2.25 |
Add New Post /wp-admin/post-new.php | 6.48 ▲0.59 | 94.23 ▲2.01 |
Media Library /wp-admin/upload.php | 3.82 ▲0.59 | 40.06 ▲3.58 |
Login Page UI /wp-admin/options-general.php?page=crlpuic-settings | 3.79 | 36.86 |
Server storage [IO: ▲4.86MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin was installed successfully
Filesystem: 53 new files
Database: no new tables, 8 new options
New WordPress options |
---|
widget_recent-posts |
widget_recent-comments |
admin-crlpuic-settings |
theysaidso_admin_options |
db_upgraded |
can_compress_scripts |
widget_theysaidso_widget |
crlpuic-settings |
Browser metrics Passed 4 tests
An overview of browser requirements for Login Page UI Customizer
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,857 ▲122 | 13.56 ▼0.82 | 1.60 ▼0.17 | 30.23 ▼19.59 |
Dashboard /wp-admin | 2,213 ▲25 | 4.84 ▼0.05 | 104.80 ▼4.24 | 39.15 ▲0.05 |
Posts /wp-admin/edit.php | 2,099 ▲10 | 2.05 ▲0.05 | 37.79 ▼2.23 | 30.63 ▼3.32 |
Add New Post /wp-admin/post-new.php | 1,541 ▲6 | 23.31 ▲0.09 | 646.81 ▲7.53 | 64.60 ▲13.10 |
Media Library /wp-admin/upload.php | 1,398 ▲13 | 4.25 ▲0.01 | 108.17 ▼1.63 | 46.33 ▲3.66 |
Login Page UI /wp-admin/options-general.php?page=crlpuic-settings | 981 | 2.17 | 28.41 | 60.34 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
You still need to fix the following
- This plugin did not uninstall successfully, leaving 8 options in the database
- can_compress_scripts
- widget_recent-posts
- db_upgraded
- admin-crlpuic-settings
- crlpuic-settings
- theysaidso_admin_options
- widget_recent-comments
- widget_theysaidso_widget
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Even though no errors were found, this is by no means an exhaustive test
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
Almost there! Just fix the following items
- 2× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/login-page-ui-customizer/includes/login-page-template.php:11
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/login-page-ui-customizer/includes/functions/core.php:235
- > PHP Fatal error
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 94% from 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
Please fix the following attributes:
- Screenshots: No descriptions were found for these screenshots #10, #11, #2, #3, #4, #5, #6, #7, #8, #9 in login-page-ui-customizer/assets to your readme.txt
login-page-ui-customizer/login-page-ui-customizer.php 92% from 13 tests
Analyzing the main PHP file in "Login Page UI Customizer" version 1.0.1
The following require your attention:
- Domain Path: The domain path folder was not found ("/languages")
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
Everything looks great! No dangerous files found in this plugin6,014 lines of code in 30 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 16 | 1,039 | 1,357 | 3,763 |
JavaScript | 6 | 230 | 118 | 1,511 |
CSS | 6 | 124 | 7 | 738 |
SVG | 2 | 0 | 0 | 2 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.29 |
Average class complexity | 20.30 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 147.00 |
Average method complexity | 2.79 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 70.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 10 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 10 | 100.00% |
▷ Final classes | 1 | 10.00% |
Methods | 108 | |
▷ Static methods | 13 | 12.04% |
▷ Public methods | 101 | 93.52% |
▷ Protected methods | 5 | 4.63% |
▷ Private methods | 2 | 1.85% |
Functions | 16 | |
▷ Named functions | 16 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 6 | |
▷ Global constants | 6 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
8 PNG files occupy 3.48MB with 1.99MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/images/side-illustrations-3.png | 1,470.06KB | 270.65KB | ▼ 81.59% |
assets/images/side-illustrations-2.png | 46.92KB | 16.46KB | ▼ 64.91% |
assets/images/bg.png | 235.42KB | 53.61KB | ▼ 77.23% |
assets/images/login-page-ui-customizer-icon.png | 7.74KB | 8.10KB | 0.00% |
assets/images/side-illustrations-1.png | 54.60KB | 20.77KB | ▼ 61.97% |