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.25MB] [CPU: ▼2.66ms] Passed 4 tests
Server-side resources used by WooCommerce XML feed for Skroutz & Bestprice
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.69 ▲0.23 | 42.05 ▼3.17 |
Dashboard /wp-admin | 3.56 ▲0.26 | 50.47 ▼1.24 |
Posts /wp-admin/edit.php | 3.61 ▲0.26 | 48.00 ▲1.58 |
Add New Post /wp-admin/post-new.php | 6.16 ▲0.28 | 87.23 ▼7.81 |
Media Library /wp-admin/upload.php | 3.49 ▲0.26 | 36.46 ▲3.80 |
Skroutz & BestPrice /wp-admin/admin.php?page=skroutz_xml_admin_menu | 3.43 | 32.30 |
Create XML Feeds /wp-admin/admin.php?page=skroutz_xml_create_page | 3.45 | 35.37 |
Server storage [IO: ▲0.13MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin was installed successfully
Filesystem: 11 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_recent-comments |
db_upgraded |
widget_theysaidso_widget |
can_compress_scripts |
recovery_mode_email_last_sent |
widget_recent-posts |
theysaidso_admin_options |
Browser metrics Passed 4 tests
A check of browser resources used by WooCommerce XML feed for Skroutz & Bestprice
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,838 ▲103 | 13.45 ▼0.84 | 1.79 ▼0.32 | 43.04 ▼0.42 |
Dashboard /wp-admin | 2,232 ▲41 | 5.07 ▲0.23 | 106.95 ▲1.95 | 71.03 ▲29.42 |
Posts /wp-admin/edit.php | 2,128 ▲39 | 2.25 ▲0.25 | 32.61 ▼2.03 | 30.99 ▼0.22 |
Add New Post /wp-admin/post-new.php | 1,553 ▲20 | 23.34 ▲0.41 | 753.82 ▲117.11 | 58.13 ▲3.37 |
Media Library /wp-admin/upload.php | 1,423 ▲38 | 4.45 ▲0.26 | 96.61 ▼2.44 | 74.02 ▲31.36 |
Skroutz & BestPrice /wp-admin/admin.php?page=skroutz_xml_admin_menu | 717 | 1.67 | 8.50 | 17.78 |
Create XML Feeds /wp-admin/admin.php?page=skroutz_xml_create_page | 719 | 1.67 | 8.45 | 18.86 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
It is recommended to fix the following
- This plugin did not uninstall successfully, leaving 7 options in the database
- can_compress_scripts
- widget_theysaidso_widget
- recovery_mode_email_last_sent
- theysaidso_admin_options
- widget_recent-comments
- widget_recent-posts
- db_upgraded
Smoke tests 75% 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)
These server-side errors were triggered
- > GET request to /wp-admin/admin.php?page=skroutz_xml_admin_menu
- > Error in wp-content/plugins/woo-xml-feed-for-skroutzgr-bestpricegr/wooshop-skroutzxml.php+92
Uncaught Error: Call to undefined function wc_get_attribute_taxonomies() in wp-content/plugins/woo-xml-feed-for-skroutzgr-bestpricegr/wooshop-skroutzxml.php:92
Stack trace:
#0 wp-includes/class-wp-hook.php(310): skroutz_xml_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- > GET request to /wp-admin/admin.php?page=skroutz_xml_create_page
- > Error in wp-content/plugins/woo-xml-feed-for-skroutzgr-bestpricegr/wooshop-skroutzxml.php+962
Uncaught Error: Class 'WC_Product_Query' not found in wp-content/plugins/woo-xml-feed-for-skroutzgr-bestpricegr/wooshop-skroutzxml.php:962
Stack trace:
#0 wp-content/plugins/woo-xml-feed-for-skroutzgr-bestpricegr/wooshop-skroutzxml.php(473): generate_products_xml_data_new()
#1 wp-includes/class-wp-hook.php(310): skroutz_xml_create_page()
#2 wp-includes/class-wp-hook.php(334): WP_Hook->apply_filters()
#3 wp-includes/plugin.php(517): WP_Hook->do_action()
#4 wp-admin/admin.php(259): do_action()
#5 {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
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 issues were found
Optimizations
Plugin configuration 96% 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
5 plugin tags: wordpress ecommerce, e-commerce, xml, ecommerce, feed
woo-xml-feed-for-skroutzgr-bestpricegr/wooshop-skroutzxml.php 92% from 13 tests
"WooCommerce XML feed for Skroutz & Bestprice" version 1.6.9.1's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
Please take the time to fix the following:
- Main file name: It is recommended to name the main PHP file as the plugin slug ("woo-xml-feed-for-skroutzgr-bestpricegr.php" instead of "wooshop-skroutzxml.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
Good job! No executable or dangerous file extensions detected1,571 lines of code in 5 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 4 | 250 | 38 | 1,431 |
PO File | 1 | 50 | 64 | 140 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.40 |
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 | 18 | |
▷ Named functions | 18 | 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
3 PNG files occupy 0.04MB with 0.01MB in potential savings
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/skroutz.png | 5.41KB | 2.74KB | ▼ 49.34% |
images/xml-icon.png | 0.67KB | 0.89KB | 0.00% |
images/bp.png | 31.23KB | 14.92KB | ▼ 52.23% |