Benchmarks
Plugin footprint 58% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
It is recommended to fix the following installer errors
- Install procedure had errors
- > Error in wp-content/plugins/woo-delivery-club-export/libs/makexml.php+103
Uncaught Error: Call to undefined function get_woocommerce_currency() in wp-content/plugins/woo-delivery-club-export/libs/makexml.php:103
Stack trace:
#0 wp-content/plugins/woo-delivery-club-export/libs/makexml.php(22): WooDeliveryClubExport->checkCurrency()
#1 wp-content/plugins/woo-delivery-club-export/index.php(78): WooDeliveryClubExport->generateData()
#2 wp-content/plugins/woo-delivery-club-export/index.php(21): WDCExportUpdateXML()
#3 wp-includes/class-wp-hook.php(310): WDCExportActivate()
#4 wp-includes/class-wp-hook.php(334): WP_Hook->apply_filters()
#5 wp-includes/plugin.php(517): WP_Hook->do_action()
#6 wp-admin/includes/plugin.php(693): do_action()
Server metrics [RAM: ▼0.01MB] [CPU: ▼9.87ms] Passed 4 tests
An overview of server-side resources used by Woo Delivery-club Export
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 41.90 ▼1.88 |
Dashboard /wp-admin | 3.31 ▼0.04 | 48.81 ▼14.38 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 50.80 ▲2.34 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 86.05 ▼23.05 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 37.93 ▼0.18 |
Server storage [IO: ▲0.07MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin was installed successfully
Filesystem: 6 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_recent-comments |
cronDCXML |
widget_recent-posts |
widget_theysaidso_widget |
theysaidso_admin_options |
db_upgraded |
can_compress_scripts |
Browser metrics Passed 4 tests
An overview of browser requirements for Woo Delivery-club Export
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲54 | 13.66 ▼0.93 | 5.46 ▲3.50 | 43.24 ▼6.36 |
Dashboard /wp-admin | 2,206 ▲18 | 5.08 ▼0.78 | 103.50 ▼0.06 | 45.16 ▲3.31 |
Posts /wp-admin/edit.php | 2,089 ▼0 | 2.04 ▼0.00 | 39.45 ▼1.05 | 34.80 ▼3.55 |
Add New Post /wp-admin/post-new.php | 1,542 ▲9 | 18.27 ▼4.87 | 609.27 ▼76.88 | 65.14 ▲9.63 |
Media Library /wp-admin/upload.php | 1,385 ▲3 | 4.20 ▲0.00 | 97.36 ▼6.11 | 42.04 ▼1.72 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
The following items require your attention
- The uninstall procedure has failed, leaving 7 options in the database
- widget_recent-posts
- theysaidso_admin_options
- cronDCXML
- widget_recent-comments
- widget_theysaidso_widget
- db_upgraded
- can_compress_scripts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
The smoke test was a success, however most plugin functionality was not tested
SRP 50% from 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
Please take a closer look at the following
- 1× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function register_activation_hook() in wp-content/plugins/woo-delivery-club-export/index.php:11
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine on the user side
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
3 plugin tags: xml, export, delivery club
woo-delivery-club-export/index.php 92% from 13 tests
Analyzing the main PHP file in "Woo Delivery-club Export" version 1.1.2
The following require your attention:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("woo-delivery-club-export.php" instead of "index.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
There were no executable files found in this plugin476 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 78 | 30 | 321 |
Pascal | 1 | 72 | 202 | 132 |
CSS | 1 | 1 | 0 | 23 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.46 |
Average class complexity | 52.00 |
▷ Minimum class complexity | 52.00 |
▷ Maximum class complexity | 52.00 |
Average method complexity | 7.38 |
▷ Minimum method complexity | 2.00 |
▷ Maximum method complexity | 21.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 | 8 | |
▷ Static methods | 1 | 12.50% |
▷ Public methods | 2 | 25.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 6 | 75.00% |
Functions | 7 | |
▷ Named functions | 6 | 85.71% |
▷ Anonymous functions | 1 | 14.29% |
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
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
PNG images were not found in this plugin