Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Installer ran successfully
Server metrics [RAM: ▲0.01MB] [CPU: ▼5.94ms] Passed 4 tests
This is a short check of server-side resources used by Header Builder for Elementor by WPDaddy
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 38.28 ▼1.76 |
Dashboard /wp-admin | 3.31 ▲0.01 | 44.23 ▼1.15 |
Posts /wp-admin/edit.php | 3.36 ▲0.01 | 43.39 ▼2.18 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.01 | 83.86 ▼18.65 |
Media Library /wp-admin/upload.php | 3.23 ▲0.01 | 33.89 ▼0.92 |
Server storage [IO: ▲0.76MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin was installed successfully
Filesystem: 67 new files
Database: no new tables, 8 new options
New WordPress options |
---|
elementor_disable_typography_schemes |
db_upgraded |
widget_theysaidso_widget |
widget_recent-comments |
widget_recent-posts |
can_compress_scripts |
elementor_disable_color_schemes |
theysaidso_admin_options |
Browser metrics Passed 4 tests
An overview of browser requirements for Header Builder for Elementor by WPDaddy
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,825 ▲79 | 14.74 ▼0.01 | 2.21 ▲0.07 | 44.31 ▼2.05 |
Dashboard /wp-admin | 2,206 ▲18 | 5.89 ▲0.82 | 111.07 ▼9.69 | 41.34 ▼7.78 |
Posts /wp-admin/edit.php | 2,086 ▼0 | 2.03 ▲0.04 | 36.56 ▲1.15 | 31.90 ▲0.66 |
Add New Post /wp-admin/post-new.php | 1,542 ▲28 | 18.13 ▲0.63 | 664.86 ▼41.06 | 53.11 ▲0.84 |
Media Library /wp-admin/upload.php | 1,388 ▲3 | 4.23 ▲0.06 | 112.32 ▼7.81 | 48.14 ▼7.88 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
The following items require your attention
- The uninstall procedure has failed, leaving 8 options in the database
- widget_theysaidso_widget
- widget_recent-posts
- elementor_disable_color_schemes
- widget_recent-comments
- elementor_disable_typography_schemes
- theysaidso_admin_options
- can_compress_scripts
- db_upgraded
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 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Please fix the following items
- 11× GET requests to PHP files have triggered server-side errors or warnings (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Interface 'WPDaddy\\Dom\\StreamInterface' not found in wp-content/plugins/wpdaddy-header-builder/core/dom/Document.php:32
- > PHP Fatal error
Trait 'WPDaddy\\Dom\\ChildNode' not found in wp-content/plugins/wpdaddy-header-builder/core/dom/DocumentType.php on line 10
- > PHP Fatal error
Trait 'WPDaddy\\Dom\\LiveProperty' not found in wp-content/plugins/wpdaddy-header-builder/core/dom/NodeList.php on line 13
- > PHP Fatal error
Trait 'WPDaddy\\Dom\\LiveProperty' not found in wp-content/plugins/wpdaddy-header-builder/core/dom/DocumentFragment.php on line 24
- > PHP Fatal error
Trait 'WPDaddy\\Dom\\LiveProperty' not found in wp-content/plugins/wpdaddy-header-builder/core/dom/TokenList.php on line 16
- > PHP Fatal error
Uncaught Error: Class 'WPDaddy\\Dom\\Document' not found in wp-content/plugins/wpdaddy-header-builder/core/dom/HTMLDocument.php:24
- > PHP Fatal error
Trait 'WPDaddy\\Dom\\LiveProperty' not found in wp-content/plugins/wpdaddy-header-builder/core/dom/Element.php on line 99
- > PHP Fatal error
Trait 'WPDaddy\\Dom\\LiveProperty' not found in wp-content/plugins/wpdaddy-header-builder/core/dom/CharacterData.php on line 10
- > PHP Fatal error
Uncaught Error: Class 'WPDaddy\\Dom\\Document' not found in wp-content/plugins/wpdaddy-header-builder/core/dom/XMLDocument.php:11
- > PHP Fatal error
Trait 'WPDaddy\\Dom\\LiveProperty' not found in wp-content/plugins/wpdaddy-header-builder/core/dom/Node.php on line 24
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
There were no browser issues found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
6 plugin tags: build header, header builder, elementor, header builder for elementor, header...
wpdaddy-header-builder/wpda-builder.php 85% from 13 tests
Analyzing the main PHP file in "Header Builder for Elementor by WPDaddy" version 1.0.2
The following require your attention:
- Text Domain: You no longer need to specify the text domain since WordPress 4.6; it must be the same as the plugin slug
- Main file name: The principal plugin file should be the same as the plugin slug ("wpdaddy-header-builder.php" instead of "wpda-builder.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
There were no executable files found in this plugin4,535 lines of code in 62 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 52 | 888 | 881 | 4,332 |
SVG | 2 | 0 | 6 | 153 |
CSS | 4 | 8 | 7 | 38 |
JavaScript | 4 | 0 | 62 | 12 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.35 |
Average class complexity | 8.36 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 79.00 |
Average method complexity | 2.26 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 42.00 |
Code structure | ||
---|---|---|
Namespaces | 11 | |
Interfaces | 1 | |
Traits | 15 | |
Classes | 34 | |
▷ Abstract classes | 1 | 2.94% |
▷ Concrete classes | 33 | 97.06% |
▷ Final classes | 3 | 9.09% |
Methods | 270 | |
▷ Static methods | 22 | 8.15% |
▷ Public methods | 190 | 70.37% |
▷ Protected methods | 50 | 18.52% |
▷ Private methods | 30 | 11.11% |
Functions | 8 | |
▷ Named functions | 5 | 62.50% |
▷ Anonymous functions | 3 | 37.50% |
Constants | 26 | |
▷ Global constants | 3 | 11.54% |
▷ Class constants | 23 | 88.46% |
▷ Public constants | 23 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
No PNG files were detected