Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.08MB] [CPU: ▼6.95ms] Passed 4 tests
Analyzing server-side resources used by Simple Image XML Sitemap
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.54 ▲0.07 | 35.84 ▼4.12 |
Dashboard /wp-admin | 3.39 ▲0.08 | 42.68 ▼2.69 |
Posts /wp-admin/edit.php | 3.50 ▲0.14 | 49.21 ▼3.03 |
Add New Post /wp-admin/post-new.php | 5.97 ▲0.08 | 81.85 ▼17.94 |
Media Library /wp-admin/upload.php | 3.31 ▲0.08 | 35.59 ▼2.03 |
Simple Image XML Sitemap /wp-admin/tools.php?page=simple-xml-image-sitemap | 3.28 | 29.98 |
Simple XML Image Sitemap /wp-admin/options-general.php?page=plugin_sixs | 3.25 | 28.46 |
Server storage [IO: ▲0.04MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
The plugin installed successfully
Filesystem: 5 new files
Database: no new tables, 11 new options
New WordPress options |
---|
widget_recent-comments |
theysaidso_admin_options |
sixs_posttypes_option_name |
db_upgraded |
sixs_title_1_option_name |
can_compress_scripts |
sixs_option_name |
widget_recent-posts |
widget_theysaidso_widget |
sixs_xml_autosave_option_name |
... |
Browser metrics Passed 4 tests
Checking browser requirements for Simple Image XML Sitemap
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,808 ▲73 | 14.84 ▲0.84 | 1.82 ▼0.03 | 41.80 ▼1.81 |
Dashboard /wp-admin | 2,211 ▲23 | 5.87 ▲0.98 | 113.01 ▲7.36 | 41.94 ▼2.81 |
Posts /wp-admin/edit.php | 2,100 ▲11 | 2.05 ▲0.06 | 39.36 ▼1.50 | 36.74 ▲0.82 |
Add New Post /wp-admin/post-new.php | 1,540 ▲7 | 23.44 ▲0.10 | 664.88 ▲18.17 | 60.57 ▲2.57 |
Media Library /wp-admin/upload.php | 1,396 ▲8 | 4.26 ▲0.04 | 96.70 ▼22.73 | 43.74 ▼4.95 |
Simple Image XML Sitemap /wp-admin/tools.php?page=simple-xml-image-sitemap | 777 | 2.05 | 25.28 | 25.97 |
Simple XML Image Sitemap /wp-admin/options-general.php?page=plugin_sixs | 1,110 | 2.05 | 22.48 | 30.02 |
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
- Zombie WordPress options detected upon uninstall: 11 options
- widget_recent-posts
- widget_theysaidso_widget
- can_compress_scripts
- db_upgraded
- sixs_option_name
- sixs_xml_autosave_option_name
- sixs_posttypes_option_name
- theysaidso_admin_options
- sixs_title_1_option_name
- sixs_caption_1_option_name
- ...
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Almost there, just fix the following server-side errors
- 10 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=plugin_sixs
- > Notice in wp-content/plugins/simple-image-xml-sitemap/sixs_functions.php+123
Trying to access array offset on value of type bool
SRP 50% from 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
Almost there! Just fix the following items
- 2× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/simple-image-xml-sitemap/sixs_functions.php:21
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/simple-image-xml-sitemap/simple-xml-image-sitemap.php:17
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 90% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
3 plugin tags: xml image sitemap, advanced custom fields, google image sitemaps
simple-image-xml-sitemap/simple-xml-image-sitemap.php 77% from 13 tests
The main PHP file in "Simple Image XML Sitemap" ver. 3.4 adds more information about the plugin and also serves as the entry point for this plugin
Please take the time to fix the following:
- Text Domain: The text domain must be the same as the plugin slug, although optional since WordPress version 4.6
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("simple-image-xml-sitemap.php" instead of "simple-xml-image-sitemap.php")
- Description: Please don't use more than 140 characters for the plugin description (currently 184 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
Good job! No executable or dangerous file extensions detected531 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 84 | 27 | 425 |
PO File | 1 | 31 | 40 | 106 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.39 |
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 | 11 | |
▷ Named functions | 11 | 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
Using a strong compression for your PNG files is a great way to speed-up your plugin
PNG images were not found in this plugin