Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
Installer ran successfully
Server metrics [RAM: ▲0.04MB] [CPU: ▼6.84ms] Passed 4 tests
This is a short check of server-side resources used by Sitemap UI
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.50 ▲0.03 | 41.02 ▼0.73 |
Dashboard /wp-admin | 3.34 ▲0.04 | 45.84 ▼3.87 |
Posts /wp-admin/edit.php | 3.45 ▲0.10 | 49.36 ▼0.24 |
Add New Post /wp-admin/post-new.php | 5.92 ▲0.04 | 80.81 ▼22.50 |
Media Library /wp-admin/upload.php | 3.26 ▲0.03 | 32.35 ▲0.90 |
Sitemap UI /wp-admin/options-general.php?page=smui | 3.24 | 31.81 |
Server storage [IO: ▲0.03MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin installed successfully
Filesystem: 11 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
theysaidso_admin_options |
widget_theysaidso_widget |
widget_recent-posts |
widget_recent-comments |
can_compress_scripts |
Browser metrics Passed 4 tests
Sitemap UI: an overview of browser usage
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,793 ▲32 | 14.33 ▲0.07 | 1.64 ▼0.04 | 44.41 ▼2.31 |
Dashboard /wp-admin | 2,196 ▲19 | 5.56 ▼0.12 | 81.49 ▼21.02 | 38.62 ▼6.28 |
Posts /wp-admin/edit.php | 2,107 ▲7 | 2.03 ▲0.09 | 39.59 ▲2.53 | 36.34 ▲7.81 |
Add New Post /wp-admin/post-new.php | 1,540 ▲14 | 18.21 ▼4.78 | 618.60 ▲7.44 | 63.59 ▲5.87 |
Media Library /wp-admin/upload.php | 1,407 ▲13 | 4.17 ▼0.07 | 125.45 ▲28.36 | 46.47 ▲4.90 |
Sitemap UI /wp-admin/options-general.php?page=smui | 972 | 2.39 | 32.05 | 28.87 |
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
Please fix the following items
- This plugin does not fully uninstall, leaving 6 options in the database
- db_upgraded
- widget_recent-posts
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-comments
- theysaidso_admin_options
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting 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 applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
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 SMUI() in wp-content/plugins/sitemap-ui/templates/page-settings.php:4
- > 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)
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 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
5 plugin tags: ui, configuration, sitemap, sitemaps, settings
sitemap-ui/sitemap-ui.php Passed 13 tests
This is the main PHP file of "Sitemap UI" version 1.3, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
46 characters long description:
Configure WP core sitemaps within the admin UI
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
No dangerous file extensions were detected796 lines of code in 10 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 2 | 80 | 26 | 380 |
PHP | 2 | 65 | 27 | 198 |
CSS | 2 | 23 | 0 | 136 |
Markdown | 3 | 20 | 0 | 50 |
HTML | 1 | 0 | 0 | 32 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.30 |
Average class complexity | 20.00 |
▷ Minimum class complexity | 20.00 |
▷ Maximum class complexity | 20.00 |
Average method complexity | 1.50 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 3.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 15 | |
▷ Static methods | 1 | 6.67% |
▷ Public methods | 15 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 6 | |
▷ Named functions | 1 | 16.67% |
▷ Anonymous functions | 5 | 83.33% |
Constants | 4 | |
▷ Global constants | 4 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
There were not PNG files found in your plugin