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.01MB] [CPU: ▼5.27ms] 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.47 ▲0.01 | 36.31 ▼9.03 |
Dashboard /wp-admin | 3.31 ▲0.01 | 46.56 ▼5.90 |
Posts /wp-admin/edit.php | 3.37 ▲0.01 | 47.83 ▲1.84 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.01 | 89.97 ▼5.32 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 37.24 ▼0.81 |
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_theysaidso_widget |
widget_recent-posts |
can_compress_scripts |
db_upgraded |
widget_recent-comments |
hfe_plugin_is_activated |
theysaidso_admin_options |
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,803 ▲56 | 14.27 ▼0.49 | 1.47 ▼0.25 | 36.03 ▼7.29 |
Dashboard /wp-admin | 2,211 ▲36 | 5.64 ▼0.06 | 93.68 ▼11.64 | 48.26 ▲11.21 |
Posts /wp-admin/edit.php | 2,113 ▲13 | 2.00 ▲0.06 | 40.03 ▼0.17 | 37.22 ▼0.31 |
Add New Post /wp-admin/post-new.php | 1,539 ▲13 | 23.12 ▼0.43 | 586.24 ▼19.41 | 45.77 ▼12.30 |
Media Library /wp-admin/upload.php | 1,413 ▲10 | 4.23 ▲0.07 | 95.57 ▼6.44 | 42.68 ▲0.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
- widget_theysaidso_widget
- widget_recent-posts
- hfe_plugin_is_activated
- widget_recent-comments
- db_upgraded
- theysaidso_admin_options
- 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
- 17× GET requests to PHP files have triggered server-side errors or warnings (only 10 are shown):
- > PHP Warning
require_once(HFE_DIRthemes/default/class-hfe-default-compat.php): failed to open stream: No such file or directory 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/storefront/class-hfe-storefront-compat.php:27
- > PHP Fatal error
require_once(): Failed opening required 'HFE_DIRthemes/default/class-hfe-default-compat.php' (include_path='.:/usr/share/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/generatepress/class-hfe-generatepress-compat.php:29
- > 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
Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/header-footer-elementor/header-footer-elementor.php:19
- > PHP Fatal error
Uncaught Error: Call to undefined function HFE\\Themes\\add_action() in wp-content/plugins/header-footer-elementor/themes/default/class-global-theme-compatibility.php:19
- > 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 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 add_action() in wp-content/plugins/header-footer-elementor/themes/genesis/class-hfe-genesis-compat.php:27
- > PHP Warning
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.20 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,886 lines of code in 116 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 38 | 1,626 | 2,843 | 9,479 |
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.37 |
Average class complexity | 24.36 |
▷ Minimum class complexity | 3.00 |
▷ Maximum class complexity | 253.00 |
Average method complexity | 3.41 |
▷ 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-uae.png | 1.94KB | 2.07KB | 0.00% |
assets/images/settings/plugin-st.png | 3.52KB | 2.27KB | ▼ 35.59% |
assets/images/settings/plugin-astra.png | 2.40KB | 1.91KB | ▼ 20.56% |