89% emojical-comment-with-emoji

Code Review | EmojiCal comment with emoji

WordPress plugin EmojiCal comment with emoji scored89%from 54 tests.

About plugin

  • Plugin page: emojical-comment-...
  • Plugin version: 1.2
  • PHP compatiblity: 7.2+
  • PHP version: 7.4.16
  • WordPress compatibility: 4.7-6.3.2
  • WordPress version: 6.3.1
  • First release: Aug 23, 2023
  • Latest release: Oct 26, 2023
  • Number of updates: 13
  • Update frequency: every 5.5 days
  • Top authors: emojical (100%)

Code review

54 tests

User reviews

2 reviews

Install metrics

10+ active /156 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.02MB] [CPU: ▲1.37ms] Passed 4 tests

A check of server-side resources used by EmojiCal comment with emoji
Server-side resource usage in normal parameters
PageMemory (MB)CPU Time (ms)
Home /3.49 ▲0.0237.17 ▼0.06
Dashboard /wp-admin3.33 ▲0.0253.65 ▲8.25
Posts /wp-admin/edit.php3.38 ▲0.0246.65 ▲2.28
Add New Post /wp-admin/post-new.php5.91 ▲0.0283.66 ▼1.14
Media Library /wp-admin/upload.php3.26 ▲0.0235.27 ▲4.38

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

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

Browser metrics Passed 4 tests

Checking browser requirements for EmojiCal comment with emoji
There were no issues detected in relation to browser resource usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,789 ▲2814.35 ▼0.031.73 ▲0.0947.30 ▲1.12
Dashboard /wp-admin2,198 ▲215.56 ▼0.0194.29 ▲5.6741.49 ▲1.52
Posts /wp-admin/edit.php2,100 ▼01.94 ▼0.0937.11 ▲0.2936.93 ▼0.21
Add New Post /wp-admin/post-new.php1,526 ▼923.12 ▲4.79667.17 ▲48.1856.62 ▼11.32
Media Library /wp-admin/upload.php1,400 ▼04.20 ▲0.01107.76 ▲7.9447.73 ▲2.66

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
You still need to fix the following
  • Zombie WordPress options were found after uninstall: 6 options
    • theysaidso_admin_options
    • db_upgraded
    • widget_theysaidso_widget
    • can_compress_scripts
    • widget_recent-comments
    • widget_recent-posts

Smoke tests Passed 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though no errors were found, this is by no means an exhaustive test

SRP Passed 2 tests

🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
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 errors were detected

Optimizations

Plugin configuration 90% from 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
5 plugin tags: emoji, insert emoji, emoji meaning, comment, comment form

emojical-comment-with-emoji/index.php 77% from 13 tests

The primary PHP file in "EmojiCal comment with emoji" version 1.2 is used by WordPress to initiate all plugin functionality
The following require your attention:
  • Text Domain: Please use dashes and lowercase characters for text domains
  • Main file name: Name the main plugin file the same as the plugin slug ("emojical-comment-with-emoji.php" instead of "index.php")
  • Requires PHP: Required version does not match the one declared in readme.txt ("7.0" instead of "7.2")

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 detected165 lines of code in 2 files:
LanguageFilesBlank linesComment linesLines of code
PHP21826165

PHP code Passed 2 tests

Analyzing 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.18
Average class complexity2.00
▷ Minimum class complexity2.00
▷ Maximum class complexity2.00
Average method complexity1.20
▷ Minimum method complexity1.00
▷ Maximum method complexity2.00
Code structure
Namespaces1
Interfaces0
Traits0
Classes1
▷ Abstract classes00.00%
▷ Concrete classes1100.00%
▷ Final classes00.00%
Methods5
▷ Static methods00.00%
▷ Public methods5100.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

Often times overlooked, PNG files can occupy unnecessary space in your plugin
There are no PNG files in this plugin