84% beautiful-login-page

Code Review | Beautiful Login Page

WordPress plugin Beautiful Login Page scored84%from 54 tests.

About plugin

  • Plugin page: beautiful-login-page
  • Plugin version: 3.0.1
  • PHP compatiblity: 3.6.0+
  • PHP version: 7.4.16
  • WordPress compatibility: 3.0.1-5.4.1
  • WordPress version: 6.3.1
  • First release: Jan 9, 2018
  • Latest release: Sep 18, 2020
  • Number of updates: 41
  • Update frequency: every 24.2 days
  • Top authors: wolffganglemos (100%)

Code review

54 tests

User reviews

1 review

Install metrics

20+ active /1,049 total downloads


Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Install script ran successfully

Server metrics [RAM: ▲0.08MB] [CPU: ▼6.15ms] Passed 4 tests

This is a short check of server-side resources used by Beautiful Login Page
This plugin has minimal impact on server resources
PageMemory (MB)CPU Time (ms)
Home /3.54 ▲0.0839.91 ▲3.81
Dashboard /wp-admin3.41 ▲0.0648.35 ▼13.68
Posts /wp-admin/edit.php3.52 ▲0.1652.27 ▲7.25
Add New Post /wp-admin/post-new.php5.98 ▲0.1083.80 ▼13.63
Media Library /wp-admin/upload.php3.31 ▲0.0833.40 ▼1.11

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

Filesystem and database footprint
No storage issues were detected
Filesystem: 13 new files
Database: no new tables, 6 new options
New WordPress options

Browser metrics Passed 4 tests

Checking browser requirements for Beautiful Login Page
This plugin has a minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,983 ▲22214.86 ▲0.451.77 ▲0.2346.98 ▲6.98
Dashboard /wp-admin2,366 ▲1866.39 ▲0.73118.02 ▲31.1439.17 ▼1.20
Posts /wp-admin/edit.php2,301 ▲2013.56 ▲1.5858.77 ▲22.8834.56 ▼2.83
Add New Post /wp-admin/post-new.php1,552 ▲2423.98 ▲0.93669.77 ▲8.1441.63 ▼13.44
Media Library /wp-admin/upload.php1,441 ▲384.35 ▲0.1484.79 ▼15.1543.17 ▼2.53

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
The following items require your attention
  • Zombie WordPress options detected upon uninstall: 6 options
    • db_upgraded
    • widget_theysaidso_widget
    • theysaidso_admin_options
    • widget_recent-comments
    • can_compress_scripts
    • widget_recent-posts

Smoke tests 75% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | This is a shallow check for server-side errors
The smoke test was a success, however most plugin functionality was not tested

SRP 50% from 2 tests

🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Almost there! Just fix the following items
  • 1× GET requests to PHP files trigger server-side errors or Error 500 responses:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function plugin_dir_url() in wp-content/plugins/beautiful-login-page/beautiful-login-page.php:14

User-side errors Passed 1 test

🔹 Test weight: 20 | This is a shallow check for browser errors
No browser issues were found


Plugin configuration 96% from 29 tests

readme.txt Passed 16 tests

The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
4 plugin tags: form, blp, beautiful login page, login page

beautiful-login-page/beautiful-login-page.php 92% from 13 tests

"Beautiful Login Page" version 3.0.1's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
It is important to fix the following:
  • Domain Path: The domain path folder was not found ("/languages")

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
Success! There were no dangerous files found in this plugin1,031 lines of code in 5 files:
LanguageFilesBlank linesComment linesLines of code
PO File1283566

PHP code Passed 2 tests

An overview of cyclomatic complexity and code structure
No complexity issues detected
Cyclomatic complexity
Average complexity per logical line of code0.32
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 functions14100.00%
▷ Anonymous functions00.00%
▷ Global constants1100.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
2 PNG files occupy 0.03MB with 0.01MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant
FileSize - originalSize - compressedSavings
img/blp-logo-central.png28.57KB11.25KB▼ 60.63%
img/blp-login.png5.25KB3.80KB▼ 27.56%