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.11MB] [CPU: ▼6.90ms] Passed 4 tests
A check of server-side resources used by Blue Login Style
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.59 ▲0.12 | 43.53 ▲0.02 |
Dashboard /wp-admin | 3.43 ▲0.08 | 66.41 ▼2.10 |
Posts /wp-admin/edit.php | 3.55 ▲0.19 | 61.01 ▲12.85 |
Add New Post /wp-admin/post-new.php | 6.02 ▲0.12 | 84.81 ▼25.70 |
Media Library /wp-admin/upload.php | 3.34 ▲0.11 | 35.51 ▲0.18 |
Login Themes /wp-admin/admin.php?page=blue-login-themes | 3.33 | 38.98 |
About Blue Login /wp-admin/admin.php?page=about-blue-login | 3.33 | 35.83 |
Login Options /wp-admin/admin.php?page=blue-login-options | 3.34 | 36.93 |
Server storage [IO: ▲0.81MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin installed successfully
Filesystem: 49 new files
Database: no new tables, 16 new options
New WordPress options |
---|
blue_upload_logo |
theysaidso_admin_options |
db_upgraded |
blue_login_redirect |
blue_upload_position |
blue_upload_background |
blue_custom_style |
blue_default_theme |
widget_recent-comments |
blue_upload_repeat |
... |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Blue Login Style
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,953 ▲192 | 14.66 ▲0.35 | 1.75 ▲0.08 | 45.36 ▲4.71 |
Dashboard /wp-admin | 2,365 ▲188 | 6.21 ▲0.64 | 119.85 ▲30.54 | 42.90 ▼0.27 |
Posts /wp-admin/edit.php | 2,293 ▲193 | 3.34 ▲1.37 | 57.13 ▲19.65 | 36.42 ▼0.43 |
Add New Post /wp-admin/post-new.php | 1,567 ▲36 | 23.44 ▲0.11 | 657.44 ▼16.35 | 37.67 ▼24.99 |
Media Library /wp-admin/upload.php | 1,433 ▲33 | 4.13 ▼0.06 | 84.56 ▼24.36 | 41.51 ▼5.69 |
Login Themes /wp-admin/admin.php?page=blue-login-themes | 1,187 | 3.01 | 39.95 | 88.57 |
About Blue Login /wp-admin/admin.php?page=about-blue-login | 1,056 | 3.00 | 40.73 | 65.65 |
Login Options /wp-admin/admin.php?page=blue-login-options | 1,398 | 3.56 | 49.99 | 40.61 |
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
- This plugin does not fully uninstall, leaving 6 options in the database
- db_upgraded
- widget_recent-comments
- theysaidso_admin_options
- widget_recent-posts
- 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
- 3× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function load_plugin_textdomain() in wp-content/plugins/blue-login-style/blue-login.php:15
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/blue-login-style/inc/blue-functions.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/blue-login-style/inc/blue-about-page.php:6
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser issues were found
Optimizations
Plugin configuration 90% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
10 plugin tags: customize wp-loginphp plugin, login message, front end login, customize wordpress, login form...
blue-login-style/blue-login.php 77% from 13 tests
The main PHP file in "Blue Login Style" ver. 1.4.0 adds more information about the plugin and also serves as the entry point for this plugin
Please make the necessary changes and fix the following:
- 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
- Description: Please keep the plugin description shorter than 140 characters (currently 247 characters long)
- Main file name: It is recommended to name the main PHP file as the plugin slug ("blue-login-style.php" instead of "blue-login.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
No dangerous file extensions were detected1,575 lines of code in 19 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 10 | 173 | 124 | 914 |
PHP | 7 | 95 | 40 | 460 |
PO File | 1 | 133 | 476 | 150 |
JavaScript | 1 | 20 | 8 | 51 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.16 |
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 | 23 | |
▷ Named functions | 23 | 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
Using a strong compression for your PNG files is a great way to speed-up your plugin
18 PNG files occupy 0.40MB with 0.21MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/images/mail.png | 1.39KB | 0.58KB | ▼ 58.55% |
assets/images/blue-login.png | 36.15KB | 16.38KB | ▼ 54.69% |
assets/images/themes/SimpleFlat.png | 6.39KB | 5.87KB | ▼ 8.19% |
assets/images/pass.png | 1.32KB | 0.54KB | ▼ 59.53% |
assets/images/blur_bg.png | 0.98KB | 0.09KB | ▼ 90.37% |