68% wp-login-logo

Code Review | WP Login Logo

WordPress plugin WP Login Logo scored68%from 54 tests.

About plugin

  • Plugin page: wp-login-logo
  • Plugin version: 1.0.4
  • PHP version: 7.4.16
  • WordPress compatibility: 3.5-4.2.2
  • WordPress version: 6.3.1
  • First release: May 22, 2015
  • Latest release: Jun 12, 2015
  • Number of updates: 24
  • Update frequency: every 0.9 days
  • Top authors: Cris9400 (100%)

Code review

54 tests

User reviews

2 reviews

Install metrics

1,000+ active /9,485 total downloads

Benchmarks

Plugin footprint 65% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed successfully, without throwing any errors or notices

Server metrics [RAM: ▲0.05MB] [CPU: ▼3.61ms] Passed 4 tests

Server-side resources used by WP Login Logo
Server-side resource usage in normal parameters
PageMemory (MB)CPU Time (ms)
Home /3.51 ▲0.0643.03 ▼0.64
Dashboard /wp-admin3.35 ▲0.0548.85 ▲3.21
Posts /wp-admin/edit.php3.40 ▲0.0544.85 ▼11.48
Add New Post /wp-admin/post-new.php5.93 ▲0.0590.78 ▼4.30
Media Library /wp-admin/upload.php3.27 ▲0.0539.90 ▲1.97
WP Login Logo /wp-admin/options-general.php?page=wp-login-logo/wp-login-logo.php3.2433.43

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

How much does this plugin use your filesystem and database?
This plugin installed successfully
Filesystem: 10 new files
Database: no new tables, 6 new options
New WordPress options
theysaidso_admin_options
can_compress_scripts
widget_recent-comments
widget_recent-posts
db_upgraded
widget_theysaidso_widget

Browser metrics Passed 4 tests

This is an overview of browser requirements for WP Login Logo
This plugin has a minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,804 ▲4713.34 ▼1.044.26 ▲2.1538.86 ▼6.84
Dashboard /wp-admin2,213 ▲244.87 ▼0.0998.70 ▼9.4941.51 ▲0.01
Posts /wp-admin/edit.php2,096 ▲72.06 ▲0.0036.42 ▼0.8634.73 ▲3.85
Add New Post /wp-admin/post-new.php1,550 ▲1718.15 ▼5.02602.97 ▼68.8773.55 ▲16.78
Media Library /wp-admin/upload.php1,392 ▲44.30 ▲0.0596.57 ▼9.4441.73 ▼2.82
WP Login Logo /wp-admin/options-general.php?page=wp-login-logo/wp-login-logo.php1,3474.0085.6072.56

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

🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
You still need to fix the following
  • Incomplete uninstall procedure, leaving 10 files (0.08MB) in the plugin directory
    • (new file) wp-login-logo.php
    • (new file) screenshot-2.png
    • (new file) languages/wp-login-logo.pot
    • (new file) images/dev_logo.png
    • (new file) screenshot-1.png
    • (new file) readme.txt
    • (new file) screenshot-3.png
    • (new file) wp-login-logo-min.css
    • (new file) screenshot-4.png
    • (new file) wp-login-logo-min.js
  • This plugin does not fully uninstall, leaving 6 options in the database
    • widget_theysaidso_widget
    • theysaidso_admin_options
    • db_upgraded
    • widget_recent-comments
    • widget_recent-posts
    • can_compress_scripts

Smoke tests 50% from 4 tests

Server-side errors 0% from 1 test

🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Please fix the following server-side errors
    • > GET request to /wp-admin/options-general.php?page=wp-login-logo/wp-login-logo.php
    • > User deprecated in wp-includes/functions.php+5463
    Function screen_icon is deprecated since version 3.8.0 with no alternative available.
    • > GET request to /wp-admin/options-general.php?page=wp-login-logo/wp-login-logo.php
    • > User deprecated in wp-includes/functions.php+5463
    Function get_screen_icon is deprecated since version 3.8.0 with no alternative available.

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
Looking good! No server-side errors or output on direct access of PHP files

User-side errors 0% from 1 test

🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Please fix the following user-side errors
    • > GET request to /wp-admin/options-general.php?page=wp-login-logo/wp-login-logo.php
    • > Network (severe)
    http://workstation.nerdnet.it/wp-content/uploads/2015/06/donate-button.png - Failed to load resource: net::ERR_NAME_NOT_RESOLVED

Optimizations

Plugin configuration 93% from 29 tests

readme.txt 88% from 16 tests

The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
These attributes need to be fixed:
  • Screenshots: These screenshots have no corresponding images in /assets: #3 (Menu Version 1.0.2), #4 (How to Works Versions 1.0.2)
  • Tags: Please delete some tags, you are using 11 tag instead of maximum 10
The official readme.txt might help

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

The principal PHP file in "WP Login Logo" v. 1.0.4 is loaded by WordPress automatically on each request
33 characters long description:
Change login logo (wp-login.php).

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
No dangerous file extensions were detected250 lines of code in 3 files:
LanguageFilesBlank linesComment linesLines of code
PHP148105244
JavaScript1005
CSS1001

PHP code Passed 2 tests

This plugin's cyclomatic complexity and code structure detailed below
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity
Average complexity per logical line of code0.22
Average class complexity15.00
▷ Minimum class complexity15.00
▷ Maximum class complexity15.00
Average method complexity2.08
▷ Minimum method complexity1.00
▷ Maximum method complexity5.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes1
▷ Abstract classes00.00%
▷ Concrete classes1100.00%
▷ Final classes00.00%
Methods13
▷ Static methods13100.00%
▷ Public methods13100.00%
▷ Protected methods00.00%
▷ Private methods00.00%
Functions0
▷ Named functions00.00%
▷ Anonymous functions00.00%
Constants2
▷ Global constants00.00%
▷ Class constants2100.00%
▷ Public constants2100.00%

Plugin size 50% from 2 tests

Image compression 50% from 2 tests

Often times overlooked, PNG files can occupy unnecessary space in your plugin
5 PNG files occupy 0.06MB with 0.02MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant
FileSize - originalSize - compressedSavings
images/dev_logo.png22.02KB10.27KB▼ 53.37%
(invalid) screenshot-4.png0.00KB0.00KB0.00%
screenshot-1.png18.04KB9.15KB▼ 49.26%
(invalid) screenshot-3.png0.00KB0.00KB0.00%
screenshot-2.png23.64KB13.76KB▼ 41.77%