78% greet-bubble

Code Review | Greet - Video Bubble Warm Welcome Plugin for WordPress

WordPress plugin Greet - Video Bubble Warm Welcome Plugin for WordPress scored78%from 54 tests.

About plugin

  • Plugin page: greet-bubble
  • Plugin version: 3.4.6
  • PHP version: 7.4.16
  • WordPress compatibility: 5.0-6.4.1
  • WordPress version: 6.3.1
  • First release: Sep 22, 2022
  • Latest release: Nov 27, 2023
  • Number of updates: 45
  • Update frequency: every 9.6 days
  • Top authors: themeatelier (100%)

Code review

54 tests

User reviews

1 review

Install metrics

20+ active /1,008 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
Installer ran successfully

Server metrics [RAM: ▲1.53MB] [CPU: ▲5.49ms] Passed 4 tests

An overview of server-side resources used by Greet - Video Bubble Warm Welcome Plugin for WordPress
Server-side resource usage in normal parameters
PageMemory (MB)CPU Time (ms)
Home /5.06 ▲1.6050.78 ▲9.45
Dashboard /wp-admin4.87 ▲1.5358.86 ▼1.75
Posts /wp-admin/edit.php4.93 ▲1.5759.64 ▲10.50
Add New Post /wp-admin/post-new.php7.39 ▲1.51102.37 ▲3.76
Media Library /wp-admin/upload.php4.74 ▲1.5150.22 ▲19.34

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

Filesystem and database footprint
There were no storage issued detected upon installing this plugin
Filesystem: 110 new files
Database: no new tables, 7 new options
New WordPress options
widget_recent-comments
widget_recent-posts
db_upgraded
theysaidso_admin_options
can_compress_scripts
_greet
widget_theysaidso_widget

Browser metrics Passed 4 tests

Checking browser requirements for Greet - Video Bubble Warm Welcome Plugin for WordPress
Normal browser usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,939 ▲17713.47 ▼0.898.24 ▲6.2936.21 ▼8.11
Dashboard /wp-admin2,259 ▲795.53 ▼0.0795.26 ▲1.6376.61 ▲36.26
Posts /wp-admin/edit.php2,162 ▲622.08 ▲0.1339.53 ▲2.0436.67 ▲0.59
Add New Post /wp-admin/post-new.php1,609 ▲7220.41 ▼2.87690.60 ▲62.9354.95 ▼1.45
Media Library /wp-admin/upload.php1,458 ▲584.15 ▲0.0097.35 ▲0.0483.40 ▲40.64

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
The following items require your attention
  • Zombie WordPress options detected upon uninstall: 7 options
    • widget_theysaidso_widget
    • widget_recent-comments
    • can_compress_scripts
    • theysaidso_admin_options
    • db_upgraded
    • widget_recent-posts
    • _greet

Smoke tests 50% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | This is a shallow check for server-side errors
Even though no errors were found, this is by no means an exhaustive test

SRP 0% from 2 tests

🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Please fix the following
  • 1× PHP files perform the action of outputting non-empty strings when accessed directly:
    • > /wp-content/plugins/greet-bubble/greet-bubble.php
  • 1× PHP files trigger server errors when accessed directly:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_action() in wp-content/plugins/greet-bubble/frontend/greet-main.php:18

User-side errors Passed 1 test

🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine on the user side

Optimizations

Plugin configuration 97% from 29 tests

readme.txt 94% from 16 tests

The readme.txt file uses markdown syntax to describe your plugin to the world
Attributes that require attention:
  • Tags: You are using too many tags: 15 tag instead of maximum 10
The official readme.txt is a good inspiration

greet-bubble/greet-bubble.php Passed 13 tests

The main file in "Greet - Video Bubble Warm Welcome Plugin for WordPress" v. 3.4.6 serves as a complement to information provided in readme.txt and as the entry point to the plugin
91 characters long description:
Professional video bubble plugin for putting videos on your website in a great and fun way.

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
Good job! No executable or dangerous file extensions detected25,766 lines of code in 102 files:
LanguageFilesBlank linesComment linesLines of code
PHP712,6201,2828,097
JavaScript61,3105076,671
Sass1697035,674
CSS64325215,305
SVG30019

PHP code Passed 2 tests

Cyclomatic complexity and code structure are the fingerprint of this plugin
No complexity issues detected
Cyclomatic complexity
Average complexity per logical line of code0.63
Average class complexity25.52
▷ Minimum class complexity1.00
▷ Maximum class complexity151.00
Average method complexity6.50
▷ Minimum method complexity1.00
▷ Maximum method complexity57.00
Code structure
Namespaces1
Interfaces0
Traits0
Classes63
▷ Abstract classes23.17%
▷ Concrete classes6196.83%
▷ Final classes00.00%
Methods281
▷ Static methods3913.88%
▷ Public methods26493.95%
▷ Protected methods51.78%
▷ Private methods124.27%
Functions28
▷ Named functions28100.00%
▷ Anonymous functions00.00%
Constants2
▷ Global constants2100.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
admin/greet-framework/assets/images/checkerboard.png2.29KB2.54KB0.00%