83% remove-site-icon

Code Review | Remove Site Icon

WordPress plugin Remove Site Icon scored83%from 54 tests.

About plugin

  • Plugin page: remove-site-icon
  • Plugin version: 1...
  • PHP version: 7.4.16
  • WordPress compatibility: 4.9.6-6.1.1
  • WordPress version: 6.3.1
  • First release: Aug 14, 2020
  • Latest release: Dec 13, 2022
  • Number of updates: 7
  • Update frequency: every 122.2 days
  • Top authors: amit5204 (100%)

Code review

54 tests

User reviews

2 reviews

Install metrics

100+ active /1,580 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.00MB] [CPU: ▼10.85ms] Passed 4 tests

This is a short check of server-side resources used by Remove Site Icon
This plugin does not affect your website's performance
PageMemory (MB)CPU Time (ms)
Home /3.46 ▲0.0042.97 ▼7.61
Dashboard /wp-admin3.31 ▲0.0048.64 ▼6.02
Posts /wp-admin/edit.php3.36 ▲0.0050.57 ▼12.90
Add New Post /wp-admin/post-new.php5.89 ▲0.0089.42 ▼16.86
Media Library /wp-admin/upload.php3.23 ▲0.0032.53 ▼3.77

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

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

Browser metrics Passed 4 tests

Remove Site Icon: an overview of browser usage
This plugin has a minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,800 ▲5413.65 ▼0.701.97 ▼0.0241.01 ▼1.23
Dashboard /wp-admin2,209 ▲184.84 ▼0.02107.23 ▲2.8739.03 ▼7.26
Posts /wp-admin/edit.php2,089 ▼02.00 ▼0.0433.95 ▼8.4734.12 ▼1.84
Add New Post /wp-admin/post-new.php1,540 ▲2123.10 ▼0.04651.48 ▼15.5958.15 ▼2.11
Media Library /wp-admin/upload.php1,391 ▲34.20 ▲0.0198.55 ▼20.1244.64 ▼3.63

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

🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
These items require your attention
  • Zombie WordPress options were found after uninstall: 6 options
    • widget_theysaidso_widget
    • theysaidso_admin_options
    • db_upgraded
    • widget_recent-comments
    • widget_recent-posts
    • can_compress_scripts

Smoke tests 75% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | This is a shallow check 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 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Please fix the following items
  • 1× PHP files trigger server errors when accessed directly:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_action() in wp-content/plugins/remove-site-icon/remove-site-icon.php:16

User-side errors Passed 1 test

🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine, but this is not an exhaustive test

Optimizations

Plugin configuration 90% from 29 tests

readme.txt 88% from 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
Attributes that require attention:
  • Plugin Name: Please specify the plugin name on the first line ( === remove-site-icon === )
  • Donate link: Please fix this invalid URI: ""
You can take inspiration from this readme.txt

remove-site-icon/remove-site-icon.php 92% from 13 tests

"Remove Site Icon" version 1...'s main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
The following require your attention:
  • Version: The version number should only use digits and periods (ex. "1.0.3" instead of "1...")

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
No dangerous file extensions were detected9 lines of code in 1 file:
LanguageFilesBlank linesComment linesLines of code
PHP1289

PHP code Passed 2 tests

Analyzing logical lines of code, cyclomatic complexity, and other code metrics
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity
Average complexity per logical line of code0.33
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
No PNG images were found in this plugin