84% disable-emojis

Code Review | Disable Emojis (GDPR friendly)

WordPress plugin Disable Emojis (GDPR friendly) scored84%from 54 tests.

About plugin

  • Plugin page: disable-emojis
  • Plugin version: 1.7.6
  • PHP version: 7.4.16
  • WordPress compatibility: 4.8-6.4
  • WordPress version: 6.3.1
  • First release: Mar 22, 2015
  • Latest release: Sep 14, 2023
  • Number of updates: 30
  • Update frequency: every 103.3 days
  • Top authors: ryanhellyer (100%)

Code review

54 tests

User reviews

103 reviews

Install metrics

70,000+ active /786,817 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
Install script ran successfully

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

Server-side resources used by Disable Emojis (GDPR friendly)
Server-side resource usage in normal parameters
PageMemory (MB)CPU Time (ms)
Home /3.46 ▼0.0036.11 ▼18.23
Dashboard /wp-admin3.31 ▲0.0046.87 ▼0.08
Posts /wp-admin/edit.php3.36 ▲0.0048.69 ▼3.50
Add New Post /wp-admin/post-new.php5.89 ▲0.0085.77 ▼8.37
Media Library /wp-admin/upload.php3.23 ▲0.0035.96 ▲0.39

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

Analyzing filesystem and database footprints of this plugin
The plugin installed successfully
Filesystem: 4 new files
Database: no new tables, 6 new options
New WordPress options
db_upgraded
widget_recent-posts
theysaidso_admin_options
can_compress_scripts
widget_recent-comments
widget_theysaidso_widget

Browser metrics Passed 4 tests

Checking browser requirements for Disable Emojis (GDPR friendly)
This plugin has a minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,794 ▲4813.20 ▼1.381.39 ▼0.5143.51 ▲2.02
Dashboard /wp-admin2,206 ▲154.83 ▼0.03104.48 ▼2.7041.07 ▼7.58
Posts /wp-admin/edit.php2,092 ▼02.01 ▼0.0237.28 ▼1.4435.06 ▼3.13
Add New Post /wp-admin/post-new.php1,537 ▲323.08 ▼0.00666.77 ▼6.6054.75 ▼8.40
Media Library /wp-admin/upload.php1,385 ▼34.20 ▲0.0099.40 ▼7.3645.15 ▲0.30

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

🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
The following items require your attention
  • This plugin does not fully uninstall, leaving 6 options in the database
    • can_compress_scripts
    • db_upgraded
    • widget_theysaidso_widget
    • widget_recent-posts
    • theysaidso_admin_options
    • widget_recent-comments

Smoke tests 75% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Good news, no errors were detected

SRP 50% from 2 tests

🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
The following issues need your attention
  • 1× GET requests to PHP files trigger server-side errors or Error 500 responses:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_action() in wp-content/plugins/disable-emojis/disable-emojis.php:45

User-side errors Passed 1 test

🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine on the user side

Optimizations

Plugin configuration Passed 29 tests

readme.txt Passed 16 tests

Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
3 plugin tags: gdpr, disable, emojis

disable-emojis/disable-emojis.php Passed 13 tests

Analyzing the main PHP file in "Disable Emojis (GDPR friendly)" version 1.7.6
30 characters long description:
Disable Emojis (GDPR friendly)

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
No dangerous file extensions were detected42 lines of code in 2 files:
LanguageFilesBlank linesComment linesLines of code
PHP1143930
JSON10012

PHP code Passed 2 tests

This plugin's cyclomatic complexity and code structure detailed below
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity
Average complexity per logical line of code0.27
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%
Functions3
▷ Named functions3100.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