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.02MB] [CPU: ▼9.64ms] Passed 4 tests
Server-side resources used by Simple Header Footer HTML
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.02 | 42.46 ▼3.51 |
Dashboard /wp-admin | 3.33 ▲0.02 | 48.94 ▼5.86 |
Posts /wp-admin/edit.php | 3.38 ▲0.02 | 52.54 ▲2.75 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.02 | 87.71 ▼29.67 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 36.62 ▲0.48 |
Header Footer HTML /wp-admin/options-general.php?page=simple-header-footer-html/simple-header-footer-html.php | 3.22 | 36.31 |
Server storage [IO: ▲0.05MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
No storage issues were detected
Filesystem: 10 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
db_upgraded |
can_compress_scripts |
widget_recent-posts |
widget_recent-comments |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
Simple Header Footer HTML: an overview of browser usage
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,793 ▲32 | 14.27 ▲0.10 | 1.76 ▲0.03 | 42.85 ▼1.36 |
Dashboard /wp-admin | 2,196 ▲19 | 5.60 ▼0.00 | 85.08 ▼17.07 | 42.42 ▼2.32 |
Posts /wp-admin/edit.php | 2,104 ▲1 | 2.01 ▲0.02 | 36.32 ▼2.74 | 35.17 ▲2.19 |
Add New Post /wp-admin/post-new.php | 1,529 ▲3 | 23.79 ▲0.28 | 660.69 ▼43.98 | 59.45 ▼1.44 |
Media Library /wp-admin/upload.php | 1,404 ▲4 | 4.22 ▲0.05 | 94.92 ▼16.16 | 41.55 ▼3.20 |
Header Footer HTML /wp-admin/options-general.php?page=simple-header-footer-html/simple-header-footer-html.php | 845 | 2.03 | 24.62 | 30.90 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
The following items require your attention
- This plugin does not fully uninstall, leaving 6 options in the database
- can_compress_scripts
- db_upgraded
- theysaidso_admin_options
- widget_recent-posts
- widget_theysaidso_widget
- widget_recent-comments
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Good news, no errors were detected
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
- 1× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/simple-header-footer-html/simple-header-footer-html.php:34
- > PHP Fatal error
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)
No browser errors were detected
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
7 plugin tags: footer, header, https, seravo, js...
simple-header-footer-html/simple-header-footer-html.php 92% from 13 tests
The entry point to "Simple Header Footer HTML" version 1.3.0 is a PHP file that has certain tags in its header comment area
Please make the necessary changes and fix the following:
- Text Domain: Since WordPress version 4.6 the text domain is optional; if specified, it must be the same as the plugin slug
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
Good job! No executable or dangerous file extensions detected209 lines of code in 6 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PO File | 2 | 16 | 16 | 79 |
PHP | 1 | 29 | 40 | 65 |
JSON | 1 | 0 | 0 | 22 |
Markdown | 1 | 12 | 0 | 22 |
YAML | 1 | 9 | 3 | 21 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.00 |
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 | 8 | |
▷ Named functions | 8 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 0 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
No PNG files were detected