78% easy-logo-link-change

Code Review | Easy Logo Link Change

WordPress plugin Easy Logo Link Change scored78%from 54 tests.

About plugin

  • Plugin page: easy-logo-link-ch...
  • Plugin version: 1.0.1
  • PHP compatiblity: 5.6.20+
  • PHP version: 7.4.16
  • WordPress compatibility: 5.4-5.4.2
  • WordPress version: 6.3.1
  • First release: Jul 1, 2020
  • Latest release: Jul 2, 2020
  • Number of updates: 6
  • Update frequency: N/A
  • Top authors: joemclarke (100%)

Code review

54 tests

User reviews

2 reviews

Install metrics

2,000+ active /7,988 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.01MB] [CPU: ▼4.00ms] Passed 4 tests

Server-side resources used by Easy Logo Link Change
This plugin does not affect your website's performance
PageMemory (MB)CPU Time (ms)
Home /3.47 ▲0.0138.57 ▲0.27
Dashboard /wp-admin3.32 ▲0.0145.20 ▼2.87
Posts /wp-admin/edit.php3.37 ▲0.0142.18 ▼9.18
Add New Post /wp-admin/post-new.php5.90 ▲0.0190.17 ▼4.20
Media Library /wp-admin/upload.php3.24 ▲0.0136.03 ▲0.66
Set Logo Link /wp-admin/options-general.php?page=easylogolinkchange3.1829.78

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

Filesystem and database footprint
This plugin was installed successfully
Filesystem: 2 new files
Database: no new tables, 7 new options
New WordPress options
theysaidso_admin_options
widget_recent-posts
widget_recent-comments
db_upgraded
widget_theysaidso_widget
can_compress_scripts
easylogolinkchange_url

Browser metrics Passed 4 tests

Checking browser requirements for Easy Logo Link Change
Normal browser usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,804 ▲5813.60 ▼0.611.79 ▲0.0142.00 ▼3.88
Dashboard /wp-admin2,207 ▲225.80 ▼0.1098.80 ▼3.3338.87 ▼5.22
Posts /wp-admin/edit.php2,093 ▲12.00 ▲0.0133.28 ▼6.9234.49 ▼0.50
Add New Post /wp-admin/post-new.php1,517 ▼317.86 ▼5.31589.74 ▼79.3947.48 ▼14.06
Media Library /wp-admin/upload.php1,395 ▲104.23 ▼0.0593.49 ▼0.4839.93 ▼2.06
Set Logo Link /wp-admin/options-general.php?page=easylogolinkchange7862.0323.8827.67

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

🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
These items require your attention
  • Zombie WordPress options were found after uninstall: 7 options
    • db_upgraded
    • widget_theysaidso_widget
    • widget_recent-posts
    • theysaidso_admin_options
    • widget_recent-comments
    • easylogolinkchange_url
    • can_compress_scripts

Smoke tests 50% from 4 tests

Server-side errors 0% from 1 test

🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Smoke test failed, please fix the following
    • > GET request to /wp-admin/options-general.php?page=easylogolinkchange
    • > 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=easylogolinkchange
    • > User deprecated in wp-includes/functions.php+5463
    Function get_screen_icon is deprecated since version 3.8.0 with no alternative available.

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
  • 1× PHP files trigger server errors when accessed directly:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/easy-logo-link-change/easylogolinkchange.php:16

User-side errors Passed 1 test

🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine on the user side

Optimizations

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: logo url, logo link, customize logo url, logo link url, change logo url...

easy-logo-link-change/easylogolinkchange.php 92% from 13 tests

"Easy Logo Link Change" version 1.0.1's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
The following require your attention:
  • Main file name: The principal plugin file should be the same as the plugin slug ("easy-logo-link-change.php" instead of "easylogolinkchange.php")

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
Good job! No executable or dangerous file extensions detected40 lines of code in 1 file:
LanguageFilesBlank linesComment linesLines of code
PHP141540

PHP code Passed 2 tests

This plugin's cyclomatic complexity and code structure detailed below
This plugin has no cyclomatic complexity issues
Cyclomatic complexity
Average complexity per logical line of code0.00
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%
Functions4
▷ Named functions4100.00%
▷ Anonymous functions00.00%
Constants0
▷ Global constants00.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

All PNG images should be compressed to minimize bandwidth usage for end users
No PNG files were detected