Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Install script ran successfully
Server metrics [RAM: ▲0.03MB] [CPU: ▼1.91ms] Passed 4 tests
Server-side resources used by Header Footer Composer for Elementor
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.50 ▲0.04 | 45.13 ▲3.96 |
Dashboard /wp-admin | 3.34 ▲0.04 | 44.99 ▼15.50 |
Posts /wp-admin/edit.php | 3.39 ▲0.03 | 49.82 ▼0.07 |
Add New Post /wp-admin/post-new.php | 5.92 ▲0.03 | 100.47 ▲6.54 |
Media Library /wp-admin/upload.php | 3.26 ▲0.03 | 36.21 ▲3.99 |
Server storage [IO: ▲0.13MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
No storage issues were detected
Filesystem: 35 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
theysaidso_admin_options |
can_compress_scripts |
db_upgraded |
widget_theysaidso_widget |
widget_recent-posts |
Browser metrics Passed 4 tests
Checking browser requirements for Header Footer Composer for Elementor
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,811 ▲76 | 13.28 ▼1.08 | 1.76 ▼0.10 | 41.72 ▲0.93 |
Dashboard /wp-admin | 2,220 ▲29 | 6.06 ▲1.17 | 107.51 ▼9.59 | 41.37 ▼12.17 |
Posts /wp-admin/edit.php | 2,102 ▲13 | 1.99 ▼0.06 | 38.90 ▲1.69 | 36.65 ▲4.08 |
Add New Post /wp-admin/post-new.php | 1,558 ▲25 | 18.30 ▼5.01 | 597.03 ▼30.51 | 70.64 ▲21.38 |
Media Library /wp-admin/upload.php | 1,399 ▲14 | 4.18 ▲0.01 | 94.35 ▼7.20 | 43.11 ▼1.97 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
It is recommended to fix the following
- The uninstall procedure has failed, leaving 6 options in the database
- widget_recent-posts
- theysaidso_admin_options
- can_compress_scripts
- widget_recent-comments
- db_upgraded
- widget_theysaidso_widget
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 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Please fix the following items
- 2× PHP files output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/header-footer-composer/public/partials/header-footer-composer-public-display.php
- > /wp-content/plugins/header-footer-composer/admin/partials/header-footer-composer-admin-display.php
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser errors were detected
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
8 plugin tags: footer builder, template builder, header, custom header builder, elementor...
header-footer-composer/header-footer-composer.php Passed 13 tests
"Header Footer Composer for Elementor" version 1.0.4's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
77 characters long description:
Design custom headers and footers for your site using Elementor Page builder.
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
Everything looks great! No dangerous files found in this plugin2,506 lines of code in 29 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 21 | 399 | 578 | 1,874 |
CSS | 4 | 9 | 9 | 497 |
JavaScript | 4 | 40 | 30 | 135 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.12 |
Average class complexity | 3.13 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 11.00 |
Average method complexity | 1.43 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 8.00 |
Code structure | ||
---|---|---|
Namespaces | 1 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 15 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 15 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 75 | |
▷ Static methods | 3 | 4.00% |
▷ Public methods | 58 | 77.33% |
▷ Protected methods | 12 | 16.00% |
▷ Private methods | 5 | 6.67% |
Functions | 5 | |
▷ Named functions | 5 | 100.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
Often times overlooked, PNG files can occupy unnecessary space in your plugin
There are no PNG files in this plugin