Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.01MB] [CPU: ▼2.80ms] Passed 4 tests
This is a short check of server-side resources used by Image Sitemap
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 40.37 ▼2.58 |
Dashboard /wp-admin | 3.33 ▼0.02 | 42.31 ▼14.98 |
Posts /wp-admin/edit.php | 3.38 ▲0.02 | 44.87 ▲0.20 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.02 | 94.17 ▲11.12 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 38.22 ▲6.18 |
Image Sitemap /wp-admin/tools.php?page=image-sitemap-generate-page | 3.19 | 29.65 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
There were no storage issued detected upon installing this plugin
Filesystem: 2 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
theysaidso_admin_options |
widget_recent-posts |
can_compress_scripts |
widget_recent-comments |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
Image Sitemap: an overview of browser usage
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,804 ▲33 | 14.77 ▲0.52 | 1.72 ▼0.25 | 43.52 ▼4.28 |
Dashboard /wp-admin | 2,213 ▲25 | 5.79 ▲0.92 | 98.72 ▼2.62 | 39.21 ▼4.39 |
Posts /wp-admin/edit.php | 2,093 ▲4 | 2.04 ▲0.05 | 42.29 ▲4.40 | 37.99 ▲6.14 |
Add New Post /wp-admin/post-new.php | 1,545 ▲31 | 18.52 ▲1.04 | 644.58 ▼2.79 | 53.73 ▼0.75 |
Media Library /wp-admin/upload.php | 1,392 ▲7 | 4.23 ▲0.07 | 99.86 ▼8.99 | 44.43 ▼4.21 |
Image Sitemap /wp-admin/tools.php?page=image-sitemap-generate-page | 845 | 2.99 | 58.02 | 34.61 |
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
It is recommended to fix the following
- Zombie WordPress options were found after uninstall: 6 options
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-posts
- theysaidso_admin_options
- widget_recent-comments
- db_upgraded
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Please fix the following server-side errors
- > GET request to /wp-admin/tools.php?page=image-sitemap-generate-page
- > Notice in wp-content/plugins/image-sitemap/sitemap-image.php+34
Undefined index: submit
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
The following issues need your attention
- 1× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/image-sitemap/sitemap-image.php:11
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser errors were detected
Optimizations
Plugin configuration 93% from 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
4 plugin tags: image sitemap, xml sitemap, sitemap, sitemap image
image-sitemap/sitemap-image.php 85% from 13 tests
The main PHP file in "Image Sitemap" ver. 1.3 adds more information about the plugin and also serves as the entry point for this plugin
You should first fix the following items:
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("image-sitemap.php" instead of "sitemap-image.php")
- Description: Please keep the plugin description shorter than 140 characters (currently 363 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
Success! There were no dangerous files found in this plugin96 lines of code in 1 file:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 15 | 10 | 96 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.49 |
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 | 4 | 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
PNG files should be compressed to save space and minimize bandwidth usage
There were not PNG files found in your plugin