84% big-bio-box

Code Review | Big Bio Box

WordPress plugin Big Bio Box scored 84% from 54 tests.

About plugin

  • Plugin page: big-bio-box
  • Plugin version: 1.2
  • PHP version: 7.4.16
  • WordPress compatibility: 3.3-4.1
  • WordPress version: 6.3.1
  • First release: Dec 27, 2011
  • Latest release: Nov 12, 2014
  • Number of updates: 11
  • Update frequency: every 95.6 days
  • Top authors: ypraise (100%)

Code review

54 tests

User reviews

1 review

Install metrics

20+ active / 2,648 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.01MB] [CPU: ▼5.45ms] Passed 4 tests

Analyzing server-side resources used by Big Bio Box
Normal server usage
PageMemory (MB)CPU Time (ms)
Home /3.48 ▲0.0238.63 ▼1.02
Dashboard /wp-admin3.32 ▲0.0146.44 ▼5.16
Posts /wp-admin/edit.php3.37 ▲0.0147.16 ▲2.97
Add New Post /wp-admin/post-new.php5.90 ▲0.0183.44 ▼15.77
Media Library /wp-admin/upload.php3.24 ▲0.0136.61 ▲0.16

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

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

Browser metrics Passed 4 tests

Checking browser requirements for Big Bio Box
This plugin has a minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,800 ▲6513.62 ▼0.561.61 ▼0.0442.16 ▲2.24
Dashboard /wp-admin2,206 ▲185.83 ▲0.9596.44 ▼15.6537.42 ▼5.11
Posts /wp-admin/edit.php2,092 ▲32.05 ▲0.0336.33 ▼0.2730.65 ▼1.85
Add New Post /wp-admin/post-new.php1,534 ▲2023.37 ▲5.81656.72 ▲15.1753.61 ▼6.28
Media Library /wp-admin/upload.php1,391 ▼04.27 ▲0.0494.31 ▼21.6843.49 ▼6.25

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

🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
You still need to fix the following
  • Zombie WordPress options detected upon uninstall: 6 options
    • theysaidso_admin_options
    • widget_recent-posts
    • can_compress_scripts
    • widget_recent-comments
    • widget_theysaidso_widget
    • db_upgraded

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: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Please take a closer look at the following
  • 1× PHP files trigger server-side errors or warnings when accessed directly:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_action() in wp-content/plugins/big-bio-box/bigbiobox.php:29

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 issues were found

Optimizations

Plugin configuration 93% from 29 tests

readme.txt 94% from 16 tests

The readme.txt file uses markdown syntax to describe your plugin to the world
Please fix the following attributes:
  • Screenshots: Please add images for these screenshots: #1 (A new bio box on profile page has a full tinymce editor.), #2 (The new big bio box contents replaces the normal user description above the authors blog posts on the author.php page.)
You can look at the official readme.txt

big-bio-box/bigbiobox.php 92% from 13 tests

"Big Bio Box" version 1.2's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
It is important to fix the following:
  • Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("big-bio-box.php" instead of "bigbiobox.php")

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
There were no executable files found in this plugin32 lines of code in 1 file:
LanguageFilesBlank linesComment linesLines of code
PHP1192232

PHP code Passed 2 tests

A brief analysis of cyclomatic complexity and code structure for this plugin
There are no cyclomatic complexity problems 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%
Functions3
▷ Named functions3100.00%
▷ Anonymous functions00.00%
Constants0
▷ Global constants00.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
There were not PNG files found in your plugin