Benchmarks
Plugin footprint 58% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
You still need to fix the following installer errors
- The plugin did not install without errors
- > Notice in wp-content/plugins/seo-http-headers-easy/seo_http_headers.class.php+77
Trying to access array offset on value of type bool
Server metrics [RAM: ▼0.07MB] [CPU: ▼13.61ms] Passed 4 tests
A check of server-side resources used by "SEO-HEADERS-Easy" Protocol HTTP 1.1
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.92 ▼0.55 | 21.82 ▼24.19 |
Dashboard /wp-admin | 3.41 ▲0.06 | 49.77 ▼17.99 |
Posts /wp-admin/edit.php | 3.52 ▲0.16 | 49.11 ▲1.17 |
Add New Post /wp-admin/post-new.php | 5.99 ▲0.10 | 88.85 ▼13.41 |
Media Library /wp-admin/upload.php | 3.33 ▲0.10 | 39.35 ▲1.23 |
HTTP 1.1 headers /wp-admin/tools.php?page=http-head-protokol-avk | 3.32 | 39.22 |
Server storage [IO: ▲0.42MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
There were no storage issued detected upon installing this plugin
Filesystem: 42 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_theysaidso_widget |
widget_recent-comments |
widget_recent-posts |
http_headers_avk |
can_compress_scripts |
db_upgraded |
theysaidso_admin_options |
Browser metrics Passed 4 tests
An overview of browser requirements for "SEO-HEADERS-Easy" Protocol HTTP 1.1
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,398 ▼348 | 14.05 ▼0.58 | 0.20 ▼1.55 | 0.19 ▼44.75 |
Dashboard /wp-admin | 2,202 ▲25 | 5.63 ▲0.10 | 85.87 ▼8.26 | 46.04 ▲2.55 |
Posts /wp-admin/edit.php | 2,107 ▲7 | 1.97 ▲0.00 | 34.94 ▼2.81 | 32.87 ▼3.94 |
Add New Post /wp-admin/post-new.php | 1,534 ▲130 | 23.27 ▲4.64 | 651.96 ▲16.77 | 62.12 ▲16.72 |
Media Library /wp-admin/upload.php | 1,404 ▲4 | 4.23 ▲0.02 | 99.15 ▲1.80 | 48.55 ▲4.18 |
HTTP 1.1 headers /wp-admin/tools.php?page=http-head-protokol-avk | 1,986 | 2.56 | 62.52 | 61.58 |
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
It is recommended to fix the following
- Zombie WordPress options detected upon uninstall: 6 options
- can_compress_scripts
- theysaidso_admin_options
- widget_recent-posts
- db_upgraded
- widget_recent-comments
- widget_theysaidso_widget
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Almost there, just fix the following server-side errors
- 7 occurences, only the last one shown
- > GET request to /wp-admin/tools.php?page=http-head-protokol-avk
- > Notice in wp-content/plugins/seo-http-headers-easy/seo_http_headers.class.php+296
Undefined variable: expir
- 7 occurences, only the last one shown
- > GET request to /wp-admin/tools.php?page=http-head-protokol-avk
- > Notice in wp-content/plugins/seo-http-headers-easy/seo_http_headers.class.php+296
Undefined variable: ping
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
The following issues need your attention
- 10× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/seo-http-headers-easy/seo_http_headers.class.php:38
- > PHP Fatal error
Uncaught Error: Using $this when not in object context in wp-content/plugins/seo-http-headers-easy/pages/t_single.php:1
- > PHP Fatal error
Uncaught Error: Using $this when not in object context in wp-content/plugins/seo-http-headers-easy/pages/t_search.php:1
- > PHP Fatal error
Uncaught Error: Using $this when not in object context in wp-content/plugins/seo-http-headers-easy/pages/t_category.php:1
- > PHP Fatal error
Uncaught Error: Using $this when not in object context in wp-content/plugins/seo-http-headers-easy/pages/t_page.php:1
- > PHP Fatal error
Uncaught Error: Using $this when not in object context in wp-content/plugins/seo-http-headers-easy/pages/t_tag.php:1
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/seo-http-headers-easy/pages/settings_menu.php:8
- > PHP Fatal error
Uncaught Error: Using $this when not in object context in wp-content/plugins/seo-http-headers-easy/pages/t_index.php:1
- > PHP Fatal error
Uncaught Error: Using $this when not in object context in wp-content/plugins/seo-http-headers-easy/pages/t_autor.php:1
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/seo-http-headers-easy/pages/tabel_head.php:2
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser issues were found
Optimizations
Plugin configuration 86% from 29 tests
readme.txt 81% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
These attributes need your attention:
- Screenshots: Please add an image for screenshot #1 (Settings page SEO-HTTP-Headers-Easy)
- Tags: Too many tags (11 tag instead of maximum 10); only the first 5 tags are used in your directory listing
- Donate link: Please fix this invalid url: "goo.gl/qnrM08"
seo-http-headers-easy/seo_http_headers.class.php 92% from 13 tests
""SEO-HEADERS-Easy" Protocol HTTP 1.1" version 2.0.0's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
It is important to fix the following:
- Main file name: It is recommended to name the main PHP file as the plugin slug ("seo-http-headers-easy.php" instead of "seo_http_headers.class.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
Good job! No executable or dangerous file extensions detected970 lines of code in 16 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 10 | 42 | 33 | 642 |
CSS | 2 | 1 | 6 | 154 |
PO File | 1 | 32 | 50 | 88 |
JavaScript | 3 | 6 | 12 | 86 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.23 |
Average class complexity | 72.00 |
▷ Minimum class complexity | 72.00 |
▷ Maximum class complexity | 72.00 |
Average method complexity | 4.94 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 24.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 18 | |
▷ Static methods | 1 | 5.56% |
▷ Public methods | 13 | 72.22% |
▷ Protected methods | 3 | 16.67% |
▷ Private methods | 2 | 11.11% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 3 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 3 | 100.00% |
▷ Public constants | 3 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
16 PNG files occupy 0.09MB with 0.03MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-1.png | 34.64KB | 15.64KB | ▼ 54.84% |
css/images/ui-icons_888888_256x240.png | 6.83KB | 4.17KB | ▼ 38.92% |
css/images/ui-bg_flat_0_aaaaaa_40x100.png | 0.21KB | 0.08KB | ▼ 58.96% |
css/images/ui-bg_highlight-soft_75_cccccc_1x100.png | 0.27KB | 0.18KB | ▼ 35.00% |
css/images/ui-icons_cd0a0a_256x240.png | 4.44KB | 4.17KB | ▼ 6.02% |