Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
This plugin's installer ran successfully
Server metrics [RAM: ▲0.38MB] [CPU: ▼1.73ms] Passed 4 tests
An overview of server-side resources used by Easy Header Footer - Speedup, Security and Minify
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.82 ▲0.36 | 44.14 ▲1.20 |
Dashboard /wp-admin | 3.75 ▲0.40 | 54.99 ▼16.44 |
Posts /wp-admin/edit.php | 3.80 ▲0.44 | 55.07 ▲5.50 |
Add New Post /wp-admin/post-new.php | 6.27 ▲0.38 | 100.52 ▲6.18 |
Media Library /wp-admin/upload.php | 3.61 ▲0.38 | 40.28 ▲2.82 |
Easy Header Footer /wp-admin/options-general.php?page=easy-header-footer | 3.65 | 37.49 |
Server storage [IO: ▲0.20MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
No storage issues were detected
Filesystem: 33 new files
Database: no new tables, 8 new options
New WordPress options |
---|
ehf_plugin_installed_time_donate |
can_compress_scripts |
theysaidso_admin_options |
db_upgraded |
ehf_plugin_installed_time |
widget_recent-posts |
widget_recent-comments |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Easy Header Footer - Speedup, Security and Minify
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,828 ▲67 | 14.75 ▲0.78 | 2.26 ▲0.44 | 42.26 ▼5.57 |
Dashboard /wp-admin | 2,199 ▲19 | 5.57 ▼0.01 | 85.83 ▼10.35 | 39.98 ▼2.74 |
Posts /wp-admin/edit.php | 2,107 ▲10 | 2.14 ▲0.14 | 41.60 ▲3.75 | 38.89 ▲3.00 |
Add New Post /wp-admin/post-new.php | 6,273 ▲4,747 | 26.10 ▲3.04 | 924.71 ▲257.95 | 61.05 ▼2.67 |
Media Library /wp-admin/upload.php | 1,404 ▲4 | 4.22 ▼0.05 | 112.40 ▲15.52 | 47.54 ▼0.15 |
Easy Header Footer /wp-admin/options-general.php?page=easy-header-footer | 2,117 | 1.93 | 34.70 | 83.67 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
The following items require your attention
- Zombie WordPress options were found after uninstall: 7 options
- widget_recent-posts
- widget_theysaidso_widget
- theysaidso_admin_options
- widget_recent-comments
- can_compress_scripts
- db_upgraded
- ehf_plugin_installed_time_donate
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Good news, no errors were detected
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
Almost there! Just fix the following items
- 13× PHP files trigger errors when accessed directly with GET requests (only 10 are shown):
- > PHP Warning
Use of undefined constant EHF_PLUGIN_VERSION - assumed 'EHF_PLUGIN_VERSION' (this will throw an Error in a future version of PHP) in wp-content/plugins/remove-wp-meta-tags/admin/settings/settings-page.php on line 16
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/remove-wp-meta-tags/admin/meta-box.php:15
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/remove-wp-meta-tags/admin/notice.php:12
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/remove-wp-meta-tags/includes/security-settings.php:12
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/remove-wp-meta-tags/includes/script-settings.php:12
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/remove-wp-meta-tags/includes/meta-settings.php:12
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/remove-wp-meta-tags/admin/loader.php:12
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/remove-wp-meta-tags/admin/donate.php:12
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/remove-wp-meta-tags/admin/settings/settings-page.php:17
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/remove-wp-meta-tags/includes/minify-settings.php:12
- > PHP Warning
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine on the user side
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
Attributes that need to be fixed:
- Tags: You are using too many tags: 24 tag instead of maximum 10
remove-wp-meta-tags/remove-wp-meta-tags.php 92% from 13 tests
"Easy Header Footer - Speedup, Security and Minify" version 3.2.2's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
You should first fix the following items:
- Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 164 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
Success! There were no dangerous files found in this plugin2,210 lines of code in 23 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 18 | 291 | 248 | 1,681 |
CSS | 2 | 37 | 0 | 224 |
JavaScript | 2 | 30 | 0 | 206 |
SVG | 1 | 0 | 0 | 99 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.42 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 106 | |
▷ Named functions | 98 | 92.45% |
▷ Anonymous functions | 8 | 7.55% |
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
Using a strong compression for your PNG files is a great way to speed-up your plugin
There are no PNG files in this plugin