74% uber-login-logo

Code Review | Uber Login Logo

WordPress plugin Uber Login Logo scored74%from 54 tests.

About plugin

  • Plugin page: uber-login-logo
  • Plugin version: 1.5.1
  • PHP version: 7.4.16
  • WordPress compatibility: 3.5-4.0
  • WordPress version: 6.3.1
  • First release: Jun 5, 2011
  • Latest release: Sep 28, 2014
  • Number of updates: 27
  • Update frequency: every 45.0 days
  • Top authors: uberweb (100%)

Code review

54 tests

User reviews

41 reviews

Install metrics

20,000+ active /216,105 total downloads

Benchmarks

Plugin footprint 65% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
Installer ran successfully

Server metrics [RAM: ▲0.01MB] [CPU: ▼3.33ms] Passed 4 tests

This is a short check of server-side resources used by Uber Login Logo
This plugin has minimal impact on server resources
PageMemory (MB)CPU Time (ms)
Home /3.48 ▲0.0239.12 ▼0.81
Dashboard /wp-admin3.32 ▲0.0149.48 ▲0.71
Posts /wp-admin/edit.php3.37 ▲0.0147.20 ▼3.03
Add New Post /wp-admin/post-new.php5.90 ▲0.0183.77 ▼7.68
Media Library /wp-admin/upload.php3.24 ▲0.0135.94 ▼1.81
Uber Login Logo /wp-admin/options-general.php?page=uber-login-logo/uber-login-logo.php3.2132.35

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

A short overview of filesystem and database impact
This plugin was installed successfully
Filesystem: 13 new files
Database: no new tables, 6 new options
New WordPress options
db_upgraded
widget_recent-posts
widget_theysaidso_widget
widget_recent-comments
theysaidso_admin_options
can_compress_scripts

Browser metrics Passed 4 tests

An overview of browser requirements for Uber Login Logo
There were no issues detected in relation to browser resource usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,804 ▲6913.26 ▼1.011.59 ▼0.1439.07 ▼2.33
Dashboard /wp-admin2,213 ▲284.85 ▼1.01109.00 ▲5.6839.63 ▼0.34
Posts /wp-admin/edit.php2,093 ▲12.04 ▲0.0139.92 ▼0.7334.73 ▼1.04
Add New Post /wp-admin/post-new.php1,540 ▲723.23 ▲0.05648.02 ▼8.3160.83 ▲5.53
Media Library /wp-admin/upload.php1,389 ▼24.18 ▼0.11101.48 ▲4.1645.65 ▲2.13
Uber Login Logo /wp-admin/options-general.php?page=uber-login-logo/uber-login-logo.php1,0883.9682.9326.98

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

🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
The following items require your attention
  • Incomplete uninstall procedure, leaving 13 files (0.11MB) in the plugin directory
    • (new file) readme.txt
    • (new file) screenshot-2.png
    • (new file) languages/uber-login-logo-es_ES.po
    • (new file) languages/uber-login-logo-sr_RS.po
    • (new file) languages/uber-login-logo.pot
    • (new file) languages/uber-login-logo-fr_FR.po
    • (new file) languages/uber-login-logo-fr_FR.mo
    • (new file) languages/uber-login-logo-sr_RS.mo
    • (new file) screenshot-1.png
    • (new file) languages/uber-login-logo-es_ES.mo
    • ...
  • Zombie WordPress options were found after uninstall: 6 options
    • widget_recent-posts
    • widget_theysaidso_widget
    • theysaidso_admin_options
    • db_upgraded
    • can_compress_scripts
    • widget_recent-comments

Smoke tests 75% 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
    • > GET request to /wp-admin/options-general.php?page=uber-login-logo/uber-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=uber-login-logo/uber-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: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
The SRP test was a success

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

readme.txt 88% from 16 tests

The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
These attributes need your attention:
  • Screenshots: Please add images for these screenshots: #1 (How awesome your login screen could look after using this plugin.), #2 (The oh so simple settings page.)
  • Tags: You are using too many tags: 11 tag instead of maximum 10
You can take inspiration from this readme.txt

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

Analyzing the main PHP file in "Uber Login Logo" version 1.5.1
23 characters long description:
Change your login logo.

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
Everything looks great! No dangerous files found in this plugin315 lines of code in 6 files:
LanguageFilesBlank linesComment linesLines of code
PO File34854157
PHP140105152
JavaScript1005
CSS1001

PHP code Passed 2 tests

An overview of cyclomatic complexity and code structure
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity
Average complexity per logical line of code0.24
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 Passed 2 tests

Image compression Passed 2 tests

It is recommended to compress PNG files in your plugin to minimize bandwidth usage
2 PNG files occupy 0.08MB with 0.04MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant
FileSize - originalSize - compressedSavings
screenshot-1.png12.40KB7.19KB▼ 41.98%
screenshot-2.png70.29KB29.54KB▼ 57.98%