83% blue-login-style

Code Review | Blue Login Style

WordPress plugin Blue Login Style scored83%from 54 tests.

About plugin

  • Plugin page: blue-login-style
  • Plugin version: 1.4.0
  • PHP version: 7.4.16
  • WordPress compatibility: 3.5-4.1
  • WordPress version: 6.3.1
  • First release: Dec 13, 2013
  • Latest release: Dec 26, 2014
  • Number of updates: 21
  • Update frequency: every 18.1 days
  • Top authors: alimir (100%)

Code review

54 tests

User reviews

17 reviews

Install metrics

600+ active /28,021 total downloads

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
PageMemory (MB)CPU Time (ms)
Home /3.59 ▲0.1243.53 ▲0.02
Dashboard /wp-admin3.43 ▲0.0866.41 ▼2.10
Posts /wp-admin/edit.php3.55 ▲0.1961.01 ▲12.85
Add New Post /wp-admin/post-new.php6.02 ▲0.1284.81 ▼25.70
Media Library /wp-admin/upload.php3.34 ▲0.1135.51 ▲0.18
Login Themes /wp-admin/admin.php?page=blue-login-themes3.3338.98
About Blue Login /wp-admin/admin.php?page=about-blue-login3.3335.83
Login Options /wp-admin/admin.php?page=blue-login-options3.3436.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
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,953 ▲19214.66 ▲0.351.75 ▲0.0845.36 ▲4.71
Dashboard /wp-admin2,365 ▲1886.21 ▲0.64119.85 ▲30.5442.90 ▼0.27
Posts /wp-admin/edit.php2,293 ▲1933.34 ▲1.3757.13 ▲19.6536.42 ▼0.43
Add New Post /wp-admin/post-new.php1,567 ▲3623.44 ▲0.11657.44 ▼16.3537.67 ▼24.99
Media Library /wp-admin/upload.php1,433 ▲334.13 ▼0.0684.56 ▼24.3641.51 ▼5.69
Login Themes /wp-admin/admin.php?page=blue-login-themes1,1873.0139.9588.57
About Blue Login /wp-admin/admin.php?page=about-blue-login1,0563.0040.7365.65
Login Options /wp-admin/admin.php?page=blue-login-options1,3983.5649.9940.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

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:
LanguageFilesBlank linesComment linesLines of code
CSS10173124914
PHP79540460
PO File1133476150
JavaScript120851

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 code0.16
Average class complexity0.00
▷ Minimum class complexity0.00
▷ Maximum class complexity0.00
Average method complexity0.00
▷ Minimum method complexity0.00
▷ Maximum method complexity0.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes0
▷ Abstract classes00.00%
▷ Concrete classes00.00%
▷ Final classes00.00%
Methods0
▷ Static methods00.00%
▷ Public methods00.00%
▷ Protected methods00.00%
▷ Private methods00.00%
Functions23
▷ Named functions23100.00%
▷ Anonymous functions00.00%
Constants0
▷ Global constants00.00%
▷ Class constants00.00%
▷ Public constants00.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
FileSize - originalSize - compressedSavings
assets/images/mail.png1.39KB0.58KB▼ 58.55%
assets/images/blue-login.png36.15KB16.38KB▼ 54.69%
assets/images/themes/SimpleFlat.png6.39KB5.87KB▼ 8.19%
assets/images/pass.png1.32KB0.54KB▼ 59.53%
assets/images/blur_bg.png0.98KB0.09KB▼ 90.37%