Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Installer ran successfully
Server metrics [RAM: ▲0.04MB] [CPU: ▼137.19ms] Passed 4 tests
An overview of server-side resources used by Easy HTML Sitemap
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.87 ▲0.15 | 34.57 ▲7.96 |
Dashboard /wp-admin | 3.09 ▲0.04 | 54.75 ▲17.88 |
Posts /wp-admin/edit.php | 3.18 ▲0.07 | 45.86 ▼4.94 |
Add New Post /wp-admin/post-new.php | 5.46 ▲0.03 | 112.42 ▼546.86 |
Media Library /wp-admin/upload.php | 3.04 ▲0.03 | 36.38 ▼4.92 |
Easy HTML Sitemap /wp-admin/options-general.php?page=wbehs_settings | 3.04 | 30.72 |
Server storage [IO: ▲0.11MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
No storage issues were detected
Filesystem: 6 new files
Database: no new tables, 1 new option
New WordPress options |
---|
wbehs_installed_status |
Browser metrics Passed 4 tests
An overview of browser requirements for Easy HTML Sitemap
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,741 ▲145 | 16.25 ▲0.62 | 10.11 ▼2.87 | 52.31 ▲2.66 |
Dashboard /wp-admin | 3,008 ▲79 | 6.59 ▲0.60 | 148.81 ▲6.64 | 116.86 ▼15.22 |
Posts /wp-admin/edit.php | 2,780 ▲41 | 3.03 ▲0.32 | 68.26 ▲0.88 | 108.57 ▲17.29 |
Add New Post /wp-admin/post-new.php | 1,632 ▲132 | 18.88 ▲0.32 | 365.34 ▼16.05 | 139.63 ▲24.21 |
Media Library /wp-admin/upload.php | 1,845 ▲38 | 5.47 ▲0.44 | 133.06 ▼28.21 | 122.75 ▼5.48 |
Easy HTML Sitemap /wp-admin/options-general.php?page=wbehs_settings | 1,607 | 2.41 | 75.07 | 101.11 |
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
You still need to fix the following
- Zombie WordPress options detected upon uninstall: 1 option
- wbehs_installed_status
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 no errors were found, this is by no means an exhaustive test
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
- 2× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function register_activation_hook() in wp-content/plugins/easy-html-sitemap/easy-html-sitemap.php:27
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/easy-html-sitemap/easy-html-sitemap-settings.php:4
- > 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 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
5 plugin tags: sitemap, display sitemap, list, html sitemap, page list
easy-html-sitemap/easy-html-sitemap.php 92% from 13 tests
This is the main PHP file of "Easy HTML Sitemap" version 1.4.9, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
Please take the time to fix the following:
- Text Domain: The text domain must be the same as the plugin slug, although optional since WordPress version 4.6
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
Good job! No executable or dangerous file extensions detected3,852 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 1 | 44 | 144 | 3,531 |
PHP | 2 | 105 | 55 | 314 |
JavaScript | 1 | 2 | 0 | 7 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.31 |
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 | 11 | |
▷ Named functions | 11 | 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
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
No PNG images were found in this plugin