Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
This plugin's installer ran successfully
Server metrics [RAM: ▲0.07MB] [CPU: ▼6.52ms] Passed 4 tests
An overview of server-side resources used by Elementor Header & Footer Builder
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.54 ▲0.08 | 36.27 ▲0.91 |
Dashboard /wp-admin | 3.39 ▲0.04 | 43.80 ▼17.50 |
Posts /wp-admin/edit.php | 3.50 ▲0.14 | 47.34 ▲3.68 |
Add New Post /wp-admin/post-new.php | 5.97 ▲0.08 | 80.74 ▼12.21 |
Media Library /wp-admin/upload.php | 3.31 ▲0.08 | 33.65 ▲2.72 |
Server storage [IO: ▲1.14MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin was installed successfully
Filesystem: 126 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_recent-comments |
widget_theysaidso_widget |
hfe_plugin_is_activated |
can_compress_scripts |
theysaidso_admin_options |
widget_recent-posts |
db_upgraded |
Browser metrics Passed 4 tests
Checking browser requirements for Elementor Header & Footer Builder
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,802 ▲41 | 14.38 ▲0.03 | 1.61 ▲0.03 | 38.65 ▼2.83 |
Dashboard /wp-admin | 2,205 ▲24 | 5.51 ▼0.22 | 87.06 ▼13.35 | 39.43 ▼2.82 |
Posts /wp-admin/edit.php | 2,113 ▲13 | 2.01 ▲0.07 | 36.05 ▲1.03 | 34.18 ▼3.41 |
Add New Post /wp-admin/post-new.php | 1,539 ▲11 | 23.14 ▼0.14 | 658.92 ▲5.65 | 58.46 ▼0.60 |
Media Library /wp-admin/upload.php | 1,410 ▲10 | 4.25 ▲0.06 | 100.03 ▼10.62 | 42.96 ▼4.37 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
You still need to fix the following
- Zombie WordPress options detected upon uninstall: 7 options
- hfe_plugin_is_activated
- theysaidso_admin_options
- widget_recent-comments
- widget_theysaidso_widget
- db_upgraded
- widget_recent-posts
- can_compress_scripts
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)
Everything seems fine, however this is by no means an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
The following issues need your attention
- 18× GET requests to PHP files have triggered server-side errors or warnings (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Call to undefined function HFE\\Themes\\add_action() in wp-content/plugins/header-footer-elementor/themes/default/class-hfe-default-compat.php:19
- > PHP Fatal error
Uncaught Error: Call to undefined function do_action() in wp-content/plugins/header-footer-elementor/themes/default/hfe-footer.php:11
- > PHP Fatal error
Uncaught Error: Call to undefined function HFE\\Lib\\plugins_url() in wp-content/plugins/header-footer-elementor/inc/lib/target-rule/class-astra-target-rules-fields.php:89
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/header-footer-elementor/themes/genesis/class-hfe-genesis-compat.php:27
- > PHP Fatal error
Uncaught Error: Call to undefined function HFE\\Themes\\add_action() in wp-content/plugins/header-footer-elementor/inc/class-hfe-settings-page.php:26
- > PHP Fatal error
Uncaught Error: Call to undefined function language_attributes() in wp-content/plugins/header-footer-elementor/themes/default/hfe-header.php:10
- > PHP Warning
Use of undefined constant HFE_DIR - assumed 'HFE_DIR' (this will throw an Error in a future version of PHP) in wp-content/plugins/header-footer-elementor/themes/hello-elementor/class-hfe-hello-elementor-compat.php on line 28
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/header-footer-elementor/themes/oceanwp/class-hfe-oceanwp-compat.php:27
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/header-footer-elementor/inc/class-hfe-elementor-canvas-compat.php:27
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/header-footer-elementor/themes/bb-theme/class-hfe-bb-theme-compat.php:29
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 93% 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
Attributes that require attention:
- Tags: Please delete some tags, you are using 11 tag instead of maximum 10
header-footer-elementor/header-footer-elementor.php 92% from 13 tests
The principal PHP file in "Elementor Header & Footer Builder" v. 1.6.17 is loaded by WordPress automatically on each request
It is important to fix the following:
- Description: Please don't use more than 140 characters for the plugin description (currently 216 characters long)
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
No dangerous file extensions were detected17,883 lines of code in 116 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 38 | 1,628 | 2,836 | 9,476 |
JavaScript | 62 | 1,582 | 440 | 5,614 |
CSS | 12 | 378 | 53 | 2,668 |
XML | 1 | 0 | 0 | 71 |
SVG | 2 | 3 | 1 | 51 |
JSON | 1 | 1 | 0 | 3 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.36 |
Average class complexity | 24.27 |
▷ Minimum class complexity | 3.00 |
▷ Maximum class complexity | 253.00 |
Average method complexity | 3.40 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 57.00 |
Code structure | ||
---|---|---|
Namespaces | 4 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 33 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 33 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 311 | |
▷ Static methods | 46 | 14.79% |
▷ Public methods | 232 | 74.60% |
▷ Protected methods | 48 | 15.43% |
▷ Private methods | 31 | 9.97% |
Functions | 14 | |
▷ Named functions | 13 | 92.86% |
▷ Anonymous functions | 1 | 7.14% |
Constants | 11 | |
▷ Global constants | 11 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
3 PNG files occupy 0.01MB with 0.00MB in potential savings
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/images/settings/plugin-astra.png | 2.40KB | 1.91KB | ▼ 20.56% |
assets/images/settings/plugin-st.png | 3.52KB | 2.27KB | ▼ 35.59% |
assets/images/settings/plugin-uae.png | 1.94KB | 2.07KB | 0.00% |