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.01MB] [CPU: ▼6.25ms] Passed 4 tests
This is a short check of server-side resources used by Woocommerce Order Calendar
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 39.92 ▲1.99 |
Dashboard /wp-admin | 3.31 ▲0.01 | 49.65 ▲1.85 |
Posts /wp-admin/edit.php | 3.36 ▲0.01 | 42.95 ▼9.66 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.02 | 83.76 ▼15.64 |
Media Library /wp-admin/upload.php | 3.23 ▲0.01 | 32.39 ▼1.53 |
Orders Celandar /wp-admin/admin.php?page=woocommerce-orders-calendar | 3.20 | 26.93 |
Server storage [IO: ▲0.09MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin was installed successfully
Filesystem: 6 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
widget_recent-comments |
theysaidso_admin_options |
widget_recent-posts |
widget_theysaidso_widget |
can_compress_scripts |
Browser metrics Passed 4 tests
An overview of browser requirements for Woocommerce Order Calendar
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,807 ▲50 | 13.42 ▼0.95 | 1.79 ▼0.13 | 44.01 ▲0.81 |
Dashboard /wp-admin | 2,216 ▲28 | 5.00 ▲0.11 | 102.77 ▼5.80 | 42.87 ▼0.99 |
Posts /wp-admin/edit.php | 2,093 ▲1 | 2.09 ▲0.08 | 37.27 ▼4.30 | 34.42 ▼5.43 |
Add New Post /wp-admin/post-new.php | 1,520 ▼13 | 23.47 ▲0.76 | 645.66 ▲15.21 | 48.58 ▼13.97 |
Media Library /wp-admin/upload.php | 1,389 ▲1 | 4.30 ▲0.12 | 100.44 ▲0.29 | 44.23 ▲1.18 |
Orders Celandar /wp-admin/admin.php?page=woocommerce-orders-calendar | 1,192 | 2.37 | 41.41 | 30.47 |
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 6 options in the database
- widget_recent-comments
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-posts
- theysaidso_admin_options
- db_upgraded
Smoke tests 50% 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)
Even though no errors were found, this is by no means an exhaustive test
SRP 50% 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 take a closer look at the following
- 1× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/woo-orders-calendar/woocommerce-order-calendar.php:11
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
These are user-side errors you should fix
- > GET request to /wp-admin/admin.php?page=woocommerce-orders-calendar
- > Javascript (severe) in unknown
/wp-content/plugins/woo-orders-calendar/js/fullcalendar.min.js?ver=6.3.1 98:148 Uncaught TypeError: Cannot read properties of undefined (reading 'offsetTop')
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
These attributes need to be fixed:
- Screenshots: Screenshot #1 (Admin Order Calendar in Woocomerce Menu) image required
woo-orders-calendar/woocommerce-order-calendar.php 92% from 13 tests
"Woocommerce Order Calendar" version 1.0's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
Please make the necessary changes and fix the following:
- Main file name: It is recommended to name the main PHP file as the plugin slug ("woo-orders-calendar.php" instead of "woocommerce-order-calendar.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
Good job! No executable or dangerous file extensions detected587 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 1 | 150 | 50 | 422 |
JavaScript | 2 | 5 | 11 | 115 |
PHP | 1 | 4 | 8 | 50 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.11 |
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 | 4 | |
▷ Named functions | 4 | 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
1 PNG file occupies 0.02MB with 0.01MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-1.png | 24.98KB | 12.12KB | ▼ 51.48% |