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.01MB] [CPU: ▼8.37ms] Passed 4 tests
This is a short check of server-side resources used by Sitemap HTML Generator
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 38.72 ▼1.56 |
Dashboard /wp-admin | 3.32 ▼0.02 | 46.45 ▼12.85 |
Posts /wp-admin/edit.php | 3.38 ▲0.02 | 46.01 ▼8.39 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.02 | 86.99 ▼10.69 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 36.07 ▼0.93 |
Sitemap HTML /wp-admin/options-general.php?page=sp_wordpress_html_sitemap_generator_slug | 3.21 | 33.15 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin was installed successfully
Filesystem: 3 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
theysaidso_admin_options |
widget_recent-comments |
widget_recent-posts |
widget_theysaidso_widget |
db_upgraded |
Browser metrics Passed 4 tests
Checking browser requirements for Sitemap HTML Generator
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,793 ▲32 | 14.35 ▲0.01 | 1.75 ▲0.05 | 44.75 ▲5.99 |
Dashboard /wp-admin | 2,196 ▲25 | 5.51 ▼0.06 | 81.55 ▼3.81 | 38.24 ▼5.45 |
Posts /wp-admin/edit.php | 2,104 ▲4 | 1.94 ▼0.04 | 33.31 ▼5.87 | 37.44 ▲2.83 |
Add New Post /wp-admin/post-new.php | 1,531 ▼0 | 23.01 ▼0.45 | 693.47 ▲34.11 | 62.14 ▲7.25 |
Media Library /wp-admin/upload.php | 1,401 ▼2 | 4.21 ▲0.03 | 93.09 ▼5.57 | 40.88 ▼7.70 |
Sitemap HTML /wp-admin/options-general.php?page=sp_wordpress_html_sitemap_generator_slug | 794 | 2.03 | 23.43 | 25.71 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
These items require your attention
- Zombie WordPress options were found after uninstall: 6 options
- theysaidso_admin_options
- widget_recent-posts
- widget_recent-comments
- widget_theysaidso_widget
- can_compress_scripts
- db_upgraded
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Even though no errors were found, this is by no means an exhaustive test
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
The following issues need your attention
- 2× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_shortcode() in wp-content/plugins/sitemap-html-generator/sitemap-html-generator.php:21
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/sitemap-html-generator/sitemap-html.php:3
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
There were no browser issues found
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
Please fix the following attributes:
- Tags: There are too many tags (11 tag instead of maximum 10)
sitemap-html-generator/sitemap-html-generator.php Passed 13 tests
The entry point to "Sitemap HTML Generator" version 1.0 is a PHP file that has certain tags in its header comment area
107 characters long description:
Use a shortcode [sp_sitemap_html] to display anywhere HTML sitemap with all your WordPress posts and pages.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
Good job! No executable or dangerous file extensions detected137 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 37 | 13 | 137 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.15 |
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 | 6 | |
▷ Named functions | 6 | 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
PNG files should be compressed to save space and minimize bandwidth usage
There are no PNG files in this plugin