Benchmarks
Plugin footprint 58% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
It is recommended to fix the following installer errors
- Install procedure validation failed for this plugin
- > Notice in wp-content/plugins/wp-seo-html-sitemap/sitemap.php+34
Trying to access array offset on value of type bool
Server metrics [RAM: ▲0.03MB] [CPU: ▼8.82ms] Passed 4 tests
This is a short check of server-side resources used by WP SEO HTML Sitemap
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.44 ▼0.02 | 28.58 ▼16.39 |
Dashboard /wp-admin | 3.36 ▲0.02 | 52.82 ▼8.57 |
Posts /wp-admin/edit.php | 3.42 ▲0.06 | 46.26 ▲2.18 |
Add New Post /wp-admin/post-new.php | 5.94 ▲0.06 | 82.89 ▼8.78 |
Media Library /wp-admin/upload.php | 3.29 ▲0.06 | 35.65 ▼1.54 |
SEO HTML Sitemap /wp-admin/options-general.php?page=wpseo-html-sitemap | 3.25 | 32.09 |
Server storage [IO: ▲0.02MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin installed successfully
Filesystem: 3 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_recent-comments |
db_upgraded |
widget_theysaidso_widget |
can_compress_scripts |
wpseosms |
theysaidso_admin_options |
widget_recent-posts |
Browser metrics Passed 4 tests
Checking browser requirements for WP SEO HTML Sitemap
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,793 ▲47 | 14.17 ▼0.38 | 1.72 ▲0.20 | 42.02 ▲1.86 |
Dashboard /wp-admin | 2,199 ▲25 | 5.56 ▲0.03 | 87.95 ▼13.30 | 41.25 ▼4.56 |
Posts /wp-admin/edit.php | 2,104 ▲4 | 2.03 ▲0.04 | 34.34 ▼0.63 | 34.05 ▼4.76 |
Add New Post /wp-admin/post-new.php | 1,529 ▲3 | 23.56 ▲0.47 | 631.88 ▼21.47 | 59.95 ▲1.78 |
Media Library /wp-admin/upload.php | 1,404 ▲4 | 4.17 ▲0.02 | 93.21 ▼16.78 | 40.28 ▼6.76 |
SEO HTML Sitemap /wp-admin/options-general.php?page=wpseo-html-sitemap | 1,041 | 2.00 | 22.29 | 44.22 |
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
- Zombie WordPress options were found after uninstall: 7 options
- widget_theysaidso_widget
- widget_recent-comments
- widget_recent-posts
- db_upgraded
- can_compress_scripts
- theysaidso_admin_options
- wpseosms
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Please fix the following server-side errors
- > GET request to /wp-admin/options-general.php?page=wpseo-html-sitemap
- > Notice in wp-content/plugins/wp-seo-html-sitemap/sitemap.php+108
Undefined index: wpseo-sitemap-pageID
- 3 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=wpseo-html-sitemap
- > Notice in wp-content/plugins/wp-seo-html-sitemap/sitemap.php+117
Undefined index: pageID
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
Please fix the following items
- 1× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/wp-seo-html-sitemap/sitemap.php:12
- > 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)
There were no browser issues found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
These attributes need to be fixed:
- Tags: Please delete some tags, you are using 13 tag instead of maximum 10
wp-seo-html-sitemap/sitemap.php 92% from 13 tests
"WP SEO HTML Sitemap" version 0.9.6's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
Please take the time to fix the following:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("wp-seo-html-sitemap.php" instead of "sitemap.php")
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
There were no executable files found in this plugin338 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 35 | 45 | 317 |
CSS | 1 | 4 | 8 | 21 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.48 |
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 | 9 | |
▷ Named functions | 9 | 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
PNG images were not found in this plugin