90% customized-login

Code Review | Customize Login Page - WordPress Default Login Page Customizer

WordPress plugin Customize Login Page - WordPress Default Login Page Customizer scored90%from 54 tests.

About plugin

  • Plugin page: customized-login
  • Plugin version: 1.5.1
  • PHP compatiblity: 7.0+
  • PHP version: 7.4.16
  • WordPress compatibility: 4.4-6.4
  • WordPress version: 6.3.1
  • First release: Feb 14, 2023
  • Latest release: Nov 23, 2023
  • Number of updates: 46
  • Update frequency: every 6.1 days
  • Top authors: mehrazmorshed (100%)

Code review

54 tests

User reviews

2 reviews

Install metrics

20+ active /558 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
The plugin installed successfully, without throwing any errors or notices

Server metrics [RAM: ▲0.03MB] [CPU: ▼1.30ms] Passed 4 tests

A check of server-side resources used by Customize Login Page - WordPress Default Login Page Customizer
This plugin does not affect your website's performance
PageMemory (MB)CPU Time (ms)
Home /3.49 ▲0.0338.51 ▼1.71
Dashboard /wp-admin3.34 ▲0.0347.00 ▼2.87
Posts /wp-admin/edit.php3.39 ▲0.0350.73 ▲3.37
Add New Post /wp-admin/post-new.php5.92 ▲0.0382.01 ▼3.98
Media Library /wp-admin/upload.php3.26 ▲0.0335.44 ▲4.25

Server storage [IO: ▲0.92MB] [DB: ▲0.00MB] Passed 3 tests

Input-output and database impact of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 10 new files
Database: no new tables, 6 new options
New WordPress options
db_upgraded
widget_theysaidso_widget
widget_recent-comments
widget_recent-posts
theysaidso_admin_options
can_compress_scripts

Browser metrics Passed 4 tests

Checking browser requirements for Customize Login Page - WordPress Default Login Page Customizer
There were no issues detected in relation to browser resource usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,803 ▲5614.21 ▼0.521.71 ▲0.0144.74 ▲0.84
Dashboard /wp-admin2,204 ▲305.53 ▼0.0985.15 ▼7.6643.34 ▲0.11
Posts /wp-admin/edit.php2,118 ▲181.96 ▼0.0039.04 ▲2.6636.51 ▲5.76
Add New Post /wp-admin/post-new.php1,541 ▲1523.00 ▼0.60579.35 ▼21.7855.72 ▲5.58
Media Library /wp-admin/upload.php1,415 ▲124.16 ▼0.0199.07 ▼0.1943.89 ▲1.63

Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests

🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
These items require your attention
  • Zombie WordPress options detected upon uninstall: 6 options
    • db_upgraded
    • widget_recent-comments
    • theysaidso_admin_options
    • widget_theysaidso_widget
    • can_compress_scripts
    • widget_recent-posts

Smoke tests Passed 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | This is a shallow check for server-side errors
Good news, no errors were detected

SRP Passed 2 tests

🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
No output text or server-side errors detected on direct access of PHP files

User-side errors Passed 1 test

🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine, but this is not an exhaustive test

Optimizations

Plugin configuration 96% from 29 tests

readme.txt Passed 16 tests

Often overlooked, readme.txt is one of the most important files in your plugin
5 plugin tags: customize login page, custom login page, login page design, login page customizer, login page customize

customized-login/customized-login.php 92% from 13 tests

The entry point to "Customize Login Page - WordPress Default Login Page Customizer" version 1.5.1 is a PHP file that has certain tags in its header comment area
You should first fix the following items:
  • 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 | A short check of programming languages and file extensions; no executable files are allowed
Good job! No executable or dangerous file extensions detected317 lines of code in 4 files:
LanguageFilesBlank linesComment linesLines of code
CSS22115178
PHP23138139

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.07
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%
Functions8
▷ Named functions8100.00%
▷ Anonymous functions00.00%
Constants0
▷ Global constants00.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

PNG files should be compressed to save space and minimize bandwidth usage
2 PNG files occupy 0.17MB with 0.12MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant
FileSize - originalSize - compressedSavings
img/author.png110.64KB37.40KB▼ 66.20%
img/logo.png68.30KB15.84KB▼ 76.81%