89% disable-wp-emoji-icons

Code Review | Disable WP Emoji Icons

WordPress plugin Disable WP Emoji Icons scored89%from 54 tests.

About plugin

  • Plugin page: disable-wp-emoji-...
  • Plugin version: 1.0.0
  • PHP version: 7.4.16
  • WordPress compatibility: 3.0.1-5.7.2
  • WordPress version: 6.3.1
  • First release: Dec 21, 2016
  • Latest release: Jul 9, 2021
  • Number of updates: 7
  • Update frequency: every 237.0 days
  • Top authors: gr8nilay (100%)

Code review

54 tests

User reviews

1 review

Install metrics

200+ active /2,086 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
The plugin installed successfully, without throwing any errors or notices

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

This is a short check of server-side resources used by Disable WP Emoji Icons
Normal server usage
PageMemory (MB)CPU Time (ms)
Home /3.47 ▲0.0131.25 ▼9.93
Dashboard /wp-admin3.32 ▲0.0144.08 ▼5.63
Posts /wp-admin/edit.php3.37 ▲0.0147.99 ▲3.03
Add New Post /wp-admin/post-new.php5.90 ▲0.0190.30 ▼6.96
Media Library /wp-admin/upload.php3.24 ▲0.0133.18 ▲2.86

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

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

Browser metrics Passed 4 tests

Disable WP Emoji Icons: an overview of browser usage
This plugin renders optimally with no browser resource issues detected
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,794 ▲5913.28 ▼1.371.36 ▼0.4138.94 ▼4.97
Dashboard /wp-admin2,206 ▲204.85 ▼0.08108.65 ▼10.6441.71 ▼2.77
Posts /wp-admin/edit.php2,092 ▲31.98 ▼0.0441.27 ▲3.1035.69 ▲3.16
Add New Post /wp-admin/post-new.php1,519 ▼2323.13 ▲4.99625.13 ▲11.0049.33 ▼19.81
Media Library /wp-admin/upload.php1,388 ▲34.20 ▲0.0396.59 ▼8.8243.91 ▲0.26

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

🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
It is recommended to fix the following
  • Zombie WordPress options were found after uninstall: 6 options
    • widget_recent-posts
    • db_upgraded
    • theysaidso_admin_options
    • widget_recent-comments
    • can_compress_scripts
    • widget_theysaidso_widget

Smoke tests Passed 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Even though everything seems fine, this is not 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
No output text or server-side errors detected on direct access of PHP files

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

readme.txt 94% from 16 tests

The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
Please fix the following attributes:
  • Plugin Name: "Plugin Name" should be replaced with the name of your plugin on the first line ( === disable-wp-emoji-icons === )
The official readme.txt is a good inspiration

disable-wp-emoji-icons/disable-wp-emojicons.php 77% from 13 tests

The principal PHP file in "Disable WP Emoji Icons" v. 1.0.0 is loaded by WordPress automatically on each request
Please make the necessary changes and fix the following:
  • Text Domain: If you choose to specify the text domain, it must be the same as the plugin slug; optional since WordPress version 4.6
  • Main file name: It is recommended to name the main PHP file as the plugin slug ("disable-wp-emoji-icons.php" instead of "disable-wp-emojicons.php")
  • Description: Please keep the plugin description shorter than 140 characters (currently 146 characters long)

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
No dangerous file extensions were detected37 lines of code in 3 files:
LanguageFilesBlank linesComment linesLines of code
PHP3173637

PHP code Passed 2 tests

This is a very shot review of cyclomatic complexity and code structure
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity
Average complexity per logical line of code0.16
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

PNG files should be compressed to save space and minimize bandwidth usage
There are no PNG files in this plugin