84% booster-extension

Code Review | Booster Extension

WordPress plugin Booster Extension scored84%from 54 tests.

About plugin

  • Plugin page: booster-extension
  • Plugin version: 1.2.0
  • PHP compatiblity: 5.5+
  • PHP version: 7.4.16
  • WordPress compatibility: 4.5-6.2
  • WordPress version: 6.3.1
  • First release: Jul 6, 2019
  • Latest release: Apr 10, 2023
  • Number of updates: 23
  • Update frequency: every 59.8 days
  • Top authors: themeinwp (100%)

Code review

54 tests

User reviews

7 reviews

Install metrics

10,000+ active /148,229 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
The plugin installed successfully, without throwing any errors or notices

Server metrics [RAM: ▲0.07MB] [CPU: ▼3.42ms] Passed 4 tests

An overview of server-side resources used by Booster Extension
This plugin does not affect your website's performance
PageMemory (MB)CPU Time (ms)
Home /3.55 ▲0.0944.14 ▲1.63
Dashboard /wp-admin3.38 ▲0.0350.98 ▼16.45
Posts /wp-admin/edit.php3.50 ▲0.1452.49 ▼0.08
Add New Post /wp-admin/post-new.php5.98 ▲0.1094.00 ▲1.23
Media Library /wp-admin/upload.php3.31 ▲0.0838.31 ▲2.21

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

How much does this plugin use your filesystem and database?
This plugin installed successfully
Filesystem: 45 new files
Database: no new tables, 8 new options
New WordPress options
widget_recent-posts
widget_theysaidso_widget
theysaidso_admin_options
twp_be_options_settings
widget_booster-extension-author-layout
widget_recent-comments
can_compress_scripts
db_upgraded

Browser metrics Passed 4 tests

Checking browser requirements for Booster Extension
Minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,942 ▲19613.62 ▼0.606.83 ▲4.7842.23 ▼1.59
Dashboard /wp-admin2,263 ▲665.89 ▲0.01106.33 ▲4.0342.11 ▲1.42
Posts /wp-admin/edit.php2,166 ▲662.08 ▲0.1138.75 ▼1.2436.43 ▼1.85
Add New Post /wp-admin/post-new.php6,261 ▲4,72625.96 ▲3.01889.15 ▲267.1765.87 ▲15.98
Media Library /wp-admin/upload.php1,439 ▲364.22 ▲0.0496.67 ▼11.3642.68 ▼6.54

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

🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
The following items require your attention
  • This plugin does not fully uninstall, leaving 8 options in the database
    • twp_be_options_settings
    • db_upgraded
    • widget_theysaidso_widget
    • widget_booster-extension-author-layout
    • widget_recent-posts
    • can_compress_scripts
    • widget_recent-comments
    • theysaidso_admin_options

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

SRP 50% from 2 tests

🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
The following issues need your attention
  • 1× PHP files trigger server errors when accessed directly:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_action() in wp-content/plugins/booster-extension/inc/frontend/read-later.php:23

User-side errors Passed 1 test

🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine on the user side

Optimizations

Plugin configuration 93% from 29 tests

readme.txt 94% from 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
Attributes that need to be fixed:
  • Screenshots: Please add descriptions for these screenshots #1, #2, #3, #4 in booster-extension/assets to your readme.txt
The official readme.txt might help

booster-extension/booster-extension.php 92% from 13 tests

The main PHP script in "Booster Extension" version 1.2.0 is automatically included on every request by WordPress
You should first fix the following items:
  • Description: Please keep the plugin description shorter than 140 characters (currently 232 characters long)

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
Success! There were no dangerous files found in this plugin6,305 lines of code in 40 files:
LanguageFilesBlank linesComment linesLines of code
PHP226433294,394
CSS4202231,482
JavaScript28511271
SVG1100144
XML10014

PHP code Passed 2 tests

Analyzing logical lines of code, cyclomatic complexity, and other code metrics
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity
Average complexity per logical line of code0.41
Average class complexity49.75
▷ Minimum class complexity7.00
▷ Maximum class complexity89.00
Average method complexity6.37
▷ Minimum method complexity1.00
▷ Maximum method complexity47.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes4
▷ Abstract classes00.00%
▷ Concrete classes4100.00%
▷ Final classes00.00%
Methods37
▷ Static methods25.41%
▷ Public methods3389.19%
▷ Protected methods00.00%
▷ Private methods410.81%
Functions44
▷ Named functions4295.45%
▷ Anonymous functions24.55%
Constants2
▷ Global constants2100.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