Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Install script ran successfully
Server metrics [RAM: ▲0.07MB] [CPU: ▼4.13ms] Passed 4 tests
An overview of server-side resources used by WooCommerce XML feed for Thunderstone
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.53 ▲0.06 | 49.18 ▲4.32 |
Dashboard /wp-admin | 3.38 ▲0.08 | 45.81 ▼3.21 |
Posts /wp-admin/edit.php | 3.43 ▲0.07 | 50.98 ▲2.09 |
Add New Post /wp-admin/post-new.php | 5.96 ▲0.07 | 91.17 ▼13.88 |
Media Library /wp-admin/upload.php | 3.31 ▲0.07 | 39.84 ▼1.50 |
Thunderstone /wp-admin/admin.php?page=thunderstonewpxml_admin_menu | 3.25 | 28.13 |
Créer un Flux /wp-admin/admin.php?page=thunderstonewpxml_create_page | 3.32 | 35.32 |
Server storage [IO: ▲0.09MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
The plugin installed successfully
Filesystem: 8 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_theysaidso_widget |
can_compress_scripts |
theysaidso_admin_options |
widget_recent-comments |
recovery_mode_email_last_sent |
db_upgraded |
widget_recent-posts |
Browser metrics Passed 4 tests
This is an overview of browser requirements for WooCommerce XML feed for Thunderstone
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,826 ▲80 | 13.24 ▼1.37 | 4.70 ▲2.84 | 39.58 ▼2.82 |
Dashboard /wp-admin | 2,232 ▲41 | 5.83 ▼0.07 | 101.92 ▼10.39 | 82.53 ▲42.24 |
Posts /wp-admin/edit.php | 2,115 ▲23 | 2.02 ▼0.01 | 37.29 ▼1.50 | 34.04 ▼2.18 |
Add New Post /wp-admin/post-new.php | 1,541 ▲8 | 23.05 ▼0.14 | 713.48 ▲8.39 | 65.50 ▲11.77 |
Media Library /wp-admin/upload.php | 1,408 ▲23 | 4.22 ▲0.02 | 102.11 ▼17.67 | 81.53 ▲38.26 |
Thunderstone /wp-admin/admin.php?page=thunderstonewpxml_admin_menu | 704 | 1.14 | 7.33 | 22.61 |
Créer un Flux /wp-admin/admin.php?page=thunderstonewpxml_create_page | 708 | 1.53 | 6.96 | 24.65 |
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
It is recommended to fix the following
- Zombie WordPress options detected upon uninstall: 7 options
- theysaidso_admin_options
- widget_recent-posts
- db_upgraded
- widget_theysaidso_widget
- widget_recent-comments
- recovery_mode_email_last_sent
- can_compress_scripts
Smoke tests 75% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
These errors were triggered by the plugin
- > GET request to /wp-admin/admin.php?page=thunderstonewpxml_admin_menu
- > Error in wp-content/plugins/thunderstone-feed/wooshop-thxml.php+53
Uncaught Error: Call to undefined function wc_get_attribute_taxonomies() in wp-content/plugins/thunderstone-feed/wooshop-thxml.php:53
Stack trace:
#0 wp-includes/class-wp-hook.php(310): thunderstonewpxml_admin_page()
#1 wp-includes/class-wp-hook.php(334): WP_Hook->apply_filters()
#2 wp-includes/plugin.php(517): WP_Hook->do_action()
#3 wp-admin/admin.php(259): do_action()
#4 {main}
thrown- 8 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=thunderstonewpxml_create_page
- > POST request to /wp-cron.php?doing_wp_cron=1696658530.1360850334167480468750
- > Notice in wp-content/plugins/pressforward/Core/Utility/Retrieval.php+204
Undefined offset: 0
- 8 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=thunderstonewpxml_create_page
- > POST request to /wp-cron.php?doing_wp_cron=1696658530.1360850334167480468750
- > Notice in wp-content/plugins/pressforward/Core/Utility/Retrieval.php+205
Trying to get property 'guid' of non-object
- 32 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=thunderstonewpxml_create_page
- > POST request to /wp-cron.php?doing_wp_cron=1696658530.1360850334167480468750
- > Notice in wp-content/plugins/pressforward/Core/Utility/Retrieval.php+221
Trying to get property 'ID' of non-object
- 8 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=thunderstonewpxml_create_page
- > POST request to /wp-cron.php?doing_wp_cron=1696658530.1360850334167480468750
- > Notice in wp-content/plugins/pressforward/Core/Utility/Retrieval.php+222
Trying to get property 'post_title' of non-object
- > GET request to /wp-admin/admin.php?page=thunderstonewpxml_create_page
- > Error in wp-content/plugins/thunderstone-feed/wooshop-thxml.php+233
Uncaught Error: Call to undefined function wc_get_products() in wp-content/plugins/thunderstone-feed/wooshop-thxml.php:233
Stack trace:
#0 wp-content/plugins/thunderstone-feed/createsk.php(31): thunderstonewpxml_generate_products_xml_data()
#1 wp-content/plugins/thunderstone-feed/wooshop-thxml.php(190): require_once('/var/www/wordpr...')
#2 wp-includes/class-wp-hook.php(310): thunderstonewpxml_create_page()
#3 wp-includes/class-wp-hook.php(334): WP_Hook->apply_filters()
#4 wp-includes/plugin.php(517): WP_Hook->do_action()
#5 wp-admin/admin.php(259): do_action()
#6 {main}
thrown
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
Everything seems fine, however this is by no means an exhaustive test
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
5 plugin tags: e-commerce, ecommerce, wordpress ecommerce, xml, feed
thunderstone-feed/wooshop-thxml.php 92% from 13 tests
The main PHP file in "WooCommerce XML feed for Thunderstone" ver. 1.0.0 adds more information about the plugin and also serves as the entry point for this plugin
Please make the necessary changes and fix the following:
- Main file name: Name the main plugin file the same as the plugin slug ("thunderstone-feed.php" instead of "wooshop-thxml.php")
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
No dangerous file extensions were detected453 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 95 | 24 | 453 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.27 |
Average class complexity | 1.00 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 1.00 |
Average method complexity | 1.00 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 1.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 | 1 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 1 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 10 | |
▷ Named functions | 10 | 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
2 PNG files occupy 0.07MB with 0.04MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/app_icon_th.png | 71.34KB | 35.58KB | ▼ 50.12% |
images/xml-icon.png | 1.45KB | 0.35KB | ▼ 75.99% |