Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
This plugin's installer ran successfully
Server metrics [RAM: ▼0.00MB] [CPU: ▼11.60ms] Passed 4 tests
A check of server-side resources used by Alerts for Beaver Builder
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 34.93 ▼3.38 |
Dashboard /wp-admin | 3.31 ▼0.03 | 41.27 ▼19.42 |
Posts /wp-admin/edit.php | 3.36 ▲0.01 | 48.22 ▼0.42 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.01 | 78.17 ▼23.16 |
Media Library /wp-admin/upload.php | 3.23 ▲0.01 | 34.31 ▲3.26 |
Server storage [IO: ▲0.05MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
There were no storage issued detected upon installing this plugin
Filesystem: 10 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
theysaidso_admin_options |
widget_recent-comments |
db_upgraded |
widget_recent-posts |
can_compress_scripts |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Alerts for Beaver Builder
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,824 ▲63 | 14.25 ▼0.31 | 1.66 ▲0.10 | 39.75 ▲1.48 |
Dashboard /wp-admin | 2,208 ▲28 | 5.59 ▼0.02 | 96.45 ▲10.22 | 43.66 ▲1.16 |
Posts /wp-admin/edit.php | 2,110 ▲10 | 2.04 ▲0.03 | 39.02 ▲1.26 | 37.99 ▲6.08 |
Add New Post /wp-admin/post-new.php | 1,541 ▲15 | 23.20 ▲0.22 | 657.38 ▼8.08 | 51.26 ▼6.95 |
Media Library /wp-admin/upload.php | 1,410 ▲7 | 4.29 ▲0.11 | 98.17 ▼2.95 | 40.79 ▼2.00 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
You still need to fix the following
- Zombie WordPress options were found after uninstall: 6 options
- widget_recent-comments
- widget_theysaidso_widget
- can_compress_scripts
- theysaidso_admin_options
- widget_recent-posts
- db_upgraded
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking 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
- 2× PHP files output text when accessed directly:
- > /wp-content/plugins/bb-bootstrap-alerts/bb-bootstrap-alerts-module/includes/frontend.css.php
- > /wp-content/plugins/bb-bootstrap-alerts/bb-bootstrap-alerts-module/includes/frontend.js.php
- 54× PHP files trigger server-side errors or warnings when accessed directly (only 10 are shown):
- > PHP Notice
Undefined variable: settings in wp-content/plugins/bb-bootstrap-alerts/bb-bootstrap-alerts-module/includes/frontend.css.php on line 25
- > PHP Notice
Trying to get property 'bbn_font_size' of non-object in wp-content/plugins/bb-bootstrap-alerts/bb-bootstrap-alerts-module/includes/frontend.css.php on line 7
- > PHP Notice
Undefined variable: id in wp-content/plugins/bb-bootstrap-alerts/bb-bootstrap-alerts-module/includes/frontend.css.php on line 2
- > PHP Notice
Trying to get property 'bbn_padding_top' of non-object in wp-content/plugins/bb-bootstrap-alerts/bb-bootstrap-alerts-module/includes/frontend.css.php on line 55
- > PHP Notice
Trying to get property 'bbn_border_color' of non-object in wp-content/plugins/bb-bootstrap-alerts/bb-bootstrap-alerts-module/includes/frontend.css.php on line 24
- > PHP Notice
Undefined variable: id in wp-content/plugins/bb-bootstrap-alerts/bb-bootstrap-alerts-module/includes/frontend.css.php on line 34
- > PHP Notice
Undefined variable: id in wp-content/plugins/bb-bootstrap-alerts/bb-bootstrap-alerts-module/includes/frontend.css.php on line 13
- > PHP Fatal error
Uncaught Error: Class 'FLBuilderModel' not found in wp-content/plugins/bb-bootstrap-alerts/bb-bootstrap-alerts-module/includes/frontend.php:4
- > PHP Notice
Trying to get property 'bbn_padding_top' of non-object in wp-content/plugins/bb-bootstrap-alerts/bb-bootstrap-alerts-module/includes/frontend.css.php on line 14
- > PHP Notice
Trying to get property 'bbn_closable' of non-object in wp-content/plugins/bb-bootstrap-alerts/bb-bootstrap-alerts-module/includes/frontend.css.php on line 68
- > PHP Notice
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 errors were detected
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
9 plugin tags: bb bootstrap, notification, drag and drop alerts, bootstrap, bb notification...
bb-bootstrap-alerts/bb-bootstrap-alerts.php Passed 13 tests
Analyzing the main PHP file in "Alerts for Beaver Builder" version 1.2.4
55 characters long description:
This is the plugin to create predefined alert messages.
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
No dangerous file extensions were detected936 lines of code in 9 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 5 | 53 | 50 | 464 |
JavaScript | 3 | 101 | 54 | 419 |
CSS | 1 | 0 | 0 | 53 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.59 |
Average class complexity | 2.50 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 4.00 |
Average method complexity | 1.60 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 3.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 5 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 5 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 2 | |
▷ Global constants | 2 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
No PNG images were found in this plugin