Benchmarks
Plugin footprint 82% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Install script ran successfully
Server metrics [RAM: ▲0.01MB] [CPU: ▼6.17ms] Passed 4 tests
An overview of server-side resources used by WP Best Sitemap Generator
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 38.67 ▼5.96 |
Dashboard /wp-admin | 3.32 ▼0.02 | 48.48 ▼19.87 |
Posts /wp-admin/edit.php | 3.38 ▲0.02 | 54.41 ▲2.60 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.03 | 101.44 ▼1.46 |
Media Library /wp-admin/upload.php | 3.27 ▲0.04 | 43.56 ▲5.06 |
Sitemap Settings /wp-admin/options-general.php?page=wp_best_sitemap_settings | 3.24 | 39.24 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] 67% from 3 tests
How much does this plugin use your filesystem and database?
These are issues you should consider
- Illegal file modification detected: 1 file (0.22KB) outside of "wp-content/plugins/wp-best-sitemap-generator/" and "wp-content/uploads/"
- (new file) sitemap.xml
Filesystem: 2 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
theysaidso_admin_options |
can_compress_scripts |
widget_recent-comments |
widget_theysaidso_widget |
db_upgraded |
Browser metrics Passed 4 tests
A check of browser resources used by WP Best Sitemap Generator
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,793 ▲32 | 14.24 ▲0.08 | 1.73 ▲0.20 | 44.59 ▲1.68 |
Dashboard /wp-admin | 2,196 ▲16 | 5.63 ▼0.03 | 82.51 ▼6.45 | 40.08 ▼1.65 |
Posts /wp-admin/edit.php | 2,086 ▼14 | 2.04 ▲0.06 | 34.56 ▼1.74 | 36.11 ▼1.00 |
Add New Post /wp-admin/post-new.php | 1,531 ▲3 | 23.10 ▲0.04 | 609.84 ▼72.07 | 59.56 ▲0.82 |
Media Library /wp-admin/upload.php | 1,404 ▲7 | 4.07 ▼0.17 | 106.60 ▲8.90 | 46.14 ▲2.76 |
Sitemap Settings /wp-admin/options-general.php?page=wp_best_sitemap_settings | 897 | 2.03 | 23.22 | 33.53 |
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
- This plugin does not fully uninstall, leaving 6 options in the database
- widget_recent-posts
- widget_theysaidso_widget
- db_upgraded
- theysaidso_admin_options
- can_compress_scripts
- widget_recent-comments
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Good news, no errors were detected
SRP Passed 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
Looking good! No server-side errors or output on direct access of PHP files
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine on the user side
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
3 plugin tags: sitemap, generator, xml
wp-best-sitemap-generator/wp-best-sitemap-generator.php Passed 13 tests
The main PHP file in "WP Best Sitemap Generator" ver. 1.0 adds more information about the plugin and also serves as the entry point for this plugin
88 characters long description:
Best WordPress Sitemap Generator. Geneates a single sitemap.xml file with priority value
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
No dangerous file extensions were detected215 lines of code in 1 file:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 63 | 29 | 215 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.24 |
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 | 4 | |
▷ Named functions | 2 | 50.00% |
▷ Anonymous functions | 2 | 50.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