10% probelix-blowball

Code Review | Blowball Integration

WordPress plugin Blowball Integration scored10%from 54 tests.

About plugin

  • Plugin page: probelix-blowball
  • Plugin version: 1.3.8
  • PHP compatiblity: 7.0+
  • PHP version: 7.4.16
  • WordPress compatibility: 3.0-6.4
  • WordPress version: 6.3.1
  • First release: Oct 30, 2021
  • Latest release: Nov 30, 2023
  • Number of updates: 50
  • Update frequency: every 15.2 days
  • Top authors: probelix (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active /2,292 total downloads

Benchmarks

Plugin footprint 40% from 16 tests

Installer 0% from 1 test

🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
You still need to fix the following installer errors
  • Install procedure validation failed for this plugin
    • > Notice in wp-content/plugins/probelix-blowball/src/PbxBlowball.php+116
    Accessing static property PbxBlowball\PbxBlowball::$pluginPath as non static

Server metrics [RAM: ▼1.86MB] [CPU: ▼53.10ms] Passed 4 tests

An overview of server-side resources used by Blowball Integration
Normal server usage
PageMemory (MB)CPU Time (ms)
Home /2.14 ▼1.334.66 ▼38.79
Dashboard /wp-admin2.16 ▼1.195.93 ▼54.51
Posts /wp-admin/edit.php2.16 ▼1.206.56 ▼39.56
Add New Post /wp-admin/post-new.php2.16 ▼3.737.52 ▼79.55
Media Library /wp-admin/upload.php2.16 ▼1.075.79 ▼30.12
Probelix Blowball /wp-admin/options-general.php?page=pbx-bb-settings2.166.16

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

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

Browser metrics Passed 4 tests

Checking browser requirements for Blowball Integration
This plugin renders optimally with no browser resource issues detected
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,798 ▲5114.37 ▼0.041.62 ▼0.1641.05 ▼4.07
Dashboard /wp-admin2,204 ▲265.65 ▼0.0590.74 ▼25.2440.49 ▼4.56
Posts /wp-admin/edit.php2,109 ▲91.94 ▲0.0040.08 ▲0.2035.72 ▼1.35
Add New Post /wp-admin/post-new.php1,531 ▲523.63 ▲0.56678.09 ▲4.5255.17 ▲2.58
Media Library /wp-admin/upload.php1,406 ▲94.15 ▼0.05100.45 ▲4.6944.49 ▲1.04
Probelix Blowball /wp-admin/options-general.php?page=pbx-bb-settings9102.1325.3744.58

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

🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
The following items require your attention
  • The plugin did not uninstall gracefully
    • > Notice in wp-content/plugins/probelix-blowball/src/PbxBlowball.php+116
    Accessing static property PbxBlowball\PbxBlowball::$pluginPath as non static
  • The uninstall procedure has failed, leaving 7 options in the database
    • widget_recent-comments
    • widget_theysaidso_widget
    • pbx_blowball
    • db_upgraded
    • can_compress_scripts
    • theysaidso_admin_options
    • widget_recent-posts

Smoke tests 25% from 4 tests

Server-side errors 0% from 1 test

🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Smoke test failed, please fix the following
    • > GET request to /wp-admin/options-general.php?page=pbx-bb-settings
    • > Notice in wp-content/plugins/probelix-blowball/src/PbxBlowball.php+116
    Accessing static property PbxBlowball\PbxBlowball::$pluginPath as non static
    • > GET request to /wp-admin/options-general.php?page=pbx-bb-settings
    • > Notice in wp-content/plugins/probelix-blowball/src/PbxBlowball.php+117
    Accessing static property PbxBlowball\PbxBlowball::$pluginUrl as non static

SRP 50% 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
The following issues need your attention
  • 98× GET requests to PHP files trigger server-side errors or Error 500 responses (only 10 are shown):
    • > PHP Fatal error
      Uncaught Error: Class 'PbxVendor\\Monolog\\Handler\\AbstractHandler' not found in wp-content/plugins/probelix-blowball/vendor_prefixed/Monolog/Handler/SamplingHandler.php:33
    • > PHP Fatal error
      Uncaught Error: Class 'PbxVendor\\Monolog\\Handler\\AbstractProcessingHandler' not found in wp-content/plugins/probelix-blowball/vendor_prefixed/Monolog/Handler/MongoDBHandler.php:34
    • > PHP Fatal error
      Uncaught Error: Class 'PbxVendor\\Monolog\\Handler\\AbstractProcessingHandler' not found in wp-content/plugins/probelix-blowball/vendor_prefixed/Monolog/Handler/MailHandler.php:24
    • > PHP Fatal error
      Uncaught Error: Class 'PbxVendor\\Monolog\\Handler\\AbstractProcessingHandler' not found in wp-content/plugins/probelix-blowball/vendor_prefixed/Monolog/Handler/ErrorLogHandler.php:24
    • > PHP Fatal error
      Uncaught Error: Class 'PbxVendor\\Monolog\\Handler\\SocketHandler' not found in wp-content/plugins/probelix-blowball/vendor_prefixed/Monolog/Handler/LogEntriesHandler.php:19
    • > PHP Fatal error
      Uncaught Error: Class 'PbxVendor\\Monolog\\Handler\\SocketHandler' not found in wp-content/plugins/probelix-blowball/vendor_prefixed/Monolog/Handler/PushoverHandler.php:28
    • > PHP Fatal error
      Uncaught Error: Interface 'PbxVendor\\Monolog\\Processor\\ProcessorInterface' not found in wp-content/plugins/probelix-blowball/vendor_prefixed/Monolog/Processor/HostnameProcessor.php:17
    • > PHP Fatal error
      Uncaught Error: Interface 'PbxVendor\\Monolog\\Processor\\ProcessorInterface' not found in wp-content/plugins/probelix-blowball/vendor_prefixed/Monolog/Processor/MemoryProcessor.php:19
    • > PHP Fatal error
      Uncaught Error: Class 'PbxVendor\\Monolog\\Handler\\AbstractHandler' not found in wp-content/plugins/probelix-blowball/vendor_prefixed/Monolog/Handler/PsrHandler.php:27
    • > PHP Fatal error
      Uncaught Error: Interface 'PbxVendor\\Monolog\\Handler\\FingersCrossed\\ActivationStrategyInterface' not found in wp-content/plugins/probelix-blowball/vendor_prefixed/Monolog/Handler/FingersCrossed/ErrorLevelActivationStrategy.php:25

User-side errors 0% from 1 test

🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
There are user-side issues you should fix
    • > GET request to /wp-admin/options-general.php?page=pbx-bb-settings
    • > Network (severe)
    wp-content/plugins/probelix-blowball/assets/images/code.png - Failed to load resource: the server responded with a status of 404 (Not Found)

Optimizations

Plugin configuration 90% from 29 tests

readme.txt Passed 16 tests

Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
3 plugin tags: cf7, contact form 7 integration, crm

probelix-blowball/pbx-blowball.php 77% from 13 tests

The entry point to "Blowball Integration" version 1.3.8 is a PHP file that has certain tags in its header comment area
You should first fix the following items:
  • Text Domain: If you choose to specify the text domain, it must be the same as the plugin slug; optional since WordPress version 4.6
  • Requires at least: The required version number must match the one declared in readme.txt ("5.0" instead of "3.0")
  • Main file name: It is recommended to name the main PHP file as the plugin slug ("probelix-blowball.php" instead of "pbx-blowball.php")

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
Everything looks great! No dangerous files found in this plugin11,108 lines of code in 153 files:
LanguageFilesBlank linesComment linesLines of code
PHP1482,4736,02610,227
CSS2750576
PO File15663154
JSON100148
JavaScript1113

PHP code Passed 2 tests

Analyzing logical lines of code, cyclomatic complexity, and other code metrics
No complexity issues detected
Cyclomatic complexity
Average complexity per logical line of code0.37
Average class complexity10.36
▷ Minimum class complexity1.00
▷ Maximum class complexity76.00
Average method complexity2.66
▷ Minimum method complexity1.00
▷ Maximum method complexity66.00
Code structure
Namespaces23
Interfaces10
Traits5
Classes128
▷ Abstract classes86.25%
▷ Concrete classes12093.75%
▷ Final classes54.17%
Methods844
▷ Static methods576.75%
▷ Public methods61072.27%
▷ Protected methods15618.48%
▷ Private methods789.24%
Functions23
▷ Named functions28.70%
▷ Anonymous functions2191.30%
Constants64
▷ Global constants23.12%
▷ Class constants6296.88%
▷ Public constants4064.52%

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
1 PNG file occupies 0.02MB with 0.01MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant
FileSize - originalSize - compressedSavings
assets/images/blowball-logo.png24.12KB9.56KB▼ 60.35%