Benchmarks
Plugin footprint 82% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
This plugin's installer ran successfully
Server metrics [RAM: ▲0.01MB] [CPU: ▲0.23ms] Passed 4 tests
This is a short check of server-side resources used by Super Simple XML Image Sitemap
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.01 | 38.28 ▼3.05 |
Dashboard /wp-admin | 3.32 ▲0.01 | 45.81 ▼3.94 |
Posts /wp-admin/edit.php | 3.37 ▲0.01 | 47.43 ▲3.59 |
Add New Post /wp-admin/post-new.php | 5.92 ▲0.03 | 95.69 ▲6.17 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 36.82 ▲4.34 |
Server storage [IO: ▲0.10MB] [DB: ▲0.00MB] 67% from 3 tests
How much does this plugin use your filesystem and database?
These are issues you should consider
- The plugin illegally modified 1 file (0.17KB) outside of "wp-content/plugins/super-simple-xml-image-sitemap/" and "wp-content/uploads/"
- (new file) image-sitemap.xml
Filesystem: 3 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
theysaidso_admin_options |
db_upgraded |
widget_recent-posts |
widget_theysaidso_widget |
can_compress_scripts |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Super Simple XML Image Sitemap
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,789 ▲28 | 14.74 ▲0.39 | 1.84 ▼0.08 | 41.96 ▼1.10 |
Dashboard /wp-admin | 2,198 ▲21 | 5.56 ▼0.14 | 93.34 ▼9.82 | 38.99 ▼1.56 |
Posts /wp-admin/edit.php | 2,103 ▲3 | 1.95 ▼0.07 | 43.88 ▲6.26 | 35.65 ▲0.75 |
Add New Post /wp-admin/post-new.php | 1,526 ▼2 | 23.19 ▲0.00 | 663.85 ▼17.01 | 62.04 ▲9.20 |
Media Library /wp-admin/upload.php | 1,400 ▼0 | 4.20 ▲0.02 | 93.27 ▼0.00 | 43.48 ▼0.81 |
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
Please fix the following items
- This plugin did not uninstall successfully, leaving 6 options in the database
- db_upgraded
- can_compress_scripts
- widget_recent-posts
- widget_recent-comments
- widget_theysaidso_widget
- theysaidso_admin_options
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Everything seems fine, however this is by no means an exhaustive test
SRP Passed 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
No output text or server-side errors detected on direct access of PHP files
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser errors were detected
Optimizations
Plugin configuration 90% 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
These attributes need to be fixed:
- Screenshots: Add an image for screenshot #1 (/assets/screenshot-1.png)
super-simple-xml-image-sitemap/index.php 85% from 13 tests
The main PHP script in "Super Simple XML Image Sitemap" version 0.1.1 is automatically included on every request by WordPress
The following require your attention:
- Description: The description should be shorter than 140 characters (currently 238 characters long)
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("super-simple-xml-image-sitemap.php" instead of "index.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
No dangerous file extensions were detected45 lines of code in 1 file:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 21 | 12 | 45 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.23 |
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 | 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 Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
1 PNG file occupies 0.09MB with 0.06MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/screenshot-1.png | 93.63KB | 29.05KB | ▼ 68.98% |