94% bubble-critic

Code Review | Bubble Critic

WordPress plugin Bubble Critic scored 94% from 54 tests.

About plugin

  • Plugin page: bubble-critic
  • Plugin version: 1.0.0
  • PHP compatiblity: 7.0+
  • PHP version: 7.4.16
  • WordPress compatibility: 5.2-5.8.1
  • WordPress version: 5.8.1
  • First release: Aug 28, 2019
  • Latest release: Oct 29, 2021
  • Number of updates: 10
  • Update frequency: every 79.4 days
  • Top authors: dobsizzle (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active / 345 total downloads


Plugin footprint Passed 16 tests

Installer Passed 1 test

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

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

This is a short check of server-side resources used by Bubble Critic
Normal server usage
PageMemory (MB)CPU Time (ms)
Home /2.84 ▲0.1236.86 ▲13.14
Dashboard /wp-admin3.07 ▲0.0145.54 ▼0.23
Posts /wp-admin/edit.php3.12 ▲0.0144.75 ▼3.34
Add New Post /wp-admin/post-new.php5.42 ▼0.0194.28 ▼562.89
Media Library /wp-admin/upload.php3.01 ▼0.0032.57 ▼12.63

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

Filesystem and database footprint
The plugin installed successfully
Filesystem: 3 new files
Database: no new tables, no new options

Browser metrics Passed 4 tests

Checking browser requirements for Bubble Critic
Normal browser usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /3,703 ▲10716.00 ▲0.479.91 ▲2.0152.08 ▲0.85
Dashboard /wp-admin2,973 ▲365.88 ▼0.09136.33 ▼15.57119.95 ▲1.64
Posts /wp-admin/edit.php2,736 ▼32.69 ▲0.0168.72 ▼3.8196.64 ▼1.17
Add New Post /wp-admin/post-new.php1,621 ▼6221.35 ▲2.95280.66 ▼113.89133.53 ▲11.79
Media Library /wp-admin/upload.php1,807 ▼05.02 ▼0.00152.73 ▼26.18127.53 ▼8.06

Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests

🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
The plugin uninstalled completely, with no zombie files or tables

Smoke tests 75% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Even though everything seems fine, this is not 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× GET requests to PHP files have triggered server-side errors or warnings:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_action() in wp-content/plugins/bubble-critic/bubble-critic.php:21

User-side errors Passed 1 test

🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine on the user side


Plugin configuration Passed 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
7 plugin tags: block, issue tracking, forums, cloud, fast...

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

The primary PHP file in "Bubble Critic" version 1.0.0 is used by WordPress to initiate all plugin functionality
52 characters long description:
Embed a Bubble Critic forum block into your website.

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
No dangerous file extensions were detected45 lines of code in 2 files:
LanguageFilesBlank linesComment linesLines of code

PHP code Passed 2 tests

This is a short overview of cyclomatic complexity and code structure for this plugin
No cyclomatic complexity issues were detected for this plugin
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
▷ Abstract classes00.00%
▷ Concrete classes00.00%
▷ Final classes00.00%
▷ Static methods00.00%
▷ Public methods00.00%
▷ Protected methods00.00%
▷ Private methods00.00%
▷ Named functions1100.00%
▷ Anonymous functions00.00%
▷ Global constants00.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
No PNG files were detected