Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Install script ran successfully
Server metrics [RAM: ▲0.04MB] [CPU: ▼7.80ms] Passed 4 tests
This is a short check of server-side resources used by XML Sitemap Generator By Kaboom
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.51 ▲0.05 | 40.70 ▼0.01 |
Dashboard /wp-admin | 3.36 ▲0.01 | 50.06 ▼16.05 |
Posts /wp-admin/edit.php | 3.41 ▲0.05 | 48.04 ▲0.54 |
Add New Post /wp-admin/post-new.php | 5.94 ▲0.06 | 83.65 ▼14.90 |
Media Library /wp-admin/upload.php | 3.28 ▲0.05 | 35.79 ▼0.23 |
Kaboom /wp-admin/admin.php?page=kaboom | 3.26 | 32.15 |
Server storage [IO: ▲1.01MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin installed successfully
Filesystem: 21 new files
Database: no new tables, 7 new options
New WordPress options |
---|
db_upgraded |
widget_theysaidso_widget |
can_compress_scripts |
widget_recent-posts |
widget_recent-comments |
theysaidso_admin_options |
sitemap_generator_exclude_post_types |
Browser metrics Passed 4 tests
This is an overview of browser requirements for XML Sitemap Generator By Kaboom
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,006 ▲260 | 13.67 ▼0.91 | 1.79 ▼0.28 | 43.77 ▼0.34 |
Dashboard /wp-admin | 2,415 ▲230 | 4.94 ▼0.96 | 99.96 ▼14.87 | 79.43 ▲32.79 |
Posts /wp-admin/edit.php | 2,294 ▲205 | 2.02 ▲0.02 | 34.14 ▼2.35 | 32.40 ▼1.82 |
Add New Post /wp-admin/post-new.php | 6,495 ▲4,976 | 26.06 ▲2.98 | 956.84 ▲298.70 | 43.98 ▼13.23 |
Media Library /wp-admin/upload.php | 1,597 ▲212 | 4.31 ▲0.15 | 95.19 ▼4.18 | 68.07 ▲22.83 |
Kaboom /wp-admin/admin.php?page=kaboom | 1,189 | 2.20 | 25.59 | 58.44 |
Sitemap /wp-admin/admin.php?page=XML Sitemap Generator By Kaboom | 1,291 | 2.06 | 24.72 | 79.91 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
The following items require your attention
- This plugin did not uninstall successfully, leaving 7 options in the database
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-posts
- sitemap_generator_exclude_post_types
- widget_recent-comments
- theysaidso_admin_options
- 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
Everything seems fine, however this is by no means an exhaustive test
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
Congratulations! This plugin passed the SRP test
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
There are user-side issues you should fix
- > GET request to /wp-admin/admin.php?page=XML Sitemap Generator By Kaboom
- > Javascript (severe) in unknown
/wp-admin/admin.php?page=XML+Sitemap+Generator+By+Kaboom - Access to font at 'https://use.fontawesome.com/releases/v5.8.1/webfonts/fa-solid-900.woff2' from origin '' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.
- > GET request to /wp-admin/admin.php?page=XML Sitemap Generator By Kaboom
- > Network (severe)
https://use.fontawesome.com/releases/v5.8.1/webfonts/fa-solid-900.woff2 - Failed to load resource: net::ERR_FAILED
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
Please fix the following attributes:
- Tags: There are too many tags (11 tag instead of maximum 10)
xml-sitemap-generator-by-kaboom/xml-sitemap-generator-by-kaboom.php 92% from 13 tests
"XML Sitemap Generator By Kaboom" version 2.3.24's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
Please take the time to fix the following:
- Text Domain: The text domain follows the same naming rules as the plugin slug: lowercase characters and dashes
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
There were no executable files found in this plugin1,341 lines of code in 10 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 5 | 58 | 24 | 613 |
SVG | 2 | 2 | 2 | 378 |
CSS | 1 | 1 | 12 | 222 |
JavaScript | 2 | 13 | 0 | 128 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.42 |
Average class complexity | 32.00 |
▷ Minimum class complexity | 32.00 |
▷ Maximum class complexity | 32.00 |
Average method complexity | 4.10 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 14.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 | 11 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 11 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 2 | |
▷ Named functions | 2 | 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 50% from 2 tests
Image compression 50% from 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
8 PNG files occupy 0.78MB with 0.50MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/XMLSitemap.png | 85.29KB | 30.15KB | ▼ 64.65% |
assets/XMLSitemapGeneratorAcive.png | 242.86KB | 67.43KB | ▼ 72.23% |
images/Am-Multi.png | 31.87KB | 8.81KB | ▼ 72.36% |
images/send-secrets.png | 16.43KB | 6.72KB | ▼ 59.11% |
images/Not-mult.png | 5.91KB | 2.96KB | ▼ 49.89% |