84% wp-custom-login-page-logo

Code Review | WP Custom Admin Login Page Logo

WordPress plugin WP Custom Admin Login Page Logo scored84%from 54 tests.

About plugin

  • Plugin page: wp-custom-login-p...
  • Plugin version: 1.4.8.4
  • PHP version: 7.4.16
  • WordPress compatibility: 3.3-4.9.1
  • WordPress version: 6.3.1
  • First release: Jul 29, 2014
  • Latest release: Dec 8, 2018
  • Number of updates: 80
  • Update frequency: every 19.9 days
  • Top authors: larsactionhero (100%)

Code review

54 tests

User reviews

9 reviews

Install metrics

7,000+ active /86,475 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
The plugin installed successfully, without throwing any errors or notices

Server metrics [RAM: ▲0.06MB] [CPU: ▼2.89ms] Passed 4 tests

A check of server-side resources used by WP Custom Admin Login Page Logo
No issues were detected with server-side resource usage
PageMemory (MB)CPU Time (ms)
Home /3.52 ▲0.0543.52 ▼0.74
Dashboard /wp-admin3.37 ▲0.0653.54 ▼1.75
Posts /wp-admin/edit.php3.49 ▲0.1250.45 ▲2.49
Add New Post /wp-admin/post-new.php5.95 ▲0.0685.18 ▼11.54
Media Library /wp-admin/upload.php3.29 ▲0.0639.39 ▲6.10

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

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

Browser metrics Passed 4 tests

WP Custom Admin Login Page Logo: an overview of browser usage
There were no issues detected in relation to browser resource usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,903 ▲14214.60 ▼0.011.93 ▲0.3545.78 ▲1.23
Dashboard /wp-admin2,199 ▲255.54 ▲0.0381.87 ▼11.1138.05 ▼0.84
Posts /wp-admin/edit.php2,104 ▲42.02 ▲0.0236.01 ▼2.0837.12 ▼1.80
Add New Post /wp-admin/post-new.php1,531 ▲523.45 ▲0.56674.75 ▲38.0264.25 ▲8.28
Media Library /wp-admin/upload.php1,404 ▲74.27 ▲0.02114.09 ▲11.5247.52 ▲4.05
Custom Login Page Logo /wp-admin/wp-custom-login-page-logo.php260.420.1914.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
It is recommended to fix the following
  • This plugin did not uninstall successfully, leaving 6 options in the database
    • theysaidso_admin_options
    • db_upgraded
    • can_compress_scripts
    • widget_recent-posts
    • widget_recent-comments
    • widget_theysaidso_widget

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)
Everything seems fine, however this is by no means an exhaustive test

SRP Passed 2 tests

🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Everything seems fine, however this is by no means an exhaustive test

User-side errors 0% from 1 test

🔹 Test weight: 20 | This is a shallow check for browser errors
There are user-side issues you should fix
    • > GET request to /wp-admin/wp-custom-login-page-logo.php
    • > Network (severe)
    wp-admin/wp-custom-login-page-logo.php - Failed to load resource: the server responded with a status of 404 (Not Found)

Optimizations

Plugin configuration Passed 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
10 plugin tags: change login logo, admin logo, custom admin logo, add client logo to login page, custom login page...

wp-custom-login-page-logo/wp-custom-login-page-logo.php Passed 13 tests

The main PHP file in "WP Custom Admin Login Page Logo" ver. 1.4.8.4 adds more information about the plugin and also serves as the entry point for this plugin
49 characters long description:
Customize the admin logo on /wp-admin login page.

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
Good job! No executable or dangerous file extensions detected739 lines of code in 6 files:
LanguageFilesBlank linesComment linesLines of code
PHP1154167297
PO File27997209
CSS1233174
JavaScript229959

PHP code Passed 2 tests

Cyclomatic complexity and code structure are the fingerprint of this plugin
There were no cyclomatic complexity issued detected
Cyclomatic complexity
Average complexity per logical line of code0.26
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%
Functions20
▷ Named functions20100.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
There were not PNG files found in your plugin