90% bazz-callback-widget

Code Review | Bazz CallBack widget

WordPress plugin Bazz CallBack widget scored90%from 54 tests.

About plugin

  • Plugin page: bazz-callback-widget
  • Plugin version: 3.23
  • PHP version: 7.4.16
  • WordPress compatibility: 3.0.1-6.2
  • WordPress version: 6.3.1
  • First release: Aug 4, 2016
  • Latest release: Mar 19, 2023
  • Number of updates: 112
  • Update frequency: every 21.6 days
  • Top authors: glomberg (100%)

Code review

54 tests

User reviews

33 reviews

Install metrics

6,000+ active /96,499 total downloads


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
Install script ran successfully

Server metrics [RAM: ▲0.07MB] [CPU: ▼7.60ms] Passed 4 tests

A check of server-side resources used by Bazz CallBack widget
No issues were detected with server-side resource usage
PageMemory (MB)CPU Time (ms)
Home /3.54 ▲0.0833.40 ▼4.43
Dashboard /wp-admin3.38 ▲0.0443.25 ▼15.12
Posts /wp-admin/edit.php3.43 ▲0.0848.04 ▲1.63
Add New Post /wp-admin/post-new.php5.96 ▲0.0881.37 ▼9.25
Media Library /wp-admin/upload.php3.31 ▲0.0832.00 ▼1.58
Bazz CallBack Widget settings /wp-admin/options-general.php?page=bazz_menu3.2828.69

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

Analyzing filesystem and database footprints of this plugin
This plugin installed successfully
Filesystem: 49 new files
Database: no new tables, 7 new options
New WordPress options

Browser metrics Passed 4 tests

This is an overview of browser requirements for Bazz CallBack widget
Normal browser usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /3,031 ▲24513.54 ▼0.8112.59 ▲10.6948.72 ▲6.67
Dashboard /wp-admin2,195 ▲155.56 ▼0.0286.37 ▼0.6436.91 ▼7.12
Posts /wp-admin/edit.php2,106 ▲62.01 ▲0.0540.69 ▲3.8135.96 ▲1.03
Add New Post /wp-admin/post-new.php1,533 ▲723.00 ▼0.46663.47 ▲27.9856.47 ▼6.58
Media Library /wp-admin/upload.php1,406 ▲64.20 ▼0.0095.97 ▲2.1842.16 ▲0.68
Bazz CallBack Widget settings /wp-admin/options-general.php?page=bazz_menu9562.0329.0930.45

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

🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
The following items require your attention
  • The uninstall procedure has failed, leaving 6 options in the database
    • theysaidso_admin_options
    • widget_recent-comments
    • widget_recent-posts
    • can_compress_scripts
    • db_upgraded
    • widget_theysaidso_widget

Smoke tests Passed 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though no errors were found, this is by no means an exhaustive test

SRP Passed 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
The SRP test was a success

User-side errors Passed 1 test

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


Plugin configuration 97% from 29 tests

readme.txt 94% from 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
Attributes that require attention:
  • Screenshots: These screenshots do not have images: #1 (The widget looks so same), #2 (Configuration here)
You can take inspiration from this readme.txt

bazz-callback-widget/bazz-callback-widget.php Passed 13 tests

The main PHP script in "Bazz CallBack widget" version 3.23 is automatically included on every request by WordPress
63 characters long description:
This plugin makes a simple widget for callback on your website.

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
Everything looks great! No dangerous files found in this plugin2,466 lines of code in 24 files:
LanguageFilesBlank linesComment linesLines of code
PO File156156351,605

PHP code Passed 2 tests

An short overview of logical lines of code, cyclomatic complexity, and other code metrics
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity
Average complexity per logical line of code0.17
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
▷ Abstract classes00.00%
▷ Concrete classes00.00%
▷ Final classes00.00%
▷ Static methods00.00%
▷ Public methods00.00%
▷ Protected methods00.00%
▷ Private methods00.00%
▷ Named functions17100.00%
▷ Anonymous functions00.00%
▷ Global constants1100.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
4 PNG files occupy 0.05MB with 0.03MB in potential savings
Potential savings
Compression of 4 random PNG files using pngquant
FileSize - originalSize - compressedSavings
images/bazz-close-button.png1.30KB0.66KB▼ 49.44%
images/ok.png1.26KB0.41KB▼ 67.31%
images/trubka.png0.93KB0.37KB▼ 59.98%
screenshot-2.png48.61KB30.44KB▼ 37.38%