Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
This plugin's installer ran successfully
Server metrics [RAM: ▲0.12MB] [CPU: ▼5.18ms] Passed 4 tests
Analyzing server-side resources used by WP Sitemap Page
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.57 ▲0.11 | 34.97 ▼7.05 |
Dashboard /wp-admin | 3.44 ▲0.09 | 45.31 ▼15.55 |
Posts /wp-admin/edit.php | 3.55 ▲0.19 | 46.17 ▲0.51 |
Add New Post /wp-admin/post-new.php | 6.02 ▲0.13 | 101.08 ▲11.09 |
Media Library /wp-admin/upload.php | 3.36 ▲0.13 | 33.14 ▲1.38 |
WP Sitemap Page /wp-admin/options-general.php?page=wp_sitemap_page | 3.44 | 33.27 |
Server storage [IO: ▲0.70MB] [DB: ▲0.07MB] Passed 3 tests
Filesystem and database footprint
There were no storage issued detected upon installing this plugin
Filesystem: 54 new files
Database: no new tables, 10 new options
New WordPress options |
---|
widget_recent-posts |
db_upgraded |
wsp_exclude_cpt_author |
widget_theysaidso_widget |
wsp_posts_by_category |
widget_recent-comments |
wsp_exclude_cpt_archive |
wsp_version_key |
theysaidso_admin_options |
can_compress_scripts |
Browser metrics Passed 4 tests
An overview of browser requirements for WP Sitemap Page
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,819 ▲72 | 14.37 ▲0.19 | 1.75 ▲0.09 | 42.07 ▼1.35 |
Dashboard /wp-admin | 2,199 ▲24 | 5.63 ▼0.04 | 93.23 ▼19.15 | 42.41 ▼1.06 |
Posts /wp-admin/edit.php | 2,104 ▲4 | 2.00 ▼0.01 | 40.21 ▲1.92 | 36.01 ▲1.65 |
Add New Post /wp-admin/post-new.php | 1,529 ▲3 | 23.30 ▼0.18 | 613.50 ▼74.50 | 47.03 ▼6.75 |
Media Library /wp-admin/upload.php | 1,404 ▲4 | 4.27 ▲0.05 | 96.62 ▲3.15 | 45.60 ▲4.29 |
WP Sitemap Page /wp-admin/options-general.php?page=wp_sitemap_page | 1,183 | 2.00 | 24.96 | 31.45 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.07MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
It is recommended to fix the following
- The uninstall procedure has failed, leaving 7 options in the database
- widget_recent-posts
- wsp_version_key
- widget_theysaidso_widget
- db_upgraded
- widget_recent-comments
- theysaidso_admin_options
- can_compress_scripts
Smoke tests Passed 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 Passed 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Congratulations! This plugin passed the SRP test
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
There were no browser issues found
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
Please fix the following attributes:
- Screenshots: Please add images for these screenshots: #1 (Example of a sitemap on a French blog), #2 (Settings page)
wp-sitemap-page/wp-sitemap-page.php Passed 13 tests
The principal PHP file in "WP Sitemap Page" v. 1.9.3 is loaded by WordPress automatically on each request
75 characters long description:
Add a sitemap on any page/post using the simple shortcode [wp_sitemap_page]
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
Success! There were no dangerous files found in this plugin4,441 lines of code in 19 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PO File | 16 | 1,130 | 1,429 | 3,431 |
PHP | 3 | 317 | 457 | 1,010 |
PHP code Passed 2 tests
This is a very shot review of 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.34 |
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 | 29 | |
▷ Named functions | 29 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 7 | |
▷ Global constants | 7 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
6 PNG files occupy 0.19MB with 0.05MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/icon-html-code-24.png | 0.44KB | 0.52KB | 0.00% |
images/icon-language-24.png | 0.69KB | 0.87KB | 0.00% |
screenshot-2.png | 68.11KB | 22.54KB | ▼ 66.91% |
screenshot-1.png | 123.01KB | 40.44KB | ▼ 67.12% |
images/icon-coin-24.png | 0.77KB | 1.08KB | 0.00% |