Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.14MB] [CPU: ▼6.60ms] Passed 4 tests
Analyzing server-side resources used by Elvez Hide Site Header & Footer
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.92 ▲0.19 | 41.70 ▼9.19 |
Dashboard /wp-admin | 3.77 ▲0.14 | 55.75 ▼12.75 |
Posts /wp-admin/edit.php | 3.83 ▲0.15 | 58.43 ▲8.63 |
Add New Post /wp-admin/post-new.php | 6.29 ▲0.14 | 96.78 ▼3.05 |
Media Library /wp-admin/upload.php | 3.61 ▲0.13 | 39.03 ▼1.40 |
Hide Site Header and Fotter /wp-admin/admin.php?page=elvez-hide-site-header-and-footer | 3.61 | 42.14 |
Server storage [IO: ▲0.38MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
There were no storage issued detected upon installing this plugin
Filesystem: 50 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_theysaidso_widget |
widget_recent-posts |
can_compress_scripts |
db_upgraded |
widget_recent-comments |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Elvez Hide Site Header & Footer
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,061 ▲315 | 14.91 ▲0.64 | 5.33 ▲3.30 | 40.50 ▼9.56 |
Dashboard /wp-admin | 2,360 ▲183 | 6.24 ▲0.63 | 116.21 ▲13.85 | 40.85 ▼4.44 |
Posts /wp-admin/edit.php | 2,282 ▲182 | 3.43 ▲1.39 | 54.85 ▲16.81 | 35.04 ▼2.26 |
Add New Post /wp-admin/post-new.php | 6,317 ▲4,786 | 26.00 ▲2.80 | 899.05 ▲221.15 | 42.83 ▼12.46 |
Media Library /wp-admin/upload.php | 1,425 ▲25 | 4.15 ▲0.00 | 86.66 ▼19.94 | 43.94 ▼2.93 |
Hide Site Header and Fotter /wp-admin/admin.php?page=elvez-hide-site-header-and-footer | 1,016 | 3.13 | 39.62 | 27.70 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
The following items require your attention
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_recent-posts
- widget_recent-comments
- db_upgraded
- theysaidso_admin_options
- widget_theysaidso_widget
- can_compress_scripts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
The smoke test was a success, however most plugin functionality was not tested
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
- 2× PHP files output text when accessed directly:
- > /wp-content/plugins/elvez-hide-site-header-and-footer/admin/partials/elvez-hide-site-header-and-footer-admin-display.php
- > /wp-content/plugins/elvez-hide-site-header-and-footer/public/partials/elvez-hide-site-header-and-footer-public-display.php
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine on the user side
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
4 plugin tags: footer, page, post, header
elvez-hide-site-header-and-footer/elvez-hide-site-header-and-footer.php 85% from 13 tests
The primary PHP file in "Elvez Hide Site Header & Footer" version 1.0.7 is used by WordPress to initiate all plugin functionality
The following require your attention:
- Requires at least: Required version does not match the one declared in readme.txt ("4.0" instead of "5.2")
- Requires PHP: Required version does not match the one declared in readme.txt ("7.4" instead of "7.2")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
Everything looks great! No dangerous files found in this plugin2,632 lines of code in 35 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 22 | 344 | 1,600 | 1,570 |
JavaScript | 6 | 40 | 117 | 642 |
CSS | 3 | 35 | 44 | 284 |
PO File | 4 | 91 | 152 | 136 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.23 |
Average class complexity | 10.81 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 37.00 |
Average method complexity | 2.25 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 14.00 |
Code structure | ||
---|---|---|
Namespaces | 1 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 16 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 16 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 126 | |
▷ Static methods | 47 | 37.30% |
▷ Public methods | 121 | 96.03% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 5 | 3.97% |
Functions | 4 | |
▷ Named functions | 3 | 75.00% |
▷ Anonymous functions | 1 | 25.00% |
Constants | 35 | |
▷ Global constants | 1 | 2.86% |
▷ Class constants | 34 | 97.14% |
▷ Public constants | 34 | 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