84% wporlogin

Code Review | WPOrLogin - Personalizar página de inicio de sesión y regístro de WordPress

WordPress plugin WPOrLogin - Personalizar página de inicio de sesión y regístro de WordPress scored 84% from 54 tests.

About plugin

  • Plugin page: wporlogin
  • Plugin version: 2.8.4
  • PHP compatiblity: 5.2.4+
  • PHP version: 7.4.16
  • WordPress compatibility: 4.9-6.3.1
  • WordPress version: 6.3.1
  • First release: Apr 16, 2020
  • Latest release: Sep 20, 2023
  • Number of updates: 36
  • Update frequency: every 34.8 days
  • Top authors: oregoom (100%)

Code review

54 tests

User reviews

8 reviews

Install metrics

1,000+ active / 12,131 total downloads

Benchmarks

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.23MB] [CPU: ▲4.26ms] Passed 4 tests

Server-side resources used by WPOrLogin - Personalizar página de inicio de sesión y regístro de WordPress
This plugin has minimal impact on server resources
PageMemory (MB)CPU Time (ms)
Home /3.67 ▲0.2141.61 ▲3.09
Dashboard /wp-admin3.54 ▲0.2452.04 ▲6.86
Posts /wp-admin/edit.php3.66 ▲0.3050.21 ▲4.73
Add New Post /wp-admin/post-new.php6.12 ▲0.24104.39 ▲11.10
Media Library /wp-admin/upload.php3.45 ▲0.2239.14 ▲2.37
Google reCAPTCHA /wp-admin/admin.php?page=recaptcha-wporlogin-plugin3.4436.54
Remove Language /wp-admin/admin.php?page=remove-language-plugin3.4436.37
WPOrLogin /wp-admin/admin.php?page=wporlogin-plugin3.4437.03

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

Input-output and database impact of this plugin
No storage issues were detected
Filesystem: 35 new files
Database: no new tables, 16 new options
New WordPress options
widget_recent-posts
widget_theysaidso_widget
theysaidso_admin_options
wporlogin_url_img_fondo
activa_acceso_recaptcha_v2_wporlogin
wporlogin_width_logotipo_text
wporlogin_design
widget_recent-comments
wporlogin_background_position_logotipo_select
wporlogin_date_5_review
...

Browser metrics Passed 4 tests

WPOrLogin - Personalizar página de inicio de sesión y regístro de WordPress: an overview of browser usage
This plugin has a minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,978 ▲24315.02 ▲0.641.94 ▲0.1936.31 ▼13.14
Dashboard /wp-admin2,381 ▲1966.46 ▲0.58116.42 ▲9.6435.43 ▼6.97
Posts /wp-admin/edit.php2,287 ▲2013.58 ▲1.5750.73 ▲14.5235.67 ▲2.33
Add New Post /wp-admin/post-new.php1,699 ▲15721.98 ▲3.67569.19 ▼79.7830.18 ▼19.17
Media Library /wp-admin/upload.php1,423 ▲324.07 ▼0.1582.36 ▼27.6840.93 ▼7.80
Google reCAPTCHA /wp-admin/admin.php?page=recaptcha-wporlogin-plugin1,1903.1540.7281.99
Remove Language /wp-admin/admin.php?page=remove-language-plugin1,0953.1840.2660.12
WPOrLogin /wp-admin/admin.php?page=wporlogin-plugin1,7153.1040.85117.10

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

🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
The following items require your attention
  • The uninstall procedure has failed, leaving 16 options in the database
    • wporlogin_url_img_fondo
    • wporlogin_background_images
    • wporlogin_background_size_logotipo_select
    • widget_recent-comments
    • db_upgraded
    • widget_theysaidso_widget
    • wporlogin_width_logotipo_text
    • can_compress_scripts
    • activa_registro_recaptcha_v2_wporlogin
    • wporlogin_design
    • ...

Smoke tests 75% from 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 50% from 2 tests

🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
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/wporlogin/wporlogin.php:18

User-side errors Passed 1 test

🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser errors were detected

Optimizations

Plugin configuration Passed 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
8 plugin tags: wordpress login, custom login logo, custom login, login, style login...

wporlogin/wporlogin.php Passed 13 tests

The principal PHP file in "WPOrLogin - Personalizar página de inicio de sesión y regístro de WordPress" v. 2.8.4 is loaded by WordPress automatically on each request
40 characters long description:
Plugin to customize the WordPress login.

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
Everything looks great! No dangerous files found in this plugin2,345 lines of code in 13 files:
LanguageFilesBlank linesComment linesLines of code
CSS5208821,125
PHP55391581,019
PO File13943107
JavaScript2393094

PHP code Passed 2 tests

This is a short overview of cyclomatic complexity and code structure for this plugin
This plugin has no cyclomatic complexity issues
Cyclomatic complexity
Average complexity per logical line of code0.27
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%
Functions37
▷ Named functions37100.00%
▷ Anonymous functions00.00%
Constants2
▷ Global constants2100.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.00MB with 0.00MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant
FileSize - originalSize - compressedSavings
img/logo-wporlogin.png4.85KB1.44KB▼ 70.39%