Benchmarks
Plugin footprint Passed 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: ▼137.52ms] Passed 4 tests
An overview of server-side resources used by Customize Login Page
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.86 ▲0.14 | 30.73 ▲11.78 |
Dashboard /wp-admin | 3.10 ▲0.05 | 49.01 ▲7.39 |
Posts /wp-admin/edit.php | 3.22 ▲0.11 | 43.45 ▲6.98 |
Add New Post /wp-admin/post-new.php | 5.44 ▲0.01 | 85.39 ▼563.20 |
Media Library /wp-admin/upload.php | 3.03 ▲0.03 | 31.60 ▼1.24 |
Customize Login Page /wp-admin/options-general.php?page=customize-login-page | 3.00 | 31.90 |
Server storage [IO: ▲0.23MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin installed successfully
Filesystem: 9 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
A check of browser resources used by Customize Login Page
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,894 ▲288 | 17.41 ▲1.42 | 10.38 ▼0.05 | 45.13 ▼0.00 |
Dashboard /wp-admin | 3,171 ▲237 | 7.95 ▲1.97 | 160.85 ▲21.82 | 114.12 ▼3.57 |
Posts /wp-admin/edit.php | 2,963 ▲227 | 4.14 ▲1.44 | 78.67 ▲15.83 | 85.73 ▼3.17 |
Add New Post /wp-admin/post-new.php | 1,875 ▲3 | 19.23 ▲0.06 | 354.07 ▼45.51 | 107.57 ▲2.98 |
Media Library /wp-admin/upload.php | 1,812 ▲5 | 4.80 ▼0.25 | 109.96 ▼35.87 | 115.68 ▲0.10 |
Customize Login Page /wp-admin/options-general.php?page=customize-login-page | 1,398 | 3.32 | 72.74 | 69.54 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
The plugin uninstalled completely, with no zombie files or tables
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
These server-side errors were triggered
- > GET request to /wp-admin/options-general.php?page=customize-login-page
- > User deprecated in wp-includes/functions.php+5221
screen_icon is deprecated since version 3.8.0 with no alternative available.
- > GET request to /wp-admin/options-general.php?page=customize-login-page
- > User deprecated in wp-includes/functions.php+5221
get_screen_icon is deprecated since version 3.8.0 with no alternative available.
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 take a closer look at the following
- 1× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/customize-login-page/customize-login-page.php:15
- > 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 97% from 29 tests
readme.txt 94% from 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
These attributes need your attention:
- Screenshots: A description for screenshot #4 is required in customize-login-page/assets to your readme.txt
customize-login-page/customize-login-page.php Passed 13 tests
The main file in "Customize Login Page" v. 1.1 serves as a complement to information provided in readme.txt and as the entry point to the plugin
68 characters long description:
Simple, Customize your Login Page with your Logo and Your site theme
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
Everything looks great! No dangerous files found in this plugin249 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 22 | 27 | 146 |
CSS | 1 | 7 | 1 | 65 |
PO File | 1 | 57 | 109 | 31 |
HTML | 1 | 0 | 0 | 7 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.22 |
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 | 7 | |
▷ Named functions | 7 | 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.22MB with 0.09MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
texture.png | 220.31KB | 131.44KB | ▼ 40.34% |