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 successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.05MB] [CPU: ▼2.35ms] Passed 4 tests
An overview of server-side resources used by Customize Login Image
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.50 ▲0.05 | 40.05 ▼0.64 |
Dashboard /wp-admin | 3.36 ▲0.06 | 44.75 ▼5.18 |
Posts /wp-admin/edit.php | 3.41 ▲0.05 | 50.44 ▲2.64 |
Add New Post /wp-admin/post-new.php | 5.94 ▲0.05 | 85.33 ▼2.27 |
Media Library /wp-admin/upload.php | 3.28 ▲0.05 | 35.00 ▼1.29 |
Customize Login Image /wp-admin/options-general.php?page=customize-login-image/customize-login-image-options.php | 3.26 | 33.86 |
Server storage [IO: ▲0.04MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
No storage issues were detected
Filesystem: 8 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
theysaidso_admin_options |
widget_recent-posts |
db_upgraded |
can_compress_scripts |
widget_recent-comments |
Browser metrics Passed 4 tests
Customize Login Image: an overview of browser usage
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,803 ▲46 | 13.32 ▼1.26 | 1.58 ▼0.40 | 40.83 ▼9.06 |
Dashboard /wp-admin | 2,210 ▲19 | 5.81 ▲0.90 | 98.31 ▼18.43 | 36.62 ▼7.55 |
Posts /wp-admin/edit.php | 2,093 ▲4 | 2.06 ▲0.04 | 39.47 ▲0.32 | 35.56 ▲0.97 |
Add New Post /wp-admin/post-new.php | 1,522 ▲3 | 23.24 ▼0.13 | 640.74 ▼56.19 | 53.23 ▲0.26 |
Media Library /wp-admin/upload.php | 1,386 ▲1 | 4.25 ▲0.01 | 97.19 ▼8.31 | 40.62 ▼2.60 |
Customize Login Image /wp-admin/options-general.php?page=customize-login-image/customize-login-image-options.php | 1,041 | 2.66 | 53.47 | 26.15 |
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
The following items require your attention
- The uninstall procedure has failed, leaving 6 options in the database
- db_upgraded
- widget_recent-posts
- widget_recent-comments
- theysaidso_admin_options
- can_compress_scripts
- widget_theysaidso_widget
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Even though no errors were found, this is by no means an exhaustive test
SRP 50% from 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
Please fix the following
- 2× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/customize-login-image/customize-login-image-options.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/customize-login-image/customize-login-image.php:79
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser errors were detected
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
5 plugin tags: login, customize, logo, admin, custom
customize-login-image/customize-login-image.php Passed 13 tests
"Customize Login Image" version 3.5.3's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
95 characters long description:
This plugin allows you to customize the image and the appearance of the WordPress Login Screen.
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
Success! There were no dangerous files found in this plugin355 lines of code in 5 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PO File | 2 | 56 | 74 | 180 |
PHP | 2 | 17 | 20 | 148 |
JavaScript | 1 | 4 | 10 | 27 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.28 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 12 | |
▷ Named functions | 12 | 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
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
1 compressed PNG file occupies 0.00MB
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
customize-login-image.png | 2.42KB | 2.45KB | 0.00% |