Benchmarks
Plugin footprint 23% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Please fix the following installer errors
- This plugin did not install gracefully
- > User notice in wp-includes/functions.php+5905
Function wpdb::prepare was called incorrectly. The query argument of wpdb::prepare() must have a placeholder. Please see Debugging in WordPress for more information. (This message was added in version 3.9.0.)
Server metrics [RAM: ▼1.92MB] [CPU: ▼58.31ms] Passed 4 tests
Analyzing server-side resources used by QUIPOSTE Orders Tracking for WooCommerce
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.08 ▼1.39 | 4.83 ▼35.42 |
Dashboard /wp-admin | 2.10 ▼1.25 | 6.71 ▼55.32 |
Posts /wp-admin/edit.php | 2.10 ▼1.26 | 8.39 ▼40.37 |
Add New Post /wp-admin/post-new.php | 2.10 ▼3.79 | 6.17 ▼102.14 |
Media Library /wp-admin/upload.php | 2.10 ▼1.14 | 6.80 ▼27.48 |
Server storage [IO: ▲0.05MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
No storage issues were detected
Filesystem: 16 new files
Database: 1 new table, 6 new options
New tables |
---|
qp_tracking_info |
New WordPress options |
---|
widget_recent-comments |
db_upgraded |
can_compress_scripts |
widget_theysaidso_widget |
widget_recent-posts |
theysaidso_admin_options |
Browser metrics Passed 4 tests
QUIPOSTE Orders Tracking for WooCommerce: an overview of browser usage
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,891 ▲145 | 13.63 ▼0.74 | 8.61 ▲6.80 | 39.70 ▼2.26 |
Dashboard /wp-admin | 2,207 ▲19 | 4.84 ▼0.03 | 105.24 ▼11.57 | 41.94 ▼8.53 |
Posts /wp-admin/edit.php | 2,096 ▲7 | 2.05 ▲0.04 | 39.98 ▲2.89 | 36.08 ▼0.79 |
Add New Post /wp-admin/post-new.php | 1,523 ▲9 | 23.30 ▲5.59 | 677.15 ▲5.68 | 53.27 ▼3.46 |
Media Library /wp-admin/upload.php | 1,386 ▼5 | 4.27 ▲0.06 | 97.86 ▼0.75 | 41.15 ▼8.47 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 25% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
The following items require your attention
- Uninstall procedure validation failed for this plugin
- > User notice in wp-includes/functions.php+5905
Function wp_register_script was called incorrectly. Scripts and styles should not be registered or enqueued until the wp_enqueue_scripts, admin_enqueue_scripts, or login_enqueue_scripts hooks. This notice was triggered by the edit-tracking-js handle. Please see Debugging in WordPress for more information. (This message was added in version 3.3.0.)
- Zombie tables were found after uninstall: 1 table
- qp_tracking_info
- Zombie WordPress options were found after uninstall: 6 options
- widget_theysaidso_widget
- widget_recent-posts
- widget_recent-comments
- db_upgraded
- theysaidso_admin_options
- can_compress_scripts
Smoke tests 50% 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 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 take a closer look at the following
- 1× PHP files output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/quiposte-orders-tracking-for-woocommerce/includes/uninstall.php
- 5× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Notice
Trying to get property 'ID' of non-object in wp-content/plugins/quiposte-orders-tracking-for-woocommerce/includes/edit-tracking-all.php on line 4
- > PHP Fatal error
Uncaught Error: Class 'quiposte_query_db' not found in wp-content/plugins/quiposte-orders-tracking-for-woocommerce/includes/edit-tracking-all.php:6
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html() in wp-content/plugins/quiposte-orders-tracking-for-woocommerce/includes/popup-new.php:2
- > PHP Fatal error
Uncaught Error: Class 'quiposte_query_db' not found in wp-content/plugins/quiposte-orders-tracking-for-woocommerce/includes/edit-tracking-item.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function register_activation_hook() in wp-content/plugins/quiposte-orders-tracking-for-woocommerce/quiposte-orders-tracking-for-woocommerce.php:17
- > PHP Notice
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser issues were found
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
Attributes that need to be fixed:
- Screenshots: Add images for these screenshots: #1 (orderlistview.png Shows in the list of orders a brief description of the shipping status of the order), #2 (itemview.png Shows the shipping status under each item), #3 (edititem.png Shows the window where the shipping status of the item is modified), #4 (boxview.png Box that is added with access to a button to modify all the shipping statuses of the items), #5 (editallitems.png Shows the window that allows you to modify all the items)
quiposte-orders-tracking-for-woocommerce/quiposte-orders-tracking-for-woocommerce.php Passed 13 tests
The principal PHP file in "QUIPOSTE Orders Tracking for WooCommerce" v. 1.2.0 is loaded by WordPress automatically on each request
87 characters long description:
Allows tracking of the shipment of woocommerce orders and integration with quiposte.com
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
Good job! No executable or dangerous file extensions detected635 lines of code in 10 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 6 | 53 | 33 | 352 |
JavaScript | 1 | 15 | 1 | 107 |
PO File | 2 | 30 | 30 | 104 |
CSS | 1 | 14 | 0 | 72 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.12 |
Average class complexity | 3.40 |
▷ Minimum class complexity | 2.00 |
▷ Maximum class complexity | 5.00 |
Average method complexity | 1.43 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 4.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 5 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 5 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 28 | |
▷ Static methods | 16 | 57.14% |
▷ Public methods | 28 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 5 | |
▷ Named functions | 5 | 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
Often times overlooked, PNG files can occupy unnecessary space in your plugin
1 compressed PNG file occupies 0.00MB
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/edit.png | 1.27KB | 1.35KB | 0.00% |