84% wpblast

Code Review | WP Blast | SEO & Performance Booster

WordPress plugin WP Blast | SEO & Performance Booster scored84%from 54 tests.

About plugin

  • Plugin page: wpblast
  • Plugin version: 1.8.6
  • PHP compatiblity: 5.6+
  • PHP version: 7.4.16
  • WordPress compatibility: 4.9-6.1
  • WordPress version: 6.3.1
  • First release: Sep 7, 2022
  • Latest release: Mar 4, 2023
  • Number of updates: 13
  • Update frequency: every 13.7 days
  • Top authors: wpblast (100%)

Code review

54 tests

User reviews

1 review

Install metrics

90+ active /1,822 total downloads

Benchmarks

Plugin footprint 82% from 16 tests

Installer Passed 1 test

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

Server metrics [RAM: ▲0.98MB] [CPU: ▲2.69ms] Passed 4 tests

Analyzing server-side resources used by WP Blast | SEO & Performance Booster
No issues were detected with server-side resource usage
PageMemory (MB)CPU Time (ms)
Home /4.48 ▲1.0243.10 ▼0.32
Dashboard /wp-admin4.30 ▲0.9657.54 ▼0.79
Posts /wp-admin/edit.php4.36 ▲1.0055.86 ▲10.79
Add New Post /wp-admin/post-new.php6.87 ▲0.9987.81 ▲1.08
Media Library /wp-admin/upload.php4.20 ▲0.9751.44 ▲15.03

Server storage [IO: ▲0.47MB] [DB: ▲0.07MB] 67% from 3 tests

A short overview of filesystem and database impact
Please try to fix the following items
  • The plugin illegally modified 2 files (8.75KB) outside of "wp-content/plugins/wpblast/" and "wp-content/uploads/"
    • (new file) wp-content/wpblast-config/index.html
    • (new file) wp-content/wpblast-config/wp.com.php
Filesystem: 41 new files
Database: 1 new table, 12 new options
New tables
wp_wpblast_sitemap
New WordPress options
theysaidso_admin_options
widget_recent-comments
wpblast_db_version
can_compress_scripts
db_upgraded
wpblast_home
wpblast_cache
wpblast_crawler
widget_recent-posts
wpblast_plugin_version
...

Browser metrics Passed 4 tests

An overview of browser requirements for WP Blast | SEO & Performance Booster
This plugin renders optimally with no browser resource issues detected
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,955 ▲18415.43 ▲1.030.47 ▼1.7838.39 ▼6.73
Dashboard /wp-admin2,395 ▲2106.64 ▲0.79124.72 ▲22.0038.76 ▼2.85
Posts /wp-admin/edit.php2,301 ▲2123.54 ▲1.5750.22 ▲14.3531.56 ▼2.43
Add New Post /wp-admin/post-new.php1,697 ▲16922.53 ▲4.18633.26 ▼4.1432.03 ▼27.71
Media Library /wp-admin/upload.php1,440 ▲554.36 ▲0.1081.77 ▼24.3844.16 ▼3.40

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

🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
Please fix the following items
  • This plugin does not fully uninstall, leaving 12 options in the database
    • wpblast_crawler
    • widget_recent-comments
    • db_upgraded
    • widget_theysaidso_widget
    • can_compress_scripts
    • wpblast_plugin_version
    • theysaidso_admin_options
    • wpblast_db_version
    • wpblast_home
    • widget_recent-posts
    • ...

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 | 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
  • 6× GET requests to PHP files have triggered server-side errors or warnings:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/wpblast/inc/roles-functions.php:8
    • > PHP Fatal error
      Uncaught Error: Call to undefined function Smartfire\\Wordpress\\WPBlast\\add_action() in wp-content/plugins/wpblast/src/Smartfire/Wordpress/WPBlast/SettingsApi.php:162
    • > PHP Fatal error
      Uncaught Error: Call to undefined function Smartfire\\Wordpress\\WPBlast\\add_action() in wp-content/plugins/wpblast/src/Smartfire/Wordpress/WPBlast/SettingsApi.php:162
    • > PHP Warning
      Use of undefined constant WP_CONTENT_DIR - assumed 'WP_CONTENT_DIR' (this will throw an Error in a future version of PHP) in wp-content/plugins/wpblast/globals.php on line 18
    • > PHP Warning
      Use of undefined constant WP_CONTENT_DIR - assumed 'WP_CONTENT_DIR' (this will throw an Error in a future version of PHP) in wp-content/plugins/wpblast/globals.php on line 18
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_action() in wp-content/plugins/wpblast/inc/rest-functions.php:5

User-side errors Passed 1 test

🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser issues were found

Optimizations

Plugin configuration 96% from 29 tests

readme.txt Passed 16 tests

The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
9 plugin tags: robots, seo, cache, dynamic rendering, optimisation...

wpblast/plugin.php 92% from 13 tests

The main file in "WP Blast | SEO & Performance Booster" v. 1.8.6 serves as a complement to information provided in readme.txt and as the entry point to the plugin
You should first fix the following items:
  • Main file name: The principal plugin file should be the same as the plugin slug ("wpblast.php" instead of "plugin.php")

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
Good job! No executable or dangerous file extensions detected7,174 lines of code in 36 files:
LanguageFilesBlank linesComment linesLines of code
PHP256036174,243
JavaScript256781,733
CSS111341701
PO File1120126251
SVG700246

PHP code Passed 2 tests

An overview of cyclomatic complexity and code structure
There were no cyclomatic complexity issued detected
Cyclomatic complexity
Average complexity per logical line of code0.59
Average class complexity82.14
▷ Minimum class complexity5.00
▷ Maximum class complexity334.00
Average method complexity5.22
▷ Minimum method complexity1.00
▷ Maximum method complexity52.00
Code structure
Namespaces1
Interfaces0
Traits0
Classes7
▷ Abstract classes00.00%
▷ Concrete classes7100.00%
▷ Final classes00.00%
Methods127
▷ Static methods43.15%
▷ Public methods12195.28%
▷ Protected methods00.00%
▷ Private methods64.72%
Functions101
▷ Named functions6665.35%
▷ Anonymous functions3534.65%
Constants22
▷ Global constants1045.45%
▷ Class constants1254.55%
▷ Public constants12100.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

It is recommended to compress PNG files in your plugin to minimize bandwidth usage
1 PNG file occupies 0.00MB with 0.00MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant
FileSize - originalSize - compressedSavings
img/page-speed-insight-logo.png3.62KB1.76KB▼ 51.40%