84% login-logo-editor-by-oizuled

Code Review | Login Logo Editor

WordPress plugin Login Logo Editor scored84%from 54 tests.

About plugin

  • Plugin page: login-logo-editor...
  • Plugin version: 1.3.3
  • PHP version: 7.4.16
  • WordPress compatibility: 3.5-6.2
  • WordPress version: 6.3.1
  • First release: Dec 12, 2013
  • Latest release: May 3, 2023
  • Number of updates: 38
  • Update frequency: every 90.2 days
  • Top authors: scott.deluzio (97.37%)ampmode (5.26%)

Code review

54 tests

User reviews

10 reviews

Install metrics

2,000+ active /31,475 total downloads


Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed gracefully, with no errors

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

A check of server-side resources used by Login Logo Editor
This plugin has minimal impact on server resources
PageMemory (MB)CPU Time (ms)
Home /3.47 ▲0.0138.76 ▼0.50
Dashboard /wp-admin3.32 ▲0.0249.54 ▼1.64
Posts /wp-admin/edit.php3.37 ▲0.0147.81 ▲5.56
Add New Post /wp-admin/post-new.php5.90 ▲0.0181.98 ▼23.67
Media Library /wp-admin/upload.php3.24 ▲0.0132.04 ▼1.94
Login Logo /wp-admin/options-general.php?page=login_logo_editor3.2934.99

Server storage [IO: ▲0.05MB] [DB: ▲0.07MB] Passed 3 tests

A short overview of filesystem and database impact
This plugin was installed successfully
Filesystem: 9 new files
Database: no new tables, 10 new options
New WordPress options

Browser metrics Passed 4 tests

Login Logo Editor: an overview of browser usage
This plugin has a minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,796 ▲5013.20 ▼1.431.57 ▼0.3537.91 ▼5.42
Dashboard /wp-admin2,210 ▲215.86 ▲0.9896.62 ▼8.6537.45 ▼4.28
Posts /wp-admin/edit.php2,093 ▲42.05 ▲0.0138.93 ▼1.1334.24 ▼2.82
Add New Post /wp-admin/post-new.php1,531 ▲323.41 ▲4.98674.75 ▲70.6651.47 ▼1.63
Media Library /wp-admin/upload.php1,395 ▲104.18 ▼0.0191.32 ▼8.5340.42 ▼3.76
Login Logo /wp-admin/options-general.php?page=login_logo_editor1,0863.1539.0856.54

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

🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
It is recommended to fix the following
  • Zombie WordPress options were found after uninstall: 6 options
    • theysaidso_admin_options
    • widget_theysaidso_widget
    • widget_recent-comments
    • widget_recent-posts
    • can_compress_scripts
    • db_upgraded

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)
Even though everything seems fine, this is not an exhaustive test

SRP 50% from 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
Please take a closer look at the following
  • 2× GET requests to PHP files trigger server-side errors or Error 500 responses:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_action() in wp-content/plugins/login-logo-editor-by-oizuled/login-logo-by-oizuled.php:33
    • > PHP Fatal error
      Uncaught Error: Call to undefined function _e() in wp-content/plugins/login-logo-editor-by-oizuled/options.php:4

User-side errors Passed 1 test

🔹 Test weight: 20 | This is a shallow check for browser errors
No browser errors were detected


Plugin configuration 96% from 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
6 plugin tags: customize, login screen, logo, login, plugin...

login-logo-editor-by-oizuled/login-logo-by-oizuled.php 92% from 13 tests

"Login Logo Editor" version 1.3.3's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
Please take the time to fix the following:
  • Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("login-logo-editor-by-oizuled.php" instead of "login-logo-by-oizuled.php")

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
Everything looks great! No dangerous files found in this plugin228 lines of code in 4 files:
LanguageFilesBlank linesComment linesLines of code

PHP code Passed 2 tests

Analyzing cyclomatic complexity and code structure
No cyclomatic complexity issues were detected for this plugin
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
▷ Abstract classes00.00%
▷ Concrete classes00.00%
▷ Final classes00.00%
▷ Static methods00.00%
▷ Public methods00.00%
▷ Protected methods00.00%
▷ Private methods00.00%
▷ Named functions12100.00%
▷ Anonymous functions00.00%
▷ Global constants00.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

PNG files should be compressed to save space and minimize bandwidth usage
2 PNG files occupy 0.01MB with 0.00MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant
FileSize - originalSize - compressedSavings
w-logo-blue.png4.60KB3.09KB▼ 32.80%