78% boostools

Code Review | Boostools – All-in-One app for engaging, re-targeting & converting website visitors

WordPress plugin Boostools – All-in-One app for engaging, re-targeting & converting website visitors scored 78% from 54 tests.

About plugin

  • Plugin page: boostools
  • Plugin version: 1.0.2
  • PHP version: 7.4.16
  • WordPress version: 6.3.1
  • First release: Oct 14, 2019
  • Latest release: Apr 5, 2021
  • Number of updates: 5
  • Update frequency: every 108.4 days
  • Top authors: boostools (100%)

Code review

54 tests

User reviews

4 reviews

Install metrics

10+ active / 812 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
Install script ran successfully

Server metrics [RAM: ▲0.02MB] [CPU: ▼2.03ms] Passed 4 tests

Analyzing server-side resources used by Boostools – All-in-One app for engaging, re-targeting & converting website visitors
No issues were detected with server-side resource usage
PageMemory (MB)CPU Time (ms)
Home /3.48 ▲0.0236.99 ▼5.65
Dashboard /wp-admin3.33 ▲0.0245.66 ▼3.13
Posts /wp-admin/edit.php3.38 ▲0.0243.72 ▼1.10
Add New Post /wp-admin/post-new.php5.93 ▲0.0491.00 ▲1.76
Media Library /wp-admin/upload.php3.25 ▲0.0234.82 ▲2.01
Boostools /wp-admin/options-general.php?page=Boostools3.2430.86

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: 22 new files
Database: no new tables, 6 new options
New WordPress options
widget_recent-comments
widget_recent-posts
db_upgraded
can_compress_scripts
theysaidso_admin_options
widget_theysaidso_widget

Browser metrics Passed 4 tests

Checking browser requirements for Boostools – All-in-One app for engaging, re-targeting & converting website visitors
Normal browser usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,808 ▲5113.68 ▼0.701.64 ▼0.3441.33 ▼2.66
Dashboard /wp-admin2,214 ▲265.79 ▲0.9198.81 ▼9.3435.67 ▼10.01
Posts /wp-admin/edit.php2,094 ▲232.13 ▲0.0935.76 ▼0.4332.13 ▼3.01
Add New Post /wp-admin/post-new.php1,524 ▲1023.33 ▲5.80616.68 ▼65.8848.67 ▼16.89
Media Library /wp-admin/upload.php1,396 ▲54.22 ▼0.0595.64 ▼4.6841.41 ▼5.55
Boostools /wp-admin/options-general.php?page=Boostools7922.0624.0426.57

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
  • Zombie WordPress options detected upon uninstall: 6 options
    • can_compress_scripts
    • widget_theysaidso_widget
    • widget_recent-posts
    • theysaidso_admin_options
    • db_upgraded
    • widget_recent-comments

Smoke tests 50% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | This is a shallow check for server-side errors
The smoke test was a success, however most plugin functionality was not tested

SRP 0% 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
Please take a closer look at the following
  • 1× GET requests to PHP files return non-empty strings:
    • > /wp-content/plugins/boostools/public/partials/boostools-public-display.php
  • 1× GET requests to PHP files trigger server-side errors or Error 500 responses:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function esc_html() in wp-content/plugins/boostools/admin/partials/boostools-admin-display.php:18

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 97% from 29 tests

readme.txt 94% from 16 tests

The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
These attributes need your attention:
  • Contributors: The plugin contributors field is not present
You can take inspiration from this readme.txt

boostools/boostools.php Passed 13 tests

The principal PHP file in "Boostools – All-in-One app for engaging, re-targeting & converting website visitors" v. 1.0.2 is loaded by WordPress automatically on each request
139 characters long description:
Welcome to boostools – this is very simple WordPress plugin that helps turn your website visitors into web push notification subscribers.

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
Good job! No executable or dangerous file extensions detected250 lines of code in 16 files:
LanguageFilesBlank linesComment linesLines of code
PHP12129538244
JavaScript24546
CSS2080

PHP code Passed 2 tests

Analyzing cyclomatic complexity and code structure
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity
Average complexity per logical line of code0.13
Average class complexity2.29
▷ Minimum class complexity1.00
▷ Maximum class complexity6.00
Average method complexity1.30
▷ Minimum method complexity1.00
▷ Maximum method complexity5.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes7
▷ Abstract classes00.00%
▷ Concrete classes7100.00%
▷ Final classes00.00%
Methods30
▷ Static methods26.67%
▷ Public methods2583.33%
▷ Protected methods00.00%
▷ Private methods516.67%
Functions3
▷ Named functions3100.00%
▷ Anonymous functions00.00%
Constants1
▷ Global constants1100.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

PNG files should be compressed to save space and minimize bandwidth usage
PNG images were not found in this plugin