83% liquid-speech-balloon

Code Review | LIQUID SPEECH BALLOON

WordPress plugin LIQUID SPEECH BALLOON scored 83% from 54 tests.

About plugin

  • Plugin page: liquid-speech-bal...
  • Plugin version: 1.2.1
  • PHP version: 7.4.16
  • WordPress compatibility: 5.0.0-6.2
  • WordPress version: 6.3.1
  • First release: Feb 4, 2019
  • Latest release: Apr 12, 2023
  • Number of updates: 48
  • Update frequency: every 31.9 days
  • Top authors: lqd (100%)

Code review

54 tests

User reviews

6 reviews

Install metrics

10,000+ active / 108,171 total downloads

Benchmarks

Plugin footprint 82% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
This plugin's installer ran successfully

Server metrics [RAM: ▲0.07MB] [CPU: ▲993.26ms] 50% from 4 tests

A check of server-side resources used by LIQUID SPEECH BALLOON
Please have a look at the following items
  • CPU: Total CPU usage should be kept under 500.00ms (currently 1,409.99ms on /wp-admin/options-general.php?page=liquid-speech-balloon)
  • Extra CPU: The extra CPU usage should be kept under 200.00ms (currently 993.26ms on /wp-admin/options-general.php?page=liquid-speech-balloon)
PageMemory (MB)CPU Time (ms)
Home /3.51 ▲0.0638.81 ▼3.80
Dashboard /wp-admin3.43 ▲0.131,669.12 ▲1,618.80
Posts /wp-admin/edit.php3.48 ▲0.121,357.02 ▲1,309.38
Add New Post /wp-admin/post-new.php5.94 ▲0.061,413.28 ▲1,317.49
Media Library /wp-admin/upload.php3.29 ▲0.061,381.43 ▲1,349.97
LIQUID SPEECH BALLOON /wp-admin/options-general.php?page=liquid-speech-balloon3.261,409.99

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

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

Browser metrics Passed 4 tests

An overview of browser requirements for LIQUID SPEECH BALLOON
This plugin has a minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,817 ▲6013.32 ▼1.311.63 ▼0.6141.87 ▼3.13
Dashboard /wp-admin2,218 ▲305.79 ▼0.1396.04 ▼17.6138.86 ▼11.60
Posts /wp-admin/edit.php2,103 ▲141.99 ▼0.0133.28 ▼1.5234.33 ▼1.53
Add New Post /wp-admin/post-new.php6,602 ▲5,08329.32 ▲6.24877.13 ▲234.3556.71 ▲4.23
Media Library /wp-admin/upload.php1,394 ▲64.29 ▲0.0597.15 ▼8.7942.45 ▼3.41
LIQUID SPEECH BALLOON /wp-admin/options-general.php?page=liquid-speech-balloon1,1472.3524.7235.66

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

🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
These items require your attention
  • This plugin does not fully uninstall, leaving 6 options in the database
    • theysaidso_admin_options
    • widget_theysaidso_widget
    • can_compress_scripts
    • widget_recent-comments
    • db_upgraded
    • 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 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Please fix the following
  • 1× PHP files trigger server errors when accessed directly:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_action() in wp-content/plugins/liquid-speech-balloon/liquid-speech-balloon.php:34

User-side errors Passed 1 test

🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
Everything seems fine on the user side

Optimizations

Plugin configuration 97% from 29 tests

readme.txt 94% from 16 tests

It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
Attributes that need to be fixed:
  • Tags: Please reduce the number of tags, currently 13 tag instead of maximum 10
You can take inspiration from this readme.txt

liquid-speech-balloon/liquid-speech-balloon.php Passed 13 tests

The entry point to "LIQUID SPEECH BALLOON" version 1.2.1 is a PHP file that has certain tags in its header comment area
58 characters long description:
Create a talk style design with a visual editor Gutenberg.

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
There were no executable files found in this plugin4,567 lines of code in 9 files:
LanguageFilesBlank linesComment linesLines of code
JSON3003,413
JavaScript2230565
PHP22132261
CSS1134234
PO File18915194

PHP code Passed 2 tests

This is a short overview of cyclomatic complexity and code structure for this plugin
There were no cyclomatic complexity issued detected
Cyclomatic complexity
Average complexity per logical line of code0.34
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%
Functions9
▷ Named functions777.78%
▷ Anonymous functions222.22%
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
1 compressed PNG file occupies 0.00MB
Potential savings
Compression of 1 random PNG file using pngquant
FileSize - originalSize - compressedSavings
images/avatar.png2.86KB2.82KB▼ 1.43%