Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Install script ran successfully
Server metrics [RAM: ▼0.00MB] [CPU: ▼9.02ms] Passed 4 tests
A check of server-side resources used by Order Calendar for WooCommerce
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 37.69 ▼2.61 |
Dashboard /wp-admin | 3.32 ▼0.03 | 45.26 ▼14.14 |
Posts /wp-admin/edit.php | 3.37 ▲0.01 | 45.56 ▼5.24 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.01 | 88.28 ▼14.10 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 35.25 ▼1.02 |
Server storage [IO: ▲0.90MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin installed successfully
Filesystem: 56 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_recent-comments |
can_compress_scripts |
widget_theysaidso_widget |
db_upgraded |
widget_recent-posts |
Browser metrics Passed 4 tests
A check of browser resources used by Order Calendar for WooCommerce
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,796 ▲34 | 14.67 ▲0.28 | 1.72 ▲0.13 | 38.35 ▲1.87 |
Dashboard /wp-admin | 2,201 ▲23 | 5.57 ▼0.15 | 90.64 ▼18.18 | 43.37 ▲2.82 |
Posts /wp-admin/edit.php | 2,107 ▲7 | 1.96 ▼0.01 | 39.67 ▼1.81 | 35.36 ▼2.54 |
Add New Post /wp-admin/post-new.php | 1,532 ▲6 | 23.20 ▼0.05 | 669.23 ▼18.58 | 54.71 ▼8.76 |
Media Library /wp-admin/upload.php | 1,406 ▲3 | 4.21 ▲0.05 | 103.37 ▼1.85 | 40.35 ▼6.24 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
These items require your attention
- Zombie WordPress options detected upon uninstall: 6 options
- widget_recent-posts
- db_upgraded
- can_compress_scripts
- widget_recent-comments
- theysaidso_admin_options
- widget_theysaidso_widget
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
The smoke test was a success, however most plugin functionality was not tested
SRP 0% from 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Please fix the following items
- 2× PHP files output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/order-calendar-for-woocommerce/admin/partials/missing-date-time-plugin.php
- > /wp-content/plugins/order-calendar-for-woocommerce/includes/pisol.class.form.php
- 6× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/order-calendar-for-woocommerce/includes/includes.php:2
- > PHP Fatal error
Uncaught Error: Using $this when not in object context in wp-content/plugins/order-calendar-for-woocommerce/admin/class-pisol-dtt-edd-advance.php:92
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_url() in wp-content/plugins/order-calendar-for-woocommerce/includes/banner-sample.php:63
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/order-calendar-for-woocommerce/includes/class-enable-meta-query.php:9
- > PHP Fatal error
Uncaught Error: Using $this when not in object context in wp-content/plugins/order-calendar-for-woocommerce/admin/class-pisol-dtt-edd-calendar-admin-calendar.php:55
- > PHP Fatal error
Uncaught Error: Using $this when not in object context in wp-content/plugins/order-calendar-for-woocommerce/admin/class-pisol-dtt-edd-calendar-access.php:103
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine on the user side
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 88% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
These attributes need to be fixed:
- Donate link: Please fix this invalid URI: "piwebsolution.com"
- Screenshots: No descriptions were found for these screenshots #1, #10, #11, #12, #2, #3, #4, #6, #7, #9 in order-calendar-for-woocommerce/assets to your readme.txt
order-calendar-for-woocommerce/order-calendar-for-woocommerce.php Passed 13 tests
"Order Calendar for WooCommerce" version 1.6.24's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
34 characters long description:
Show orders received on a calendar
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
There were no executable files found in this plugin3,230 lines of code in 40 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 28 | 431 | 300 | 1,521 |
SVG | 5 | 53 | 5 | 1,049 |
CSS | 4 | 90 | 25 | 614 |
JavaScript | 3 | 11 | 30 | 46 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.28 |
Average class complexity | 8.14 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 54.00 |
Average method complexity | 2.22 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 12.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 21 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 21 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 123 | |
▷ Static methods | 8 | 6.50% |
▷ Public methods | 113 | 91.87% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 10 | 8.13% |
Functions | 6 | |
▷ Named functions | 5 | 83.33% |
▷ Anonymous functions | 1 | 16.67% |
Constants | 6 | |
▷ Global constants | 6 | 100.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
7 PNG files occupy 0.21MB with 0.12MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
admin/img/total-product.png | 40.38KB | 13.71KB | ▼ 66.05% |
admin/img/pi.png | 1.48KB | 1.11KB | ▼ 24.83% |
admin/img/pi-web-solution.png | 21.25KB | 9.42KB | ▼ 55.67% |
admin/img/time.png | 31.46KB | 9.72KB | ▼ 69.11% |
includes/background.png | 74.27KB | 26.29KB | ▼ 64.60% |