Benchmarks
Plugin footprint 83% 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.03MB] [CPU: ▼6.81ms] Passed 4 tests
This is a short check of server-side resources used by Login Customizer Plus
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.03 | 36.34 ▼3.48 |
Dashboard /wp-admin | 3.33 ▲0.02 | 44.52 ▼4.44 |
Posts /wp-admin/edit.php | 3.38 ▲0.03 | 48.17 ▲1.98 |
Add New Post /wp-admin/post-new.php | 5.93 ▲0.04 | 83.94 ▼21.30 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 39.44 ▲6.81 |
Server storage [IO: ▲1.46MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
There were no storage issued detected upon installing this plugin
Filesystem: 25 new files
Database: no new tables, 14 new options
New WordPress options |
---|
widget_recent-comments |
admin_fa_tw |
db_upgraded |
admin_bgclr |
admin_ft_text |
widget_theysaidso_widget |
widget_recent-posts |
admin_fa_ig |
theysaidso_admin_options |
admin_fa_fb |
... |
Browser metrics Passed 4 tests
Login Customizer Plus: an overview of browser usage
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,964 ▲229 | 13.72 ▼0.93 | 1.79 ▲0.10 | 36.50 ▼7.61 |
Dashboard /wp-admin | 2,352 ▲164 | 5.63 ▼0.27 | 102.12 ▲0.62 | 75.63 ▲32.10 |
Posts /wp-admin/edit.php | 2,250 ▲158 | 2.55 ▲0.50 | 44.08 ▲3.92 | 56.95 ▲21.53 |
Add New Post /wp-admin/post-new.php | 6,565 ▲5,032 | 25.28 ▲1.86 | 999.36 ▲333.87 | 39.26 ▼14.08 |
Media Library /wp-admin/upload.php | 1,547 ▲159 | 4.87 ▲0.69 | 112.34 ▲13.25 | 80.86 ▲35.49 |
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
Please fix the following items
- Zombie WordPress options were found after uninstall: 6 options
- theysaidso_admin_options
- db_upgraded
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-comments
- widget_recent-posts
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Good news, no errors were detected
SRP 0% from 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Almost there! Just fix the following items
- 1× PHP files output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/login-customizer-plus/login-customizer-plus.php
- 3× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_enqueue_media() in wp-content/plugins/login-customizer-plus/templates/admin.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_url() in wp-content/plugins/login-customizer-plus/templates/about.php:9
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/login-customizer-plus/templates/icons.php:51
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
There were no browser issues found
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
These attributes need to be fixed:
- Tags: Please delete some tags, you are using 13 tag instead of maximum 10
login-customizer-plus/login-customizer-plus.php 85% from 13 tests
Analyzing the main PHP file in "Login Customizer Plus" version 1.1.0
Please make the necessary changes and fix the following:
- Domain Path: The domain path folder was not found ("/languages")
- Text Domain: The text domain is optional since WordPress version 4.6; if you do specify it, it must be the same as the plugin slug
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
Success! There were no dangerous files found in this plugin5,556 lines of code in 17 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
SVG | 1 | 0 | 0 | 2,671 |
CSS | 4 | 1 | 18 | 2,353 |
PHP | 8 | 245 | 45 | 481 |
JavaScript | 4 | 49 | 24 | 51 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.24 |
Average class complexity | 1.00 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 1.00 |
Average method complexity | 1.00 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 1.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 3 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 3 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 12 | |
▷ Static methods | 2 | 16.67% |
▷ Public methods | 11 | 91.67% |
▷ Protected methods | 1 | 8.33% |
▷ Private methods | 0 | 0.00% |
Functions | 5 | |
▷ Named functions | 5 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 0 | |
▷ Global constants | 0 | 0.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
1 PNG file occupies 0.00MB with 0.00MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
image/lcp-menu-icon.png | 3.53KB | 0.94KB | ▼ 73.45% |