83% easy-login-styler

Code Review | Easy Login Styler - White Label Admin Login Page for WordPress

WordPress plugin Easy Login Styler - White Label Admin Login Page for WordPress scored83%from 54 tests.

About plugin

  • Plugin page: easy-login-styler
  • Plugin version: 1.0.6
  • PHP version: 7.4.16
  • WordPress compatibility: 4.0-5.0
  • WordPress version: 6.3.1
  • First release: Mar 1, 2017
  • Latest release: Oct 24, 2018
  • Number of updates: 9
  • Update frequency: every 65.4 days
  • Top authors: phpbits (100%)

Code review

54 tests

User reviews

81 reviews

Install metrics

2,000+ active /21,507 total downloads

Benchmarks

Plugin footprint 82% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed gracefully, with no errors

Server metrics [RAM: ▲0.07MB] [CPU: ▼3.24ms] Passed 4 tests

A check of server-side resources used by Easy Login Styler - White Label Admin Login Page for WordPress
Normal server usage
PageMemory (MB)CPU Time (ms)
Home /3.49 ▲0.0342.55 ▼0.45
Dashboard /wp-admin3.39 ▲0.0949.63 ▼9.59
Posts /wp-admin/edit.php3.51 ▲0.1550.57 ▲4.45
Add New Post /wp-admin/post-new.php5.97 ▲0.0998.48 ▼4.33
Media Library /wp-admin/upload.php3.31 ▲0.0937.94 ▲1.43
Easy Login Styler /wp-admin/index.php?page=easy-login-styler--welcome3.2832.39
Easy Login Styler /wp-admin/options-general.php?page=easy_login_styler_plugin_settings3.3153.88

Server storage [IO: ▲2.10MB] [DB: ▲0.00MB] 67% from 3 tests

Filesystem and database footprint
These are issues you should consider
  • You have illegally modified 1 file (4.00KB) outside of "wp-content/plugins/easy-login-styler/" and "wp-content/uploads/"
    • (new file) wp-content/mgd_mirror/mgd_maximinodotpy-gitdown-test-repository
Filesystem: 17 new files
Database: no new tables, 7 new options
New WordPress options
db_upgraded
easy_login_styler_installDate
theysaidso_admin_options
widget_recent-comments
can_compress_scripts
widget_recent-posts
widget_theysaidso_widget

Browser metrics Passed 4 tests

An overview of browser requirements for Easy Login Styler - White Label Admin Login Page for WordPress
This plugin renders optimally with no browser resource issues detected
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,852 ▲9113.75 ▼1.041.79 ▼0.1232.22 ▼16.03
Dashboard /wp-admin2,225 ▲284.87 ▼1.02103.86 ▼3.2341.42 ▲2.30
Posts /wp-admin/edit.php2,104 ▲11.99 ▼0.0435.92 ▼4.0433.50 ▼4.19
Add New Post /wp-admin/post-new.php1,557 ▲1218.31 ▼4.82593.75 ▼107.9471.92 ▲17.27
Media Library /wp-admin/upload.php1,404 ▲44.24 ▼0.0097.26 ▼16.8047.21 ▲2.39
Easy Login Styler /wp-admin/index.php?page=easy-login-styler--welcome1,83013.62333.54104.68
Easy Login Styler /wp-admin/options-general.php?page=easy_login_styler_plugin_settings1,6839.17275.2849.01

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

🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
These items require your attention
  • Zombie WordPress options detected upon uninstall: 7 options
    • easy_login_styler_installDate
    • widget_recent-comments
    • can_compress_scripts
    • widget_recent-posts
    • db_upgraded
    • widget_theysaidso_widget
    • theysaidso_admin_options

Smoke tests 75% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
The smoke test was a success, however most plugin functionality was not tested

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 have triggered server-side errors or warnings:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_action() in wp-content/plugins/easy-login-styler/includes/login-functions.php:8

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 86% from 29 tests

readme.txt 94% from 16 tests

The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
These attributes need your attention:
  • Screenshots: Please add images for these screenshots: #1 (Default login page after activation), #2 (After uploading Logo & Background Image), #3 (Settings Page)
You can look at the official readme.txt

easy-login-styler/plugin.php 77% from 13 tests

This is the main PHP file of "Easy Login Styler - White Label Admin Login Page for WordPress" version 1.0.6, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
Please make the necessary changes and fix the following:
  • Domain Path: The domain path must begin with a forward slash character ("/languages")
  • Main file name: The principal plugin file should be the same as the plugin slug ("easy-login-styler.php" instead of "plugin.php")
  • Domain Path: The domain path follows the same naming rules as the domain name, using only dashes and lowercase characters ("languages")

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
Good job! No executable or dangerous file extensions detected630 lines of code in 9 files:
LanguageFilesBlank linesComment linesLines of code
PHP780157501
Sass194128
CSS1001

PHP code Passed 2 tests

An overview of cyclomatic complexity and code structure
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity
Average complexity per logical line of code0.55
Average class complexity6.50
▷ Minimum class complexity4.00
▷ Maximum class complexity9.00
Average method complexity2.22
▷ Minimum method complexity1.00
▷ Maximum method complexity6.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes2
▷ Abstract classes00.00%
▷ Concrete classes2100.00%
▷ Final classes150.00%
Methods9
▷ Static methods111.11%
▷ Public methods777.78%
▷ Protected methods00.00%
▷ Private methods222.22%
Functions16
▷ Named functions16100.00%
▷ Anonymous functions00.00%
Constants5
▷ Global constants5100.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
There were not PNG files found in your plugin