84% wp-favicon-remover

Code Review | WP Favicon Remover

WordPress plugin WP Favicon Remover scored 84% from 54 tests.

About plugin

  • Plugin page: wp-favicon-remover
  • Plugin version: 1.0.2
  • PHP compatiblity: 5.2.4+
  • PHP version: 7.4.16
  • WordPress compatibility: 5.3-5.4
  • WordPress version: 6.3.1
  • First release: Apr 6, 2020
  • Latest release: Apr 11, 2020
  • Number of updates: 12
  • Update frequency: every 0.4 days
  • Top authors: Hiroaki Miyashita (100%)

Code review

54 tests

User reviews

2 reviews

Install metrics

10,000+ active / 17,681 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Installer ran successfully

Server metrics [RAM: ▲0.00MB] [CPU: ▼9.94ms] Passed 4 tests

Server-side resources used by WP Favicon Remover
This plugin does not affect your website's performance
PageMemory (MB)CPU Time (ms)
Home /3.46 ▲0.0140.84 ▼3.78
Dashboard /wp-admin3.31 ▲0.0047.00 ▼3.62
Posts /wp-admin/edit.php3.36 ▲0.0053.58 ▼1.74
Add New Post /wp-admin/post-new.php5.89 ▲0.00110.93 ▼30.63
Media Library /wp-admin/upload.php3.23 ▲0.0035.34 ▼0.60

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

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

Browser metrics Passed 4 tests

Checking browser requirements for WP Favicon Remover
There were no issues detected in relation to browser resource usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,800 ▲6513.21 ▼1.221.78 ▼0.0442.76 ▼5.77
Dashboard /wp-admin2,206 ▲185.88 ▼0.03106.79 ▲4.2441.92 ▲0.65
Posts /wp-admin/edit.php2,089 ▼02.06 ▲0.0338.70 ▲4.9035.43 ▼0.21
Add New Post /wp-admin/post-new.php1,535 ▲2118.21 ▲0.78621.10 ▼54.6579.87 ▲25.51
Media Library /wp-admin/upload.php1,388 ▲34.32 ▲0.1892.46 ▼10.8740.43 ▼4.90

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

🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
Please fix the following items
  • The uninstall procedure has failed, leaving 6 options in the database
    • widget_recent-comments
    • theysaidso_admin_options
    • can_compress_scripts
    • widget_theysaidso_widget
    • db_upgraded
    • widget_recent-posts

Smoke tests 75% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
The smoke test was a success, however most plugin functionality was not tested

SRP 50% from 2 tests

🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Please fix the following
  • 1× PHP files trigger server-side errors or warnings when accessed directly:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_action() in wp-content/plugins/wp-favicon-remover/wp-favicon-remover.php:30

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

readme.txt Passed 16 tests

The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
6 plugin tags: wordpress, delete, 54, ico, favicon...

wp-favicon-remover/wp-favicon-remover.php 85% from 13 tests

The principal PHP file in "WP Favicon Remover" v. 1.0.2 is loaded by WordPress automatically on each request
Please make the necessary changes and fix the following:
  • Domain Path: The domain path follows the same naming rules as the domain name, using only dashes and lowercase characters ("/")
  • Domain Path: Prefix the domain path with a forward slash character ("//")

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
Success! There were no dangerous files found in this plugin6 lines of code in 1 file:
LanguageFilesBlank linesComment linesLines of code
PHP15236

PHP code Passed 2 tests

An short overview of logical lines of code, cyclomatic complexity, and other code metrics
No cyclomatic complexity issues were detected for this plugin
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%
Functions1
▷ Named functions1100.00%
▷ Anonymous functions00.00%
Constants0
▷ 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
There are no PNG files in this plugin