Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.36MB] [CPU: ▲0.17ms] Passed 4 tests
Server-side resources used by Inbox For WooCommerce
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.91 ▲0.45 | 41.25 ▲2.32 |
Dashboard /wp-admin | 3.65 ▲0.35 | 53.05 ▲3.33 |
Posts /wp-admin/edit.php | 3.75 ▲0.39 | 53.57 ▲6.82 |
Add New Post /wp-admin/post-new.php | 6.25 ▲0.37 | 86.97 ▼11.79 |
Media Library /wp-admin/upload.php | 3.58 ▲0.35 | 40.80 ▲11.31 |
Server storage [IO: ▲2.98MB] [DB: ▲0.01MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin installed successfully
Filesystem: 74 new files
Database: 5 new tables, 7 new options
New tables |
---|
wp_woocommerce_inbox_ticket_threads |
wp_woocommerce_inbox_ticket_attachments |
wp_woocommerce_inbox_users |
wp_woocommerce_inbox_ticket_products |
wp_woocommerce_inbox_tickets |
New WordPress options |
---|
woocommerce_inbox_db_version |
can_compress_scripts |
widget_recent-comments |
db_upgraded |
theysaidso_admin_options |
widget_theysaidso_widget |
widget_recent-posts |
Browser metrics Passed 4 tests
An overview of browser requirements for Inbox For WooCommerce
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,830 ▲69 | 14.40 ▲0.13 | 2.07 ▲0.44 | 37.03 ▼3.16 |
Dashboard /wp-admin | 2,204 ▲27 | 5.57 ▼0.03 | 83.26 ▼3.61 | 40.11 ▼6.58 |
Posts /wp-admin/edit.php | 2,109 ▲9 | 1.99 ▼0.04 | 34.57 ▼5.17 | 36.73 ▲1.35 |
Add New Post /wp-admin/post-new.php | 1,535 ▲9 | 23.28 ▼0.07 | 663.17 ▲75.06 | 66.33 ▲19.24 |
Media Library /wp-admin/upload.php | 1,412 ▲12 | 4.15 ▼0.04 | 102.46 ▲8.20 | 45.11 ▲5.22 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.01MB] 50% 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 tables detected upon uninstall: 5 tables
- wp_woocommerce_inbox_ticket_threads
- wp_woocommerce_inbox_tickets
- wp_woocommerce_inbox_users
- wp_woocommerce_inbox_ticket_products
- wp_woocommerce_inbox_ticket_attachments
- This plugin did not uninstall successfully, leaving 7 options in the database
- can_compress_scripts
- widget_recent-comments
- widget_theysaidso_widget
- db_upgraded
- theysaidso_admin_options
- widget_recent-posts
- woocommerce_inbox_db_version
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Good news, no errors were detected
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 fix the following items
- 1× PHP files output text when accessed directly:
- > /wp-content/plugins/inbox-for-woocommerce/inbox-for-woocommerce.php
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser errors were detected
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
These attributes need your attention:
- Screenshots: These screenshots do not have images: #3 (https://sweito.com/wp-content/uploads/2022/12/Screenshot-2022-11-07-at-02.05.25-resized.png), #4 (https://sweito.com/wp-content/uploads/2022/12/Screenshot-2022-11-07-at-16.01.16.png), #5 (https://sweito.com/wp-content/uploads/2023/10/Screenshot-2023-10-21-at-17.24.55.png), #6 (https://sweito.com/wp-content/uploads/2023/10/Screenshot-2023-10-21-at-17.26.03.png)
inbox-for-woocommerce/inbox-for-woocommerce.php 85% from 13 tests
The principal PHP file in "Inbox For WooCommerce" v. 1.0.7 is loaded by WordPress automatically on each request
The following require your attention:
- Description: Please don't use more than 140 characters for the plugin description (currently 253 characters long)
- Requires at least: Required version must be the same as the one declared in readme.txt ("4.6" instead of "3.0")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
Everything looks great! No dangerous files found in this plugin9,636 lines of code in 48 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 35 | 1,092 | 1,208 | 5,405 |
PO File | 3 | 772 | 1,038 | 1,756 |
JavaScript | 2 | 195 | 28 | 1,403 |
CSS | 2 | 175 | 45 | 1,059 |
JSON | 1 | 0 | 0 | 7 |
SVG | 4 | 0 | 0 | 4 |
Markdown | 1 | 0 | 0 | 2 |
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.36 |
Average class complexity | 19.18 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 142.00 |
Average method complexity | 3.58 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 44.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 33 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 33 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 233 | |
▷ Static methods | 178 | 76.39% |
▷ Public methods | 214 | 91.85% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 19 | 8.15% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 96 | |
▷ Global constants | 6 | 6.25% |
▷ Class constants | 90 | 93.75% |
▷ Public constants | 90 | 100.00% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
17 PNG files occupy 2.24MB with 1.01MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/images/a0.png | 15.62KB | 6.62KB | ▼ 57.64% |
assets/images/pdf-icon.png | 26.76KB | 11.00KB | ▼ 58.90% |
assets/images/chat-icon-option-2.png | 5.50KB | 5.49KB | 0.11% |
assets/images/upgrade.png | 88.48KB | 31.69KB | ▼ 64.19% |
assets/images/default-product-img.png | 20.62KB | 11.52KB | ▼ 44.14% |