52% feather-login-page

Code Review | Custom Login Page | Temporary Users | Rebrand Login | Login Captcha

WordPress plugin Custom Login Page | Temporary Users | Rebrand Login | Login Captcha scored52%from 54 tests.

About plugin

  • Plugin page: feather-login-page
  • Plugin version: 1.1.3
  • PHP compatiblity: 5.6+
  • PHP version: 7.4.16
  • WordPress compatibility: 3.4-6.2
  • WordPress version: 6.3.1
  • First release: Sep 5, 2020
  • Latest release: Jul 9, 2023
  • Number of updates: 32
  • Update frequency: every 32.7 days
  • Top authors: featherplugins (100%)

Code review

54 tests

User reviews

3 reviews

Install metrics

1,000+ active /12,257 total downloads

Benchmarks

Plugin footprint 65% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
This plugin's installer ran successfully

Server metrics [RAM: ▲0.40MB] [CPU: ▼5.40ms] Passed 4 tests

A check of server-side resources used by Custom Login Page | Temporary Users | Rebrand Login | Login Captcha
This plugin has minimal impact on server resources
PageMemory (MB)CPU Time (ms)
Home /3.87 ▲0.4041.72 ▲5.73
Dashboard /wp-admin3.71 ▲0.3648.12 ▼15.40
Posts /wp-admin/edit.php3.83 ▲0.4649.50 ▲6.92
Add New Post /wp-admin/post-new.php6.31 ▲0.4284.88 ▼11.00
Media Library /wp-admin/upload.php3.64 ▲0.4035.76 ▼0.91
Custom Login URL /wp-admin/admin.php?page=custom-login-url-ftlp3.6034.43
Feather Login Designer /wp-admin/admin.php?page=plbp_feather-login-page3.7641.85
Limit Login Attempts /wp-admin/admin.php?page=limit-login-attempts-ftlp3.6031.87
Expirable Login Link /wp-admin/admin.php?page=expirable-login-link3.6032.08

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

Filesystem and database footprint
No storage issues were detected
Filesystem: 61 new files
Database: 1 new table, 8 new options
New tables
ftlp_limitlogin_attempts_logs
New WordPress options
widget_recent-posts
flpp_ext_limit_login_attempts_database_table
can_compress_scripts
flpp_ext_customloginurl_secretcode
widget_recent-comments
theysaidso_admin_options
db_upgraded
widget_theysaidso_widget

Browser metrics Passed 4 tests

Checking browser requirements for Custom Login Page | Temporary Users | Rebrand Login | Login Captcha
This plugin renders optimally with no browser resource issues detected
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,832 ▲7114.42 ▲0.161.70 ▲0.1340.40 ▲1.09
Dashboard /wp-admin2,219 ▲455.58 ▲0.0184.44 ▼2.6174.89 ▲33.88
Posts /wp-admin/edit.php2,142 ▲421.98 ▲0.0134.11 ▼3.1433.01 ▼1.67
Add New Post /wp-admin/post-new.php1,570 ▲4220.96 ▼1.96738.61 ▲46.5956.14 ▲4.46
Media Library /wp-admin/upload.php1,433 ▲364.19 ▲0.06103.18 ▼1.6866.54 ▲24.42
Custom Login URL /wp-admin/admin.php?page=custom-login-url-ftlp8732.1624.6525.48
Feather Login Designer /wp-admin/admin.php?page=plbp_feather-login-page13,5275.83310.35139.14
Limit Login Attempts /wp-admin/admin.php?page=limit-login-attempts-ftlp8671.9924.1923.42
Expirable Login Link /wp-admin/admin.php?page=expirable-login-link9492.4639.0528.76

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

🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
You still need to fix the following
  • Zombie tables were found after uninstall: 1 table
    • ftlp_limitlogin_attempts_logs
  • Zombie WordPress options detected upon uninstall: 8 options
    • db_upgraded
    • can_compress_scripts
    • flpp_ext_limit_login_attempts_database_table
    • widget_recent-posts
    • flpp_ext_customloginurl_secretcode
    • theysaidso_admin_options
    • widget_recent-comments
    • widget_theysaidso_widget

