84% cloudburst-messenger-bubbles

Code Review | Cloudburst Messenger Bubbles

WordPress plugin Cloudburst Messenger Bubbles scored84%from 54 tests.

About plugin

  • Plugin page: cloudburst-messen...
  • Plugin version: 1.0.0
  • PHP compatiblity: 7.2+
  • PHP version: 7.4.16
  • WordPress compatibility: 5.1-5.4
  • WordPress version: 6.3.1
  • First release: Apr 17, 2020
  • Latest release: Apr 18, 2020
  • Number of updates: 4
  • Update frequency: every 1.0 days
  • Top authors: dianacloudburst (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active /437 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Install script ran successfully

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

Analyzing server-side resources used by Cloudburst Messenger Bubbles
This plugin has minimal impact on server resources
PageMemory (MB)CPU Time (ms)
Home /3.47 ▲0.0137.77 ▼6.50
Dashboard /wp-admin3.31 ▲0.0146.83 ▼0.10
Posts /wp-admin/edit.php3.36 ▲0.0149.35 ▼3.91
Add New Post /wp-admin/post-new.php5.89 ▲0.0095.98 ▼20.83
Media Library /wp-admin/upload.php3.23 ▲0.0136.38 ▼0.28

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

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

Browser metrics Passed 4 tests

An overview of browser requirements for Cloudburst Messenger Bubbles
This plugin has a minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,802 ▲6714.74 ▲0.382.09 ▲0.3541.11 ▼3.20
Dashboard /wp-admin2,209 ▲214.84 ▼1.19102.95 ▼1.1339.33 ▼4.72
Posts /wp-admin/edit.php2,092 ▲32.06 ▲0.0139.31 ▼0.1835.65 ▼1.13
Add New Post /wp-admin/post-new.php6,415 ▲4,88228.35 ▲4.86886.92 ▲266.7461.18 ▲0.19
Media Library /wp-admin/upload.php1,388 ▼34.22 ▼0.0297.11 ▼2.5341.83 ▼5.51

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

🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
The following items require your attention
  • Zombie WordPress options detected upon uninstall: 6 options
    • widget_theysaidso_widget
    • widget_recent-comments
    • can_compress_scripts
    • widget_recent-posts
    • theysaidso_admin_options
    • db_upgraded

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)
Even though no errors were found, this is by no means an exhaustive test

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
Please fix the following items
  • 1× PHP files trigger errors when accessed directly with GET requests:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_action() in wp-content/plugins/cloudburst-messenger-bubbles/cloudburst-messenger-bubbles.php:18

User-side errors Passed 1 test

🔹 Test weight: 20 | This is a shallow check for browser errors
There were no browser issues found

Optimizations

Plugin configuration Passed 29 tests

readme.txt Passed 16 tests

The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
7 plugin tags: message, formatting, cloudburst, chat, bubbles...

cloudburst-messenger-bubbles/cloudburst-messenger-bubbles.php Passed 13 tests

The primary PHP file in "Cloudburst Messenger Bubbles" version 1.0.0 is used by WordPress to initiate all plugin functionality
83 characters long description:
Adds a clean, easy-to-use "Messenger Bubble" block to represent chat conversations.

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
Good job! No executable or dangerous file extensions detected294 lines of code in 3 files:
LanguageFilesBlank linesComment linesLines of code
JavaScript13255239
CSS14038
PHP13817

PHP code Passed 2 tests

This is a very shot review of cyclomatic complexity and code structure
No complexity issues detected
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%
Functions2
▷ Named functions2100.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
PNG images were not found in this plugin