Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲3.32MB] [CPU: ▲15.39ms] Passed 4 tests
An overview of server-side resources used by Printeers Print & Ship
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 6.64 ▲3.17 | 56.03 ▲18.89 |
Dashboard /wp-admin | 6.66 ▲3.31 | 64.25 ▲5.86 |
Posts /wp-admin/edit.php | 6.71 ▲3.35 | 61.16 ▲9.68 |
Add New Post /wp-admin/post-new.php | 9.35 ▲3.47 | 136.65 ▲33.04 |
Media Library /wp-admin/upload.php | 6.66 ▲3.44 | 61.73 ▲27.12 |
Tools /wp-admin/admin.php?page=print-and-ship-tools | 6.48 | 57.43 |
Add Simple products /wp-admin/admin.php?page=print-and-ship-create-a-simple-product | 6.54 | 52.48 |
Product updates /wp-admin/admin.php?page=print-and-ship-update-json | 6.78 | 51.42 |
Tools /wp-admin/edit.php?post_type=acf-field-group&page=acf-tools | 6.33 | 45.61 |
Field Groups /wp-admin/edit.php?post_type=acf-field-group | 6.64 | 53.47 |
Support /wp-admin/admin.php?page=print-and-ship-support | 6.48 | 50.06 |
Add New /wp-admin/post-new.php?post_type=acf-field-group | 6.76 | 68.49 |
Create a product /wp-admin/admin.php?page=print-and-ship-create-a-product | 6.48 | 52.14 |
Settings /wp-admin/admin.php?page=print-and-ship-config | 6.58 | 66.38 |
Product updates /wp-admin/admin.php?page=print-and-ship-update-products | 6.78 | 52.02 |
Server storage [IO: ▲11.67MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
There were no storage issued detected upon installing this plugin
Filesystem: 515 new files
Database: no new tables, 9 new options
New WordPress options |
---|
theysaidso_admin_options |
print_and_ship_version |
widget_recent-posts |
widget_theysaidso_widget |
print_and_ship_order_status |
can_compress_scripts |
widget_recent-comments |
acf_version |
db_upgraded |
Browser metrics Passed 4 tests
A check of browser resources used by Printeers Print & Ship
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,919 ▲173 | 13.63 ▼1.00 | 1.86 ▲0.10 | 38.90 ▼2.98 |
Dashboard /wp-admin | 2,301 ▲119 | 4.89 ▼1.00 | 112.16 ▲9.89 | 42.89 ▼2.04 |
Posts /wp-admin/edit.php | 2,182 ▲90 | 2.05 ▲0.04 | 37.98 ▼7.57 | 33.85 ▼3.11 |
Add New Post /wp-admin/post-new.php | 6,688 ▲5,160 | 29.20 ▲6.12 | 1,043.57 ▲449.78 | 39.35 ▼7.13 |
Media Library /wp-admin/upload.php | 2,017 ▲626 | 8.25 ▲4.01 | 219.39 ▲112.90 | 51.88 ▲6.28 |
Tools /wp-admin/admin.php?page=print-and-ship-tools | 864 | 2.08 | 29.27 | 58.28 |
Add Simple products /wp-admin/admin.php?page=print-and-ship-create-a-simple-product | 921 | 2.05 | 27.62 | 25.18 |
Product updates /wp-admin/admin.php?page=print-and-ship-update-json | 934 | 2.08 | 27.17 | 24.46 |
Tools /wp-admin/edit.php?post_type=acf-field-group&page=acf-tools | 28 | 0.44 | 0.08 | 3.64 |
Field Groups /wp-admin/edit.php?post_type=acf-field-group | 1,223 | 2.69 | 49.01 | 33.95 |
Support /wp-admin/admin.php?page=print-and-ship-support | 899 | 2.07 | 26.11 | 25.81 |
Add New /wp-admin/post-new.php?post_type=acf-field-group | 2,235 | 3.73 | 77.15 | 47.64 |
Create a product /wp-admin/admin.php?page=print-and-ship-create-a-product | 934 | 1.85 | 25.95 | 26.96 |
Settings /wp-admin/admin.php?page=print-and-ship-config | 1,774 | 2.03 | 35.10 | 40.67 |
Product updates /wp-admin/admin.php?page=print-and-ship-update-products | 973 | 2.79 | 43.49 | 26.16 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
Please fix the following items
- Zombie WordPress options detected upon uninstall: 9 options
- widget_recent-posts
- db_upgraded
- widget_theysaidso_widget
- widget_recent-comments
- acf_version
- can_compress_scripts
- theysaidso_admin_options
- print_and_ship_version
- print_and_ship_order_status
Smoke tests 0% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
These errors were triggered by the plugin
- > GET request to /wp-admin/admin.php?page=print-and-ship-support
- > Warning in wp-admin/includes/plugin.php+294
opendir(wp-content/plugins/woocommerce): failed to open dir: No such file or directory
SRP 0% 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
The following issues need your attention
- 23× PHP files perform the action of outputting non-empty strings when accessed directly (only 10 are shown):
- > /wp-content/plugins/invition-print-ship/assets/woocommerce/email-tracktrace-plain.php
- > /wp-content/plugins/invition-print-ship/assets/php/create-a-product/variable-step2.php
- > /wp-content/plugins/invition-print-ship/assets/php/admin-notice.php
- > /wp-content/plugins/invition-print-ship/assets/php/update-products-page.php
- > /wp-content/plugins/invition-print-ship/assets/php/tools-page.php
- > /wp-content/plugins/invition-print-ship/assets/php/create-a-product/product-step1.php
- > /wp-content/plugins/invition-print-ship/assets/php/create-a-product/variable-step3.php
- > /wp-content/plugins/invition-print-ship/assets/php/new-product-page.php
- > /wp-content/plugins/invition-print-ship/invition-print-and-ship.php
- > /wp-content/plugins/invition-print-ship/assets/php/admin-error-no-woocommerce.php
- 122× PHP files trigger server errors when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'acf_field' not found in wp-content/plugins/invition-print-ship/includes/acf/includes/fields/class-acf-field-checkbox.php:5
- > PHP Fatal error
Uncaught Error: Call to undefined function acf_register_store() in wp-content/plugins/invition-print-ship/includes/acf/includes/acf-form-functions.php:4
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/invition-print-ship/includes/acf/includes/admin/views/field-group-field-conditional-logic.php:25
- > PHP Fatal error
Uncaught Error: Class 'acf_field' not found in wp-content/plugins/invition-print-ship/lib/acf/core/fields/radio.php:3
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/invition-print-ship/includes/acf/includes/admin/views/html-location-rule.php on line 4
- > PHP Fatal error
Uncaught Error: Class 'acf_field' not found in wp-content/plugins/invition-print-ship/lib/acf/core/fields/checkbox.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/invition-print-ship/includes/acf/includes/forms/form-attachment.php:33
- > PHP Notice
Undefined variable: active in wp-content/plugins/invition-print-ship/includes/acf/includes/admin/views/html-admin-tools.php on line 16
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/invition-print-ship/includes/acf/includes/admin/views/field-group-field.php on line 4
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/invition-print-ship/lib/acf/core/controllers/third_party.php:24
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Please take a look at the following user-side issues
- > GET request to /wp-admin/edit.php?post_type=acf-field-group&page=acf-tools
- > Network (severe)
wp-admin/edit.php?post_type=acf-field-group&page=acf-tools - Failed to load resource: the server responded with a status of 403 (Forbidden)
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
5 plugin tags: phone case, dropshipping, supplier, print on demand, dropship
invition-print-ship/invition-print-and-ship.php 85% from 13 tests
This is the main PHP file of "Printeers Print & Ship" version 1.16.0, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
You should first fix the following items:
- Requires at least: The required version number must match the one declared in readme.txt ("4.9" instead of "4.0.0")
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("invition-print-ship.php" instead of "invition-print-and-ship.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 detected146,226 lines of code in 400 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PO File | 55 | 32,909 | 52,120 | 70,119 |
JavaScript | 82 | 12,455 | 13,562 | 35,844 |
PHP | 202 | 15,487 | 23,436 | 28,447 |
CSS | 20 | 958 | 503 | 5,302 |
Sass | 15 | 1,445 | 218 | 5,058 |
HTML | 17 | 90 | 2 | 880 |
XML | 4 | 62 | 117 | 204 |
Ant | 1 | 18 | 0 | 164 |
JSON | 1 | 0 | 0 | 124 |
SVG | 2 | 18 | 1 | 70 |
Markdown | 1 | 11 | 0 | 14 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.36 |
Average class complexity | 17.02 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 119.00 |
Average method complexity | 3.30 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 62.00 |
Code structure | ||
---|---|---|
Namespaces | 1 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 146 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 146 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 988 | |
▷ Static methods | 4 | 0.40% |
▷ Public methods | 972 | 98.38% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 16 | 1.62% |
Functions | 539 | |
▷ Named functions | 535 | 99.26% |
▷ Anonymous functions | 4 | 0.74% |
Constants | 18 | |
▷ Global constants | 18 | 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
26 PNG files occupy 0.26MB with 0.09MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
includes/acf/assets/inc/datepicker/images/ui-icons_444444_256x240.png | 3.68KB | 4.17KB | 0.00% |
lib/acf/core/fields/date_picker/images/ui-icons_222222_256x240.png | 4.27KB | 4.11KB | ▼ 3.78% |
lib/acf/core/fields/date_picker/images/ui-bg_flat_55_5bc6f5_40x100.png | 0.21KB | 0.08KB | ▼ 59.15% |
assets/images/simple-product.png | 114.48KB | 42.82KB | ▼ 62.60% |
lib/acf/core/fields/date_picker/images/ui-bg_flat_75_ffffff_40x100.png | 0.17KB | 0.08KB | ▼ 51.12% |