Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Installer ran successfully
Server metrics [RAM: ▲0.03MB] [CPU: ▼4.94ms] Passed 4 tests
Analyzing server-side resources used by Header Footer for Beaver Builder
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.50 ▲0.04 | 39.22 ▼4.27 |
Dashboard /wp-admin | 3.34 ▼0.00 | 51.77 ▼11.01 |
Posts /wp-admin/edit.php | 3.39 ▲0.04 | 51.07 ▲0.02 |
Add New Post /wp-admin/post-new.php | 5.92 ▲0.04 | 99.44 ▼4.50 |
Media Library /wp-admin/upload.php | 3.26 ▲0.04 | 36.16 ▲1.46 |
Server storage [IO: ▲0.08MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
The plugin installed successfully
Filesystem: 21 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
widget_theysaidso_widget |
widget_recent-posts |
db_upgraded |
can_compress_scripts |
theysaidso_admin_options |
Browser metrics Passed 4 tests
An overview of browser requirements for Header Footer for Beaver Builder
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,850 ▲115 | 13.23 ▼1.33 | 1.89 ▲0.17 | 40.31 ▼10.29 |
Dashboard /wp-admin | 2,231 ▲25 | 5.84 ▼0.04 | 99.06 ▼5.74 | 39.31 ▼6.01 |
Posts /wp-admin/edit.php | 2,110 ▲10 | 2.14 ▲0.13 | 40.80 ▼0.49 | 37.47 ▼0.20 |
Add New Post /wp-admin/post-new.php | 1,541 ▼13 | 23.02 ▲4.61 | 612.40 ▼33.52 | 49.98 ▼1.38 |
Media Library /wp-admin/upload.php | 1,410 ▲7 | 4.24 ▲0.05 | 96.74 ▼7.00 | 42.46 ▲0.06 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
These items require your attention
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_theysaidso_widget
- widget_recent-posts
- widget_recent-comments
- can_compress_scripts
- db_upgraded
- theysaidso_admin_options
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Good news, no errors were detected
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
Almost there! Just fix the following items
- 8× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/bb-header-footer/themes/astra/class-astra-compat.php:28
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/bb-header-footer/bb-header-footer.php:21
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/bb-header-footer/admin/class-bb-admin-ui.php:19
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/bb-header-footer/themes/bb-theme/class-bb-theme-compat.php:30
- > PHP Fatal error
Uncaught Error: Class 'FLBuilderAdminSettings' not found in wp-content/plugins/bb-header-footer/admin/render-admin-panel.php:13
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/bb-header-footer/themes/generatepress/class-generatepress-compat.php:30
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/bb-header-footer/themes/wp-primer-theme/class-bhf-primer-theme-compat.php:28
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/bb-header-footer/themes/genesis/class-genesis-compat.php:28
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser errors were detected
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
Please fix the following attributes:
- Tags: Too many tags (12 tag instead of maximum 10); only the first 5 tags are used in your directory listing
bb-header-footer/bb-header-footer.php Passed 13 tests
The primary PHP file in "Header Footer for Beaver Builder" version 1.2.2 is used by WordPress to initiate all plugin functionality
121 characters long description:
An easy-to-use Beaver Builder addon to import pages or templates as a header or a footer across a Beaver Builder website.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
There were no executable files found in this plugin1,376 lines of code in 19 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 12 | 390 | 704 | 1,113 |
CSS | 5 | 40 | 6 | 190 |
JavaScript | 2 | 20 | 24 | 73 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.34 |
Average class complexity | 15.50 |
▷ Minimum class complexity | 4.00 |
▷ Maximum class complexity | 41.00 |
Average method complexity | 2.48 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 9.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 10 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 10 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 98 | |
▷ Static methods | 20 | 20.41% |
▷ Public methods | 76 | 77.55% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 22 | 22.45% |
Functions | 2 | |
▷ Named functions | 2 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 8 | |
▷ Global constants | 8 | 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
PNG images were not found in this plugin