84% bbboing

Code Review | bbboing

WordPress plugin bbboing scored84%from 54 tests.

About plugin

  • Plugin page: bbboing
  • Plugin version: 1.8.5
  • PHP version: 7.4.16
  • WordPress compatibility: 3.9-6.4.1
  • WordPress version: 6.3.1
  • First release: Apr 6, 2012
  • Latest release: Nov 9, 2023
  • Number of updates: 36
  • Update frequency: every 119.0 days
  • Top authors: bobbingwide (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active /3,109 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed successfully, without throwing any errors or notices

Server metrics [RAM: ▲0.03MB] [CPU: ▼10.92ms] Passed 4 tests

A check of server-side resources used by bbboing
This plugin does not affect your website's performance
PageMemory (MB)CPU Time (ms)
Home /3.47 ▲0.0135.18 ▼4.48
Dashboard /wp-admin3.34 ▲0.0443.22 ▼9.75
Posts /wp-admin/edit.php3.39 ▲0.0447.49 ▼11.26
Add New Post /wp-admin/post-new.php5.92 ▲0.0476.82 ▼18.18
Media Library /wp-admin/upload.php3.27 ▲0.0435.91 ▲5.80

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

A short overview of filesystem and database impact
This plugin installed successfully
Filesystem: 10 new files
Database: no new tables, 6 new options
New WordPress options
widget_theysaidso_widget
db_upgraded
can_compress_scripts
widget_recent-posts
widget_recent-comments
theysaidso_admin_options

Browser metrics Passed 4 tests

This is an overview of browser requirements for bbboing
This plugin renders optimally with no browser resource issues detected
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,797 ▲3514.34 ▲0.071.70 ▼0.0435.90 ▼8.50
Dashboard /wp-admin2,199 ▲225.60 ▼0.0294.05 ▼7.0143.84 ▼1.53
Posts /wp-admin/edit.php2,110 ▲72.02 ▲0.0739.22 ▼7.6137.62 ▲0.30
Add New Post /wp-admin/post-new.php1,533 ▲722.85 ▼0.06602.30 ▼67.1960.02 ▲0.07
Media Library /wp-admin/upload.php1,410 ▲74.28 ▲0.07102.37 ▲2.4543.79 ▼0.48

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
It is recommended to fix the following
  • Zombie WordPress options were found after uninstall: 6 options
    • db_upgraded
    • theysaidso_admin_options
    • widget_recent-comments
    • widget_recent-posts
    • can_compress_scripts
    • widget_theysaidso_widget

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)
Everything seems fine, however this is by no means an exhaustive test

SRP 50% from 2 tests

🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
The following issues need your attention
  • 1× GET requests to PHP files trigger server-side errors or Error 500 responses:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_action() in wp-content/plugins/bbboing/bbboing.php:90

User-side errors Passed 1 test

🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
No browser errors were detected

Optimizations

Plugin configuration 97% from 29 tests

readme.txt 94% from 16 tests

Often overlooked, readme.txt is one of the most important files in your plugin
These attributes need to be fixed:
  • Screenshots: Add an image for screenshot #1 (Example of [bbboing form=y cols=80 text="some text"])
You can take inspiration from this readme.txt

bbboing/bbboing.php Passed 13 tests

The primary PHP file in "bbboing" version 1.8.5 is used by WordPress to initiate all plugin functionality
47 characters long description:
obfuscate text but leave it readable, using oik

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
Success! There were no dangerous files found in this plugin488 lines of code in 5 files:
LanguageFilesBlank linesComment linesLines of code
Pascal122153201
PHP236170165
PO File24544122

PHP code Passed 2 tests

Cyclomatic complexity and code structure are the fingerprint of this plugin
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity
Average complexity per logical line of code0.23
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%
Functions14
▷ Named functions14100.00%
▷ Anonymous functions00.00%
Constants1
▷ Global constants1100.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

Often times overlooked, PNG files can occupy unnecessary space in 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
screenshot-1.png25.29KB16.73KB▼ 33.86%