89% remove-pesky-site-icon

Code Review | Remove Pesky Site Icon

WordPress plugin Remove Pesky Site Icon scored 89% from 54 tests.

About plugin

  • Plugin page: remove-pesky-site...
  • Plugin version: 1.1.0
  • PHP version: 7.4.16
  • WordPress compatibility: 2.1.0-6.3
  • WordPress version: 6.3.1
  • First release: Jun 15, 2023
  • Latest release: Aug 24, 2023
  • Number of updates: 6
  • Update frequency: every 152.8 days
  • Top authors: cutlermcmartin (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active / 191 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
The plugin installed successfully, without throwing any errors or notices

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

An overview of server-side resources used by Remove Pesky Site Icon
This plugin has minimal impact on server resources
PageMemory (MB)CPU Time (ms)
Home /3.47 ▲0.0133.78 ▼5.68
Dashboard /wp-admin3.31 ▲0.0147.21 ▼0.95
Posts /wp-admin/edit.php3.36 ▲0.0044.45 ▼3.36
Add New Post /wp-admin/post-new.php5.89 ▲0.0094.86 ▼3.98
Media Library /wp-admin/upload.php3.23 ▲0.0033.15 ▼0.38

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

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

Browser metrics Passed 4 tests

Remove Pesky Site Icon: an overview of browser usage
This plugin has a minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,802 ▲6713.22 ▼1.391.62 ▼0.1038.33 ▼9.38
Dashboard /wp-admin2,210 ▲225.89 ▼0.0292.98 ▼10.9741.13 ▼0.31
Posts /wp-admin/edit.php2,090 ▼22.04 ▲0.0436.65 ▼1.9333.67 ▼0.85
Add New Post /wp-admin/post-new.php1,543 ▲2318.38 ▼4.74648.67 ▲23.8852.58 ▲2.76
Media Library /wp-admin/upload.php1,389 ▲14.19 ▲0.0293.34 ▼8.2340.84 ▼3.19

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

🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
The following items require your attention
  • Zombie WordPress options detected upon uninstall: 6 options
    • widget_theysaidso_widget
    • widget_recent-posts
    • widget_recent-comments
    • db_upgraded
    • can_compress_scripts
    • theysaidso_admin_options

Smoke tests Passed 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Even though no errors were found, this is by no means an exhaustive test

SRP Passed 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
Everything seems fine, however this is by no means an exhaustive test

User-side errors Passed 1 test

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

Optimizations

Plugin configuration 93% from 29 tests

readme.txt 88% from 16 tests

It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
Please fix the following attributes:
  • Plugin Name: You should set the name of your plugin on the first line ( === remove-pesky-site-icon === )
  • Donate link: Please fix this invalid URI: ""
You can take inspiration from this readme.txt

remove-pesky-site-icon/remove-pesky-site-icon.php Passed 13 tests

The main file in "Remove Pesky Site Icon" v. 1.1.0 serves as a complement to information provided in readme.txt and as the entry point to the plugin
41 characters long description:
This plugin removes that pesky site icon.

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
No dangerous file extensions were detected11 lines of code in 2 files:
LanguageFilesBlank linesComment linesLines of code
PHP293611

PHP code Passed 2 tests

Analyzing logical lines of code, cyclomatic complexity, and other code metrics
This plugin has no cyclomatic complexity issues
Cyclomatic complexity
Average complexity per logical line of code0.20
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%
Constants1
▷ Global constants1100.00%
▷ Class constants00.00%
▷ Public constants00.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
There were not PNG files found in your plugin