84% big-emoji-comments

Code Review | Big Emoji Comments

WordPress plugin Big Emoji Comments scored 84% from 54 tests.

About plugin

  • Plugin page: big-emoji-comments
  • Plugin version: 1.0.0
  • PHP version: 7.4.16
  • WordPress compatibility: 4.4+
  • WordPress version: 6.3.1
  • First release: Mar 24, 2016
  • Latest release: Mar 23, 2016
  • Number of updates: 2
  • Update frequency: N/A
  • Top authors: georgestephanis (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active / 1,351 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 gracefully, with no errors

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

A check of server-side resources used by Big Emoji Comments
Normal server usage
PageMemory (MB)CPU Time (ms)
Home /3.47 ▲0.0138.14 ▲3.99
Dashboard /wp-admin3.31 ▲0.0148.62 ▲4.20
Posts /wp-admin/edit.php3.36 ▲0.0145.78 ▲1.69
Add New Post /wp-admin/post-new.php5.89 ▲0.0189.90 ▼11.95
Media Library /wp-admin/upload.php3.24 ▲0.0138.40 ▲3.34

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

Input-output and database impact of this plugin
No storage issues were detected
Filesystem: 2 new files
Database: no new tables, 6 new options
New WordPress options
can_compress_scripts
widget_recent-posts
widget_recent-comments
theysaidso_admin_options
db_upgraded
widget_theysaidso_widget

Browser metrics Passed 4 tests

Big Emoji Comments: an overview of browser usage
This plugin renders optimally with no browser resource issues detected
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,800 ▲5413.17 ▼1.361.74 ▲0.0942.14 ▲0.10
Dashboard /wp-admin2,203 ▲115.90 ▲0.95108.07 ▼3.6041.93 ▲2.53
Posts /wp-admin/edit.php2,068 ▼212.03 ▲0.0434.06 ▼3.0333.42 ▲1.69
Add New Post /wp-admin/post-new.php1,547 ▲2818.15 ▼5.37613.10 ▲9.0075.41 ▲27.68
Media Library /wp-admin/upload.php1,385 ▼04.15 ▼0.0496.77 ▼6.4542.50 ▼2.59

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 detected upon uninstall: 6 options
    • db_upgraded
    • widget_recent-comments
    • can_compress_scripts
    • widget_theysaidso_widget
    • theysaidso_admin_options
    • widget_recent-posts

Smoke tests 75% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Even though everything seems fine, this is not an exhaustive test

SRP 50% from 2 tests

🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Please fix the following items
  • 1× GET requests to PHP files trigger server-side errors or Error 500 responses:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/big-emoji-comments/big-emoji-comments.php:13

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

readme.txt 94% from 16 tests

The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
Attributes that require attention:
  • Tested up to: Invalid plugin version format
The official readme.txt is a good inspiration

big-emoji-comments/big-emoji-comments.php Passed 13 tests

This is the main PHP file of "Big Emoji Comments" version 1.0.0, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
72 characters long description:
If someone leaves a comment comprised entirely of emoji, make it bigger.

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
Success! There were no dangerous files found in this plugin252 lines of code in 1 file:
LanguageFilesBlank linesComment linesLines of code
PHP11019252

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.56
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

Using a strong compression for your PNG files is a great way to speed-up your plugin
No PNG images were found in this plugin