78% arrow-login-page

Code Review | Custom Login Page Customizer | admin login, client login and forgot password forms/pages

WordPress plugin Custom Login Page Customizer | admin login, client login and forgot password forms/pages scored 78% from 54 tests.

About plugin

  • Plugin page: arrow-login-page
  • Plugin version: 1.0.2
  • PHP version: 7.4.16
  • WordPress compatibility: 4.0-5.1
  • WordPress version: 6.3.1
  • First release: Sep 24, 2018
  • Latest release: Nov 1, 2019
  • Number of updates: 31
  • Update frequency: every 14.7 days
  • Top authors: arrowplugins (100%)

Code review

54 tests

User reviews

3 reviews

Install metrics

100+ active / 4,841 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
This plugin's installer ran successfully

Server metrics [RAM: ▲0.17MB] [CPU: ▼2.99ms] Passed 4 tests

Server-side resources used by Custom Login Page Customizer | admin login, client login and forgot password forms/pages
Server-side resource usage in normal parameters
PageMemory (MB)CPU Time (ms)
Home /3.63 ▲0.1736.18 ▼3.13
Dashboard /wp-admin3.48 ▲0.1743.74 ▼3.77
Posts /wp-admin/edit.php3.59 ▲0.2344.97 ▼3.68
Add New Post /wp-admin/post-new.php6.06 ▲0.1787.45 ▼1.39
Media Library /wp-admin/upload.php3.40 ▲0.1735.56 ▲0.90
Arrow Login Page Customizer /wp-admin/themes.php?page=arrow_login_page_customizer3.4933.17
Support /wp-admin/admin.php?page=arrow_login_page_customizer_support3.4030.48
Arrow Login /wp-admin/admin.php?page=arrow_login_page_customizer3.3730.51

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

How much does this plugin use your filesystem and database?
There were no storage issued detected upon installing this plugin
Filesystem: 27 new files
Database: no new tables, 7 new options
New WordPress options
db_upgraded
can_compress_scripts
widget_theysaidso_widget
theysaidso_admin_options
widget_recent-comments
arrowPluginFirstTime
widget_recent-posts

Browser metrics Passed 4 tests

Custom Login Page Customizer | admin login, client login and forgot password forms/pages: an overview of browser usage
This plugin renders optimally with no browser resource issues detected
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,834 ▲9914.78 ▲0.381.77 ▼0.0245.16 ▲5.65
Dashboard /wp-admin2,230 ▲425.83 ▲0.9298.49 ▼14.2239.27 ▼4.51
Posts /wp-admin/edit.php2,113 ▲212.02 ▼0.0834.44 ▼11.8834.08 ▼2.68
Add New Post /wp-admin/post-new.php1,555 ▲2223.59 ▲0.49679.94 ▼26.6061.36 ▲4.54
Media Library /wp-admin/upload.php1,415 ▲274.22 ▼0.0098.24 ▼11.1642.88 ▼3.33
Arrow Login Page Customizer /wp-admin/themes.php?page=arrow_login_page_customizer8142.0623.7626.41
Support /wp-admin/admin.php?page=arrow_login_page_customizer_support8831.7025.8137.30
Arrow Login /wp-admin/admin.php?page=arrow_login_page_customizer8142.0323.6724.13

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
It is recommended to fix the following
  • Zombie WordPress options detected upon uninstall: 7 options
    • theysaidso_admin_options
    • widget_recent-posts
    • can_compress_scripts
    • widget_theysaidso_widget
    • arrowPluginFirstTime
    • widget_recent-comments
    • db_upgraded

Smoke tests 50% from 4 tests

Server-side errors 0% from 1 test

🔹 Test weight: 20 | A smoke test targeting server-side errors
Smoke test failed, please fix the following
    • > GET request to /wp-admin/admin.php?page=arrow_login_page_customizer_support
    • > Notice in wp-content/plugins/arrow-login-page/includes/arrowlogin-support-page.php+462
    Undefined variable: _SESSION

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
  • 3× PHP files trigger server errors when accessed directly:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_action() in wp-content/plugins/arrow-login-page/includes/arrowlogin_customizer.php:1427
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_action() in wp-content/plugins/arrow-login-page/includes/arrowlogin_option_menu.php:2
    • > PHP Fatal error
      Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/arrow-login-page/arrowlogin-customize.php:14

User-side errors Passed 1 test

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

Optimizations

Plugin configuration 96% from 29 tests

readme.txt Passed 16 tests

You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
8 plugin tags: custom login, login customizer, login page, login, video background...

arrow-login-page/arrowlogin-customize.php 92% from 13 tests

The main PHP script in "Custom Login Page Customizer | admin login, client login and forgot password forms/pages" version 1.0.2 is automatically included on every request by WordPress
Please take the time to fix the following:
  • Main file name: It is recommended to name the main PHP file as the plugin slug ("arrow-login-page.php" instead of "arrowlogin-customize.php")

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
There were no executable files found in this plugin1,484 lines of code in 7 files:
LanguageFilesBlank linesComment linesLines of code
PHP53834471,417
JavaScript113635
CSS13032

PHP code Passed 2 tests

Cyclomatic complexity and code structure are the fingerprint of this plugin
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity
Average complexity per logical line of code0.29
Average class complexity3.50
▷ Minimum class complexity1.00
▷ Maximum class complexity6.00
Average method complexity2.25
▷ Minimum method complexity1.00
▷ Maximum method complexity6.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes2
▷ Abstract classes00.00%
▷ Concrete classes2100.00%
▷ Final classes00.00%
Methods4
▷ Static methods00.00%
▷ Public methods375.00%
▷ Protected methods125.00%
▷ Private methods00.00%
Functions30
▷ Named functions2480.00%
▷ Anonymous functions620.00%
Constants4
▷ Global constants4100.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

It is recommended to compress PNG files in your plugin to minimize bandwidth usage
4 PNG files occupy 0.28MB with 0.06MB in potential savings
Potential savings
Compression of 4 random PNG files using pngquant
FileSize - originalSize - compressedSavings
includes/images/template1_bootstrap_bg.png280.17KB310.66KB0.00%
includes/images/user.png0.36KB0.42KB0.00%
includes/images/wp_grey.png4.90KB3.42KB▼ 30.27%
includes/images/template1_bootstrap_logo.png2.95KB1.43KB▼ 51.47%