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.65MB] [CPU: ▼7.19ms] Passed 4 tests
Analyzing server-side resources used by Boostify Header Footer Builder for Elementor
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.16 ▲0.70 | 46.47 ▲4.51 |
Dashboard /wp-admin | 3.96 ▲0.66 | 51.97 ▼0.85 |
Posts /wp-admin/edit.php | 4.02 ▲0.66 | 49.78 ▲1.31 |
Add New Post /wp-admin/post-new.php | 6.57 ▲0.68 | 84.85 ▼11.36 |
Media Library /wp-admin/upload.php | 3.82 ▲0.59 | 37.27 ▼17.85 |
All Header, Footer /wp-admin/edit.php?post_type=btf_builder | 3.93 | 41.29 |
Add New /wp-admin/post-new.php?post_type=btf_builder | 6.55 | 87.66 |
Server storage [IO: ▲9.73MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
There were no storage issued detected upon installing this plugin
Filesystem: 179 new files
Database: no new tables, 7 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_recent-comments |
widget_recent-posts |
widget_theysaidso_widget |
can_compress_scripts |
plugin_permalinks_flushed |
db_upgraded |
Browser metrics Passed 4 tests
A check of browser resources used by Boostify Header Footer Builder for Elementor
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,893 ▲147 | 13.26 ▼1.03 | 2.04 ▲0.16 | 38.45 ▼6.04 |
Dashboard /wp-admin | 2,254 ▲66 | 5.82 ▼0.08 | 102.46 ▼7.61 | 41.24 ▲0.77 |
Posts /wp-admin/edit.php | 2,139 ▲50 | 2.02 ▼0.00 | 34.78 ▼4.43 | 35.28 ▼0.48 |
Add New Post /wp-admin/post-new.php | 1,567 ▲48 | 17.93 ▼5.31 | 699.90 ▲7.80 | 60.00 ▲2.30 |
Media Library /wp-admin/upload.php | 1,439 ▲51 | 4.33 ▲0.14 | 99.86 ▼14.28 | 42.81 ▼5.72 |
All Header, Footer /wp-admin/edit.php?post_type=btf_builder | 1,395 | 2.01 | 32.63 | 32.23 |
Add New /wp-admin/post-new.php?post_type=btf_builder | 6,652 | 20.08 | 865.81 | 34.07 |
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
These items require your attention
- Zombie WordPress options detected upon uninstall: 7 options
- widget_recent-posts
- theysaidso_admin_options
- db_upgraded
- can_compress_scripts
- widget_recent-comments
- widget_theysaidso_widget
- plugin_permalinks_flushed
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though everything seems fine, this is not an exhaustive test
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
The following issues need your attention
- 18× PHP files trigger server-side errors or warnings when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'Boostify_Header_Footer\\Base_Widget' not found in wp-content/plugins/boostify-header-footer-builder/inc/elementor/widgets/class-image-retina.php:28
- > PHP Fatal error
Uncaught Error: Class 'Boostify_Header_Footer\\Base_Widget' not found in wp-content/plugins/boostify-header-footer-builder/inc/elementor/widgets/class-copyright.php:23
- > PHP Fatal error
Uncaught Error: Class 'Boostify_Header_Footer\\Base_Widget' not found in wp-content/plugins/boostify-header-footer-builder/inc/elementor/widgets/class-site-logo.php:22
- > PHP Warning
require(BOOSTIFY_HEADER_FOOTER_PATHinc/elementor/module/class-sticky.php): failed to open stream: No such file or directory in wp-content/plugins/boostify-header-footer-builder/inc/elementor/class-elementor.php on line 281
- > PHP Warning
Use of undefined constant BOOSTIFY_HEADER_FOOTER_PATH - assumed 'BOOSTIFY_HEADER_FOOTER_PATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/boostify-header-footer-builder/inc/elementor/class-elementor.php on line 281
- > PHP Fatal error
Uncaught Error: Call to undefined function do_action() in wp-content/plugins/boostify-header-footer-builder/templates/default/footer.php:12
- > PHP Fatal error
Uncaught Error: Call to undefined function language_attributes() in wp-content/plugins/boostify-header-footer-builder/templates/hf.php:14
- > PHP Fatal error
Uncaught Error: Call to undefined function the_content() in wp-content/plugins/boostify-header-footer-builder/templates/content/content-sub-menu.php:14
- > PHP Fatal error
Uncaught Error: Class 'Boostify_Header_Footer\\Base_Widget' not found in wp-content/plugins/boostify-header-footer-builder/inc/elementor/widgets/class-cart-icon.php:25
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/boostify-header-footer-builder/boostify-header-footer-builder.php:14
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine on the user side
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
7 plugin tags: elementor header, footer builder, sticky menu, elementor, header builder...
boostify-header-footer-builder/boostify-header-footer-builder.php 92% from 13 tests
The entry point to "Boostify Header Footer Builder for Elementor" version 1.2.9 is a PHP file that has certain tags in its header comment area
You should first fix the following items:
- Text Domain: The text domain is optional since WordPress version 4.6; if you do specify it, it must be the same as the plugin slug
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
There were no executable files found in this plugin47,937 lines of code in 111 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
SVG | 11 | 0 | 20 | 14,087 |
CSS | 13 | 3,810 | 56 | 12,927 |
Sass | 26 | 830 | 43 | 11,088 |
PHP | 42 | 1,471 | 2,324 | 8,524 |
JavaScript | 17 | 152 | 264 | 1,218 |
JSON | 2 | 0 | 0 | 93 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.32 |
Average class complexity | 24.15 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 106.00 |
Average method complexity | 2.95 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 21.00 |
Code structure | ||
---|---|---|
Namespaces | 6 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 27 | |
▷ Abstract classes | 2 | 7.41% |
▷ Concrete classes | 25 | 92.59% |
▷ Final classes | 0 | 0.00% |
Methods | 324 | |
▷ Static methods | 29 | 8.95% |
▷ Public methods | 223 | 68.83% |
▷ Protected methods | 63 | 19.44% |
▷ Private methods | 38 | 11.73% |
Functions | 15 | |
▷ Named functions | 14 | 93.33% |
▷ Anonymous functions | 1 | 6.67% |
Constants | 3 | |
▷ Global constants | 3 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.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
2 PNG files occupy 0.17MB with 0.12MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
src/images/boostify.png | 89.01KB | 28.41KB | ▼ 68.08% |
assets/images/boostify.png | 89.01KB | 28.41KB | ▼ 68.08% |