84% blahbox

Code Review | Blahbox

WordPress plugin Blahbox scored 84% from 54 tests.

About plugin

  • Plugin page: blahbox
  • Plugin version: 1.1.1
  • PHP compatiblity: 5.2.4+
  • PHP version: 7.4.16
  • WordPress compatibility: 4.2-5.5.1
  • WordPress version: 6.3.1
  • First release: Jul 15, 2019
  • Latest release: Sep 28, 2020
  • Number of updates: 10
  • Update frequency: every 44.4 days
  • Top authors: matiasg77 (100%)

Code review

54 tests

User reviews

3 reviews

Install metrics

30+ active / 2,169 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
Install script ran successfully

Server metrics [RAM: ▲0.01MB] [CPU: ▼3.77ms] Passed 4 tests

Server-side resources used by Blahbox
This plugin does not affect your website's performance
PageMemory (MB)CPU Time (ms)
Home /3.47 ▲0.0136.15 ▼3.20
Dashboard /wp-admin3.32 ▲0.0247.89 ▼1.44
Posts /wp-admin/edit.php3.37 ▲0.0143.84 ▼0.06
Add New Post /wp-admin/post-new.php5.90 ▲0.0191.42 ▼10.36
Media Library /wp-admin/upload.php3.24 ▲0.0134.85 ▲1.19
Blahbox /wp-admin/tools.php?page=blahbox-settings3.2130.09

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

Analyzing filesystem and database footprints of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 2 new files
Database: no new tables, 6 new options
New WordPress options
widget_theysaidso_widget
can_compress_scripts
widget_recent-posts
theysaidso_admin_options
db_upgraded
widget_recent-comments

Browser metrics Passed 4 tests

This is an overview of browser requirements for Blahbox
This plugin renders optimally with no browser resource issues detected
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,808 ▲5113.30 ▼1.382.27 ▲0.3941.30 ▼7.57
Dashboard /wp-admin2,210 ▲185.85 ▲0.9099.43 ▼5.9441.81 ▼6.43
Posts /wp-admin/edit.php2,093 ▲72.03 ▼0.0136.17 ▲0.8630.86 ▲0.53
Add New Post /wp-admin/post-new.php1,522 ▲323.44 ▲0.10608.14 ▼68.8554.06 ▲4.31
Media Library /wp-admin/upload.php1,395 ▲44.14 ▼0.1595.22 ▼9.5545.05 ▼1.92
Blahbox /wp-admin/tools.php?page=blahbox-settings7842.0325.1924.88

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

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

Smoke tests 75% from 4 tests

Server-side errors Passed 1 test

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

SRP 50% from 2 tests

🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
The following issues need your attention
  • 1× GET requests to PHP files return non-empty strings:
    • > /wp-content/plugins/blahbox/blahbox.php

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)
There were no browser issues found

Optimizations

Plugin configuration 93% 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 your attention:
  • Tags: Too many tags (58 tag instead of maximum 10); only the first 5 tags are used in your directory listing
Please take inspiration from this readme.txt

blahbox/blahbox.php 92% from 13 tests

Analyzing the main PHP file in "Blahbox" version 1.1.1
Please take the time to fix the following:
  • Description: A good plugin description is longer than 10 characters (currently 7 characters long)

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
There were no executable files found in this plugin75 lines of code in 1 file:
LanguageFilesBlank linesComment linesLines of code
PHP1789175

PHP code Passed 2 tests

An overview of cyclomatic complexity and code structure
No complexity issues detected
Cyclomatic complexity
Average complexity per logical line of code0.12
Average class complexity4.00
▷ Minimum class complexity4.00
▷ Maximum class complexity4.00
Average method complexity1.30
▷ Minimum method complexity1.00
▷ Maximum method complexity2.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes1
▷ Abstract classes00.00%
▷ Concrete classes1100.00%
▷ Final classes00.00%
Methods10
▷ Static methods00.00%
▷ Public methods10100.00%
▷ Protected methods00.00%
▷ Private methods00.00%
Functions0
▷ Named functions00.00%
▷ Anonymous functions00.00%
Constants0
▷ Global constants00.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

All PNG images should be compressed to minimize bandwidth usage for end users
PNG images were not found in this plugin