77% liquid-edge-login-page

Code Review | Liquid Edge Login Page

WordPress plugin Liquid Edge Login Page scored 77% from 54 tests.

About plugin

  • Plugin page: liquid-edge-login...
  • Plugin version: 1.02
  • PHP compatiblity: 5.3+
  • PHP version: 7.4.16
  • WordPress compatibility: 5.2-5.6
  • WordPress version: 6.3.1
  • First release: Mar 19, 2021
  • Latest release: Oct 27, 2021
  • Number of updates: 6
  • Update frequency: every 76.7 days
  • Top authors: warmtape (100%)

Code review

54 tests

User reviews

1 review

Install metrics

60+ active / 472 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | The install procedure must perform silently
Installer ran successfully

Server metrics [RAM: ▲0.04MB] [CPU: ▲0.03ms] Passed 4 tests

Analyzing server-side resources used by Liquid Edge Login Page
Server-side resource usage in normal parameters
PageMemory (MB)CPU Time (ms)
Home /3.49 ▲0.0340.48 ▲1.42
Dashboard /wp-admin3.36 ▲0.0648.50 ▲3.67
Posts /wp-admin/edit.php3.47 ▲0.1252.41 ▲8.22
Add New Post /wp-admin/post-new.php5.94 ▲0.0583.64 ▼7.60
Media Library /wp-admin/upload.php3.26 ▲0.0335.57 ▲2.63
Login Page /wp-admin/options-general.php?page=login_page3.2331.58

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

Input-output and database impact of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 3 new files
Database: no new tables, 6 new options
New WordPress options
widget_theysaidso_widget
widget_recent-posts
db_upgraded
theysaidso_admin_options
can_compress_scripts
widget_recent-comments

Browser metrics Passed 4 tests

A check of browser resources used by Liquid Edge Login Page
Normal browser usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,961 ▲20414.92 ▲0.361.75 ▼0.2547.11 ▲2.86
Dashboard /wp-admin2,366 ▲1786.62 ▲1.73130.90 ▲16.8840.25 ▼0.92
Posts /wp-admin/edit.php2,269 ▲1803.50 ▲1.4849.49 ▲12.3330.07 ▼0.27
Add New Post /wp-admin/post-new.php1,531 ▲1223.02 ▼0.55634.57 ▼44.7136.60 ▼23.79
Media Library /wp-admin/upload.php1,411 ▲264.40 ▲0.1280.84 ▼49.9643.69 ▼11.07
Login Page /wp-admin/options-general.php?page=login_page1,3363.6863.2225.26

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

🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
The following items require your attention
  • This plugin does not fully uninstall, leaving 6 options in the database
    • db_upgraded
    • widget_recent-posts
    • widget_theysaidso_widget
    • can_compress_scripts
    • widget_recent-comments
    • theysaidso_admin_options

Smoke tests 50% from 4 tests

Server-side errors 0% from 1 test

🔹 Test weight: 20 | This is a shallow check for server-side errors
Please fix the following server-side errors
  • 5 occurences, only the last one shown
    • > GET request to /wp-admin/options-general.php?page=login_page
    • > Notice in wp-content/plugins/liquid-edge-login-page/led-login-page.php+123
    Trying to access array offset on value of type bool

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
Please fix the following items
  • 1× GET requests to PHP files return non-empty strings:
    • > /wp-content/plugins/liquid-edge-login-page/led-login-page.php

User-side errors Passed 1 test

🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
There were no browser issues found

Optimizations

Plugin configuration 86% from 29 tests

readme.txt Passed 16 tests

Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
2 plugin tags: login, customization

liquid-edge-login-page/led-login-page.php 69% from 13 tests

The main PHP script in "Liquid Edge Login Page" version 1.02 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 ("liquid-edge-login-page.php" instead of "led-login-page.php")
  • Text Domain: The text domain must be the same as the plugin slug, although optional since WordPress version 4.6
  • Requires PHP: Required version must be the same as the one declared in readme.txt ("7.0" instead of "5.3")
  • Requires at least: Required version must be the same as the one declared in readme.txt ("4.7" instead of "5.2")

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 plugin184 lines of code in 2 files:
LanguageFilesBlank linesComment linesLines of code
PHP13818179
JavaScript1205

PHP code Passed 2 tests

An overview of cyclomatic complexity and code structure
There were no cyclomatic complexity issued detected
Cyclomatic complexity
Average complexity per logical line of code0.14
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%
Functions13
▷ Named functions13100.00%
▷ Anonymous functions00.00%
Constants0
▷ Global constants00.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
No PNG files were detected