84% simple-speech-bubble

Code Review | Simple Speech Bubble.

WordPress plugin Simple Speech Bubble. scored84%from 54 tests.

About plugin

  • Plugin page: simple-speech-bubble
  • Plugin version: 0.0.4
  • PHP compatiblity: 7.3+
  • PHP version: 7.4.16
  • WordPress compatibility: 5.5-5.5
  • WordPress version: 6.3.1
  • First release: Nov 11, 2020
  • Latest release: Nov 11, 2020
  • Number of updates: 4
  • Update frequency: every 0.3 days
  • Top authors: hamworks (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active /533 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | The install procedure must perform silently
This plugin's installer ran successfully

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

Server-side resources used by Simple Speech Bubble.
Server-side resource usage in normal parameters
PageMemory (MB)CPU Time (ms)
Home /3.50 ▲0.0442.51 ▼4.34
Dashboard /wp-admin3.32 ▼0.0346.73 ▼13.97
Posts /wp-admin/edit.php3.37 ▲0.0143.63 ▼1.48
Add New Post /wp-admin/post-new.php5.90 ▲0.0285.21 ▼19.53
Media Library /wp-admin/upload.php3.24 ▲0.0138.35 ▲2.26

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

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

Browser metrics Passed 4 tests

This is an overview of browser requirements for Simple Speech Bubble.
This plugin renders optimally with no browser resource issues detected
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,827 ▲4114.77 ▲0.423.46 ▲1.5538.30 ▼1.55
Dashboard /wp-admin2,192 ▲185.55 ▼0.1287.09 ▼1.3836.32 ▼2.96
Posts /wp-admin/edit.php2,100 ▼01.98 ▲0.0333.54 ▼7.2033.45 ▼4.07
Add New Post /wp-admin/post-new.php6,368 ▲4,84227.54 ▲4.61810.15 ▲200.8735.50 ▼27.86
Media Library /wp-admin/upload.php1,397 ▲64.20 ▲0.0494.68 ▼9.5640.93 ▼7.27

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

🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
It is recommended to fix the following
  • Zombie WordPress options were found after uninstall: 6 options
    • can_compress_scripts
    • db_upgraded
    • widget_theysaidso_widget
    • theysaidso_admin_options
    • widget_recent-comments
    • widget_recent-posts

Smoke tests 75% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | A smoke test targeting server-side errors
Everything seems fine, however this is by no means an exhaustive test

SRP 50% from 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
Please fix the following items
  • 1× PHP files trigger server-side errors or warnings when accessed directly:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_action() in wp-content/plugins/simple-speech-bubble/simple-speech-bubble.php:15

User-side errors Passed 1 test

🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine, but this is not an exhaustive test

Optimizations

Plugin configuration 96% from 29 tests

readme.txt Passed 16 tests

You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
2 plugin tags: block, gutenberg

simple-speech-bubble/simple-speech-bubble.php 92% from 13 tests

"Simple Speech Bubble." version 0.0.4's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
Please make the necessary changes and fix the following:
  • Domain Path: The domain path points to an invalid folder, "/languages" does not exist

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
There were no executable files found in this plugin20,163 lines of code in 22 files:
LanguageFilesBlank linesComment linesLines of code
JSON50019,677
JavaScript10232326
CSS2230105
XML15230
Markdown16016
PHP31129

PHP code Passed 2 tests

A short review of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity issues
Cyclomatic complexity
Average complexity per logical line of code0.00
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 functions00.00%
▷ Anonymous functions1100.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 were not PNG files found in your plugin