88% customize-login-page

Code Review | Customize Login Page

WordPress plugin Customize Login Page scored 88% from 54 tests.

About plugin

  • Plugin page: customize-login-page
  • Plugin version: 1.1
  • PHP version: 7.4.16
  • WordPress compatibility: 3.0.1-5.6
  • WordPress version: 5.8.1
  • First release: Sep 7, 2015
  • Latest release: Nov 24, 2020
  • Number of updates: 27
  • Update frequency: every 70.6 days
  • Top authors: AboZain (100%)

Code review

54 tests

User reviews

5 reviews

Install metrics

1,000+ active / 7,444 total downloads


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
PageMemory (MB)CPU Time (ms)
Home /2.86 ▲0.1430.73 ▲11.78
Dashboard /wp-admin3.10 ▲0.0549.01 ▲7.39
Posts /wp-admin/edit.php3.22 ▲0.1143.45 ▲6.98
Add New Post /wp-admin/post-new.php5.44 ▲0.0185.39 ▼563.20
Media Library /wp-admin/upload.php3.03 ▲0.0331.60 ▼1.24
Customize Login Page /wp-admin/options-general.php?page=customize-login-page3.0031.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
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /3,894 ▲28817.41 ▲1.4210.38 ▼0.0545.13 ▼0.00
Dashboard /wp-admin3,171 ▲2377.95 ▲1.97160.85 ▲21.82114.12 ▼3.57
Posts /wp-admin/edit.php2,963 ▲2274.14 ▲1.4478.67 ▲15.8385.73 ▼3.17
Add New Post /wp-admin/post-new.php1,875 ▲319.23 ▲0.06354.07 ▼45.51107.57 ▲2.98
Media Library /wp-admin/upload.php1,812 ▲54.80 ▼0.25109.96 ▼35.87115.68 ▲0.10
Customize Login Page /wp-admin/options-general.php?page=customize-login-page1,3983.3272.7469.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

User-side errors Passed 1 test

🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser errors were detected


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: The official readme.txt is a good inspiration

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:
LanguageFilesBlank linesComment linesLines of code
PO File15710931

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 code0.22
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
▷ Abstract classes00.00%
▷ Concrete classes00.00%
▷ Final classes00.00%
▷ Static methods00.00%
▷ Public methods00.00%
▷ Protected methods00.00%
▷ Private methods00.00%
▷ Named functions7100.00%
▷ Anonymous functions00.00%
▷ Global constants00.00%
▷ Class constants00.00%
▷ Public constants00.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
FileSize - originalSize - compressedSavings
texture.png220.31KB131.44KB▼ 40.34%