Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.02MB] [CPU: ▼6.11ms] Passed 4 tests
This is a short check of server-side resources used by Elvez Hide Entry Header
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.03 | 39.39 ▼2.65 |
Dashboard /wp-admin | 3.33 ▲0.02 | 45.68 ▼4.71 |
Posts /wp-admin/edit.php | 3.38 ▲0.02 | 44.38 ▼1.59 |
Add New Post /wp-admin/post-new.php | 5.93 ▲0.04 | 83.49 ▼15.49 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 37.38 ▲0.55 |
Hide Entry Header /wp-admin/admin.php?page=elvez-hide-entry-header | 3.21 | 30.75 |
Server storage [IO: ▲0.05MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
The plugin installed successfully
Filesystem: 25 new files
Database: no new tables, 9 new options
New WordPress options |
---|
widget_recent-comments |
elvez_hide_entry_header_hide_wc_products_header |
can_compress_scripts |
db_upgraded |
theysaidso_admin_options |
widget_recent-posts |
widget_theysaidso_widget |
elvez_hide_entry_header_hide_page_entry_header |
elvez_hide_entry_header_hide_post_entry_header |
Browser metrics Passed 4 tests
Elvez Hide Entry Header: an overview of browser usage
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,912 ▲141 | 13.60 ▼0.68 | 7.84 ▲5.84 | 41.02 ▼4.04 |
Dashboard /wp-admin | 2,233 ▲42 | 4.88 ▼0.02 | 99.25 ▼18.56 | 40.98 ▼9.86 |
Posts /wp-admin/edit.php | 2,113 ▲45 | 2.00 ▼0.00 | 36.74 ▲1.01 | 34.33 ▼2.34 |
Add New Post /wp-admin/post-new.php | 1,537 ▲18 | 23.19 ▲0.29 | 649.80 ▼2.10 | 51.96 ▼0.01 |
Media Library /wp-admin/upload.php | 1,409 ▲18 | 4.15 ▼0.07 | 98.51 ▼5.16 | 44.96 ▲0.58 |
Hide Entry Header /wp-admin/admin.php?page=elvez-hide-entry-header | 832 | 2.07 | 25.23 | 25.31 |
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
You still need to fix the following
- The uninstall procedure has failed, leaving 9 options in the database
- can_compress_scripts
- elvez_hide_entry_header_hide_page_entry_header
- db_upgraded
- elvez_hide_entry_header_hide_post_entry_header
- theysaidso_admin_options
- widget_recent-comments
- widget_theysaidso_widget
- widget_recent-posts
- elvez_hide_entry_header_hide_wc_products_header
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)
Even though everything seems fine, this is not an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Please take a closer look at the following
- 2× PHP files perform the task of outputting text when accessed with GET requests:
- > /wp-content/plugins/elvez-hide-entry-header/admin/partials/elvez-hide-entry-header-admin-display.php
- > /wp-content/plugins/elvez-hide-entry-header/public/partials/elvez-hide-entry-header-public-display.php
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
There were no browser issues found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
4 plugin tags: post, header, page, title
elvez-hide-entry-header/elvez-hide-entry-header.php 85% from 13 tests
This is the main PHP file of "Elvez Hide Entry Header" version 1.0.5, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
The following require your attention:
- Requires PHP: Required version does not match the one declared in readme.txt ("7.4" instead of "7.2")
- Requires at least: Required version does not match the one declared in readme.txt ("4.0" instead of "5.2")
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
Success! There were no dangerous files found in this plugin554 lines of code in 16 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 12 | 149 | 585 | 312 |
CSS | 2 | 28 | 38 | 204 |
PO File | 1 | 6 | 8 | 35 |
JavaScript | 1 | 2 | 27 | 3 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.16 |
Average class complexity | 3.57 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 12.00 |
Average method complexity | 1.60 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 8.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 7 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 7 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 30 | |
▷ Static methods | 3 | 10.00% |
▷ Public methods | 25 | 83.33% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 5 | 16.67% |
Functions | 3 | |
▷ Named functions | 3 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 12 | |
▷ Global constants | 1 | 8.33% |
▷ Class constants | 11 | 91.67% |
▷ Public constants | 11 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
There were not PNG files found in your plugin