Smoke tests 25% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | A smoke test targeting server-side errors
The smoke test was a success, however most plugin functionality was not tested

SRP 0% from 2 tests

🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Please fix the following items
  • 1× GET requests to PHP files return non-empty strings:
    • > /wp-content/plugins/feather-login-page/features/inc/admin/views/expirable-login-link-view.php
  • 4× PHP files trigger server-side errors or warnings when accessed directly:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function esc_attr() in wp-content/plugins/feather-login-page/features/inc/admin/views/custom-login-url-view.php:9
    • > PHP Fatal error
      Uncaught Error: Call to undefined function FeatherLoginPagePro\\add_action() in wp-content/plugins/feather-login-page/features/common-functions.php:5
    • > PHP Fatal error
      Uncaught Error: Call to undefined function esc_attr() in wp-content/plugins/feather-login-page/features/inc/admin/views/limit-login-attempts.php:10
    • > PHP Fatal error
      Uncaught Error: Call to undefined function FeatherLoginPagePro\\plugin_dir_path() in wp-content/plugins/feather-login-page/features/config.php:36

User-side errors 0% from 1 test

🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Please fix the following browser errors
    • > GET request to /wp-admin/admin.php?page=plbp_feather-login-page
    • > Network (severe)
    https://fonts.googleapis.com/css?family=sans-serif:300,400,700 - Failed to load resource: the server responded with a status of 400 ()
    • > GET request to /wp-admin/admin.php?page=plbp_feather-login-page
    • > Network (severe)
    https://featherplugins.com/wp-content/uploads/2020/08/w-logo-blue.png - Failed to load resource: net::ERR_NAME_NOT_RESOLVED

Optimizations

Plugin configuration 93% from 29 tests

readme.txt 94% from 16 tests

Often overlooked, readme.txt is one of the most important files in your plugin
Attributes that need to be fixed: The official readme.txt is a good inspiration

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

This is the main PHP file of "Custom Login Page | Temporary Users | Rebrand Login | Login Captcha" version 1.1.3, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
You should first fix the following items:
  • Requires at least: Required version must match the one declared in readme.txt ("3.7" instead of "3.4")

Code Analysis 3% from 3 tests

File types 0% from 1 test

🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
These items require your attention
  • You should never include executable (binary) or otherwise dangerous files in your plugin
    • .lnk - File Shortcut in Windows
      • wp-content/plugins/feather-login-page/init/feather-login-page - Shortcut.lnk
9,523 lines of code in 37 files:
LanguageFilesBlank linesComment linesLines of code
JavaScript141,3842925,303
PHP182,170883,318
CSS513938902

PHP code 50% from 2 tests

Cyclomatic complexity and code structure are the fingerprint of this plugin
Please fix the following
  • Cyclomatic complexity of methods should be reduced to less than 100 (currently 263)
Cyclomatic complexity
Average complexity per logical line of code0.45
Average class complexity62.17
▷ Minimum class complexity2.00
▷ Maximum class complexity296.00
Average method complexity6.93
▷ Minimum method complexity1.00
▷ Maximum method complexity263.00
Code structure
Namespaces1
Interfaces0
Traits0
Classes6
▷ Abstract classes00.00%
▷ Concrete classes6100.00%
▷ Final classes00.00%
Methods66
▷ Static methods1218.18%
▷ Public methods6293.94%
▷ Protected methods00.00%
▷ Private methods46.06%
Functions8
▷ Named functions225.00%
▷ Anonymous functions675.00%
Constants4
▷ Global constants4100.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

Often times overlooked, PNG files can occupy unnecessary space in your plugin
16 PNG files occupy 0.45MB with 0.14MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant
FileSize - originalSize - compressedSavings
admin/images/icons/Artboard-1.png9.60KB4.16KB▼ 56.62%
admin/images/icons/feather-login.png25.87KB9.20KB▼ 64.43%
admin/libraries/jquery/images/ui-icons_454545_256x240.png6.91KB4.18KB▼ 39.44%
admin/images/templates/07.png37.61KB37.80KB0.00%
admin/images/templates/01.png93.33KB95.32KB0.00%