Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Installer ran successfully
Server metrics [RAM: ▲0.25MB] [CPU: ▲0.59ms] Passed 4 tests
An overview of server-side resources used by BoostBox
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.68 ▲0.22 | 39.17 ▲1.17 |
Dashboard /wp-admin | 3.61 ▲0.26 | 55.74 ▼4.64 |
Posts /wp-admin/edit.php | 3.66 ▲0.30 | 49.14 ▼0.10 |
Add New Post /wp-admin/post-new.php | 6.19 ▲0.30 | 93.90 ▲5.92 |
Media Library /wp-admin/upload.php | 3.44 ▲0.22 | 38.80 ▲6.09 |
All Popups /wp-admin/edit.php?post_type=boostbox_popups | 3.58 | 41.48 |
Settings /wp-admin/edit.php?post_type=boostbox_popups&page=settings | 3.45 | 37.63 |
Add New /wp-admin/post-new.php?post_type=boostbox_popups | 6.17 | 79.52 |
Server storage [IO: ▲0.87MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin installed successfully
Filesystem: 36 new files
Database: no new tables, 7 new options
New WordPress options |
---|
theysaidso_admin_options |
boostbox_general |
db_upgraded |
widget_theysaidso_widget |
widget_recent-comments |
widget_recent-posts |
can_compress_scripts |
Browser metrics Passed 4 tests
An overview of browser requirements for BoostBox
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,126 ▲380 | 15.58 ▲1.20 | 7.08 ▲5.41 | 45.62 ▲6.03 |
Dashboard /wp-admin | 2,416 ▲225 | 6.67 ▲1.78 | 129.24 ▲27.77 | 46.96 ▲8.76 |
Posts /wp-admin/edit.php | 2,323 ▲234 | 3.54 ▲1.49 | 50.35 ▲15.75 | 33.11 ▲0.20 |
Add New Post /wp-admin/post-new.php | 6,458 ▲4,925 | 27.80 ▲4.84 | 928.11 ▲337.92 | 44.92 ▼3.06 |
Media Library /wp-admin/upload.php | 1,459 ▲77 | 4.31 ▲0.11 | 92.29 ▼12.53 | 45.49 ▲1.25 |
All Popups /wp-admin/edit.php?post_type=boostbox_popups | 1,290 | 3.59 | 48.27 | 27.36 |
Settings /wp-admin/edit.php?post_type=boostbox_popups&page=settings | 1,125 | 3.61 | 51.74 | 51.00 |
Add New /wp-admin/post-new.php?post_type=boostbox_popups | 1,543 | 16.98 | 838.46 | 30.47 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
These items require your attention
- Zombie WordPress options detected upon uninstall: 7 options
- widget_theysaidso_widget
- boostbox_general
- theysaidso_admin_options
- db_upgraded
- can_compress_scripts
- widget_recent-comments
- widget_recent-posts
Smoke tests 25% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Good news, no errors were detected
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 fix the following items
- 2× PHP files perform the task of outputting text when accessed with GET requests:
- > /wp-content/plugins/boostbox/public/partials/boostbox-public-display.php
- > /wp-content/plugins/boostbox/admin/partials/boostbox-admin-display.php
- 7× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_die() in wp-content/plugins/boostbox/admin/boostbox-admin-settings.php:15
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_die() in wp-content/plugins/boostbox/admin/boostbox-metaboxes.php:15
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/boostbox/admin/metaboxes/boostbox-popup-settings.php:42
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_die() in wp-content/plugins/boostbox/admin/class-boostbox-admin-settings.php:17
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/boostbox/public/boostbox-popups.php:58
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_die() in wp-content/plugins/boostbox/boostbox.php:27
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_die() in wp-content/plugins/boostbox/uninstall.php:31
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
Please take a look at the following user-side issues
- 3 occurences, only the last one shown
- > GET request to /wp-admin/post-new.php?post_type=boostbox_popups
- > Network (severe)
js/chart.js?ver=1.0.0 - Failed to load resource: net::ERR_NAME_NOT_RESOLVED
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
5 plugin tags: modal, popup, marketing, lead-generation, exit-intent
boostbox/boostbox.php Passed 13 tests
"BoostBox" version 1.0.0's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
88 characters long description:
Build popups for lead generation, content promotion and more using the Gutenberg editor.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
Good job! No executable or dangerous file extensions detected1,988 lines of code in 27 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 19 | 307 | 1,062 | 968 |
CSS | 4 | 202 | 10 | 966 |
JavaScript | 3 | 11 | 25 | 40 |
Markdown | 1 | 8 | 0 | 14 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.28 |
Average class complexity | 8.88 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 61.00 |
Average method complexity | 1.85 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 7.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 8 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 8 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 55 | |
▷ Static methods | 2 | 3.64% |
▷ Public methods | 50 | 90.91% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 5 | 9.09% |
Functions | 13 | |
▷ Named functions | 12 | 92.31% |
▷ Anonymous functions | 1 | 7.69% |
Constants | 1 | |
▷ Global constants | 1 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
1 PNG file occupies 0.01MB with 0.00MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
admin/images/logo.png | 9.00KB | 7.27KB | ▼ 19.21% |